Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a649bf1bf9918af6bcd6933aa59ded149e77d26 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-ssh4868446735848556785.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh5274144960380802481.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh6086146682679582421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh9131920521470480979.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh12646939280802364741.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 Still waiting to schedule task ‘prd-centos7-docker-4c-2g-4559’ is offline Running on prd-centos7-docker-4c-2g-4563 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.24.4' 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 /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh5050073703964760076.key > 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 9a649bf1bf9918af6bcd6933aa59ded149e77d26 (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 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 Commit message: "Merge pull request #1095 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.8" > git rev-list --no-walk dd2488f44e7de249a3f057dee004478318674dba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-03T13:08:03.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-03T13:08:03.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-03T13:08:03.880Z] ========================================================= [2022-02-03T13:08:03.880Z] EdgeX Global Pipelines Version Info [2022-02-03T13:08:03.880Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:08:05.023Z] ------------------- [2022-02-03T13:08:05.023Z] stable info: [2022-02-03T13:08:05.023Z] ------------------- [2022-02-03T13:08:05.023Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-03T13:08:05.023Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-03T13:08:05.023Z] Message: update stable to v1.0.220 [2022-02-03T13:08:05.992Z] ------------------- [2022-02-03T13:08:05.992Z] experimental info: [2022-02-03T13:08:05.992Z] ------------------- [2022-02-03T13:08:05.992Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-03T13:08:05.992Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-03T13:08:05.992Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-03T13:08:06.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-03T13:08:06.196Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-03T13:08:06.208Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-03T13:08:06.224Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-03T13:08:06.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-03T13:08:06.254Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-03T13:08:06.265Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-03T13:08:06.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-03T13:08:06.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-03T13:08:06.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-03T13:08:06.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-03T13:08:06.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-03T13:08:06.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-03T13:08:06.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-03T13:08:06.393Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-03T13:08:06.413Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-03T13:08:06.436Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-03T13:08:06.454Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-03T13:08:06.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-03T13:08:06.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-03T13:08:06.495Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-03T13:08:06.508Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-03T13:08:06.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-03T13:08:06.536Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-03T13:08:06.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-03T13:08:06.554Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-03T13:08:06.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-02-03T13:08:06.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-02-03T13:08:06.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-02-03T13:08:06.617Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo [2022-02-03T13:08:06.637Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a649bf [Pipeline] echo [2022-02-03T13:08:06.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T13:08:06.705Z] provisioning config files... [2022-02-03T13:08:06.719Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6199034787812561221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:08:07.039Z] ---> docker-login.sh [2022-02-03T13:08:07.039Z] nexus3.edgexfoundry.org:10001 [2022-02-03T13:08:07.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:07.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:07.304Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:07.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:07.304Z] [2022-02-03T13:08:07.304Z] Login Succeeded [2022-02-03T13:08:07.304Z] nexus3.edgexfoundry.org:10002 [2022-02-03T13:08:07.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:07.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:07.304Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:07.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:07.304Z] [2022-02-03T13:08:07.304Z] Login Succeeded [2022-02-03T13:08:07.304Z] nexus3.edgexfoundry.org:10003 [2022-02-03T13:08:07.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:07.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:07.304Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:07.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:07.304Z] [2022-02-03T13:08:07.304Z] Login Succeeded [2022-02-03T13:08:07.304Z] nexus3.edgexfoundry.org:10004 [2022-02-03T13:08:07.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:07.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:07.565Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:07.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:07.565Z] [2022-02-03T13:08:07.565Z] Login Succeeded [2022-02-03T13:08:07.565Z] docker.io [2022-02-03T13:08:07.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:08.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:08.735Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:08.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:08.735Z] [2022-02-03T13:08:08.735Z] Login Succeeded [2022-02-03T13:08:08.735Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T13:08:08.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-03T13:08:09.157Z] + git rev-list -1 --merges 9a649bf1bf9918af6bcd6933aa59ded149e77d26~1..9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo [2022-02-03T13:08:09.186Z] -----------> git rev-list -1 --merges 9a649bf1bf9918af6bcd6933aa59ded149e77d26~1..9a649bf1bf9918af6bcd6933aa59ded149e77d26 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [2022-02-03T13:08:09.186Z] 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [false] [Pipeline] sh [2022-02-03T13:08:09.705Z] + git log --format=format:%s -1 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo [2022-02-03T13:08:09.932Z] ========================================================= [2022-02-03T13:08:09.932Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-03T13:08:09.932Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-03T13:08:10.285Z] + git log --format=format:%s -1 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo [2022-02-03T13:08:10.298Z] [semverPrep] GIT_COMMIT: 9a649bf1bf9918af6bcd6933aa59ded149e77d26, Commit Message: Merge pull request #1095 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.8 [Pipeline] echo [2022-02-03T13:08:10.311Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-03T13:08:10.770Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-03T13:08:10.770Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-03T13:08:10.770Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-03T13:08:10.770Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-03T13:08:10.770Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-03T13:08:10.770Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-03T13:08:10.770Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:08:11.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T13:08:11.194Z] [2022-02-03T13:08:11.194Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:08:11.519Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T13:08:11.519Z] latest: Pulling from edgex-devops/git-semver [2022-02-03T13:08:11.519Z] a0d0a0d46f8b: Pulling fs layer [2022-02-03T13:08:11.519Z] 3e5f54012d9b: Pulling fs layer [2022-02-03T13:08:11.519Z] 4c7163046ea9: Pulling fs layer [2022-02-03T13:08:11.519Z] 0c2d73faf560: Pulling fs layer [2022-02-03T13:08:11.519Z] 0c2d73faf560: Waiting [2022-02-03T13:08:11.519Z] 3e5f54012d9b: Verifying Checksum [2022-02-03T13:08:11.519Z] 3e5f54012d9b: Download complete [2022-02-03T13:08:11.519Z] a0d0a0d46f8b: Verifying Checksum [2022-02-03T13:08:11.519Z] a0d0a0d46f8b: Download complete [2022-02-03T13:08:11.793Z] 0c2d73faf560: Verifying Checksum [2022-02-03T13:08:11.793Z] 0c2d73faf560: Download complete [2022-02-03T13:08:11.793Z] 4c7163046ea9: Verifying Checksum [2022-02-03T13:08:11.793Z] 4c7163046ea9: Download complete [2022-02-03T13:08:11.793Z] a0d0a0d46f8b: Pull complete [2022-02-03T13:08:11.793Z] 3e5f54012d9b: Pull complete [2022-02-03T13:08:12.264Z] 4c7163046ea9: Pull complete [2022-02-03T13:08:12.264Z] 0c2d73faf560: Pull complete [2022-02-03T13:08:12.264Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-03T13:08:12.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T13:08:12.264Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-03T13:08:12.349Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:08:12.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-03T13:08:13.561Z] $ docker top 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-03T13:08:13.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T13:08:13.666Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T13:08:13.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T13:08:13.789Z] $ docker exec 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent [2022-02-03T13:08:14.124Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcbDlfk/agent.13 [2022-02-03T13:08:14.124Z] SSH_AGENT_PID=19 [2022-02-03T13:08:14.135Z] Running ssh-add (command line suppressed) [2022-02-03T13:08:14.225Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7245008539864218578.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7245008539864218578.key) [2022-02-03T13:08:14.244Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T13:08:14.550Z] + git tag --points-at HEAD [Pipeline] } [2022-02-03T13:08:14.580Z] $ docker exec --env ******** --env ******** 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent -k [2022-02-03T13:08:14.666Z] unset SSH_AUTH_SOCK; [2022-02-03T13:08:14.667Z] unset SSH_AGENT_PID; [2022-02-03T13:08:14.667Z] echo Agent pid 19 killed; [2022-02-03T13:08:14.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-03T13:08:14.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T13:08:14.715Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T13:08:14.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T13:08:14.831Z] $ docker exec 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent [2022-02-03T13:08:14.933Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLphFPp/agent.53 [2022-02-03T13:08:14.933Z] SSH_AGENT_PID=59 [2022-02-03T13:08:14.943Z] Running ssh-add (command line suppressed) [2022-02-03T13:08:15.041Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2347754642180240734.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2347754642180240734.key) [2022-02-03T13:08:15.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T13:08:15.370Z] + git semver init [2022-02-03T13:08:15.370Z] # -> Open(): unable to determine branch for HEAD [2022-02-03T13:08:15.370Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-03T13:08:15.370Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:08:15.370Z] # $SEMVER_REMOTE_NAME = origin [2022-02-03T13:08:15.370Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-03T13:08:15.370Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-03T13:08:15.370Z] # $SEMVER_BRANCH = main [2022-02-03T13:08:15.370Z] # $SEMVER_TEMP = /tmp/semver-651686063 [2022-02-03T13:08:15.370Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-03T13:08:21.118Z] # '/tmp/semver-651686063' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-02-03T13:08:21.118Z] # -> Force: false [2022-02-03T13:08:21.118Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-02-03T13:08:21.133Z] $ docker exec --env ******** --env ******** 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent -k [2022-02-03T13:08:21.221Z] unset SSH_AUTH_SOCK; [2022-02-03T13:08:21.221Z] unset SSH_AGENT_PID; [2022-02-03T13:08:21.221Z] echo Agent pid 59 killed; [2022-02-03T13:08:21.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T13:08:21.573Z] + git semver [Pipeline] } [2022-02-03T13:08:21.590Z] $ docker stop --time=1 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 [2022-02-03T13:08:22.822Z] $ docker rm -f 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-03T13:08:23.189Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-03T13:08:23.923Z] Stashed 1 file(s) [Pipeline] echo [2022-02-03T13:08:23.927Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [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-02-03T13:08:24.036Z] provisioning config files... [2022-02-03T13:08:24.050Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5117499859076062772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:08:24.384Z] ---> docker-login.sh [2022-02-03T13:08:24.384Z] nexus3.edgexfoundry.org:10001 [2022-02-03T13:08:24.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:24.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:24.384Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:24.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:24.384Z] [2022-02-03T13:08:24.384Z] Login Succeeded [2022-02-03T13:08:24.384Z] nexus3.edgexfoundry.org:10002 [2022-02-03T13:08:24.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:24.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:24.384Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:24.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:24.384Z] [2022-02-03T13:08:24.384Z] Login Succeeded [2022-02-03T13:08:24.384Z] nexus3.edgexfoundry.org:10003 [2022-02-03T13:08:24.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:24.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:24.870Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:24.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:24.870Z] [2022-02-03T13:08:24.870Z] Login Succeeded [2022-02-03T13:08:24.870Z] nexus3.edgexfoundry.org:10004 [2022-02-03T13:08:24.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:24.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:24.870Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:24.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:24.870Z] [2022-02-03T13:08:24.870Z] Login Succeeded [2022-02-03T13:08:24.870Z] docker.io [2022-02-03T13:08:24.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:08:25.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:08:25.136Z] Configure a credential helper to remove this warning. See [2022-02-03T13:08:25.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:08:25.137Z] [2022-02-03T13:08:25.137Z] Login Succeeded [2022-02-03T13:08:25.137Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T13:08:25.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-03T13:08:25.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-03T13:08:25.246Z] ========================================================= [2022-02-03T13:08:25.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-03T13:08:25.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:08:25.587Z] + 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-02-03T13:08:25.587Z] Sending build context to Docker daemon 9.425MB [2022-02-03T13:08:25.587Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-03T13:08:25.587Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-03T13:08:26.053Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-03T13:08:26.053Z] 59bf1c3509f3: Pulling fs layer [2022-02-03T13:08:26.053Z] 666ba61612fd: Pulling fs layer [2022-02-03T13:08:26.053Z] 8ed8ca486205: Pulling fs layer [2022-02-03T13:08:26.053Z] 4fe6c5a15a65: Pulling fs layer [2022-02-03T13:08:26.053Z] 22a0e8bec74d: Pulling fs layer [2022-02-03T13:08:26.053Z] 640e595b4fbd: Pulling fs layer [2022-02-03T13:08:26.053Z] 763cafe07f6e: Pulling fs layer [2022-02-03T13:08:26.053Z] 0c0b528cf693: Pulling fs layer [2022-02-03T13:08:26.053Z] 10935f4eaf8b: Pulling fs layer [2022-02-03T13:08:26.053Z] 4fe6c5a15a65: Waiting [2022-02-03T13:08:26.053Z] 22a0e8bec74d: Waiting [2022-02-03T13:08:26.053Z] 640e595b4fbd: Waiting [2022-02-03T13:08:26.053Z] 763cafe07f6e: Waiting [2022-02-03T13:08:26.053Z] 0c0b528cf693: Waiting [2022-02-03T13:08:26.053Z] 10935f4eaf8b: Waiting [2022-02-03T13:08:31.370Z] 8ed8ca486205: Download complete [2022-02-03T13:08:31.370Z] 666ba61612fd: Download complete [2022-02-03T13:08:31.370Z] 59bf1c3509f3: Verifying Checksum [2022-02-03T13:08:31.370Z] 59bf1c3509f3: Download complete [2022-02-03T13:08:31.370Z] 59bf1c3509f3: Pull complete [2022-02-03T13:08:31.370Z] 666ba61612fd: Pull complete [2022-02-03T13:08:31.370Z] 8ed8ca486205: Pull complete [2022-02-03T13:08:31.370Z] 4fe6c5a15a65: Verifying Checksum [2022-02-03T13:08:31.370Z] 4fe6c5a15a65: Download complete [2022-02-03T13:08:36.043Z] 4fe6c5a15a65: Pull complete [2022-02-03T13:08:36.043Z] 763cafe07f6e: Verifying Checksum [2022-02-03T13:08:36.043Z] 763cafe07f6e: Download complete [2022-02-03T13:08:36.043Z] 22a0e8bec74d: Verifying Checksum [2022-02-03T13:08:36.043Z] 22a0e8bec74d: Download complete [2022-02-03T13:08:36.043Z] 640e595b4fbd: Verifying Checksum [2022-02-03T13:08:36.043Z] 640e595b4fbd: Download complete [2022-02-03T13:08:36.043Z] 22a0e8bec74d: Pull complete [2022-02-03T13:08:36.043Z] 0c0b528cf693: Verifying Checksum [2022-02-03T13:08:36.043Z] 0c0b528cf693: Download complete [2022-02-03T13:08:36.043Z] 640e595b4fbd: Pull complete [2022-02-03T13:08:36.043Z] 763cafe07f6e: Pull complete [2022-02-03T13:08:36.043Z] 0c0b528cf693: Pull complete [2022-02-03T13:08:37.995Z] 10935f4eaf8b: Verifying Checksum [2022-02-03T13:08:37.995Z] 10935f4eaf8b: Download complete [2022-02-03T13:08:39.006Z] Still waiting to schedule task [2022-02-03T13:08:39.006Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-03T13:08:40.602Z] 10935f4eaf8b: Pull complete [2022-02-03T13:08:40.602Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-03T13:08:40.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-03T13:08:40.602Z] ---> 99d49a6021b9 [2022-02-03T13:08:40.602Z] Step 3/11 : ARG MAKE=make build [2022-02-03T13:08:43.195Z] ---> Running in 64464ad72e35 [2022-02-03T13:08:43.195Z] Removing intermediate container 64464ad72e35 [2022-02-03T13:08:43.195Z] ---> ccd5fce2f493 [2022-02-03T13:08:43.195Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-03T13:08:43.195Z] ---> Running in 7870575403b2 [2022-02-03T13:08:43.467Z] Removing intermediate container 7870575403b2 [2022-02-03T13:08:43.467Z] ---> b7c3236f7bd1 [2022-02-03T13:08:43.467Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T13:08:43.467Z] ---> Running in ed1fcb693d16 [2022-02-03T13:08:43.467Z] Removing intermediate container ed1fcb693d16 [2022-02-03T13:08:43.467Z] ---> dc4d936a1d45 [2022-02-03T13:08:43.467Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T13:08:43.467Z] ---> Running in 416ba1a63bb1 [2022-02-03T13:08:44.051Z] Removing intermediate container 416ba1a63bb1 [2022-02-03T13:08:44.051Z] ---> 1ca0a068caa9 [2022-02-03T13:08:44.051Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-03T13:08:44.051Z] ---> Running in 425745700e31 [2022-02-03T13:08:44.317Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-03T13:08:44.906Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-03T13:08:46.312Z] OK: 221 MiB in 52 packages [2022-02-03T13:08:46.579Z] Removing intermediate container 425745700e31 [2022-02-03T13:08:46.579Z] ---> 28eda433d3f5 [2022-02-03T13:08:46.579Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-03T13:08:46.579Z] ---> 95dd50b7c800 [2022-02-03T13:08:46.579Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-03T13:08:46.579Z] ---> Running in 3c9a0405bd06 [2022-02-03T13:09:25.515Z] Removing intermediate container 3c9a0405bd06 [2022-02-03T13:09:25.515Z] ---> 46fc396d69bf [2022-02-03T13:09:25.515Z] Step 10/11 : COPY . . [2022-02-03T13:09:25.515Z] ---> bb1f15572460 [2022-02-03T13:09:25.515Z] Step 11/11 : RUN ${MAKE} [2022-02-03T13:09:25.515Z] ---> Running in 0e76d78e4715 [2022-02-03T13:09:25.515Z] noop [2022-02-03T13:09:25.515Z] Removing intermediate container 0e76d78e4715 [2022-02-03T13:09:25.515Z] ---> ee7adb62afe9 [2022-02-03T13:09:25.515Z] Successfully built ee7adb62afe9 [2022-02-03T13:09:25.515Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:09:25.859Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-03T13:09:25.859Z] . [Pipeline] withDockerContainer [2022-02-03T13:09:25.942Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:09:26.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-03T13:09:26.357Z] $ docker top ef3f384999d64054d092366f07d3cdd6e7cb374c733c6fd104245dbd8346b4b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T13:09:26.744Z] + go version [2022-02-03T13:09:26.744Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-03T13:09:26.766Z] $ docker stop --time=1 ef3f384999d64054d092366f07d3cdd6e7cb374c733c6fd104245dbd8346b4b3 [2022-02-03T13:09:27.948Z] $ docker rm -f ef3f384999d64054d092366f07d3cdd6e7cb374c733c6fd104245dbd8346b4b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:09:28.375Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-03T13:09:28.375Z] . [Pipeline] withDockerContainer [2022-02-03T13:09:28.441Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:09:28.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-03T13:09:28.836Z] $ docker top 339767b06c3e41d10861a7f9a57b9a2384ba89d68357663bc1d7f6958cf3229f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-03T13:09:29.217Z] + make test [2022-02-03T13:09:29.217Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-03T13:09:29.480Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-03T13:09:44.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-03T13:09:44.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-03T13:09:44.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-03T13:09:45.044Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.012s coverage: 23.3% of statements [2022-02-03T13:09:45.044Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-03T13:09:45.044Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.009s coverage: 27.6% of statements [2022-02-03T13:09:45.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.010s coverage: 78.9% of statements [2022-02-03T13:09:45.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 9.0% of statements [2022-02-03T13:09:45.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-03T13:09:45.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-03T13:09:45.908Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-03T13:09:46.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.009s coverage: 28.7% of statements [2022-02-03T13:09:46.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-03T13:09:47.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements [2022-02-03T13:09:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-03T13:09:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-03T13:09:47.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.016s coverage: 57.4% of statements [2022-02-03T13:09:47.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.033s coverage: 89.2% of statements [2022-02-03T13:09:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-03T13:09:47.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-02-03T13:09:47.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-03T13:10:00.254Z] GO111MODULE=on go vet ./... [2022-02-03T13:10:04.503Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-03T13:10:04.503Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-03T13:10:04.503Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-03T13:10:05.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-03T13:10:05.109Z] $ docker stop --time=1 339767b06c3e41d10861a7f9a57b9a2384ba89d68357663bc1d7f6958cf3229f [2022-02-03T13:10:05.927Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4564 in /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:10:06.638Z] $ docker rm -f 339767b06c3e41d10861a7f9a57b9a2384ba89d68357663bc1d7f6958cf3229f [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2022-02-03T13:10:06.851Z] Running in /w/workspace/device-sdk-go/47 [Pipeline] { [Pipeline] checkout [2022-02-03T13:10:07.013Z] The recommended git tool is: git [2022-02-03T13:10:07.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-03T13:10:07.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-03T13:10:08.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-03T13:10:08.577Z] + ls -al . [2022-02-03T13:10:08.577Z] total 272 [2022-02-03T13:10:08.577Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 3 13:10 . [2022-02-03T13:10:08.577Z] drwxrwxr-x. 4 jenkins jenkins 110 Feb 3 13:07 .. [2022-02-03T13:10:08.577Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 3 13:07 bin [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 3 13:07 CHANGELOG.md [2022-02-03T13:10:08.577Z] -rw-r--r--. 1 jenkins jenkins 128608 Feb 3 13:09 coverage.out [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 3 13:07 .dockerignore [2022-02-03T13:10:08.577Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 3 13:07 example [2022-02-03T13:10:08.577Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 3 13:08 .git [2022-02-03T13:10:08.577Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 3 13:07 .github [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 3 13:07 .gitignore [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 3 13:07 .golangci.yml [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 2766 Feb 3 13:07 go.mod [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 49665 Feb 3 13:07 go.sum [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 3 13:07 GOVERNANCE.md [2022-02-03T13:10:08.577Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 3 13:07 internal [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 3 13:07 Jenkinsfile [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 3 13:07 LICENSE [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 3 13:07 Makefile [2022-02-03T13:10:08.577Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 3 13:07 openapi [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 3 13:07 OWNERS.md [2022-02-03T13:10:08.577Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 3 13:07 pkg [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 3 13:07 README.md [2022-02-03T13:10:08.577Z] drwx------. 3 jenkins jenkins 57 Feb 3 13:08 .semver [2022-02-03T13:10:08.577Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 3 13:07 snap [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 3 13:08 VERSION [2022-02-03T13:10:08.577Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 3 13:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:10:08.878Z] + 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=9a649bf1bf9918af6bcd6933aa59ded149e77d26 --label arch=amd64 --label version=2.2.0-dev.14 . [2022-02-03T13:10:08.878Z] Sending build context to Docker daemon 9.555MB [2022-02-03T13:10:08.878Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-03T13:10:08.878Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-03T13:10:08.878Z] ---> ee7adb62afe9 [2022-02-03T13:10:08.878Z] Step 3/25 : ARG MAKE=make build [2022-02-03T13:10:09.140Z] ---> Running in 42ae454e2894 [2022-02-03T13:10:09.140Z] Removing intermediate container 42ae454e2894 [2022-02-03T13:10:09.140Z] ---> 29b6d1cece35 [2022-02-03T13:10:09.140Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-03T13:10:09.140Z] ---> Running in e64510f15207 [2022-02-03T13:10:09.140Z] Removing intermediate container e64510f15207 [2022-02-03T13:10:09.140Z] ---> bda75e955d9a [2022-02-03T13:10:09.140Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T13:10:09.140Z] ---> Running in de9e9095352f [2022-02-03T13:10:09.404Z] Removing intermediate container de9e9095352f [2022-02-03T13:10:09.404Z] ---> d355dbd28b89 [2022-02-03T13:10:09.404Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T13:10:09.404Z] ---> Running in 383ac2990c60 [2022-02-03T13:10:09.980Z] Removing intermediate container 383ac2990c60 [2022-02-03T13:10:09.980Z] ---> 9b4f2efbee2b [2022-02-03T13:10:09.980Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-03T13:10:09.980Z] ---> Running in 66df58dfcd4a [2022-02-03T13:10:09.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-03T13:10:10.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-03T13:10:11.180Z] OK: 221 MiB in 52 packages [2022-02-03T13:10:11.248Z] using credential edgex-jenkins-ssh [2022-02-03T13:10:11.264Z] Cloning the remote Git repository [2022-02-03T13:10:11.447Z] Removing intermediate container 66df58dfcd4a [2022-02-03T13:10:11.447Z] ---> 2a8181626e3d [2022-02-03T13:10:11.447Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-03T13:10:11.710Z] ---> a9cb86de93b8 [2022-02-03T13:10:11.710Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-03T13:10:11.710Z] ---> Running in 0671492b8090 [2022-02-03T13:10:11.315Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-03T13:10:11.387Z] > git init /w/workspace/device-sdk-go/47 # timeout=10 [2022-02-03T13:10:11.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-03T13:10:11.461Z] > git --version # timeout=10 [2022-02-03T13:10:11.478Z] > git --version # 'git version 2.17.1' [2022-02-03T13:10:11.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T13:10:11.533Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-03T13:10:12.302Z] Removing intermediate container 0671492b8090 [2022-02-03T13:10:12.302Z] ---> c1cc0d24f625 [2022-02-03T13:10:12.302Z] Step 10/25 : COPY . . [2022-02-03T13:10:12.875Z] ---> 82f0ece127ae [2022-02-03T13:10:12.875Z] Step 11/25 : RUN ${MAKE} [2022-02-03T13:10:12.875Z] ---> Running in 5ab7f1405168 [2022-02-03T13:10:13.088Z] Avoid second fetch [2022-02-03T13:10:13.088Z] Checking out Revision 9a649bf1bf9918af6bcd6933aa59ded149e77d26 (main) [2022-02-03T13:10:13.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-03T13:10:13.069Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-03T13:10:13.107Z] > git config core.sparsecheckout # timeout=10 [2022-02-03T13:10:13.141Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-03T13:10:13.120Z] > git checkout -f 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [2022-02-03T13:10:17.234Z] Commit message: "Merge pull request #1095 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-03T13:10:18.100Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-03T13:10:18.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-03T13:10:18.100Z] Dload Upload Total Spent Left Speed [2022-02-03T13:10:18.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 60423 0 --:--:-- --:--:-- --:--:-- 60423 [Pipeline] sh [2022-02-03T13:10:18.587Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-03T13:10:18.925Z] + sudo tee /etc/docker/daemon.new [2022-02-03T13:10:18.925Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-03T13:10:18.925Z] { [2022-02-03T13:10:18.925Z] "registry-mirrors": [ [2022-02-03T13:10:18.925Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-03T13:10:18.925Z] ], [2022-02-03T13:10:18.925Z] "bip": "10.250.0.254/24", [2022-02-03T13:10:18.925Z] "hosts": [ [2022-02-03T13:10:18.925Z] "tcp://0.0.0.0:5555", [2022-02-03T13:10:18.925Z] "unix:///var/run/docker.sock" [2022-02-03T13:10:18.925Z] ], [2022-02-03T13:10:18.925Z] "mtu": 1458, [2022-02-03T13:10:18.925Z] "selinux-enabled": true, [2022-02-03T13:10:18.925Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-03T13:10:18.925Z] } [Pipeline] sh [2022-02-03T13:10:19.280Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-03T13:10:19.621Z] + sudo service docker restart [2022-02-03T13:10:25.427Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-03T13:10:25.427Z] Removing intermediate container 5ab7f1405168 [2022-02-03T13:10:25.427Z] ---> c3a540ee32a7 [2022-02-03T13:10:25.427Z] Step 12/25 : FROM alpine:3.14 [2022-02-03T13:10:25.690Z] 3.14: Pulling from library/alpine [2022-02-03T13:10:25.954Z] 97518928ae5f: Pulling fs layer [2022-02-03T13:10:25.954Z] 97518928ae5f: Verifying Checksum [2022-02-03T13:10:25.954Z] 97518928ae5f: Download complete [2022-02-03T13:10:26.527Z] 97518928ae5f: Pull complete [2022-02-03T13:10:26.527Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-03T13:10:26.527Z] Status: Downloaded newer image for alpine:3.14 [2022-02-03T13:10:26.527Z] ---> 0a97eee8041e [2022-02-03T13:10:26.527Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T13:10:26.789Z] ---> Running in 904a712ecf95 [2022-02-03T13:10:26.789Z] Removing intermediate container 904a712ecf95 [2022-02-03T13:10:26.789Z] ---> 2e6f1cee59f9 [2022-02-03T13:10:26.789Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T13:10:26.789Z] ---> Running in 8345f9cf3740 [2022-02-03T13:10:27.364Z] Removing intermediate container 8345f9cf3740 [2022-02-03T13:10:27.364Z] ---> 73cd09ea3665 [2022-02-03T13:10:27.364Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-03T13:10:27.364Z] ---> Running in 8f83f53f8b4c [2022-02-03T13:10:27.624Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-03T13:10:28.564Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-03T13:10:28.824Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-03T13:10:28.825Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-03T13:10:28.825Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-03T13:10:29.086Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-03T13:10:29.086Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-03T13:10:29.347Z] Executing busybox-1.33.1-r6.trigger [2022-02-03T13:10:29.347Z] OK: 8 MiB in 19 packages [2022-02-03T13:10:29.610Z] Removing intermediate container 8f83f53f8b4c [2022-02-03T13:10:29.610Z] ---> e199746070d1 [2022-02-03T13:10:29.610Z] Step 16/25 : WORKDIR / [2022-02-03T13:10:29.610Z] ---> Running in 831bd953bcb2 [2022-02-03T13:10:29.610Z] Removing intermediate container 831bd953bcb2 [2022-02-03T13:10:29.610Z] ---> 608a3844ae8b [2022-02-03T13:10:29.610Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-03T13:10:29.872Z] ---> c5bf4b22d045 [2022-02-03T13:10:29.872Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-03T13:10:30.134Z] ---> 6967c8ae24f4 [2022-02-03T13:10:30.134Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-03T13:10:30.396Z] ---> 4685e5b76693 [2022-02-03T13:10:30.396Z] Step 20/25 : EXPOSE 59999 [2022-02-03T13:10:30.396Z] ---> Running in 7462e20793aa [2022-02-03T13:10:30.657Z] Removing intermediate container 7462e20793aa [2022-02-03T13:10:30.657Z] ---> 51e571b1abb5 [2022-02-03T13:10:30.657Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-03T13:10:30.657Z] ---> Running in a8206e846599 [2022-02-03T13:10:30.657Z] Removing intermediate container a8206e846599 [2022-02-03T13:10:30.657Z] ---> 17a32796f5e8 [2022-02-03T13:10:30.657Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-03T13:10:30.657Z] ---> Running in 66cda1514236 [2022-02-03T13:10:30.919Z] Removing intermediate container 66cda1514236 [2022-02-03T13:10:30.919Z] ---> 79440547cc48 [2022-02-03T13:10:30.919Z] Step 23/25 : LABEL arch=amd64 [2022-02-03T13:10:30.919Z] ---> Running in f3bdf1c0b7b0 [2022-02-03T13:10:30.919Z] Removing intermediate container f3bdf1c0b7b0 [2022-02-03T13:10:30.919Z] ---> 96e5882c8c17 [2022-02-03T13:10:30.919Z] Step 24/25 : LABEL git_sha=9a649bf1bf9918af6bcd6933aa59ded149e77d26 [2022-02-03T13:10:30.919Z] ---> Running in 98634872d368 [2022-02-03T13:10:30.919Z] Removing intermediate container 98634872d368 [2022-02-03T13:10:30.919Z] ---> da3d51271177 [2022-02-03T13:10:30.919Z] Step 25/25 : LABEL version=2.2.0-dev.14 [2022-02-03T13:10:31.182Z] ---> Running in b84cf78e9276 [2022-02-03T13:10:31.182Z] Removing intermediate container b84cf78e9276 [2022-02-03T13:10:31.182Z] ---> 1909069a0ec3 [2022-02-03T13:10:31.182Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-03T13:10:31.182Z] Successfully built 1909069a0ec3 [2022-02-03T13:10:31.182Z] 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-02-03T13:10:31.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T13:10:31.607Z] [2022-02-03T13:10:31.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:10:31.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T13:10:31.917Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-03T13:10:31.917Z] b4d181a07f80: Pulling fs layer [2022-02-03T13:10:31.917Z] a1111a8f2ec3: Pulling fs layer [2022-02-03T13:10:31.917Z] ed53099fbce6: Pulling fs layer [2022-02-03T13:10:31.917Z] dc539afda2c1: Pulling fs layer [2022-02-03T13:10:31.917Z] 77bc0d833cb6: Pulling fs layer [2022-02-03T13:10:31.917Z] 9065ff56babe: Pulling fs layer [2022-02-03T13:10:31.917Z] d287ab97295c: Pulling fs layer [2022-02-03T13:10:31.917Z] 77bc0d833cb6: Waiting [2022-02-03T13:10:31.917Z] 9065ff56babe: Waiting [2022-02-03T13:10:31.917Z] d287ab97295c: Waiting [2022-02-03T13:10:31.917Z] dc539afda2c1: Waiting [2022-02-03T13:10:31.917Z] a1111a8f2ec3: Verifying Checksum [2022-02-03T13:10:31.917Z] a1111a8f2ec3: Download complete [2022-02-03T13:10:31.917Z] dc539afda2c1: Verifying Checksum [2022-02-03T13:10:31.917Z] dc539afda2c1: Download complete [2022-02-03T13:10:31.917Z] ed53099fbce6: Verifying Checksum [2022-02-03T13:10:31.917Z] ed53099fbce6: Download complete [2022-02-03T13:10:32.180Z] 9065ff56babe: Verifying Checksum [2022-02-03T13:10:32.180Z] 9065ff56babe: Download complete [2022-02-03T13:10:32.180Z] 77bc0d833cb6: Verifying Checksum [2022-02-03T13:10:32.180Z] 77bc0d833cb6: Download complete [2022-02-03T13:10:32.180Z] b4d181a07f80: Verifying Checksum [2022-02-03T13:10:32.180Z] b4d181a07f80: Download complete [2022-02-03T13:10:32.771Z] d287ab97295c: Verifying Checksum [2022-02-03T13:10:32.771Z] d287ab97295c: Download complete [2022-02-03T13:10:33.717Z] b4d181a07f80: Pull complete [2022-02-03T13:10:33.718Z] a1111a8f2ec3: Pull complete [2022-02-03T13:10:34.295Z] ed53099fbce6: Pull complete [2022-02-03T13:10:34.295Z] dc539afda2c1: Pull complete [2022-02-03T13:10:34.554Z] 77bc0d833cb6: Pull complete [2022-02-03T13:10:34.554Z] 9065ff56babe: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T13:10:37.949Z] provisioning config files... [2022-02-03T13:10:37.973Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/47@tmp/config1659714113944767919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:10:38.380Z] ---> docker-login.sh [2022-02-03T13:10:38.380Z] nexus3.edgexfoundry.org:10001 [2022-02-03T13:10:38.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:10:39.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:10:39.250Z] Configure a credential helper to remove this warning. See [2022-02-03T13:10:39.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:10:39.250Z] [2022-02-03T13:10:39.250Z] Login Succeeded [2022-02-03T13:10:39.250Z] nexus3.edgexfoundry.org:10002 [2022-02-03T13:10:39.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:10:39.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:10:39.524Z] Configure a credential helper to remove this warning. See [2022-02-03T13:10:39.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:10:39.524Z] [2022-02-03T13:10:39.524Z] Login Succeeded [2022-02-03T13:10:39.524Z] nexus3.edgexfoundry.org:10003 [2022-02-03T13:10:39.901Z] d287ab97295c: Pull complete [2022-02-03T13:10:39.902Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-03T13:10:39.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T13:10:39.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-03T13:10:39.968Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:10:40.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-03T13:10:40.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:10:40.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:10:40.120Z] Configure a credential helper to remove this warning. See [2022-02-03T13:10:40.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:10:40.120Z] [2022-02-03T13:10:40.120Z] Login Succeeded [2022-02-03T13:10:40.120Z] nexus3.edgexfoundry.org:10004 [2022-02-03T13:10:40.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:10:40.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:10:40.397Z] Configure a credential helper to remove this warning. See [2022-02-03T13:10:40.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:10:40.397Z] [2022-02-03T13:10:40.397Z] Login Succeeded [2022-02-03T13:10:40.397Z] docker.io [2022-02-03T13:10:40.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T13:10:41.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T13:10:41.266Z] Configure a credential helper to remove this warning. See [2022-02-03T13:10:41.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T13:10:41.266Z] [2022-02-03T13:10:41.266Z] Login Succeeded [2022-02-03T13:10:41.266Z] ---> docker-login.sh ends [2022-02-03T13:10:42.808Z] $ docker top 5c6918121dabf9c36be7fd450d18775aa21914dd8033bf21bfb5d247d8ecf3ba -eo pid,comm [Pipeline] { [Pipeline] } [2022-02-03T13:10:42.880Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-02-03T13:10:43.242Z] ---> job-cost.sh [2022-02-03T13:10:43.242Z] lf-activate-venv: SKIPPING [2022-02-03T13:10:43.242Z] INFO: No Stack... [Pipeline] echo [2022-02-03T13:10:43.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-03T13:10:43.387Z] ========================================================= [2022-02-03T13:10:43.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-03T13:10:43.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:10:43.505Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-03T13:10:43.729Z] + 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-02-03T13:10:44.000Z] Sending build context to Docker daemon 5.078MB [2022-02-03T13:10:44.076Z] INFO: Archiving Costs [Pipeline] sh [2022-02-03T13:10:44.271Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-03T13:10:44.272Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-03T13:10:44.272Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-03T13:10:44.272Z] 9b3977197b4f: Pulling fs layer [2022-02-03T13:10:44.272Z] 1a89e8eeedd5: Pulling fs layer [2022-02-03T13:10:44.272Z] 94645a83ff95: Pulling fs layer [2022-02-03T13:10:44.272Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-03T13:10:44.272Z] 0c92f367c5e7: Pulling fs layer [2022-02-03T13:10:44.272Z] f7c0051592d6: Pulling fs layer [2022-02-03T13:10:44.272Z] a227ed2f7395: Pulling fs layer [2022-02-03T13:10:44.272Z] 7b1c46037f91: Pulling fs layer [2022-02-03T13:10:44.272Z] 3f3a8bcf1eab: Waiting [2022-02-03T13:10:44.272Z] a227ed2f7395: Waiting [2022-02-03T13:10:44.272Z] 0c92f367c5e7: Waiting [2022-02-03T13:10:44.272Z] 7b1c46037f91: Waiting [2022-02-03T13:10:44.272Z] f7c0051592d6: Waiting [2022-02-03T13:10:44.272Z] 94645a83ff95: Verifying Checksum [2022-02-03T13:10:44.272Z] 94645a83ff95: Download complete [2022-02-03T13:10:44.272Z] 1a89e8eeedd5: Download complete [2022-02-03T13:10:44.272Z] 0c92f367c5e7: Verifying Checksum [2022-02-03T13:10:44.272Z] 0c92f367c5e7: Download complete [2022-02-03T13:10:44.389Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-02-03T13:10:44.389Z] + cut -d, -f6 [Pipeline] lock [2022-02-03T13:10:44.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [2022-02-03T13:10:44.410Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] did not exist. Created. [2022-02-03T13:10:44.410Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-03T13:10:44.544Z] f7c0051592d6: Verifying Checksum [2022-02-03T13:10:44.545Z] f7c0051592d6: Download complete [2022-02-03T13:10:44.545Z] 9b3977197b4f: Download complete [2022-02-03T13:10:44.545Z] a227ed2f7395: Verifying Checksum [2022-02-03T13:10:44.545Z] a227ed2f7395: Download complete [2022-02-03T13:10:44.724Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-03T13:10:44.773Z] Stashed 1 file(s) [Pipeline] } [2022-02-03T13:10:44.780Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-03T13:10:44.805Z] $ docker stop --time=1 5c6918121dabf9c36be7fd450d18775aa21914dd8033bf21bfb5d247d8ecf3ba [2022-02-03T13:10:45.149Z] 9b3977197b4f: Pull complete [2022-02-03T13:10:45.753Z] 1a89e8eeedd5: Pull complete [2022-02-03T13:10:45.943Z] $ docker rm -f 5c6918121dabf9c36be7fd450d18775aa21914dd8033bf21bfb5d247d8ecf3ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2022-02-03T13:10:46.027Z] 94645a83ff95: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-03T13:10:46.301Z] 7b1c46037f91: Verifying Checksum [2022-02-03T13:10:46.301Z] 7b1c46037f91: Download complete [2022-02-03T13:10:46.898Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-03T13:10:46.898Z] 3f3a8bcf1eab: Download complete [2022-02-03T13:10:59.295Z] 3f3a8bcf1eab: Pull complete [2022-02-03T13:10:59.295Z] 0c92f367c5e7: Pull complete [2022-02-03T13:10:59.295Z] f7c0051592d6: Pull complete [2022-02-03T13:10:59.295Z] a227ed2f7395: Pull complete [2022-02-03T13:11:04.697Z] 7b1c46037f91: Pull complete [2022-02-03T13:11:04.697Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-03T13:11:04.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-03T13:11:04.697Z] ---> f79e39bc4007 [2022-02-03T13:11:04.697Z] Step 3/11 : ARG MAKE=make build [2022-02-03T13:11:06.666Z] ---> Running in 95377f7adedd [2022-02-03T13:11:06.666Z] Removing intermediate container 95377f7adedd [2022-02-03T13:11:06.666Z] ---> a2f9a05b3a81 [2022-02-03T13:11:06.666Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-03T13:11:06.666Z] ---> Running in 1b5d5e5c2540 [2022-02-03T13:11:07.261Z] Removing intermediate container 1b5d5e5c2540 [2022-02-03T13:11:07.261Z] ---> 591981a1c23e [2022-02-03T13:11:07.261Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T13:11:07.261Z] ---> Running in f8eff1578cfe [2022-02-03T13:11:07.534Z] Removing intermediate container f8eff1578cfe [2022-02-03T13:11:07.534Z] ---> 70fe2aae13e8 [2022-02-03T13:11:07.534Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T13:11:07.806Z] ---> Running in 46105a1c73c5 [2022-02-03T13:11:09.778Z] Removing intermediate container 46105a1c73c5 [2022-02-03T13:11:09.778Z] ---> dd327aeb4599 [2022-02-03T13:11:09.778Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-03T13:11:09.778Z] ---> Running in c62743e39e56 [2022-02-03T13:11:10.758Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-03T13:11:11.356Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-03T13:11:12.334Z] OK: 220 MiB in 52 packages [2022-02-03T13:11:12.927Z] Removing intermediate container c62743e39e56 [2022-02-03T13:11:12.927Z] ---> 3c3aad815409 [2022-02-03T13:11:12.927Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-03T13:11:13.525Z] ---> b75b7e89f134 [2022-02-03T13:11:13.525Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-03T13:11:13.525Z] ---> Running in 5a404ae21db7 [2022-02-03T13:12:35.312Z] Removing intermediate container 5a404ae21db7 [2022-02-03T13:12:35.312Z] ---> c66913692926 [2022-02-03T13:12:35.312Z] Step 10/11 : COPY . . [2022-02-03T13:12:35.312Z] ---> 1789f2bb97e8 [2022-02-03T13:12:35.312Z] Step 11/11 : RUN ${MAKE} [2022-02-03T13:12:35.312Z] ---> Running in 56169097cd3a [2022-02-03T13:12:35.312Z] noop [2022-02-03T13:12:35.312Z] Removing intermediate container 56169097cd3a [2022-02-03T13:12:35.312Z] ---> 4d8bad7b674b [2022-02-03T13:12:35.312Z] Successfully built 4d8bad7b674b [2022-02-03T13:12:35.312Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:12:35.656Z] + docker inspect -f . ci-base-image-arm64 [2022-02-03T13:12:35.656Z] . [Pipeline] withDockerContainer [2022-02-03T13:12:35.860Z] prd-ubuntu18.04-docker-arm64-4c-16g-4564 does not seem to be running inside a container [2022-02-03T13:12:35.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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-02-03T13:12:37.192Z] $ docker top a68359af9c839dc515ea471d3f4492fa5fb23a036ade4a68507328110bb41267 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T13:12:38.076Z] + go version [2022-02-03T13:12:38.076Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-03T13:12:38.099Z] $ docker stop --time=1 a68359af9c839dc515ea471d3f4492fa5fb23a036ade4a68507328110bb41267 [2022-02-03T13:12:39.720Z] $ docker rm -f a68359af9c839dc515ea471d3f4492fa5fb23a036ade4a68507328110bb41267 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:12:40.304Z] + docker inspect -f . ci-base-image-arm64 [2022-02-03T13:12:40.304Z] . [Pipeline] withDockerContainer [2022-02-03T13:12:40.504Z] prd-ubuntu18.04-docker-arm64-4c-16g-4564 does not seem to be running inside a container [2022-02-03T13:12:40.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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-02-03T13:12:41.834Z] $ docker top 04dcd643503e482a41110a52fa5fa634837228748e9fcc2347549261201969a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-03T13:12:42.734Z] + make test [2022-02-03T13:12:42.734Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-03T13:12:44.171Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-03T13:13:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-03T13:13:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-03T13:13:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-03T13:13:35.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements [2022-02-03T13:13:35.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-03T13:13:35.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2022-02-03T13:13:35.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.105s coverage: 78.9% of statements [2022-02-03T13:13:35.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.092s coverage: 9.0% of statements [2022-02-03T13:13:35.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-03T13:13:35.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-03T13:13:35.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-03T13:13:36.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 28.7% of statements [2022-02-03T13:13:36.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-03T13:13:37.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.105s coverage: 86.1% of statements [2022-02-03T13:13:37.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-03T13:13:37.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-03T13:13:38.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.127s coverage: 57.4% of statements [2022-02-03T13:13:38.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.236s coverage: 89.2% of statements [2022-02-03T13:13:38.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-03T13:13:40.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.8% of statements [2022-02-03T13:13:40.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-03T13:13:40.793Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-03T13:13:40.793Z] GO111MODULE=on go vet ./... [2022-02-03T13:13:59.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-03T13:13:59.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-03T13:13:59.660Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-03T13:14:01.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-03T13:14:01.673Z] $ docker stop --time=1 04dcd643503e482a41110a52fa5fa634837228748e9fcc2347549261201969a0 [2022-02-03T13:14:03.397Z] $ docker rm -f 04dcd643503e482a41110a52fa5fa634837228748e9fcc2347549261201969a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-03T13:14:04.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-03T13:14:04.255Z] Warning: overwriting stash ‘coverage-report’ [2022-02-03T13:14:04.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-03T13:14:05.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-03T13:14:05.501Z] + ls -al . [2022-02-03T13:14:05.501Z] total 308 [2022-02-03T13:14:05.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 13:14 . [2022-02-03T13:14:05.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 13:10 .. [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 3 13:10 .dockerignore [2022-02-03T13:14:05.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 13:10 .git [2022-02-03T13:14:05.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 13:10 .github [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 3 13:10 .gitignore [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 3 13:10 .golangci.yml [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 3 13:10 CHANGELOG.md [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 13:10 GOVERNANCE.md [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 3 13:10 Jenkinsfile [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 3 13:10 LICENSE [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 3 13:10 Makefile [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 3 13:10 OWNERS.md [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 3 13:10 README.md [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 3 13:08 VERSION [2022-02-03T13:14:05.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 13:10 bin [2022-02-03T13:14:05.501Z] -rw-r--r-- 1 jenkins jenkins 128608 Feb 3 13:13 coverage.out [2022-02-03T13:14:05.501Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 3 13:10 example [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 2766 Feb 3 13:10 go.mod [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 49665 Feb 3 13:10 go.sum [2022-02-03T13:14:05.501Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 3 13:10 internal [2022-02-03T13:14:05.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 13:10 openapi [2022-02-03T13:14:05.501Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 3 13:10 pkg [2022-02-03T13:14:05.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 13:10 snap [2022-02-03T13:14:05.501Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 3 13:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:14:05.838Z] + 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=9a649bf1bf9918af6bcd6933aa59ded149e77d26 --label arch=arm64 --label version=2.2.0-dev.14 . [2022-02-03T13:14:06.111Z] Sending build context to Docker daemon 5.207MB [2022-02-03T13:14:06.111Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-03T13:14:06.111Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-03T13:14:06.111Z] ---> 4d8bad7b674b [2022-02-03T13:14:06.111Z] Step 3/25 : ARG MAKE=make build [2022-02-03T13:14:06.387Z] ---> Running in b4dcea2fbc72 [2022-02-03T13:14:06.662Z] Removing intermediate container b4dcea2fbc72 [2022-02-03T13:14:06.662Z] ---> 04aca7aaf8b1 [2022-02-03T13:14:06.662Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-03T13:14:06.935Z] ---> Running in 2a9ed11f177c [2022-02-03T13:14:07.206Z] Removing intermediate container 2a9ed11f177c [2022-02-03T13:14:07.206Z] ---> 4fa4918fc629 [2022-02-03T13:14:07.206Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T13:14:07.206Z] ---> Running in c0df7011591c [2022-02-03T13:14:07.479Z] Removing intermediate container c0df7011591c [2022-02-03T13:14:07.479Z] ---> 00fe9a52bed1 [2022-02-03T13:14:07.479Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T13:14:07.754Z] ---> Running in c76ae99041e7 [2022-02-03T13:14:09.754Z] Removing intermediate container c76ae99041e7 [2022-02-03T13:14:09.754Z] ---> a311577586d2 [2022-02-03T13:14:09.754Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-03T13:14:09.754Z] ---> Running in da8005f4d8db [2022-02-03T13:14:10.386Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-03T13:14:11.375Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-03T13:14:12.499Z] OK: 220 MiB in 52 packages [2022-02-03T13:14:13.117Z] Removing intermediate container da8005f4d8db [2022-02-03T13:14:13.117Z] ---> 9378e5d42183 [2022-02-03T13:14:13.117Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-03T13:14:13.718Z] ---> 464180e73cc4 [2022-02-03T13:14:13.718Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-03T13:14:13.718Z] ---> Running in 950074c06760 [2022-02-03T13:14:15.700Z] Removing intermediate container 950074c06760 [2022-02-03T13:14:15.700Z] ---> 45f63ab19a20 [2022-02-03T13:14:15.700Z] Step 10/25 : COPY . . [2022-02-03T13:14:17.137Z] ---> 79118968f4a8 [2022-02-03T13:14:17.137Z] Step 11/25 : RUN ${MAKE} [2022-02-03T13:14:17.137Z] ---> Running in 2e1bd51804e1 [2022-02-03T13:14:18.113Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-03T13:14:57.096Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-03T13:14:57.096Z] Removing intermediate container 2e1bd51804e1 [2022-02-03T13:14:57.096Z] ---> a1ad888ad03c [2022-02-03T13:14:57.096Z] Step 12/25 : FROM alpine:3.14 [2022-02-03T13:14:57.096Z] 3.14: Pulling from library/alpine [2022-02-03T13:14:57.096Z] be307f383ecc: Pulling fs layer [2022-02-03T13:14:57.096Z] be307f383ecc: Verifying Checksum [2022-02-03T13:14:57.096Z] be307f383ecc: Download complete [2022-02-03T13:14:57.691Z] be307f383ecc: Pull complete [2022-02-03T13:14:57.691Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-03T13:14:57.691Z] Status: Downloaded newer image for alpine:3.14 [2022-02-03T13:14:57.691Z] ---> 5b8b7b635229 [2022-02-03T13:14:57.691Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T13:14:57.691Z] ---> Running in 5e8b170278bc [2022-02-03T13:14:57.964Z] Removing intermediate container 5e8b170278bc [2022-02-03T13:14:57.964Z] ---> 5e1b6777fb6e [2022-02-03T13:14:57.964Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T13:14:58.245Z] ---> Running in 5998275ca5bf [2022-02-03T13:14:59.682Z] Removing intermediate container 5998275ca5bf [2022-02-03T13:14:59.682Z] ---> 54d8983ae401 [2022-02-03T13:14:59.682Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-03T13:14:59.682Z] ---> Running in ed307e60fbc5 [2022-02-03T13:15:00.659Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-03T13:15:01.634Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-03T13:15:02.616Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-03T13:15:02.616Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-03T13:15:02.616Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-03T13:15:02.616Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-03T13:15:02.890Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-03T13:15:02.890Z] Executing busybox-1.33.1-r6.trigger [2022-02-03T13:15:02.890Z] OK: 8 MiB in 19 packages [2022-02-03T13:15:03.866Z] Removing intermediate container ed307e60fbc5 [2022-02-03T13:15:03.866Z] ---> aa0496eb7e30 [2022-02-03T13:15:03.866Z] Step 16/25 : WORKDIR / [2022-02-03T13:15:03.866Z] ---> Running in 378fa84aa50b [2022-02-03T13:15:04.140Z] Removing intermediate container 378fa84aa50b [2022-02-03T13:15:04.140Z] ---> 4ab6abd6430d [2022-02-03T13:15:04.140Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-03T13:15:04.734Z] ---> 49ffce54c846 [2022-02-03T13:15:04.734Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-03T13:15:05.721Z] ---> 4633f92f2f5c [2022-02-03T13:15:05.721Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-03T13:15:06.315Z] ---> 42b029dd5859 [2022-02-03T13:15:06.315Z] Step 20/25 : EXPOSE 59999 [2022-02-03T13:15:06.315Z] ---> Running in 7db20a8b208a [2022-02-03T13:15:06.910Z] Removing intermediate container 7db20a8b208a [2022-02-03T13:15:06.910Z] ---> e06b425a9394 [2022-02-03T13:15:06.910Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-03T13:15:06.910Z] ---> Running in 325d7d3e291d [2022-02-03T13:15:07.183Z] Removing intermediate container 325d7d3e291d [2022-02-03T13:15:07.183Z] ---> ee167092460b [2022-02-03T13:15:07.183Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-03T13:15:07.183Z] ---> Running in bbf3ac4aa002 [2022-02-03T13:15:07.778Z] Removing intermediate container bbf3ac4aa002 [2022-02-03T13:15:07.778Z] ---> c9d66401a2d5 [2022-02-03T13:15:07.778Z] Step 23/25 : LABEL arch=arm64 [2022-02-03T13:15:07.778Z] ---> Running in ada007d07f67 [2022-02-03T13:15:08.051Z] Removing intermediate container ada007d07f67 [2022-02-03T13:15:08.051Z] ---> d75e326475c6 [2022-02-03T13:15:08.051Z] Step 24/25 : LABEL git_sha=9a649bf1bf9918af6bcd6933aa59ded149e77d26 [2022-02-03T13:15:08.051Z] ---> Running in 7794969855de [2022-02-03T13:15:08.644Z] Removing intermediate container 7794969855de [2022-02-03T13:15:08.644Z] ---> 24be5768acec [2022-02-03T13:15:08.644Z] Step 25/25 : LABEL version=2.2.0-dev.14 [2022-02-03T13:15:08.644Z] ---> Running in e0e7efa94032 [2022-02-03T13:15:08.915Z] Removing intermediate container e0e7efa94032 [2022-02-03T13:15:08.915Z] ---> 0d532c57b244 [2022-02-03T13:15:08.915Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-03T13:15:08.915Z] Successfully built 0d532c57b244 [2022-02-03T13:15:08.915Z] 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-02-03T13:15:09.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T13:15:09.368Z] [2022-02-03T13:15:09.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:15:09.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T13:15:09.715Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-03T13:15:09.715Z] 448f6bf000e3: Pulling fs layer [2022-02-03T13:15:09.715Z] f757da607395: Pulling fs layer [2022-02-03T13:15:09.715Z] 05883995daec: Pulling fs layer [2022-02-03T13:15:09.715Z] 8603b9c90790: Pulling fs layer [2022-02-03T13:15:09.715Z] 1560dd03e051: Pulling fs layer [2022-02-03T13:15:09.715Z] 27f5ce0e4adf: Pulling fs layer [2022-02-03T13:15:09.715Z] c2d8d7efcc4b: Pulling fs layer [2022-02-03T13:15:09.715Z] 1560dd03e051: Waiting [2022-02-03T13:15:09.715Z] 27f5ce0e4adf: Waiting [2022-02-03T13:15:09.715Z] c2d8d7efcc4b: Waiting [2022-02-03T13:15:09.715Z] 8603b9c90790: Waiting [2022-02-03T13:15:09.988Z] f757da607395: Verifying Checksum [2022-02-03T13:15:09.988Z] f757da607395: Download complete [2022-02-03T13:15:09.988Z] 8603b9c90790: Verifying Checksum [2022-02-03T13:15:09.988Z] 8603b9c90790: Download complete [2022-02-03T13:15:09.988Z] 1560dd03e051: Verifying Checksum [2022-02-03T13:15:09.988Z] 1560dd03e051: Download complete [2022-02-03T13:15:09.988Z] 27f5ce0e4adf: Verifying Checksum [2022-02-03T13:15:09.988Z] 27f5ce0e4adf: Download complete [2022-02-03T13:15:09.988Z] 05883995daec: Verifying Checksum [2022-02-03T13:15:09.988Z] 05883995daec: Download complete [2022-02-03T13:15:10.263Z] 448f6bf000e3: Verifying Checksum [2022-02-03T13:15:10.263Z] 448f6bf000e3: Download complete [2022-02-03T13:15:12.883Z] c2d8d7efcc4b: Verifying Checksum [2022-02-03T13:15:12.883Z] c2d8d7efcc4b: Download complete [2022-02-03T13:15:14.347Z] 448f6bf000e3: Pull complete [2022-02-03T13:15:14.949Z] f757da607395: Pull complete [2022-02-03T13:15:16.389Z] 05883995daec: Pull complete [2022-02-03T13:15:16.662Z] 8603b9c90790: Pull complete [2022-02-03T13:15:17.646Z] 1560dd03e051: Pull complete [2022-02-03T13:15:17.646Z] 27f5ce0e4adf: Pull complete [2022-02-03T13:15:32.717Z] c2d8d7efcc4b: Pull complete [2022-02-03T13:15:32.717Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-03T13:15:32.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T13:15:32.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-03T13:15:32.935Z] prd-ubuntu18.04-docker-arm64-4c-16g-4564 does not seem to be running inside a container [2022-02-03T13:15:33.008Z] $ 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/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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-02-03T13:15:35.586Z] $ docker top 0329581cb7bc4ff8bd743ae30a1ada5fcb203b63ab4a9f9b4699f33e12db54ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:15:36.476Z] ---> job-cost.sh [2022-02-03T13:15:36.476Z] lf-activate-venv: SKIPPING [2022-02-03T13:15:36.476Z] INFO: No Stack... [2022-02-03T13:15:36.746Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-03T13:15:37.016Z] INFO: Archiving Costs [Pipeline] sh [2022-02-03T13:15:37.358Z] + cat /w/workspace/device-sdk-go/47/archives/cost.csv [2022-02-03T13:15:37.358Z] + cut -d, -f6 [Pipeline] lock [2022-02-03T13:15:37.661Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [2022-02-03T13:15:37.670Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] did not exist. Created. [2022-02-03T13:15:37.670Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-03T13:15:38.341Z] /w/workspace/device-sdk-go/47@tmp/durable-46092d86/script.sh: 1: /w/workspace/device-sdk-go/47@tmp/durable-46092d86/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-03T13:15:39.014Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-03T13:15:39.042Z] Warning: overwriting stash ‘stack-cost’ [2022-02-03T13:15:39.097Z] Stashed 1 file(s) [Pipeline] } [2022-02-03T13:15:39.106Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-03T13:15:39.119Z] $ docker stop --time=1 0329581cb7bc4ff8bd743ae30a1ada5fcb203b63ab4a9f9b4699f33e12db54ff [2022-02-03T13:15:40.628Z] $ docker rm -f 0329581cb7bc4ff8bd743ae30a1ada5fcb203b63ab4a9f9b4699f33e12db54ff [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-02-03T13:15:41.124Z] provisioning config files... [2022-02-03T13:15:41.135Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1216609805162549719tmp [Pipeline] { [Pipeline] sh [2022-02-03T13:15:41.431Z] + set +x [2022-02-03T13:15:41.431Z] + bash -s -- [2022-02-03T13:15:41.431Z] + curl -s https://codecov.io/bash [2022-02-03T13:15:41.431Z] [2022-02-03T13:15:41.431Z] _____ _ [2022-02-03T13:15:41.431Z] / ____| | | [2022-02-03T13:15:41.431Z] | | ___ __| | ___ ___ _____ __ [2022-02-03T13:15:41.431Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-03T13:15:41.431Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-03T13:15:41.431Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-03T13:15:41.431Z] Bash-1.0.6 [2022-02-03T13:15:41.431Z] [2022-02-03T13:15:41.431Z] [2022-02-03T13:15:41.431Z] ==> git version 2.24.4 found [2022-02-03T13:15:41.431Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-02-03T13:15:41.431Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-03T13:15:41.431Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-03T13:15:41.431Z] ==> Jenkins CI detected. [2022-02-03T13:15:41.431Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:15:41.431Z] project root: . [2022-02-03T13:15:41.431Z] --> token set from env [2022-02-03T13:15:41.431Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-03T13:15:41.693Z] ==> Running gcov in . (disable via -X gcov) [2022-02-03T13:15:41.693Z] ==> Python coveragepy not found [2022-02-03T13:15:41.693Z] ==> Searching for coverage reports in: [2022-02-03T13:15:41.693Z] + . [2022-02-03T13:15:41.693Z] -> Found 1 reports [2022-02-03T13:15:41.693Z] ==> Detecting git/mercurial file structure [2022-02-03T13:15:41.693Z] ==> Reading reports [2022-02-03T13:15:41.693Z] + ./coverage.out bytes=128608 [2022-02-03T13:15:41.693Z] ==> Appending adjustments [2022-02-03T13:15:41.693Z] https://docs.codecov.io/docs/fixing-reports [2022-02-03T13:15:41.956Z] + Found adjustments [2022-02-03T13:15:41.956Z] ==> Gzipping contents [2022-02-03T13:15:41.956Z] 16K /tmp/codecov.1A9DqF.gz [2022-02-03T13:15:41.956Z] ==> Uploading reports [2022-02-03T13:15:41.956Z] url: https://codecov.io [2022-02-03T13:15:41.956Z] query: branch=main&commit=9a649bf1bf9918af6bcd6933aa59ded149e77d26&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-02-03T13:15:41.956Z] -> Pinging Codecov [2022-02-03T13:15:41.956Z] 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=9a649bf1bf9918af6bcd6933aa59ded149e77d26&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-02-03T13:15:42.219Z] -> Uploading to [2022-02-03T13:15:42.219Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-03/7E55EF52A471D76F132DFD9A03CDDE97/9a649bf1bf9918af6bcd6933aa59ded149e77d26/122f07f4-ce00-4263-8620-64a00edabe6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220203T131541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75aa562ba55f233bf506a6a4bca6bfe976c986f6b9d6fe938a14eed93a7b0da3 [2022-02-03T13:15:42.219Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-03T13:15:42.219Z] Dload Upload Total Spent Left Speed [2022-02-03T13:15:42.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16092 0 0 100 16092 0 49004 --:--:-- --:--:-- --:--:-- 48911 100 16092 0 0 100 16092 0 48981 --:--:-- --:--:-- --:--:-- 48911 [2022-02-03T13:15:42.481Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] } [2022-02-03T13:15:42.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-02-03T13:15:42.748Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-02-03T13:15:42.760Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:15:43.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-03T13:15:43.070Z] [2022-02-03T13:15:43.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:15:43.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-03T13:15:43.383Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-02-03T13:15:43.383Z] 188c0c94c7c5: Pulling fs layer [2022-02-03T13:15:43.383Z] 0ef7d3d256c8: Pulling fs layer [2022-02-03T13:15:43.383Z] de9db76c5a1d: Pulling fs layer [2022-02-03T13:15:43.383Z] 0eba1c9be4d2: Pulling fs layer [2022-02-03T13:15:43.383Z] 0d57e429df01: Pulling fs layer [2022-02-03T13:15:43.383Z] 4e4be7b47b0d: Pulling fs layer [2022-02-03T13:15:43.383Z] e1f770b5df2f: Pulling fs layer [2022-02-03T13:15:43.383Z] 85a0685a4137: Pulling fs layer [2022-02-03T13:15:43.383Z] 0eba1c9be4d2: Waiting [2022-02-03T13:15:43.383Z] 0d57e429df01: Waiting [2022-02-03T13:15:43.383Z] 4e4be7b47b0d: Waiting [2022-02-03T13:15:43.383Z] e1f770b5df2f: Waiting [2022-02-03T13:15:43.383Z] 85a0685a4137: Waiting [2022-02-03T13:15:43.383Z] de9db76c5a1d: Verifying Checksum [2022-02-03T13:15:43.383Z] de9db76c5a1d: Download complete [2022-02-03T13:15:43.383Z] 0ef7d3d256c8: Verifying Checksum [2022-02-03T13:15:43.383Z] 0ef7d3d256c8: Download complete [2022-02-03T13:15:43.383Z] 0d57e429df01: Verifying Checksum [2022-02-03T13:15:43.383Z] 0d57e429df01: Download complete [2022-02-03T13:15:43.383Z] 4e4be7b47b0d: Verifying Checksum [2022-02-03T13:15:43.383Z] 4e4be7b47b0d: Download complete [2022-02-03T13:15:43.383Z] 188c0c94c7c5: Download complete [2022-02-03T13:15:43.655Z] 188c0c94c7c5: Pull complete [2022-02-03T13:15:43.928Z] e1f770b5df2f: Verifying Checksum [2022-02-03T13:15:43.928Z] e1f770b5df2f: Download complete [2022-02-03T13:15:43.928Z] 0eba1c9be4d2: Verifying Checksum [2022-02-03T13:15:44.191Z] 0ef7d3d256c8: Pull complete [2022-02-03T13:15:44.191Z] de9db76c5a1d: Pull complete [2022-02-03T13:15:44.191Z] 85a0685a4137: Verifying Checksum [2022-02-03T13:15:44.191Z] 85a0685a4137: Download complete [2022-02-03T13:15:48.448Z] 0eba1c9be4d2: Pull complete [2022-02-03T13:15:48.448Z] 0d57e429df01: Pull complete [2022-02-03T13:15:48.448Z] 4e4be7b47b0d: Pull complete [2022-02-03T13:15:48.715Z] e1f770b5df2f: Pull complete [2022-02-03T13:15:54.044Z] 85a0685a4137: Pull complete [2022-02-03T13:15:54.304Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-02-03T13:15:54.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-03T13:15:54.305Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-02-03T13:15:54.420Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:15:54.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-02-03T13:15:55.260Z] $ docker top a7331df6c7abc1733b41c92217f98ede8baccdb4ee59cdc43aa56a788e7f0494 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-03T13:15:55.346Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-02-03T13:15:55.634Z] + set -o pipefail [2022-02-03T13:15:55.634Z] + snyk monitor '--org=edgex-jenkins' [2022-02-03T13:16:00.940Z] [2022-02-03T13:16:00.940Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-02-03T13:16:00.940Z] [2022-02-03T13:16:00.940Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/6757c297-20c5-44cc-b6d0-5f8af132dc6f [2022-02-03T13:16:00.940Z] [2022-02-03T13:16:00.940Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-02-03T13:16:00.940Z] [2022-02-03T13:16:00.940Z] [Pipeline] } [2022-02-03T13:16:00.960Z] $ docker stop --time=1 a7331df6c7abc1733b41c92217f98ede8baccdb4ee59cdc43aa56a788e7f0494 [2022-02-03T13:16:02.755Z] $ docker rm -f a7331df6c7abc1733b41c92217f98ede8baccdb4ee59cdc43aa56a788e7f0494 [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-02-03T13:16:03.123Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T13:16:03.139Z] provisioning config files... [2022-02-03T13:16:03.147Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4769210662725020077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:03.447Z] --> edgex-publish-swagger.sh [2022-02-03T13:16:03.448Z] === Publish openapi/v2 API === [2022-02-03T13:16:03.448Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-02-03T13:16:03.448Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-02-03T13:16:03.448Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-03T13:16:03.448Z] Dload Upload Total Spent Left Speed [2022-02-03T13:16:04.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52147 0 0 100 52147 0 45824 0:00:01 0:00:01 --:--:-- 45823 100 52147 0 0 100 52147 0 45817 0:00:01 0:00:01 --:--:-- 45823 [2022-02-03T13:16:04.394Z] [2022-02-03T13:16:04.394Z] [Pipeline] } [2022-02-03T13:16:04.402Z] 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-02-03T13:16:04.821Z] + git log --format=format:%s -1 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] sh [2022-02-03T13:16:05.120Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-03T13:16:05.120Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:16:05.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T13:16:05.411Z] . [Pipeline] withDockerContainer [2022-02-03T13:16:05.473Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:16:05.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-03T13:16:05.843Z] $ docker top 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-03T13:16:05.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T13:16:05.943Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T13:16:06.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T13:16:06.043Z] $ docker exec 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 ssh-agent [2022-02-03T13:16:06.142Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFjNLOH/agent.13 [2022-02-03T13:16:06.142Z] SSH_AGENT_PID=20 [2022-02-03T13:16:06.150Z] Running ssh-add (command line suppressed) [2022-02-03T13:16:06.244Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4059565912894025266.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4059565912894025266.key) [2022-02-03T13:16:06.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T13:16:06.566Z] + git semver tag [2022-02-03T13:16:06.566Z] # -> Open(): unable to determine branch for HEAD [2022-02-03T13:16:06.566Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-03T13:16:06.566Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:16:06.566Z] # $SEMVER_REMOTE_NAME = origin [2022-02-03T13:16:06.566Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-03T13:16:06.566Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-03T13:16:06.566Z] # $SEMVER_BRANCH = main [2022-02-03T13:16:06.566Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-02-03T13:16:06.566Z] # 9a649bf1bf9918af6bcd6933aa59ded149e77d26 HEAD [2022-02-03T13:16:06.566Z] # -> Force: false [2022-02-03T13:16:06.566Z] # 1570e3868a644c34dd893d1ef3827e685ef6913e refs/tags/v2.2.0-dev.14 [Pipeline] } [2022-02-03T13:16:06.575Z] $ docker exec --env ******** --env ******** 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 ssh-agent -k [2022-02-03T13:16:06.662Z] unset SSH_AUTH_SOCK; [2022-02-03T13:16:06.662Z] unset SSH_AGENT_PID; [2022-02-03T13:16:06.662Z] echo Agent pid 20 killed; [2022-02-03T13:16:06.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T13:16:06.984Z] + git semver [Pipeline] } [2022-02-03T13:16:06.997Z] $ docker stop --time=1 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 [2022-02-03T13:16:08.191Z] $ docker rm -f 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:16:08.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-03T13:16:08.586Z] [2022-02-03T13:16:08.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:16:08.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-03T13:16:08.893Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-02-03T13:16:08.893Z] ab5ef0e58194: Pulling fs layer [2022-02-03T13:16:08.893Z] 9712f1f96733: Pulling fs layer [2022-02-03T13:16:08.893Z] 63f879dbbcfc: Pulling fs layer [2022-02-03T13:16:08.893Z] 0d9ebad4ef96: Pulling fs layer [2022-02-03T13:16:08.893Z] e9a5061849ea: Pulling fs layer [2022-02-03T13:16:08.893Z] d747dcd14b5f: Pulling fs layer [2022-02-03T13:16:08.893Z] 2de7ff778b66: Pulling fs layer [2022-02-03T13:16:08.893Z] 0d9ebad4ef96: Waiting [2022-02-03T13:16:08.893Z] e9a5061849ea: Waiting [2022-02-03T13:16:08.893Z] d747dcd14b5f: Waiting [2022-02-03T13:16:08.893Z] 2de7ff778b66: Waiting [2022-02-03T13:16:08.893Z] 9712f1f96733: Verifying Checksum [2022-02-03T13:16:08.893Z] 9712f1f96733: Download complete [2022-02-03T13:16:09.489Z] ab5ef0e58194: Verifying Checksum [2022-02-03T13:16:09.489Z] ab5ef0e58194: Download complete [2022-02-03T13:16:09.489Z] 0d9ebad4ef96: Verifying Checksum [2022-02-03T13:16:09.489Z] 0d9ebad4ef96: Download complete [2022-02-03T13:16:09.489Z] d747dcd14b5f: Verifying Checksum [2022-02-03T13:16:09.489Z] d747dcd14b5f: Download complete [2022-02-03T13:16:09.489Z] 63f879dbbcfc: Verifying Checksum [2022-02-03T13:16:09.489Z] 63f879dbbcfc: Download complete [2022-02-03T13:16:09.489Z] e9a5061849ea: Verifying Checksum [2022-02-03T13:16:09.489Z] e9a5061849ea: Download complete [2022-02-03T13:16:09.489Z] 2de7ff778b66: Verifying Checksum [2022-02-03T13:16:09.489Z] 2de7ff778b66: Download complete [2022-02-03T13:16:12.063Z] ab5ef0e58194: Pull complete [2022-02-03T13:16:12.327Z] 9712f1f96733: Pull complete [2022-02-03T13:16:12.912Z] 63f879dbbcfc: Pull complete [2022-02-03T13:16:17.163Z] 0d9ebad4ef96: Pull complete [2022-02-03T13:16:17.163Z] e9a5061849ea: Pull complete [2022-02-03T13:16:17.163Z] d747dcd14b5f: Pull complete [2022-02-03T13:16:18.117Z] 2de7ff778b66: Pull complete [2022-02-03T13:16:18.117Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-02-03T13:16:18.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-03T13:16:18.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-02-03T13:16:18.184Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:16:18.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-02-03T13:16:21.941Z] $ docker top 71e694a05ab53162a24522703f299758722941584179316d35d6e6be585dd59c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-02-03T13:16:22.029Z] provisioning config files... [2022-02-03T13:16:22.039Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1367696948061390167tmp [2022-02-03T13:16:22.053Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5772785017642737179tmp [2022-02-03T13:16:22.067Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6699159130486038381tmp [Pipeline] { [Pipeline] echo [2022-02-03T13:16:22.085Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:22.378Z] ---> sigul-configuration.sh [2022-02-03T13:16:22.378Z] gpg: directory `/root/.gnupg' created [2022-02-03T13:16:22.378Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-02-03T13:16:22.378Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-02-03T13:16:22.378Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-02-03T13:16:22.378Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-02-03T13:16:22.378Z] gpg: CAST5 encrypted data [2022-02-03T13:16:22.378Z] gpg: encrypted with 1 passphrase [2022-02-03T13:16:22.378Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-02-03T13:16:22.673Z] + mkdir /home/jenkins [2022-02-03T13:16:22.673Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-02-03T13:16:22.973Z] + 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-02-03T13:16:22.985Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:23.279Z] ---> sigul-install.sh [2022-02-03T13:16:23.279Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-02-03T13:16:23.574Z] + git tag --list [2022-02-03T13:16:23.574Z] 0.7.1 [2022-02-03T13:16:23.574Z] delhi-tag [2022-02-03T13:16:23.574Z] v1.0.0 [2022-02-03T13:16:23.574Z] v1.1.0 [2022-02-03T13:16:23.574Z] v1.1.1 [2022-02-03T13:16:23.574Z] v1.1.2 [2022-02-03T13:16:23.574Z] v1.2.0 [2022-02-03T13:16:23.574Z] v1.2.1 [2022-02-03T13:16:23.574Z] v1.2.2 [2022-02-03T13:16:23.574Z] v1.2.3 [2022-02-03T13:16:23.574Z] v1.3.0 [2022-02-03T13:16:23.574Z] v1.4.0 [2022-02-03T13:16:23.574Z] v2.0.0 [2022-02-03T13:16:23.574Z] v2.0.1-dev.1 [2022-02-03T13:16:23.574Z] v2.0.1-dev.10 [2022-02-03T13:16:23.574Z] v2.0.1-dev.11 [2022-02-03T13:16:23.574Z] v2.0.1-dev.12 [2022-02-03T13:16:23.574Z] v2.0.1-dev.13 [2022-02-03T13:16:23.574Z] v2.0.1-dev.14 [2022-02-03T13:16:23.574Z] v2.0.1-dev.15 [2022-02-03T13:16:23.574Z] v2.0.1-dev.16 [2022-02-03T13:16:23.574Z] v2.0.1-dev.17 [2022-02-03T13:16:23.574Z] v2.0.1-dev.18 [2022-02-03T13:16:23.574Z] v2.0.1-dev.19 [2022-02-03T13:16:23.574Z] v2.0.1-dev.2 [2022-02-03T13:16:23.574Z] v2.0.1-dev.20 [2022-02-03T13:16:23.574Z] v2.0.1-dev.21 [2022-02-03T13:16:23.574Z] v2.0.1-dev.22 [2022-02-03T13:16:23.574Z] v2.0.1-dev.23 [2022-02-03T13:16:23.574Z] v2.0.1-dev.24 [2022-02-03T13:16:23.574Z] v2.0.1-dev.25 [2022-02-03T13:16:23.574Z] v2.0.1-dev.26 [2022-02-03T13:16:23.574Z] v2.0.1-dev.27 [2022-02-03T13:16:23.574Z] v2.0.1-dev.28 [2022-02-03T13:16:23.574Z] v2.0.1-dev.29 [2022-02-03T13:16:23.574Z] v2.0.1-dev.3 [2022-02-03T13:16:23.574Z] v2.0.1-dev.30 [2022-02-03T13:16:23.574Z] v2.0.1-dev.31 [2022-02-03T13:16:23.574Z] v2.0.1-dev.32 [2022-02-03T13:16:23.574Z] v2.0.1-dev.33 [2022-02-03T13:16:23.574Z] v2.0.1-dev.4 [2022-02-03T13:16:23.574Z] v2.0.1-dev.5 [2022-02-03T13:16:23.574Z] v2.0.1-dev.6 [2022-02-03T13:16:23.574Z] v2.0.1-dev.7 [2022-02-03T13:16:23.574Z] v2.0.1-dev.8 [2022-02-03T13:16:23.574Z] v2.0.1-dev.9 [2022-02-03T13:16:23.574Z] v2.1.0 [2022-02-03T13:16:23.574Z] v2.1.1-dev.1 [2022-02-03T13:16:23.574Z] v2.2.0-dev.1 [2022-02-03T13:16:23.574Z] v2.2.0-dev.10 [2022-02-03T13:16:23.574Z] v2.2.0-dev.11 [2022-02-03T13:16:23.574Z] v2.2.0-dev.12 [2022-02-03T13:16:23.574Z] v2.2.0-dev.13 [2022-02-03T13:16:23.574Z] v2.2.0-dev.14 [2022-02-03T13:16:23.574Z] v2.2.0-dev.2 [2022-02-03T13:16:23.574Z] v2.2.0-dev.3 [2022-02-03T13:16:23.574Z] v2.2.0-dev.4 [2022-02-03T13:16:23.574Z] v2.2.0-dev.5 [2022-02-03T13:16:23.574Z] v2.2.0-dev.6 [2022-02-03T13:16:23.574Z] v2.2.0-dev.7 [2022-02-03T13:16:23.574Z] v2.2.0-dev.8 [2022-02-03T13:16:23.574Z] v2.2.0-dev.9 [Pipeline] sh [2022-02-03T13:16:23.869Z] + lftools sign git-tag v2.2.0-dev.14 [2022-02-03T13:16:24.438Z] Signing Git tag with Sigul... [2022-02-03T13:16:24.438Z] Signing v2.2.0-dev.14 [Pipeline] echo [2022-02-03T13:16:25.019Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:25.312Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-02-03T13:16:25.320Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-02-03T13:16:25.339Z] $ docker stop --time=1 71e694a05ab53162a24522703f299758722941584179316d35d6e6be585dd59c [2022-02-03T13:16:26.542Z] $ docker rm -f 71e694a05ab53162a24522703f299758722941584179316d35d6e6be585dd59c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-02-03T13:16:26.972Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-03T13:16:26.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:16:27.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T13:16:27.270Z] . [Pipeline] withDockerContainer [2022-02-03T13:16:27.334Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:16:27.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-03T13:16:27.693Z] $ docker top 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-03T13:16:27.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T13:16:27.794Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T13:16:27.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T13:16:27.888Z] $ docker exec 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 ssh-agent [2022-02-03T13:16:27.992Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXklPbNg/agent.13 [2022-02-03T13:16:27.992Z] SSH_AGENT_PID=20 [2022-02-03T13:16:27.998Z] Running ssh-add (command line suppressed) [2022-02-03T13:16:28.110Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3666282259785745730.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3666282259785745730.key) [2022-02-03T13:16:28.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T13:16:28.428Z] + git semver bump pre [2022-02-03T13:16:28.429Z] # -> Open(): unable to determine branch for HEAD [2022-02-03T13:16:28.429Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-03T13:16:28.429Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:16:28.429Z] # $SEMVER_REMOTE_NAME = origin [2022-02-03T13:16:28.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-03T13:16:28.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-03T13:16:28.429Z] # $SEMVER_BRANCH = main [2022-02-03T13:16:28.429Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-02-03T13:16:28.429Z] 2.2.0-dev.15 [Pipeline] } [2022-02-03T13:16:28.439Z] $ docker exec --env ******** --env ******** 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 ssh-agent -k [2022-02-03T13:16:28.555Z] unset SSH_AUTH_SOCK; [2022-02-03T13:16:28.555Z] unset SSH_AGENT_PID; [2022-02-03T13:16:28.555Z] echo Agent pid 20 killed; [2022-02-03T13:16:28.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T13:16:28.883Z] + git semver [Pipeline] } [2022-02-03T13:16:28.897Z] $ docker stop --time=1 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 [2022-02-03T13:16:30.099Z] $ docker rm -f 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-03T13:16:30.454Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-03T13:16:30.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:16:30.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T13:16:30.763Z] . [Pipeline] withDockerContainer [2022-02-03T13:16:30.825Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:16:30.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-03T13:16:31.195Z] $ docker top 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-03T13:16:31.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T13:16:31.279Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T13:16:31.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T13:16:31.375Z] $ docker exec 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 ssh-agent [2022-02-03T13:16:31.474Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAlHmDg/agent.13 [2022-02-03T13:16:31.474Z] SSH_AGENT_PID=20 [2022-02-03T13:16:31.484Z] Running ssh-add (command line suppressed) [2022-02-03T13:16:31.570Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5419983353004027421.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5419983353004027421.key) [2022-02-03T13:16:31.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T13:16:31.874Z] + git semver push [2022-02-03T13:16:31.874Z] # -> Open(): unable to determine branch for HEAD [2022-02-03T13:16:31.874Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-03T13:16:31.874Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:16:31.874Z] # $SEMVER_REMOTE_NAME = origin [2022-02-03T13:16:31.874Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-03T13:16:31.874Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-03T13:16:31.874Z] # $SEMVER_BRANCH = main [2022-02-03T13:16:31.874Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-02-03T13:16:33.821Z] $ docker exec --env ******** --env ******** 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 ssh-agent -k [2022-02-03T13:16:33.915Z] unset SSH_AUTH_SOCK; [2022-02-03T13:16:33.915Z] unset SSH_AGENT_PID; [2022-02-03T13:16:33.915Z] echo Agent pid 20 killed; [2022-02-03T13:16:33.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T13:16:34.232Z] + git semver [Pipeline] } [2022-02-03T13:16:34.245Z] $ docker stop --time=1 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 [2022-02-03T13:16:35.421Z] $ docker rm -f 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 [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-02-03T13:16:35.981Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-02-03T13:16:35.981Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-02-03T13:16:35.981Z] total 8 [2022-02-03T13:16:35.981Z] drwxr-xr-x. 3 root root 34 Feb 3 13:10 . [2022-02-03T13:16:35.981Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 13:16 .. [2022-02-03T13:16:35.981Z] drwxr-xr-x. 2 root root 6 Feb 3 13:10 cost [2022-02-03T13:16:35.981Z] -rw-r--r--. 1 root root 83 Feb 3 13:10 cost.csv [2022-02-03T13:16:35.981Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-02-03T13:16:35.981Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-02-03T13:16:35.981Z] total 8 [2022-02-03T13:16:35.981Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 3 13:10 . [2022-02-03T13:16:35.981Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 13:16 .. [2022-02-03T13:16:35.981Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 3 13:10 cost [2022-02-03T13:16:35.981Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 3 13:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:36.281Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:36.839Z] ---> package-listing.sh [2022-02-03T13:16:36.839Z] ++ facter osfamily [2022-02-03T13:16:36.839Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-03T13:16:37.100Z] + OS_FAMILY=redhat [2022-02-03T13:16:37.100Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-02-03T13:16:37.100Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-03T13:16:37.100Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-03T13:16:37.100Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-03T13:16:37.100Z] + PACKAGES=/tmp/packages_start.txt [2022-02-03T13:16:37.100Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-02-03T13:16:37.100Z] + PACKAGES=/tmp/packages_end.txt [2022-02-03T13:16:37.100Z] + case "${OS_FAMILY}" in [2022-02-03T13:16:37.100Z] + sort [2022-02-03T13:16:37.100Z] + rpm -qa [2022-02-03T13:16:37.672Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-03T13:16:37.672Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-03T13:16:37.672Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-03T13:16:37.672Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-02-03T13:16:37.672Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-02-03T13:16:37.672Z] + 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-02-03T13:16:37.685Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-02-03T13:16:37.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-03T13:16:38.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T13:16:38.533Z] . [Pipeline] withDockerContainer [2022-02-03T13:16:38.608Z] prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container [2022-02-03T13:16:38.644Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-03T13:16:38.832Z] $ docker top 835b5736e3dd08bb7e55f9e8fc9dae56fd01e35edff6850da7526ad79fb9c847 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T13:16:39.190Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-03T13:16:39.481Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-03T13:16:39.771Z] + ls /var/log/sa-host [2022-02-03T13:16:39.771Z] + sadf -c /var/log/sa-host/sa03 [2022-02-03T13:16:39.771Z] file_magic: OK [2022-02-03T13:16:39.771Z] HZ: Using current value: 100 [2022-02-03T13:16:39.771Z] file_header: OK [2022-02-03T13:16:39.771Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-03T13:16:39.771Z] Statistics: [2022-02-03T13:16:39.771Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-03T13:16:39.771Z] File successfully converted to sysstat format version 12.0.3 [2022-02-03T13:16:39.771Z] + sadf -c /var/log/sa-host/sa17 [2022-02-03T13:16:39.771Z] file_magic: OK [2022-02-03T13:16:39.771Z] HZ: Using current value: 100 [2022-02-03T13:16:39.771Z] file_header: OK [2022-02-03T13:16:39.771Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-03T13:16:39.771Z] Statistics: [2022-02-03T13:16:39.771Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-03T13:16:39.771Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T13:16:39.855Z] provisioning config files... [2022-02-03T13:16:39.863Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7931850741668032223tmp [Pipeline] { [Pipeline] echo [2022-02-03T13:16:39.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:40.162Z] ---> create-netrc.sh [Pipeline] } [2022-02-03T13:16:40.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:40.507Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-03T13:16:40.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:40.802Z] ---> sudo-logs.sh [2022-02-03T13:16:40.802Z] Archiving 'sudo' log.. [2022-02-03T13:16:40.802Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4563.novalocal: Name or service not known [2022-02-03T13:16:40.802Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4563.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-03T13:16:40.826Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:41.114Z] ---> job-cost.sh [2022-02-03T13:16:41.115Z] lf-activate-venv: SKIPPING [2022-02-03T13:16:41.115Z] DEBUG: total: 0.05999999865889549 [2022-02-03T13:16:41.115Z] INFO: Retrieving Stack Cost... [2022-02-03T13:16:41.389Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-03T13:16:41.664Z] INFO: Archiving Costs [Pipeline] echo [2022-02-03T13:16:41.679Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T13:16:41.974Z] ---> logs-deploy.sh [2022-02-03T13:16:41.974Z] lf-activate-venv: SKIPPING [2022-02-03T13:16:41.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/47 [2022-02-03T13:16:41.974Z] INFO: archiving workspace using pattern(s): [2022-02-03T13:16:42.547Z] Archives upload complete. [2022-02-03T13:16:42.807Z] INFO: archiving logs to Nexus