Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c98a10ee9e4548efad256221762cfb1e846b147 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-ssh1412798761086489081.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13636779949730251770.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9007105829603763625.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh9054541401094441340.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh3365361345350937121.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-9215 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 0c98a10ee9e4548efad256221762cfb1e846b147 (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 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 Commit message: "Merge pull request #1116 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.19" > git rev-list --no-walk 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T04:15:02.962Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T04:15:03.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T04:15:03.021Z] ========================================================= [2022-03-28T04:15:03.021Z] EdgeX Global Pipelines Version Info [2022-03-28T04:15:03.021Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:15:03.777Z] ------------------- [2022-03-28T04:15:03.777Z] stable info: [2022-03-28T04:15:03.777Z] ------------------- [2022-03-28T04:15:03.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T04:15:03.777Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T04:15:03.777Z] Message: update stable to v1.0.221 [2022-03-28T04:15:04.351Z] ------------------- [2022-03-28T04:15:04.351Z] experimental info: [2022-03-28T04:15:04.351Z] ------------------- [2022-03-28T04:15:04.351Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T04:15:04.351Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T04:15:04.351Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T04:15:04.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-28T04:15:04.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-28T04:15:04.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T04:15:04.535Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T04:15:04.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T04:15:04.559Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T04:15:04.574Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T04:15:04.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-28T04:15:04.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T04:15:04.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T04:15:04.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T04:15:04.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-28T04:15:04.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T04:15:04.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T04:15:04.683Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T04:15:04.701Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T04:15:04.720Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T04:15:04.732Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T04:15:04.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T04:15:04.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T04:15:04.768Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-28T04:15:04.783Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-28T04:15:04.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-28T04:15:04.815Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-28T04:15:04.830Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-28T04:15:04.841Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T04:15:04.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-28T04:15:04.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-28T04:15:04.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-28T04:15:04.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c98a10ee9e4548efad256221762cfb1e846b147 [Pipeline] echo [2022-03-28T04:15:04.897Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c98a10 [Pipeline] echo [2022-03-28T04:15:04.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:15:04.942Z] provisioning config files... [2022-03-28T04:15:04.954Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2294357146221978731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:15:05.256Z] ---> docker-login.sh [2022-03-28T04:15:05.256Z] nexus3.edgexfoundry.org:10001 [2022-03-28T04:15:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:05.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:05.517Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:05.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:05.517Z] [2022-03-28T04:15:05.517Z] Login Succeeded [2022-03-28T04:15:05.517Z] nexus3.edgexfoundry.org:10002 [2022-03-28T04:15:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:05.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:05.782Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:05.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:05.782Z] [2022-03-28T04:15:05.782Z] Login Succeeded [2022-03-28T04:15:05.782Z] nexus3.edgexfoundry.org:10003 [2022-03-28T04:15:05.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:05.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:05.782Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:05.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:05.782Z] [2022-03-28T04:15:05.782Z] Login Succeeded [2022-03-28T04:15:05.782Z] nexus3.edgexfoundry.org:10004 [2022-03-28T04:15:06.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:06.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:06.043Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:06.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:06.043Z] [2022-03-28T04:15:06.043Z] Login Succeeded [2022-03-28T04:15:06.043Z] docker.io [2022-03-28T04:15:06.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:06.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:06.619Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:06.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:06.619Z] [2022-03-28T04:15:06.619Z] Login Succeeded [2022-03-28T04:15:06.619Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T04:15:06.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-28T04:15:06.992Z] + git rev-list -1 --merges 0c98a10ee9e4548efad256221762cfb1e846b147~1..0c98a10ee9e4548efad256221762cfb1e846b147 [Pipeline] echo [2022-03-28T04:15:07.018Z] -----------> git rev-list -1 --merges 0c98a10ee9e4548efad256221762cfb1e846b147~1..0c98a10ee9e4548efad256221762cfb1e846b147 0c98a10ee9e4548efad256221762cfb1e846b147 [2022-03-28T04:15:07.018Z] 0c98a10ee9e4548efad256221762cfb1e846b147 [false] [Pipeline] sh [2022-03-28T04:15:07.311Z] + git log --format=format:%s -1 0c98a10ee9e4548efad256221762cfb1e846b147 [Pipeline] echo [2022-03-28T04:15:07.328Z] ========================================================= [2022-03-28T04:15:07.328Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T04:15:07.328Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T04:15:07.675Z] + git log --format=format:%s -1 0c98a10ee9e4548efad256221762cfb1e846b147 [Pipeline] echo [2022-03-28T04:15:07.689Z] [semverPrep] GIT_COMMIT: 0c98a10ee9e4548efad256221762cfb1e846b147, Commit Message: Merge pull request #1116 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.19 [Pipeline] echo [2022-03-28T04:15:07.702Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-28T04:15:08.081Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T04:15:08.081Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T04:15:08.081Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T04:15:08.081Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T04:15:08.081Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T04:15:08.081Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T04:15:08.081Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:15:08.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:15:08.426Z] [2022-03-28T04:15:08.426Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:15:08.734Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:15:08.734Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T04:15:08.734Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T04:15:08.734Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T04:15:08.734Z] 4c7163046ea9: Pulling fs layer [2022-03-28T04:15:08.734Z] 0c2d73faf560: Pulling fs layer [2022-03-28T04:15:08.994Z] 3e5f54012d9b: Verifying Checksum [2022-03-28T04:15:08.994Z] a0d0a0d46f8b: Verifying Checksum [2022-03-28T04:15:08.994Z] a0d0a0d46f8b: Download complete [2022-03-28T04:15:09.256Z] a0d0a0d46f8b: Pull complete [2022-03-28T04:15:09.256Z] 3e5f54012d9b: Pull complete [2022-03-28T04:15:09.256Z] 0c2d73faf560: Verifying Checksum [2022-03-28T04:15:09.256Z] 0c2d73faf560: Download complete [2022-03-28T04:15:09.516Z] 4c7163046ea9: Verifying Checksum [2022-03-28T04:15:09.516Z] 4c7163046ea9: Download complete [2022-03-28T04:15:09.776Z] 4c7163046ea9: Pull complete [2022-03-28T04:15:10.038Z] 0c2d73faf560: Pull complete [2022-03-28T04:15:10.038Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T04:15:10.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:15:10.038Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T04:15:10.125Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:15:10.172Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T04:15:10.752Z] $ docker top ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T04:15:10.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:15:10.848Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:15:10.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:15:10.979Z] $ docker exec ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a ssh-agent [2022-03-28T04:15:11.104Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdiENGH/agent.13 [2022-03-28T04:15:11.104Z] SSH_AGENT_PID=20 [2022-03-28T04:15:11.111Z] Running ssh-add (command line suppressed) [2022-03-28T04:15:11.225Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5795967513177782484.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5795967513177782484.key) [2022-03-28T04:15:11.241Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:15:11.533Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T04:15:11.557Z] $ docker exec --env ******** --env ******** ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a ssh-agent -k [2022-03-28T04:15:11.694Z] unset SSH_AUTH_SOCK; [2022-03-28T04:15:11.695Z] unset SSH_AGENT_PID; [2022-03-28T04:15:11.695Z] echo Agent pid 20 killed; [2022-03-28T04:15:11.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T04:15:11.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:15:11.731Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:15:11.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:15:11.891Z] $ docker exec ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a ssh-agent [2022-03-28T04:15:12.007Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEocpMp/agent.53 [2022-03-28T04:15:12.007Z] SSH_AGENT_PID=59 [2022-03-28T04:15:12.013Z] Running ssh-add (command line suppressed) [2022-03-28T04:15:12.141Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_894385625921171919.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_894385625921171919.key) [2022-03-28T04:15:12.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:15:12.452Z] + git semver init [2022-03-28T04:15:12.452Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T04:15:12.453Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-28T04:15:12.453Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-28T04:15:12.453Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T04:15:12.453Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T04:15:12.453Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T04:15:12.453Z] # $SEMVER_BRANCH = main [2022-03-28T04:15:12.453Z] # $SEMVER_TEMP = /tmp/semver-505867775 [2022-03-28T04:15:12.453Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-28T04:15:13.841Z] # '/tmp/semver-505867775' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-03-28T04:15:13.841Z] # -> Force: false [2022-03-28T04:15:13.841Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-28T04:15:13.854Z] $ docker exec --env ******** --env ******** ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a ssh-agent -k [2022-03-28T04:15:13.971Z] unset SSH_AUTH_SOCK; [2022-03-28T04:15:13.971Z] unset SSH_AGENT_PID; [2022-03-28T04:15:13.971Z] echo Agent pid 59 killed; [2022-03-28T04:15:13.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T04:15:14.296Z] + git semver [Pipeline] } [2022-03-28T04:15:14.312Z] $ docker stop --time=1 ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a [2022-03-28T04:15:15.684Z] $ docker rm -f ad804a3cf1ce362280f906b471148b65e6ff42fb7ac4991486e1c3bf0ca8678a [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T04:15:16.039Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T04:15:16.313Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T04:15:16.317Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.21 [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-03-28T04:15:16.503Z] provisioning config files... [2022-03-28T04:15:16.513Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4095168857395248657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:15:16.811Z] ---> docker-login.sh [2022-03-28T04:15:16.811Z] nexus3.edgexfoundry.org:10001 [2022-03-28T04:15:16.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:16.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:16.811Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:16.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:16.811Z] [2022-03-28T04:15:16.811Z] Login Succeeded [2022-03-28T04:15:16.811Z] nexus3.edgexfoundry.org:10002 [2022-03-28T04:15:16.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:17.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:17.071Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:17.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:17.071Z] [2022-03-28T04:15:17.071Z] Login Succeeded [2022-03-28T04:15:17.071Z] nexus3.edgexfoundry.org:10003 [2022-03-28T04:15:17.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:17.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:17.071Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:17.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:17.071Z] [2022-03-28T04:15:17.071Z] Login Succeeded [2022-03-28T04:15:17.071Z] nexus3.edgexfoundry.org:10004 [2022-03-28T04:15:17.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:17.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:17.333Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:17.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:17.333Z] [2022-03-28T04:15:17.333Z] Login Succeeded [2022-03-28T04:15:17.333Z] docker.io [2022-03-28T04:15:17.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:15:17.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:15:17.597Z] Configure a credential helper to remove this warning. See [2022-03-28T04:15:17.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:15:17.597Z] [2022-03-28T04:15:17.597Z] Login Succeeded [2022-03-28T04:15:17.597Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T04:15:17.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T04:15:17.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T04:15:17.677Z] ========================================================= [2022-03-28T04:15:17.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T04:15:17.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:15:17.984Z] + 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-03-28T04:15:17.984Z] Sending build context to Docker daemon 9.534MB [2022-03-28T04:15:17.984Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T04:15:17.984Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-28T04:15:17.984Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T04:15:17.984Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T04:15:17.984Z] 666ba61612fd: Pulling fs layer [2022-03-28T04:15:17.984Z] 8ed8ca486205: Pulling fs layer [2022-03-28T04:15:17.984Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T04:15:17.984Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T04:15:17.984Z] 640e595b4fbd: Pulling fs layer [2022-03-28T04:15:17.984Z] 763cafe07f6e: Pulling fs layer [2022-03-28T04:15:17.984Z] 0c0b528cf693: Pulling fs layer [2022-03-28T04:15:17.984Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T04:15:17.984Z] 22a0e8bec74d: Waiting [2022-03-28T04:15:17.984Z] 4fe6c5a15a65: Waiting [2022-03-28T04:15:17.984Z] 0c0b528cf693: Waiting [2022-03-28T04:15:17.984Z] 640e595b4fbd: Waiting [2022-03-28T04:15:17.984Z] 10935f4eaf8b: Waiting [2022-03-28T04:15:17.984Z] 8ed8ca486205: Download complete [2022-03-28T04:15:17.984Z] 666ba61612fd: Download complete [2022-03-28T04:15:18.251Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T04:15:18.251Z] 22a0e8bec74d: Download complete [2022-03-28T04:15:18.251Z] 640e595b4fbd: Download complete [2022-03-28T04:15:18.251Z] 59bf1c3509f3: Verifying Checksum [2022-03-28T04:15:18.251Z] 59bf1c3509f3: Download complete [2022-03-28T04:15:18.251Z] 763cafe07f6e: Verifying Checksum [2022-03-28T04:15:18.251Z] 763cafe07f6e: Download complete [2022-03-28T04:15:18.251Z] 0c0b528cf693: Verifying Checksum [2022-03-28T04:15:18.251Z] 0c0b528cf693: Download complete [2022-03-28T04:15:18.251Z] 59bf1c3509f3: Pull complete [2022-03-28T04:15:18.512Z] 666ba61612fd: Pull complete [2022-03-28T04:15:18.512Z] 8ed8ca486205: Pull complete [2022-03-28T04:15:18.771Z] 10935f4eaf8b: Verifying Checksum [2022-03-28T04:15:18.771Z] 10935f4eaf8b: Download complete [2022-03-28T04:15:18.771Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T04:15:18.771Z] 4fe6c5a15a65: Download complete [2022-03-28T04:15:22.969Z] 4fe6c5a15a65: Pull complete [2022-03-28T04:15:22.969Z] 22a0e8bec74d: Pull complete [2022-03-28T04:15:22.969Z] 640e595b4fbd: Pull complete [2022-03-28T04:15:22.969Z] 763cafe07f6e: Pull complete [2022-03-28T04:15:23.229Z] 0c0b528cf693: Pull complete [2022-03-28T04:15:25.772Z] 10935f4eaf8b: Pull complete [2022-03-28T04:15:25.772Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T04:15:25.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T04:15:25.772Z] ---> 99d49a6021b9 [2022-03-28T04:15:25.772Z] Step 3/11 : ARG MAKE=make build [2022-03-28T04:15:26.715Z] ---> Running in 9a4a558c9061 [2022-03-28T04:15:26.715Z] Removing intermediate container 9a4a558c9061 [2022-03-28T04:15:26.715Z] ---> fb7218905906 [2022-03-28T04:15:26.715Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-28T04:15:26.715Z] ---> Running in 56b42f0d679b [2022-03-28T04:15:26.715Z] Removing intermediate container 56b42f0d679b [2022-03-28T04:15:26.715Z] ---> 08422db528b0 [2022-03-28T04:15:26.715Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:15:26.715Z] ---> Running in a95533aa522b [2022-03-28T04:15:26.974Z] Removing intermediate container a95533aa522b [2022-03-28T04:15:26.974Z] ---> d2e0da947b0b [2022-03-28T04:15:26.974Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:15:26.974Z] ---> Running in dc9ad9b5cc83 [2022-03-28T04:15:27.546Z] Removing intermediate container dc9ad9b5cc83 [2022-03-28T04:15:27.546Z] ---> 548bf0b76433 [2022-03-28T04:15:27.546Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-28T04:15:27.546Z] ---> Running in bd7515538357 [2022-03-28T04:15:27.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T04:15:28.756Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T04:15:29.018Z] OK: 221 MiB in 52 packages [2022-03-28T04:15:29.281Z] Removing intermediate container bd7515538357 [2022-03-28T04:15:29.281Z] ---> 41baf289d53c [2022-03-28T04:15:29.281Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-28T04:15:29.542Z] ---> 3be34e80d53f [2022-03-28T04:15:29.542Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T04:15:29.542Z] ---> Running in 7376aa0adf9d [2022-03-28T04:15:31.444Z] Still waiting to schedule task [2022-03-28T04:15:31.444Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-03-28T04:15:51.521Z] Removing intermediate container 7376aa0adf9d [2022-03-28T04:15:51.521Z] ---> 36bb4f29aa3c [2022-03-28T04:15:51.521Z] Step 10/11 : COPY . . [2022-03-28T04:15:51.521Z] ---> 49c67a4f8287 [2022-03-28T04:15:51.521Z] Step 11/11 : RUN ${MAKE} [2022-03-28T04:15:51.521Z] ---> Running in c6c1031dc7e7 [2022-03-28T04:15:51.521Z] noop [2022-03-28T04:15:51.783Z] Removing intermediate container c6c1031dc7e7 [2022-03-28T04:15:51.783Z] ---> d319e41e3a75 [2022-03-28T04:15:51.783Z] Successfully built d319e41e3a75 [2022-03-28T04:15:51.783Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:15:52.092Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T04:15:52.092Z] . [Pipeline] withDockerContainer [2022-03-28T04:15:52.167Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:15:52.204Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-28T04:15:52.599Z] $ docker top 446bab3b9405247ff6809ae02e4b9c1182f7a1d9d68d55f71bcb5fbfc02afd96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T04:15:52.970Z] + go version [2022-03-28T04:15:52.970Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T04:15:52.983Z] $ docker stop --time=1 446bab3b9405247ff6809ae02e4b9c1182f7a1d9d68d55f71bcb5fbfc02afd96 [2022-03-28T04:15:54.280Z] $ docker rm -f 446bab3b9405247ff6809ae02e4b9c1182f7a1d9d68d55f71bcb5fbfc02afd96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:15:54.733Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T04:15:54.733Z] . [Pipeline] withDockerContainer [2022-03-28T04:15:54.803Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:15:54.838Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-28T04:15:55.247Z] $ docker top 0e0d32a444cef45f2a97b447f142bcd22ea19f17ed8816a2976873af397bc8c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T04:15:55.663Z] + make test [2022-03-28T04:15:55.664Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T04:15:55.924Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-28T04:16:02.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-28T04:16:02.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-28T04:16:02.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-28T04:16:02.770Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.014s coverage: 23.3% of statements [2022-03-28T04:16:02.771Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-28T04:16:02.771Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements [2022-03-28T04:16:02.771Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.016s coverage: 78.9% of statements [2022-03-28T04:16:02.771Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.024s coverage: 10.8% of statements [2022-03-28T04:16:02.771Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-28T04:16:02.771Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-28T04:16:02.771Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-28T04:16:03.031Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements [2022-03-28T04:16:03.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-28T04:16:03.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.026s coverage: 86.1% of statements [2022-03-28T04:16:03.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-28T04:16:03.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-28T04:16:03.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.021s coverage: 57.4% of statements [2022-03-28T04:16:03.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.032s coverage: 89.2% of statements [2022-03-28T04:16:03.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-28T04:16:03.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements [2022-03-28T04:16:03.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-28T04:16:10.179Z] GO111MODULE=on go vet ./... [2022-03-28T04:16:12.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T04:16:12.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T04:16:12.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T04:16:12.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T04:16:12.695Z] $ docker stop --time=1 0e0d32a444cef45f2a97b447f142bcd22ea19f17ed8816a2976873af397bc8c6 [2022-03-28T04:16:14.279Z] $ docker rm -f 0e0d32a444cef45f2a97b447f142bcd22ea19f17ed8816a2976873af397bc8c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T04:16:14.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T04:16:14.758Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-28T04:16:15.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T04:16:15.689Z] + ls -al . [2022-03-28T04:16:15.690Z] total 312 [2022-03-28T04:16:15.690Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 04:16 . [2022-03-28T04:16:15.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:14 .. [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:14 .dockerignore [2022-03-28T04:16:15.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:15 .git [2022-03-28T04:16:15.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:14 .github [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:14 .gitignore [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:14 .golangci.yml [2022-03-28T04:16:15.690Z] drwx------ 3 jenkins jenkins 4096 Mar 28 04:15 .semver [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 28 04:14 CHANGELOG.md [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:14 GOVERNANCE.md [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 28 04:14 Jenkinsfile [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:14 LICENSE [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 28 04:14 Makefile [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:14 OWNERS.md [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 28 04:14 README.md [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 28 04:15 VERSION [2022-03-28T04:16:15.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:14 bin [2022-03-28T04:16:15.690Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 28 04:16 coverage.out [2022-03-28T04:16:15.690Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:14 example [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 28 04:14 go.mod [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 50080 Mar 28 04:14 go.sum [2022-03-28T04:16:15.690Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 28 04:14 internal [2022-03-28T04:16:15.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:14 openapi [2022-03-28T04:16:15.690Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:14 pkg [2022-03-28T04:16:15.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:14 snap [2022-03-28T04:16:15.690Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:16:15.997Z] + 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=0c98a10ee9e4548efad256221762cfb1e846b147 --label arch=amd64 --label version=2.2.0-dev.21 . [2022-03-28T04:16:15.997Z] Sending build context to Docker daemon 9.664MB [2022-03-28T04:16:15.997Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T04:16:15.997Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-28T04:16:15.997Z] ---> d319e41e3a75 [2022-03-28T04:16:15.997Z] Step 3/25 : ARG MAKE=make build [2022-03-28T04:16:15.997Z] ---> Running in 9483310fe907 [2022-03-28T04:16:16.259Z] Removing intermediate container 9483310fe907 [2022-03-28T04:16:16.259Z] ---> 06733aab6d3e [2022-03-28T04:16:16.259Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-28T04:16:16.259Z] ---> Running in f86b24b3065a [2022-03-28T04:16:16.259Z] Removing intermediate container f86b24b3065a [2022-03-28T04:16:16.259Z] ---> 345c8c76f8dd [2022-03-28T04:16:16.259Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:16:16.259Z] ---> Running in eac61f559532 [2022-03-28T04:16:16.521Z] Removing intermediate container eac61f559532 [2022-03-28T04:16:16.521Z] ---> 9f715801df50 [2022-03-28T04:16:16.521Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:16:16.521Z] ---> Running in 7041b0f7590a [2022-03-28T04:16:17.095Z] Removing intermediate container 7041b0f7590a [2022-03-28T04:16:17.095Z] ---> 92ab8f16d097 [2022-03-28T04:16:17.095Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-28T04:16:17.095Z] ---> Running in 5765f6dc5d3c [2022-03-28T04:16:17.355Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T04:16:18.299Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T04:16:18.299Z] OK: 221 MiB in 52 packages [2022-03-28T04:16:18.561Z] Removing intermediate container 5765f6dc5d3c [2022-03-28T04:16:18.561Z] ---> 820aa587a5bb [2022-03-28T04:16:18.561Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-28T04:16:18.822Z] ---> 50abf3cf3800 [2022-03-28T04:16:18.822Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T04:16:18.822Z] ---> Running in 7992e8269f6a [2022-03-28T04:16:19.393Z] Removing intermediate container 7992e8269f6a [2022-03-28T04:16:19.393Z] ---> 1ecd70d24f81 [2022-03-28T04:16:19.393Z] Step 10/25 : COPY . . [2022-03-28T04:16:19.966Z] ---> 095b43e6a36d [2022-03-28T04:16:19.966Z] Step 11/25 : RUN ${MAKE} [2022-03-28T04:16:19.966Z] ---> Running in 9486eb4b9cc1 [2022-03-28T04:16:20.225Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-28T04:16:26.806Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-28T04:16:27.750Z] Removing intermediate container 9486eb4b9cc1 [2022-03-28T04:16:27.750Z] ---> 3ee2231b904f [2022-03-28T04:16:27.750Z] Step 12/25 : FROM alpine:3.14 [2022-03-28T04:16:28.013Z] 3.14: Pulling from library/alpine [2022-03-28T04:16:28.274Z] 36ccefbf3d8a: Pulling fs layer [2022-03-28T04:16:28.545Z] 36ccefbf3d8a: Verifying Checksum [2022-03-28T04:16:28.545Z] 36ccefbf3d8a: Download complete [2022-03-28T04:16:28.545Z] 36ccefbf3d8a: Pull complete [2022-03-28T04:16:28.545Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T04:16:28.545Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T04:16:28.545Z] ---> a33ac4f1069a [2022-03-28T04:16:28.545Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:16:28.806Z] ---> Running in 639937cc7214 [2022-03-28T04:16:28.806Z] Removing intermediate container 639937cc7214 [2022-03-28T04:16:28.806Z] ---> 6f489ad1fd83 [2022-03-28T04:16:28.806Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:16:28.806Z] ---> Running in 9647a72be56f [2022-03-28T04:16:29.379Z] Removing intermediate container 9647a72be56f [2022-03-28T04:16:29.379Z] ---> 6c58f30ec372 [2022-03-28T04:16:29.379Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-28T04:16:29.379Z] ---> Running in bd6060cca402 [2022-03-28T04:16:29.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-28T04:16:30.589Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-28T04:16:30.851Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T04:16:30.851Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-28T04:16:30.851Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T04:16:31.113Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-28T04:16:31.113Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-28T04:16:31.113Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T04:16:31.113Z] OK: 8 MiB in 19 packages [2022-03-28T04:16:31.682Z] Removing intermediate container bd6060cca402 [2022-03-28T04:16:31.683Z] ---> e86dbc768555 [2022-03-28T04:16:31.683Z] Step 16/25 : WORKDIR / [2022-03-28T04:16:31.683Z] ---> Running in 1eb7bdc3bc59 [2022-03-28T04:16:31.683Z] Removing intermediate container 1eb7bdc3bc59 [2022-03-28T04:16:31.683Z] ---> d518e3826ada [2022-03-28T04:16:31.683Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-28T04:16:31.946Z] ---> ba902a3fb54f [2022-03-28T04:16:31.946Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-28T04:16:32.208Z] ---> 3f53d7d0c5d7 [2022-03-28T04:16:32.208Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-28T04:16:32.208Z] ---> e9e0e268d5b3 [2022-03-28T04:16:32.208Z] Step 20/25 : EXPOSE 59999 [2022-03-28T04:16:32.470Z] ---> Running in d08eca04af89 [2022-03-28T04:16:32.470Z] Removing intermediate container d08eca04af89 [2022-03-28T04:16:32.470Z] ---> c8ed7f8b4008 [2022-03-28T04:16:32.470Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-28T04:16:32.470Z] ---> Running in e11b33a441c6 [2022-03-28T04:16:32.470Z] Removing intermediate container e11b33a441c6 [2022-03-28T04:16:32.470Z] ---> 0052d4c40413 [2022-03-28T04:16:32.470Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-28T04:16:32.470Z] ---> Running in b41b62e5d524 [2022-03-28T04:16:32.730Z] Removing intermediate container b41b62e5d524 [2022-03-28T04:16:32.730Z] ---> a970b638f634 [2022-03-28T04:16:32.730Z] Step 23/25 : LABEL arch=amd64 [2022-03-28T04:16:32.730Z] ---> Running in ccf002070831 [2022-03-28T04:16:32.730Z] Removing intermediate container ccf002070831 [2022-03-28T04:16:32.730Z] ---> c7874edd48e8 [2022-03-28T04:16:32.730Z] Step 24/25 : LABEL git_sha=0c98a10ee9e4548efad256221762cfb1e846b147 [2022-03-28T04:16:32.730Z] ---> Running in caa152409529 [2022-03-28T04:16:32.991Z] Removing intermediate container caa152409529 [2022-03-28T04:16:32.991Z] ---> b544e6af816d [2022-03-28T04:16:32.991Z] Step 25/25 : LABEL version=2.2.0-dev.21 [2022-03-28T04:16:32.991Z] ---> Running in e943070cb6b0 [2022-03-28T04:16:32.991Z] Removing intermediate container e943070cb6b0 [2022-03-28T04:16:32.991Z] ---> 8877543705f8 [2022-03-28T04:16:32.991Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T04:16:32.991Z] Successfully built 8877543705f8 [2022-03-28T04:16:32.991Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-03-28T04:16:33.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:16:33.430Z] [2022-03-28T04:16:33.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:16:33.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:16:33.738Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T04:16:33.738Z] 5eb5b503b376: Pulling fs layer [2022-03-28T04:16:33.738Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T04:16:33.738Z] ec43610c2a17: Pulling fs layer [2022-03-28T04:16:33.738Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T04:16:33.738Z] 33b1e0a273af: Pulling fs layer [2022-03-28T04:16:33.738Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T04:16:33.738Z] 2f39f015ded8: Pulling fs layer [2022-03-28T04:16:33.738Z] 5d3b04190fa2: Waiting [2022-03-28T04:16:33.738Z] 3a2ae6a8a46f: Waiting [2022-03-28T04:16:33.738Z] 33b1e0a273af: Waiting [2022-03-28T04:16:33.738Z] 2f39f015ded8: Waiting [2022-03-28T04:16:33.738Z] 5c69ac0246d0: Download complete [2022-03-28T04:16:33.738Z] 3a2ae6a8a46f: Download complete [2022-03-28T04:16:33.738Z] 33b1e0a273af: Verifying Checksum [2022-03-28T04:16:33.738Z] 33b1e0a273af: Download complete [2022-03-28T04:16:33.738Z] ec43610c2a17: Verifying Checksum [2022-03-28T04:16:33.738Z] ec43610c2a17: Download complete [2022-03-28T04:16:33.738Z] 5d3b04190fa2: Verifying Checksum [2022-03-28T04:16:33.738Z] 5d3b04190fa2: Download complete [2022-03-28T04:16:33.998Z] 5eb5b503b376: Download complete [2022-03-28T04:16:34.569Z] 2f39f015ded8: Download complete [2022-03-28T04:16:35.139Z] 5eb5b503b376: Pull complete [2022-03-28T04:16:35.397Z] 5c69ac0246d0: Pull complete [2022-03-28T04:16:35.967Z] ec43610c2a17: Pull complete [2022-03-28T04:16:35.967Z] 3a2ae6a8a46f: Pull complete [2022-03-28T04:16:36.227Z] 33b1e0a273af: Pull complete [2022-03-28T04:16:36.227Z] 5d3b04190fa2: Pull complete [2022-03-28T04:16:41.507Z] 2f39f015ded8: Pull complete [2022-03-28T04:16:41.507Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T04:16:41.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:16:41.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T04:16:41.580Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:16:41.615Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T04:16:42.959Z] $ docker top 847909091fb000518c4dd029d55aaad938f397ccfe274a789ba368eb45278bbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:16:43.363Z] ---> job-cost.sh [2022-03-28T04:16:43.363Z] lf-activate-venv: SKIPPING [2022-03-28T04:16:43.363Z] INFO: No Stack... [2022-03-28T04:16:43.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T04:16:44.191Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T04:16:44.484Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-03-28T04:16:44.484Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T04:16:44.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] [2022-03-28T04:16:44.505Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] did not exist. Created. [2022-03-28T04:16:44.505Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T04:16:44.810Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T04:16:44.834Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T04:16:44.839Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T04:16:44.858Z] $ docker stop --time=1 847909091fb000518c4dd029d55aaad938f397ccfe274a789ba368eb45278bbc [2022-03-28T04:16:46.010Z] $ docker rm -f 847909091fb000518c4dd029d55aaad938f397ccfe274a789ba368eb45278bbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T04:18:35.968Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9217 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-03-28T04:18:35.982Z] Running in /w/workspace/device-sdk-go/54 [Pipeline] { [Pipeline] checkout [2022-03-28T04:18:36.201Z] The recommended git tool is: git [2022-03-28T04:18:43.834Z] using credential edgex-jenkins-ssh [2022-03-28T04:18:43.854Z] Cloning the remote Git repository [2022-03-28T04:18:43.952Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-28T04:18:44.047Z] > git init /w/workspace/device-sdk-go/54 # timeout=10 [2022-03-28T04:18:44.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-28T04:18:44.165Z] > git --version # timeout=10 [2022-03-28T04:18:44.192Z] > git --version # 'git version 2.25.1' [2022-03-28T04:18:44.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T04:18:44.337Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T04:18:46.012Z] Avoid second fetch [2022-03-28T04:18:46.012Z] Checking out Revision 0c98a10ee9e4548efad256221762cfb1e846b147 (main) [2022-03-28T04:18:45.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-28T04:18:45.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T04:18:46.040Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T04:18:46.075Z] > git checkout -f 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 [2022-03-28T04:18:50.889Z] Commit message: "Merge pull request #1116 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T04:18:51.779Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T04:18:51.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T04:18:51.779Z] Dload Upload Total Spent Left Speed [2022-03-28T04:18:51.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2022-03-28T04:18:52.329Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T04:18:52.680Z] + sudo tee /etc/docker/daemon.new [2022-03-28T04:18:52.680Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T04:18:52.680Z] { [2022-03-28T04:18:52.680Z] "registry-mirrors": [ [2022-03-28T04:18:52.680Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T04:18:52.680Z] ], [2022-03-28T04:18:52.680Z] "bip": "10.250.0.254/24", [2022-03-28T04:18:52.680Z] "hosts": [ [2022-03-28T04:18:52.680Z] "tcp://0.0.0.0:5555", [2022-03-28T04:18:52.680Z] "unix:///var/run/docker.sock" [2022-03-28T04:18:52.680Z] ], [2022-03-28T04:18:52.680Z] "mtu": 1458, [2022-03-28T04:18:52.680Z] "selinux-enabled": true, [2022-03-28T04:18:52.680Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T04:18:52.680Z] } [Pipeline] sh [2022-03-28T04:18:53.055Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T04:18:53.417Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:19:11.774Z] provisioning config files... [2022-03-28T04:19:11.805Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/54@tmp/config9157092034360229166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:19:12.174Z] ---> docker-login.sh [2022-03-28T04:19:12.174Z] nexus3.edgexfoundry.org:10001 [2022-03-28T04:19:12.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:19:13.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:19:13.052Z] Configure a credential helper to remove this warning. See [2022-03-28T04:19:13.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:19:13.052Z] [2022-03-28T04:19:13.052Z] Login Succeeded [2022-03-28T04:19:13.052Z] nexus3.edgexfoundry.org:10002 [2022-03-28T04:19:13.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:19:13.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:19:13.604Z] Configure a credential helper to remove this warning. See [2022-03-28T04:19:13.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:19:13.604Z] [2022-03-28T04:19:13.604Z] Login Succeeded [2022-03-28T04:19:13.604Z] nexus3.edgexfoundry.org:10003 [2022-03-28T04:19:13.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:19:13.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:19:13.878Z] Configure a credential helper to remove this warning. See [2022-03-28T04:19:13.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:19:13.878Z] [2022-03-28T04:19:13.878Z] Login Succeeded [2022-03-28T04:19:14.163Z] nexus3.edgexfoundry.org:10004 [2022-03-28T04:19:14.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:19:14.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:19:14.441Z] Configure a credential helper to remove this warning. See [2022-03-28T04:19:14.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:19:14.441Z] [2022-03-28T04:19:14.441Z] Login Succeeded [2022-03-28T04:19:14.441Z] docker.io [2022-03-28T04:19:15.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T04:19:15.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T04:19:15.314Z] Configure a credential helper to remove this warning. See [2022-03-28T04:19:15.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T04:19:15.314Z] [2022-03-28T04:19:15.314Z] Login Succeeded [2022-03-28T04:19:15.314Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T04:19:15.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T04:19:15.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T04:19:15.990Z] ========================================================= [2022-03-28T04:19:15.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T04:19:15.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:19:16.400Z] + 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-03-28T04:19:17.018Z] Sending build context to Docker daemon 5.154MB [2022-03-28T04:19:17.018Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T04:19:17.018Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-28T04:19:17.018Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T04:19:17.018Z] 9b3977197b4f: Pulling fs layer [2022-03-28T04:19:17.018Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T04:19:17.018Z] 94645a83ff95: Pulling fs layer [2022-03-28T04:19:17.018Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T04:19:17.018Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T04:19:17.018Z] f7c0051592d6: Pulling fs layer [2022-03-28T04:19:17.018Z] a227ed2f7395: Pulling fs layer [2022-03-28T04:19:17.018Z] 7b1c46037f91: Pulling fs layer [2022-03-28T04:19:17.018Z] 3f3a8bcf1eab: Waiting [2022-03-28T04:19:17.018Z] 0c92f367c5e7: Waiting [2022-03-28T04:19:17.018Z] f7c0051592d6: Waiting [2022-03-28T04:19:17.018Z] a227ed2f7395: Waiting [2022-03-28T04:19:17.018Z] 7b1c46037f91: Waiting [2022-03-28T04:19:17.018Z] 94645a83ff95: Verifying Checksum [2022-03-28T04:19:17.018Z] 94645a83ff95: Download complete [2022-03-28T04:19:17.018Z] 1a89e8eeedd5: Verifying Checksum [2022-03-28T04:19:17.018Z] 1a89e8eeedd5: Download complete [2022-03-28T04:19:17.018Z] 0c92f367c5e7: Verifying Checksum [2022-03-28T04:19:17.018Z] 0c92f367c5e7: Download complete [2022-03-28T04:19:17.018Z] 9b3977197b4f: Verifying Checksum [2022-03-28T04:19:17.018Z] 9b3977197b4f: Download complete [2022-03-28T04:19:17.018Z] f7c0051592d6: Verifying Checksum [2022-03-28T04:19:17.018Z] f7c0051592d6: Download complete [2022-03-28T04:19:17.300Z] a227ed2f7395: Verifying Checksum [2022-03-28T04:19:17.300Z] a227ed2f7395: Download complete [2022-03-28T04:19:17.909Z] 9b3977197b4f: Pull complete [2022-03-28T04:19:18.515Z] 1a89e8eeedd5: Pull complete [2022-03-28T04:19:18.794Z] 94645a83ff95: Pull complete [2022-03-28T04:19:19.070Z] 7b1c46037f91: Download complete [2022-03-28T04:19:19.667Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-28T04:19:19.667Z] 3f3a8bcf1eab: Download complete [2022-03-28T04:19:32.075Z] 3f3a8bcf1eab: Pull complete [2022-03-28T04:19:32.075Z] 0c92f367c5e7: Pull complete [2022-03-28T04:19:32.075Z] f7c0051592d6: Pull complete [2022-03-28T04:19:32.350Z] a227ed2f7395: Pull complete [2022-03-28T04:19:39.172Z] 7b1c46037f91: Pull complete [2022-03-28T04:19:39.172Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T04:19:39.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T04:19:39.172Z] ---> f79e39bc4007 [2022-03-28T04:19:39.172Z] Step 3/11 : ARG MAKE=make build [2022-03-28T04:19:39.448Z] ---> Running in 4f48a7d05910 [2022-03-28T04:19:39.721Z] Removing intermediate container 4f48a7d05910 [2022-03-28T04:19:39.722Z] ---> 2edccbd345f5 [2022-03-28T04:19:39.722Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-28T04:19:39.722Z] ---> Running in 912b4ee704cb [2022-03-28T04:19:40.004Z] Removing intermediate container 912b4ee704cb [2022-03-28T04:19:40.004Z] ---> 43b1ad889d57 [2022-03-28T04:19:40.004Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:19:40.004Z] ---> Running in 461b7aee4b43 [2022-03-28T04:19:40.606Z] Removing intermediate container 461b7aee4b43 [2022-03-28T04:19:40.606Z] ---> 1d115de45cbf [2022-03-28T04:19:40.606Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:19:40.606Z] ---> Running in 085c9738df9c [2022-03-28T04:19:42.600Z] Removing intermediate container 085c9738df9c [2022-03-28T04:19:42.600Z] ---> 52f3e1db394e [2022-03-28T04:19:42.600Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-28T04:19:42.600Z] ---> Running in 342e7af701ad [2022-03-28T04:19:43.586Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T04:19:44.569Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T04:19:45.168Z] OK: 220 MiB in 52 packages [2022-03-28T04:19:45.766Z] Removing intermediate container 342e7af701ad [2022-03-28T04:19:45.766Z] ---> 7a7d782b610c [2022-03-28T04:19:45.766Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-28T04:19:46.368Z] ---> 32f9a52fcfe9 [2022-03-28T04:19:46.368Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T04:19:46.648Z] ---> Running in ca795dfd95ea [2022-03-28T04:21:08.526Z] Removing intermediate container ca795dfd95ea [2022-03-28T04:21:08.526Z] ---> dec9538c4cc7 [2022-03-28T04:21:08.526Z] Step 10/11 : COPY . . [2022-03-28T04:21:08.526Z] ---> bc422f7a94c9 [2022-03-28T04:21:08.526Z] Step 11/11 : RUN ${MAKE} [2022-03-28T04:21:08.526Z] ---> Running in ee60dece73bb [2022-03-28T04:21:08.526Z] noop [2022-03-28T04:21:08.526Z] Removing intermediate container ee60dece73bb [2022-03-28T04:21:08.526Z] ---> 0a471c3bb0b3 [2022-03-28T04:21:08.526Z] Successfully built 0a471c3bb0b3 [2022-03-28T04:21:08.526Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:21:08.872Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T04:21:08.873Z] . [Pipeline] withDockerContainer [2022-03-28T04:21:09.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-9217 does not seem to be running inside a container [2022-03-28T04:21:09.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/54 -v /w/workspace/device-sdk-go/54:/w/workspace/device-sdk-go/54:rw,z -v /w/workspace/device-sdk-go/54@tmp:/w/workspace/device-sdk-go/54@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-03-28T04:21:10.570Z] $ docker top 90156d3cd8b0425f5683ccae42ac84f9a9d2b5758deadfab517ac18818be6b2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T04:21:11.470Z] + go version [2022-03-28T04:21:11.470Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T04:21:11.497Z] $ docker stop --time=1 90156d3cd8b0425f5683ccae42ac84f9a9d2b5758deadfab517ac18818be6b2d [2022-03-28T04:21:13.136Z] $ docker rm -f 90156d3cd8b0425f5683ccae42ac84f9a9d2b5758deadfab517ac18818be6b2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:21:13.778Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T04:21:13.778Z] . [Pipeline] withDockerContainer [2022-03-28T04:21:14.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-9217 does not seem to be running inside a container [2022-03-28T04:21:14.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/54 -v /w/workspace/device-sdk-go/54:/w/workspace/device-sdk-go/54:rw,z -v /w/workspace/device-sdk-go/54@tmp:/w/workspace/device-sdk-go/54@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-03-28T04:21:15.603Z] $ docker top 841daf5645cc09e6db8e665db7e3dba782ee3564fbd3c98b57c2549d8d1cf913 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T04:21:16.542Z] + make test [2022-03-28T04:21:16.542Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T04:21:18.525Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-28T04:22:05.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-28T04:22:05.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-28T04:22:05.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-28T04:22:15.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.076s coverage: 23.3% of statements [2022-03-28T04:22:15.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-28T04:22:15.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 27.6% of statements [2022-03-28T04:22:15.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2022-03-28T04:22:15.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.087s coverage: 10.8% of statements [2022-03-28T04:22:15.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-28T04:22:15.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-28T04:22:15.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-28T04:22:17.265Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 33.2% of statements [2022-03-28T04:22:17.265Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-28T04:22:18.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 86.1% of statements [2022-03-28T04:22:18.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-28T04:22:18.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-28T04:22:18.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 57.4% of statements [2022-03-28T04:22:18.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.238s coverage: 89.2% of statements [2022-03-28T04:22:18.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-28T04:22:20.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.8% of statements [2022-03-28T04:22:20.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-28T04:22:20.997Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-28T04:22:20.997Z] GO111MODULE=on go vet ./... [2022-03-28T04:22:47.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T04:22:47.817Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T04:22:47.817Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T04:22:47.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T04:22:47.863Z] $ docker stop --time=1 841daf5645cc09e6db8e665db7e3dba782ee3564fbd3c98b57c2549d8d1cf913 [2022-03-28T04:22:49.584Z] $ docker rm -f 841daf5645cc09e6db8e665db7e3dba782ee3564fbd3c98b57c2549d8d1cf913 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T04:22:50.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T04:22:50.499Z] Warning: overwriting stash ‘coverage-report’ [2022-03-28T04:22:51.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T04:22:51.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T04:22:51.882Z] + ls -al . [2022-03-28T04:22:51.882Z] total 308 [2022-03-28T04:22:51.883Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 04:22 . [2022-03-28T04:22:51.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:18 .. [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:18 .dockerignore [2022-03-28T04:22:51.883Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:18 .git [2022-03-28T04:22:51.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:18 .github [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:18 .gitignore [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:18 .golangci.yml [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 28 04:18 CHANGELOG.md [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:18 GOVERNANCE.md [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 28 04:18 Jenkinsfile [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:18 LICENSE [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 28 04:18 Makefile [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:18 OWNERS.md [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 28 04:18 README.md [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 28 04:15 VERSION [2022-03-28T04:22:51.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:18 bin [2022-03-28T04:22:51.883Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 28 04:22 coverage.out [2022-03-28T04:22:51.883Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:18 example [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 28 04:18 go.mod [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 50080 Mar 28 04:18 go.sum [2022-03-28T04:22:51.883Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 28 04:18 internal [2022-03-28T04:22:51.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:18 openapi [2022-03-28T04:22:51.883Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:18 pkg [2022-03-28T04:22:51.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:18 snap [2022-03-28T04:22:51.883Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:22:52.231Z] + 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=0c98a10ee9e4548efad256221762cfb1e846b147 --label arch=arm64 --label version=2.2.0-dev.21 . [2022-03-28T04:22:52.502Z] Sending build context to Docker daemon 5.283MB [2022-03-28T04:22:52.773Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T04:22:52.773Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-28T04:22:52.773Z] ---> 0a471c3bb0b3 [2022-03-28T04:22:52.773Z] Step 3/25 : ARG MAKE=make build [2022-03-28T04:22:52.773Z] ---> Running in 9c75da664aa3 [2022-03-28T04:22:53.043Z] Removing intermediate container 9c75da664aa3 [2022-03-28T04:22:53.043Z] ---> 15ecb548ed9a [2022-03-28T04:22:53.043Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-28T04:22:53.043Z] ---> Running in a6c0e1da853b [2022-03-28T04:22:53.320Z] Removing intermediate container a6c0e1da853b [2022-03-28T04:22:53.320Z] ---> 96abca309384 [2022-03-28T04:22:53.320Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:22:53.598Z] ---> Running in ebc3e492b372 [2022-03-28T04:22:53.873Z] Removing intermediate container ebc3e492b372 [2022-03-28T04:22:53.873Z] ---> 176539839d3e [2022-03-28T04:22:53.873Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:22:53.873Z] ---> Running in f8e9f3f560de [2022-03-28T04:22:55.861Z] Removing intermediate container f8e9f3f560de [2022-03-28T04:22:55.861Z] ---> 19fb11c0b286 [2022-03-28T04:22:55.861Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-28T04:22:55.861Z] ---> Running in 2b32e1c44fcf [2022-03-28T04:22:56.846Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T04:22:57.831Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T04:22:58.430Z] OK: 220 MiB in 52 packages [2022-03-28T04:22:59.420Z] Removing intermediate container 2b32e1c44fcf [2022-03-28T04:22:59.420Z] ---> a3c35829bcaf [2022-03-28T04:22:59.420Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-28T04:23:00.027Z] ---> b08091932f28 [2022-03-28T04:23:00.027Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T04:23:00.027Z] ---> Running in 893023ce1aff [2022-03-28T04:23:02.036Z] Removing intermediate container 893023ce1aff [2022-03-28T04:23:02.036Z] ---> b3b5941d7387 [2022-03-28T04:23:02.036Z] Step 10/25 : COPY . . [2022-03-28T04:23:03.472Z] ---> 4d6686867ca7 [2022-03-28T04:23:03.472Z] Step 11/25 : RUN ${MAKE} [2022-03-28T04:23:03.472Z] ---> Running in 3c06bd29082f [2022-03-28T04:23:04.458Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-28T04:23:51.488Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-28T04:23:51.488Z] Removing intermediate container 3c06bd29082f [2022-03-28T04:23:51.488Z] ---> 227ecfe7c4ba [2022-03-28T04:23:51.488Z] Step 12/25 : FROM alpine:3.14 [2022-03-28T04:23:51.488Z] 3.14: Pulling from library/alpine [2022-03-28T04:23:51.488Z] 93a1719cf261: Pulling fs layer [2022-03-28T04:23:51.488Z] 93a1719cf261: Verifying Checksum [2022-03-28T04:23:51.488Z] 93a1719cf261: Download complete [2022-03-28T04:23:51.488Z] 93a1719cf261: Pull complete [2022-03-28T04:23:51.488Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T04:23:51.488Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T04:23:51.488Z] ---> 71a2028e5025 [2022-03-28T04:23:51.488Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-28T04:23:51.488Z] ---> Running in 4ee0707f375a [2022-03-28T04:23:51.488Z] Removing intermediate container 4ee0707f375a [2022-03-28T04:23:51.488Z] ---> f01b924e70f8 [2022-03-28T04:23:51.488Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T04:23:51.488Z] ---> Running in e06357ef68b0 [2022-03-28T04:23:51.764Z] Removing intermediate container e06357ef68b0 [2022-03-28T04:23:51.764Z] ---> b0313e0fe7e6 [2022-03-28T04:23:51.764Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-28T04:23:51.764Z] ---> Running in 95e5488ec431 [2022-03-28T04:23:52.743Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-28T04:23:53.728Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-28T04:23:54.711Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T04:23:54.711Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-28T04:23:54.711Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T04:23:54.711Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-28T04:23:54.989Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-28T04:23:54.989Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T04:23:54.989Z] OK: 8 MiB in 19 packages [2022-03-28T04:23:55.979Z] Removing intermediate container 95e5488ec431 [2022-03-28T04:23:55.979Z] ---> b6bd01f41f5d [2022-03-28T04:23:55.979Z] Step 16/25 : WORKDIR / [2022-03-28T04:23:55.979Z] ---> Running in b06743e7a584 [2022-03-28T04:23:56.260Z] Removing intermediate container b06743e7a584 [2022-03-28T04:23:56.260Z] ---> 9492fad27e82 [2022-03-28T04:23:56.260Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-28T04:23:56.856Z] ---> 7cb3f18338ce [2022-03-28T04:23:56.856Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-28T04:23:57.837Z] ---> 742b1daea7af [2022-03-28T04:23:57.837Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-28T04:23:58.434Z] ---> 716521a36d6d [2022-03-28T04:23:58.434Z] Step 20/25 : EXPOSE 59999 [2022-03-28T04:23:58.434Z] ---> Running in 027165b28eff [2022-03-28T04:23:58.718Z] Removing intermediate container 027165b28eff [2022-03-28T04:23:58.718Z] ---> 391caec25361 [2022-03-28T04:23:58.718Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-28T04:23:58.992Z] ---> Running in c4638789532e [2022-03-28T04:23:59.269Z] Removing intermediate container c4638789532e [2022-03-28T04:23:59.269Z] ---> de6385e51b7f [2022-03-28T04:23:59.269Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-28T04:23:59.269Z] ---> Running in d844f69a0961 [2022-03-28T04:23:59.544Z] Removing intermediate container d844f69a0961 [2022-03-28T04:23:59.544Z] ---> 0ca4d2c5fabf [2022-03-28T04:23:59.544Z] Step 23/25 : LABEL arch=arm64 [2022-03-28T04:23:59.544Z] ---> Running in 6e1e45284fa8 [2022-03-28T04:23:59.819Z] Removing intermediate container 6e1e45284fa8 [2022-03-28T04:23:59.819Z] ---> 9ed8fba8c5b8 [2022-03-28T04:23:59.819Z] Step 24/25 : LABEL git_sha=0c98a10ee9e4548efad256221762cfb1e846b147 [2022-03-28T04:24:00.092Z] ---> Running in 418144be247b [2022-03-28T04:24:00.365Z] Removing intermediate container 418144be247b [2022-03-28T04:24:00.365Z] ---> 89c0d3ff74b5 [2022-03-28T04:24:00.365Z] Step 25/25 : LABEL version=2.2.0-dev.21 [2022-03-28T04:24:00.365Z] ---> Running in d23ead0e498f [2022-03-28T04:24:00.640Z] Removing intermediate container d23ead0e498f [2022-03-28T04:24:00.640Z] ---> 9a2164f24cde [2022-03-28T04:24:00.640Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T04:24:00.640Z] Successfully built 9a2164f24cde [2022-03-28T04:24:00.640Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-03-28T04:24:01.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T04:24:01.072Z] [2022-03-28T04:24:01.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:01.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T04:24:01.712Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T04:24:01.712Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T04:24:01.712Z] 04944245beec: Pulling fs layer [2022-03-28T04:24:01.712Z] 699f458cf7ca: Pulling fs layer [2022-03-28T04:24:01.712Z] 765212b225bb: Pulling fs layer [2022-03-28T04:24:01.712Z] f23df028b6ca: Pulling fs layer [2022-03-28T04:24:01.712Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T04:24:01.712Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T04:24:01.712Z] 765212b225bb: Waiting [2022-03-28T04:24:01.712Z] f23df028b6ca: Waiting [2022-03-28T04:24:01.712Z] d65c8cfc05b1: Waiting [2022-03-28T04:24:01.712Z] 2437ff75d9bd: Waiting [2022-03-28T04:24:01.712Z] 04944245beec: Download complete [2022-03-28T04:24:01.712Z] 765212b225bb: Verifying Checksum [2022-03-28T04:24:01.712Z] 765212b225bb: Download complete [2022-03-28T04:24:01.712Z] f23df028b6ca: Verifying Checksum [2022-03-28T04:24:01.712Z] f23df028b6ca: Download complete [2022-03-28T04:24:01.712Z] d65c8cfc05b1: Verifying Checksum [2022-03-28T04:24:01.712Z] d65c8cfc05b1: Download complete [2022-03-28T04:24:01.990Z] 699f458cf7ca: Download complete [2022-03-28T04:24:02.267Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T04:24:02.267Z] 8998bd30e6a1: Download complete [2022-03-28T04:24:04.910Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T04:24:04.910Z] 2437ff75d9bd: Download complete [2022-03-28T04:24:06.907Z] 8998bd30e6a1: Pull complete [2022-03-28T04:24:07.186Z] 04944245beec: Pull complete [2022-03-28T04:24:08.630Z] 699f458cf7ca: Pull complete [2022-03-28T04:24:08.908Z] 765212b225bb: Pull complete [2022-03-28T04:24:09.905Z] f23df028b6ca: Pull complete [2022-03-28T04:24:10.182Z] d65c8cfc05b1: Pull complete [2022-03-28T04:24:25.273Z] 2437ff75d9bd: Pull complete [2022-03-28T04:24:25.273Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T04:24:25.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T04:24:25.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T04:24:25.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-9217 does not seem to be running inside a container [2022-03-28T04:24:25.604Z] $ 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/54 -v /w/workspace/device-sdk-go/54:/w/workspace/device-sdk-go/54:rw,z -v /w/workspace/device-sdk-go/54@tmp:/w/workspace/device-sdk-go/54@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-03-28T04:24:28.435Z] $ docker top fc03351252c6fd5b1d80530891e066a1a0b7009e180fd0e22c5125b0d8709c5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:24:29.358Z] ---> job-cost.sh [2022-03-28T04:24:29.358Z] lf-activate-venv: SKIPPING [2022-03-28T04:24:29.358Z] INFO: No Stack... [2022-03-28T04:24:29.951Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T04:24:30.545Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T04:24:31.214Z] + + cut -d, -f6 [2022-03-28T04:24:31.214Z] cat /w/workspace/device-sdk-go/54/archives/cost.csv [Pipeline] lock [2022-03-28T04:24:31.284Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] [2022-03-28T04:24:31.290Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] did not exist. Created. [2022-03-28T04:24:31.290Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T04:24:31.970Z] /w/workspace/device-sdk-go/54@tmp/durable-6e846bdc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T04:24:32.653Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T04:24:32.675Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T04:24:32.746Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T04:24:32.753Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T04:24:32.777Z] $ docker stop --time=1 fc03351252c6fd5b1d80530891e066a1a0b7009e180fd0e22c5125b0d8709c5f [2022-03-28T04:24:34.271Z] $ docker rm -f fc03351252c6fd5b1d80530891e066a1a0b7009e180fd0e22c5125b0d8709c5f [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-03-28T04:24:34.749Z] provisioning config files... [2022-03-28T04:24:34.761Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1640012372840054852tmp [Pipeline] { [Pipeline] sh [2022-03-28T04:24:35.056Z] + set +x [2022-03-28T04:24:35.056Z] + curl -s https://codecov.io/bash [2022-03-28T04:24:35.056Z] + bash -s -- [2022-03-28T04:24:35.056Z] [2022-03-28T04:24:35.056Z] _____ _ [2022-03-28T04:24:35.056Z] / ____| | | [2022-03-28T04:24:35.056Z] | | ___ __| | ___ ___ _____ __ [2022-03-28T04:24:35.056Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-28T04:24:35.056Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-28T04:24:35.056Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-28T04:24:35.056Z] Bash-1.0.6 [2022-03-28T04:24:35.056Z] [2022-03-28T04:24:35.056Z] [2022-03-28T04:24:35.056Z] ==> git version 2.25.1 found [2022-03-28T04:24:35.056Z] ==> 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-03-28T04:24:35.056Z] Release-Date: 2020-01-08 [2022-03-28T04:24:35.056Z] 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-03-28T04:24:35.056Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-28T04:24:35.056Z] ==> Jenkins CI detected. [2022-03-28T04:24:35.056Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-28T04:24:35.056Z] project root: . [2022-03-28T04:24:35.056Z] --> token set from env [2022-03-28T04:24:35.056Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-28T04:24:35.056Z] ==> Running gcov in . (disable via -X gcov) [2022-03-28T04:24:35.056Z] ==> Python coveragepy not found [2022-03-28T04:24:35.056Z] ==> Searching for coverage reports in: [2022-03-28T04:24:35.056Z] + . [2022-03-28T04:24:35.056Z] -> Found 1 reports [2022-03-28T04:24:35.056Z] ==> Detecting git/mercurial file structure [2022-03-28T04:24:35.056Z] ==> Reading reports [2022-03-28T04:24:35.056Z] + ./coverage.out bytes=129001 [2022-03-28T04:24:35.056Z] ==> Appending adjustments [2022-03-28T04:24:35.056Z] https://docs.codecov.io/docs/fixing-reports [2022-03-28T04:24:35.317Z] + Found adjustments [2022-03-28T04:24:35.317Z] ==> Gzipping contents [2022-03-28T04:24:35.317Z] 16K /tmp/codecov.lMwqH3.gz [2022-03-28T04:24:35.317Z] ==> Uploading reports [2022-03-28T04:24:35.317Z] url: https://codecov.io [2022-03-28T04:24:35.317Z] query: branch=main&commit=0c98a10ee9e4548efad256221762cfb1e846b147&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-28T04:24:35.577Z] -> Pinging Codecov [2022-03-28T04:24:35.577Z] 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=0c98a10ee9e4548efad256221762cfb1e846b147&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-28T04:24:35.577Z] -> Uploading to [2022-03-28T04:24:35.577Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-28/7E55EF52A471D76F132DFD9A03CDDE97/0c98a10ee9e4548efad256221762cfb1e846b147/d548bc9b-9fb8-4ff7-bacb-d4c3a1e28348.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T042435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75a631928cc2d358fd841d7a0c4ccc95f96a7b7070dfdd2463a5ef64196571b9 [2022-03-28T04:24:35.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T04:24:35.577Z] Dload Upload Total Spent Left Speed [2022-03-28T04:24:35.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16224 0 0 100 16224 0 74764 --:--:-- --:--:-- --:--:-- 74764 [2022-03-28T04:24:35.838Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0c98a10ee9e4548efad256221762cfb1e846b147 [Pipeline] } [2022-03-28T04:24:35.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-28T04:24:36.119Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-28T04:24:36.129Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:36.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-28T04:24:36.426Z] [2022-03-28T04:24:36.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:36.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-28T04:24:36.730Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-28T04:24:36.730Z] 188c0c94c7c5: Pulling fs layer [2022-03-28T04:24:36.730Z] 0ef7d3d256c8: Pulling fs layer [2022-03-28T04:24:36.730Z] de9db76c5a1d: Pulling fs layer [2022-03-28T04:24:36.730Z] 0eba1c9be4d2: Pulling fs layer [2022-03-28T04:24:36.730Z] 0d57e429df01: Pulling fs layer [2022-03-28T04:24:36.730Z] 4e4be7b47b0d: Pulling fs layer [2022-03-28T04:24:36.730Z] e1f770b5df2f: Pulling fs layer [2022-03-28T04:24:36.730Z] 85a0685a4137: Pulling fs layer [2022-03-28T04:24:36.730Z] 0eba1c9be4d2: Waiting [2022-03-28T04:24:36.730Z] e1f770b5df2f: Waiting [2022-03-28T04:24:36.730Z] 4e4be7b47b0d: Waiting [2022-03-28T04:24:36.730Z] 85a0685a4137: Waiting [2022-03-28T04:24:36.730Z] de9db76c5a1d: Verifying Checksum [2022-03-28T04:24:36.730Z] de9db76c5a1d: Download complete [2022-03-28T04:24:36.730Z] 0ef7d3d256c8: Verifying Checksum [2022-03-28T04:24:36.730Z] 0ef7d3d256c8: Download complete [2022-03-28T04:24:36.730Z] 0d57e429df01: Verifying Checksum [2022-03-28T04:24:36.730Z] 0d57e429df01: Download complete [2022-03-28T04:24:36.730Z] 4e4be7b47b0d: Verifying Checksum [2022-03-28T04:24:36.730Z] 4e4be7b47b0d: Download complete [2022-03-28T04:24:36.730Z] 188c0c94c7c5: Download complete [2022-03-28T04:24:36.991Z] 188c0c94c7c5: Pull complete [2022-03-28T04:24:36.991Z] e1f770b5df2f: Verifying Checksum [2022-03-28T04:24:36.991Z] e1f770b5df2f: Download complete [2022-03-28T04:24:36.991Z] 0ef7d3d256c8: Pull complete [2022-03-28T04:24:36.991Z] de9db76c5a1d: Pull complete [2022-03-28T04:24:37.561Z] 0eba1c9be4d2: Verifying Checksum [2022-03-28T04:24:37.561Z] 0eba1c9be4d2: Download complete [2022-03-28T04:24:37.561Z] 85a0685a4137: Verifying Checksum [2022-03-28T04:24:37.561Z] 85a0685a4137: Download complete [2022-03-28T04:24:40.849Z] 0eba1c9be4d2: Pull complete [2022-03-28T04:24:40.849Z] 0d57e429df01: Pull complete [2022-03-28T04:24:41.108Z] 4e4be7b47b0d: Pull complete [2022-03-28T04:24:41.366Z] e1f770b5df2f: Pull complete [2022-03-28T04:24:44.657Z] 85a0685a4137: Pull complete [2022-03-28T04:24:44.657Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-28T04:24:44.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-28T04:24:44.657Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-28T04:24:44.721Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:24:44.748Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-03-28T04:24:46.392Z] $ docker top ab2787e2db74582f39b333d1534b88ebc31997d0cfbfedb8e0e93011e9e47bdb -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-28T04:24:46.487Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-28T04:24:46.769Z] + set -o pipefail [2022-03-28T04:24:46.769Z] + snyk monitor '--org=edgex-jenkins' [2022-03-28T04:24:50.971Z] [2022-03-28T04:24:50.971Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-03-28T04:24:50.971Z] [2022-03-28T04:24:50.971Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/2f6d2615-5ead-4a06-b088-6c33e5029647 [2022-03-28T04:24:50.971Z] [2022-03-28T04:24:50.971Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-28T04:24:50.971Z] [2022-03-28T04:24:50.971Z] [Pipeline] } [2022-03-28T04:24:50.973Z] $ docker stop --time=1 ab2787e2db74582f39b333d1534b88ebc31997d0cfbfedb8e0e93011e9e47bdb [2022-03-28T04:24:52.511Z] $ docker rm -f ab2787e2db74582f39b333d1534b88ebc31997d0cfbfedb8e0e93011e9e47bdb [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-03-28T04:24:52.926Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:24:52.942Z] provisioning config files... [2022-03-28T04:24:52.949Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2439298527578315431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:24:53.254Z] --> edgex-publish-swagger.sh [2022-03-28T04:24:53.254Z] === Publish openapi/v2 API === [2022-03-28T04:24:53.254Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-03-28T04:24:53.254Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-03-28T04:24:53.254Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T04:24:53.254Z] Dload Upload Total Spent Left Speed [2022-03-28T04:24:54.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 61740 --:--:-- --:--:-- --:--:-- 61668 100 53282 0 0 100 53282 0 61740 --:--:-- --:--:-- --:--:-- 61668 [2022-03-28T04:24:54.196Z] [2022-03-28T04:24:54.196Z] [Pipeline] } [2022-03-28T04:24:54.205Z] 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-03-28T04:24:54.624Z] + git log --format=format:%s -1 0c98a10ee9e4548efad256221762cfb1e846b147 [Pipeline] sh [2022-03-28T04:24:54.924Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T04:24:54.924Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:55.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:24:55.226Z] . [Pipeline] withDockerContainer [2022-03-28T04:24:55.289Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:24:55.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T04:24:55.705Z] $ docker top 2928909ed21014c9006b40f36907662269c0cd607483097d28db061694bde629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T04:24:55.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:24:55.817Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:24:55.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:24:55.942Z] $ docker exec 2928909ed21014c9006b40f36907662269c0cd607483097d28db061694bde629 ssh-agent [2022-03-28T04:24:56.069Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBdeeAK/agent.14 [2022-03-28T04:24:56.069Z] SSH_AGENT_PID=20 [2022-03-28T04:24:56.075Z] Running ssh-add (command line suppressed) [2022-03-28T04:24:56.172Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7473229630506325523.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7473229630506325523.key) [2022-03-28T04:24:56.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:24:56.493Z] + git semver tag [2022-03-28T04:24:56.493Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T04:24:56.493Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-28T04:24:56.493Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-28T04:24:56.493Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T04:24:56.493Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T04:24:56.493Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T04:24:56.493Z] # $SEMVER_BRANCH = main [2022-03-28T04:24:56.493Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-28T04:24:56.493Z] # 0c98a10ee9e4548efad256221762cfb1e846b147 HEAD [2022-03-28T04:24:56.493Z] # -> Force: false [2022-03-28T04:24:56.493Z] # 5e6676dafd7634e1b88056d5bb20cb93c5de838f refs/tags/v2.2.0-dev.21 [Pipeline] } [2022-03-28T04:24:56.493Z] $ docker exec --env ******** --env ******** 2928909ed21014c9006b40f36907662269c0cd607483097d28db061694bde629 ssh-agent -k [2022-03-28T04:24:56.611Z] unset SSH_AUTH_SOCK; [2022-03-28T04:24:56.612Z] unset SSH_AGENT_PID; [2022-03-28T04:24:56.612Z] echo Agent pid 20 killed; [2022-03-28T04:24:56.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T04:24:56.939Z] + git semver [Pipeline] } [2022-03-28T04:24:56.943Z] $ docker stop --time=1 2928909ed21014c9006b40f36907662269c0cd607483097d28db061694bde629 [2022-03-28T04:24:58.223Z] $ docker rm -f 2928909ed21014c9006b40f36907662269c0cd607483097d28db061694bde629 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:58.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-28T04:24:58.646Z] [2022-03-28T04:24:58.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:24:58.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-28T04:24:58.952Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-28T04:24:58.952Z] ab5ef0e58194: Pulling fs layer [2022-03-28T04:24:58.952Z] 9712f1f96733: Pulling fs layer [2022-03-28T04:24:58.952Z] 63f879dbbcfc: Pulling fs layer [2022-03-28T04:24:58.952Z] 0d9ebad4ef96: Pulling fs layer [2022-03-28T04:24:58.952Z] e9a5061849ea: Pulling fs layer [2022-03-28T04:24:58.952Z] d747dcd14b5f: Pulling fs layer [2022-03-28T04:24:58.952Z] 2de7ff778b66: Pulling fs layer [2022-03-28T04:24:58.952Z] e9a5061849ea: Waiting [2022-03-28T04:24:58.952Z] d747dcd14b5f: Waiting [2022-03-28T04:24:58.952Z] 2de7ff778b66: Waiting [2022-03-28T04:24:58.952Z] 0d9ebad4ef96: Waiting [2022-03-28T04:24:58.952Z] 9712f1f96733: Verifying Checksum [2022-03-28T04:24:58.952Z] 9712f1f96733: Download complete [2022-03-28T04:24:59.214Z] 63f879dbbcfc: Verifying Checksum [2022-03-28T04:24:59.214Z] 63f879dbbcfc: Download complete [2022-03-28T04:24:59.473Z] e9a5061849ea: Verifying Checksum [2022-03-28T04:24:59.473Z] e9a5061849ea: Download complete [2022-03-28T04:24:59.473Z] d747dcd14b5f: Verifying Checksum [2022-03-28T04:24:59.473Z] d747dcd14b5f: Download complete [2022-03-28T04:24:59.473Z] 0d9ebad4ef96: Verifying Checksum [2022-03-28T04:24:59.473Z] 0d9ebad4ef96: Download complete [2022-03-28T04:24:59.473Z] ab5ef0e58194: Verifying Checksum [2022-03-28T04:24:59.473Z] ab5ef0e58194: Download complete [2022-03-28T04:24:59.473Z] 2de7ff778b66: Verifying Checksum [2022-03-28T04:24:59.473Z] 2de7ff778b66: Download complete [2022-03-28T04:25:02.768Z] ab5ef0e58194: Pull complete [2022-03-28T04:25:02.768Z] 9712f1f96733: Pull complete [2022-03-28T04:25:03.026Z] 63f879dbbcfc: Pull complete [2022-03-28T04:25:06.315Z] 0d9ebad4ef96: Pull complete [2022-03-28T04:25:06.575Z] e9a5061849ea: Pull complete [2022-03-28T04:25:06.575Z] d747dcd14b5f: Pull complete [2022-03-28T04:25:07.955Z] 2de7ff778b66: Pull complete [2022-03-28T04:25:07.955Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-28T04:25:07.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-28T04:25:07.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-28T04:25:08.025Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:25:08.093Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-28T04:25:09.765Z] $ docker top 186f162c35cb3c5b752c41ca99a585b26f5edc0b6e71efc8996e53c5d32b6efd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:25:09.873Z] provisioning config files... [2022-03-28T04:25:09.879Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config900878942234178955tmp [2022-03-28T04:25:09.890Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5502506590567285932tmp [2022-03-28T04:25:09.902Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6162605508835526995tmp [Pipeline] { [Pipeline] echo [2022-03-28T04:25:09.918Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:10.202Z] ---> sigul-configuration.sh [2022-03-28T04:25:10.202Z] gpg: directory `/root/.gnupg' created [2022-03-28T04:25:10.202Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-28T04:25:10.202Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-28T04:25:10.202Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-28T04:25:10.202Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-28T04:25:10.202Z] gpg: CAST5 encrypted data [2022-03-28T04:25:10.202Z] gpg: encrypted with 1 passphrase [2022-03-28T04:25:10.202Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-28T04:25:10.491Z] + mkdir /home/jenkins [2022-03-28T04:25:10.491Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-28T04:25:10.779Z] + 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-03-28T04:25:10.789Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:11.077Z] ---> sigul-install.sh [2022-03-28T04:25:11.077Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-28T04:25:11.370Z] + git tag --list [2022-03-28T04:25:11.370Z] 0.7.1 [2022-03-28T04:25:11.370Z] delhi-tag [2022-03-28T04:25:11.370Z] v1.0.0 [2022-03-28T04:25:11.370Z] v1.1.0 [2022-03-28T04:25:11.370Z] v1.1.1 [2022-03-28T04:25:11.370Z] v1.1.2 [2022-03-28T04:25:11.370Z] v1.2.0 [2022-03-28T04:25:11.370Z] v1.2.1 [2022-03-28T04:25:11.370Z] v1.2.2 [2022-03-28T04:25:11.370Z] v1.2.3 [2022-03-28T04:25:11.370Z] v1.3.0 [2022-03-28T04:25:11.370Z] v1.4.0 [2022-03-28T04:25:11.370Z] v2.0.0 [2022-03-28T04:25:11.370Z] v2.0.1-dev.1 [2022-03-28T04:25:11.370Z] v2.0.1-dev.10 [2022-03-28T04:25:11.370Z] v2.0.1-dev.11 [2022-03-28T04:25:11.370Z] v2.0.1-dev.12 [2022-03-28T04:25:11.370Z] v2.0.1-dev.13 [2022-03-28T04:25:11.370Z] v2.0.1-dev.14 [2022-03-28T04:25:11.370Z] v2.0.1-dev.15 [2022-03-28T04:25:11.370Z] v2.0.1-dev.16 [2022-03-28T04:25:11.370Z] v2.0.1-dev.17 [2022-03-28T04:25:11.370Z] v2.0.1-dev.18 [2022-03-28T04:25:11.370Z] v2.0.1-dev.19 [2022-03-28T04:25:11.370Z] v2.0.1-dev.2 [2022-03-28T04:25:11.370Z] v2.0.1-dev.20 [2022-03-28T04:25:11.370Z] v2.0.1-dev.21 [2022-03-28T04:25:11.370Z] v2.0.1-dev.22 [2022-03-28T04:25:11.370Z] v2.0.1-dev.23 [2022-03-28T04:25:11.370Z] v2.0.1-dev.24 [2022-03-28T04:25:11.370Z] v2.0.1-dev.25 [2022-03-28T04:25:11.370Z] v2.0.1-dev.26 [2022-03-28T04:25:11.370Z] v2.0.1-dev.27 [2022-03-28T04:25:11.370Z] v2.0.1-dev.28 [2022-03-28T04:25:11.370Z] v2.0.1-dev.29 [2022-03-28T04:25:11.370Z] v2.0.1-dev.3 [2022-03-28T04:25:11.370Z] v2.0.1-dev.30 [2022-03-28T04:25:11.370Z] v2.0.1-dev.31 [2022-03-28T04:25:11.370Z] v2.0.1-dev.32 [2022-03-28T04:25:11.370Z] v2.0.1-dev.33 [2022-03-28T04:25:11.370Z] v2.0.1-dev.4 [2022-03-28T04:25:11.370Z] v2.0.1-dev.5 [2022-03-28T04:25:11.370Z] v2.0.1-dev.6 [2022-03-28T04:25:11.370Z] v2.0.1-dev.7 [2022-03-28T04:25:11.370Z] v2.0.1-dev.8 [2022-03-28T04:25:11.370Z] v2.0.1-dev.9 [2022-03-28T04:25:11.370Z] v2.1.0 [2022-03-28T04:25:11.370Z] v2.1.1-dev.1 [2022-03-28T04:25:11.370Z] v2.2.0-dev.1 [2022-03-28T04:25:11.370Z] v2.2.0-dev.10 [2022-03-28T04:25:11.370Z] v2.2.0-dev.11 [2022-03-28T04:25:11.370Z] v2.2.0-dev.12 [2022-03-28T04:25:11.370Z] v2.2.0-dev.13 [2022-03-28T04:25:11.370Z] v2.2.0-dev.14 [2022-03-28T04:25:11.370Z] v2.2.0-dev.15 [2022-03-28T04:25:11.370Z] v2.2.0-dev.16 [2022-03-28T04:25:11.370Z] v2.2.0-dev.17 [2022-03-28T04:25:11.370Z] v2.2.0-dev.18 [2022-03-28T04:25:11.370Z] v2.2.0-dev.19 [2022-03-28T04:25:11.370Z] v2.2.0-dev.2 [2022-03-28T04:25:11.370Z] v2.2.0-dev.20 [2022-03-28T04:25:11.370Z] v2.2.0-dev.21 [2022-03-28T04:25:11.370Z] v2.2.0-dev.3 [2022-03-28T04:25:11.370Z] v2.2.0-dev.4 [2022-03-28T04:25:11.370Z] v2.2.0-dev.5 [2022-03-28T04:25:11.370Z] v2.2.0-dev.6 [2022-03-28T04:25:11.370Z] v2.2.0-dev.7 [2022-03-28T04:25:11.370Z] v2.2.0-dev.8 [2022-03-28T04:25:11.370Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-28T04:25:11.657Z] + lftools sign git-tag v2.2.0-dev.21 [2022-03-28T04:25:12.226Z] Signing Git tag with Sigul... [2022-03-28T04:25:12.226Z] Signing v2.2.0-dev.21 [Pipeline] echo [2022-03-28T04:25:12.496Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:12.781Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-28T04:25:12.788Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-28T04:25:12.794Z] $ docker stop --time=1 186f162c35cb3c5b752c41ca99a585b26f5edc0b6e71efc8996e53c5d32b6efd [2022-03-28T04:25:14.074Z] $ docker rm -f 186f162c35cb3c5b752c41ca99a585b26f5edc0b6e71efc8996e53c5d32b6efd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-28T04:25:14.522Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T04:25:14.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:25:14.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:25:14.818Z] . [Pipeline] withDockerContainer [2022-03-28T04:25:14.886Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:25:14.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T04:25:15.232Z] $ docker top 294e32861a14097d53993e99686b26a4d0111a832bbae2f762e49b36a07ef01c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T04:25:15.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:25:15.337Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:25:15.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:25:15.452Z] $ docker exec 294e32861a14097d53993e99686b26a4d0111a832bbae2f762e49b36a07ef01c ssh-agent [2022-03-28T04:25:15.581Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOKHpON/agent.14 [2022-03-28T04:25:15.581Z] SSH_AGENT_PID=21 [2022-03-28T04:25:15.586Z] Running ssh-add (command line suppressed) [2022-03-28T04:25:15.690Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9034739114509556910.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9034739114509556910.key) [2022-03-28T04:25:15.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:25:16.007Z] + git semver bump pre [2022-03-28T04:25:16.007Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T04:25:16.007Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-28T04:25:16.007Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-28T04:25:16.007Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T04:25:16.007Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T04:25:16.007Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T04:25:16.007Z] # $SEMVER_BRANCH = main [2022-03-28T04:25:16.007Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-28T04:25:16.007Z] 2.2.0-dev.22 [Pipeline] } [2022-03-28T04:25:16.004Z] $ docker exec --env ******** --env ******** 294e32861a14097d53993e99686b26a4d0111a832bbae2f762e49b36a07ef01c ssh-agent -k [2022-03-28T04:25:16.115Z] unset SSH_AUTH_SOCK; [2022-03-28T04:25:16.115Z] unset SSH_AGENT_PID; [2022-03-28T04:25:16.115Z] echo Agent pid 21 killed; [2022-03-28T04:25:16.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T04:25:16.449Z] + git semver [Pipeline] } [2022-03-28T04:25:16.450Z] $ docker stop --time=1 294e32861a14097d53993e99686b26a4d0111a832bbae2f762e49b36a07ef01c [2022-03-28T04:25:17.762Z] $ docker rm -f 294e32861a14097d53993e99686b26a4d0111a832bbae2f762e49b36a07ef01c [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T04:25:18.129Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T04:25:18.129Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:25:18.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T04:25:18.424Z] . [Pipeline] withDockerContainer [2022-03-28T04:25:18.497Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:25:18.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T04:25:18.888Z] $ docker top cf922690e92a8a9fbf074d2f6c2db10e2fba5ee46ea40d91cb5a125945f994d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T04:25:18.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T04:25:18.988Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T04:25:19.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T04:25:19.098Z] $ docker exec cf922690e92a8a9fbf074d2f6c2db10e2fba5ee46ea40d91cb5a125945f994d9 ssh-agent [2022-03-28T04:25:19.232Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXapFmEL/agent.14 [2022-03-28T04:25:19.232Z] SSH_AGENT_PID=20 [2022-03-28T04:25:19.238Z] Running ssh-add (command line suppressed) [2022-03-28T04:25:19.338Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_495779963492863513.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_495779963492863513.key) [2022-03-28T04:25:19.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T04:25:19.656Z] + git semver push [2022-03-28T04:25:19.656Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T04:25:19.656Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-28T04:25:19.656Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-28T04:25:19.656Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T04:25:19.656Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T04:25:19.656Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T04:25:19.656Z] # $SEMVER_BRANCH = main [2022-03-28T04:25:19.656Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-28T04:25:21.563Z] $ docker exec --env ******** --env ******** cf922690e92a8a9fbf074d2f6c2db10e2fba5ee46ea40d91cb5a125945f994d9 ssh-agent -k [2022-03-28T04:25:21.666Z] unset SSH_AUTH_SOCK; [2022-03-28T04:25:21.666Z] unset SSH_AGENT_PID; [2022-03-28T04:25:21.666Z] echo Agent pid 20 killed; [2022-03-28T04:25:21.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T04:25:22.009Z] + git semver [Pipeline] } [2022-03-28T04:25:22.011Z] $ docker stop --time=1 cf922690e92a8a9fbf074d2f6c2db10e2fba5ee46ea40d91cb5a125945f994d9 [2022-03-28T04:25:23.299Z] $ docker rm -f cf922690e92a8a9fbf074d2f6c2db10e2fba5ee46ea40d91cb5a125945f994d9 [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-03-28T04:25:23.926Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-03-28T04:25:23.926Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-28T04:25:23.926Z] total 16 [2022-03-28T04:25:23.926Z] drwxr-xr-x 3 root root 4096 Mar 28 04:16 . [2022-03-28T04:25:23.926Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:25 .. [2022-03-28T04:25:23.926Z] drwxr-xr-x 2 root root 4096 Mar 28 04:16 cost [2022-03-28T04:25:23.926Z] -rw-r--r-- 1 root root 83 Mar 28 04:16 cost.csv [2022-03-28T04:25:23.926Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-28T04:25:23.926Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-28T04:25:23.926Z] total 16 [2022-03-28T04:25:23.926Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 04:16 . [2022-03-28T04:25:23.926Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:25 .. [2022-03-28T04:25:23.926Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 04:16 cost [2022-03-28T04:25:23.926Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 28 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:24.222Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:25.089Z] ---> package-listing.sh [2022-03-28T04:25:25.090Z] ++ facter osfamily [2022-03-28T04:25:25.090Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T04:25:25.351Z] + OS_FAMILY=debian [2022-03-28T04:25:25.351Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-03-28T04:25:25.351Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T04:25:25.351Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T04:25:25.351Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T04:25:25.351Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T04:25:25.351Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-28T04:25:25.351Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T04:25:25.351Z] + case "${OS_FAMILY}" in [2022-03-28T04:25:25.351Z] + dpkg -l [2022-03-28T04:25:25.351Z] + grep '^ii' [2022-03-28T04:25:25.351Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T04:25:25.351Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T04:25:25.351Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T04:25:25.351Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-28T04:25:25.351Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-03-28T04:25:25.351Z] + 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-03-28T04:25:25.368Z] 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-03-28T04:25:25.651Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T04:25:26.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T04:25:26.284Z] . [Pipeline] withDockerContainer [2022-03-28T04:25:26.349Z] prd-ubuntu20.04-docker-8c-8g-9215 does not seem to be running inside a container [2022-03-28T04:25:26.370Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T04:25:26.585Z] $ docker top b59453a8dbb1e9047057bc165cb7015a5563fdf7ffafacea24102f7d8ca9e187 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T04:25:26.951Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T04:25:27.240Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T04:25:27.526Z] + ls /var/log/sa-host [2022-03-28T04:25:27.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T04:25:27.618Z] provisioning config files... [2022-03-28T04:25:27.629Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4878809822172867668tmp [Pipeline] { [Pipeline] echo [2022-03-28T04:25:27.645Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:27.930Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T04:25:27.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:28.297Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T04:25:28.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:28.594Z] ---> sudo-logs.sh [2022-03-28T04:25:28.594Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T04:25:28.628Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:28.916Z] ---> job-cost.sh [2022-03-28T04:25:28.916Z] lf-activate-venv: SKIPPING [2022-03-28T04:25:28.916Z] DEBUG: total: 0.2199999988079071 [2022-03-28T04:25:28.916Z] INFO: Retrieving Stack Cost... [2022-03-28T04:25:29.487Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T04:25:29.748Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T04:25:29.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T04:25:30.048Z] ---> logs-deploy.sh [2022-03-28T04:25:30.048Z] lf-activate-venv: SKIPPING [2022-03-28T04:25:30.048Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/54 [2022-03-28T04:25:30.048Z] INFO: archiving workspace using pattern(s): [2022-03-28T04:25:30.992Z] Archives upload complete. [2022-03-28T04:25:30.992Z] INFO: archiving logs to Nexus