Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b28ab18defc125340c64f0ec90f02309642eba1 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-ssh2819063321356047584.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh7751866958747511439.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7031482641912438289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14741183469662721469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10530650988243234258.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14875388926743496192.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-78 in /w/workspace/gexfoundry_device-sdk-go_jakarta [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/gexfoundry_device-sdk-go_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6b28ab18defc125340c64f0ec90f02309642eba1 (jakarta) > 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 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 Commit message: "Merge pull request #1167 from jinlinGuan/issue-1160" > git rev-list --no-walk 6a81118fd5fae2129fb08f9495f332ae0f5b104f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-25T21:07:29.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-25T21:07:29.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-25T21:07:29.771Z] ========================================================= [2022-05-25T21:07:29.771Z] EdgeX Global Pipelines Version Info [2022-05-25T21:07:29.771Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:07:30.559Z] ------------------- [2022-05-25T21:07:30.560Z] stable info: [2022-05-25T21:07:30.560Z] ------------------- [2022-05-25T21:07:30.560Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-25T21:07:30.560Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-25T21:07:30.560Z] Message: update stable to v1.0.230 [2022-05-25T21:07:31.135Z] ------------------- [2022-05-25T21:07:31.135Z] experimental info: [2022-05-25T21:07:31.135Z] ------------------- [2022-05-25T21:07:31.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-25T21:07:31.135Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-25T21:07:31.135Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-25T21:07:31.380Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-25T21:07:31.391Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-25T21:07:31.402Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-25T21:07:31.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-25T21:07:31.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-25T21:07:31.450Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-25T21:07:31.460Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-25T21:07:31.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-25T21:07:31.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-25T21:07:31.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-25T21:07:31.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-25T21:07:31.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-25T21:07:31.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-25T21:07:31.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-25T21:07:31.537Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-25T21:07:31.555Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-25T21:07:31.568Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-25T21:07:31.584Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-25T21:07:31.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-25T21:07:31.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-25T21:07:31.623Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-25T21:07:31.634Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-25T21:07:31.647Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-25T21:07:31.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-25T21:07:31.671Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-25T21:07:31.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-25T21:07:31.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-05-25T21:07:31.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-05-25T21:07:31.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-05-25T21:07:31.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo [2022-05-25T21:07:31.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b28ab1 [Pipeline] echo [2022-05-25T21:07:31.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T21:07:31.798Z] provisioning config files... [2022-05-25T21:07:31.811Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config2184275060236121220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:07:32.118Z] ---> docker-login.sh [2022-05-25T21:07:32.118Z] nexus3.edgexfoundry.org:10001 [2022-05-25T21:07:32.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:32.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:32.389Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:32.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:32.389Z] [2022-05-25T21:07:32.389Z] Login Succeeded [2022-05-25T21:07:32.389Z] nexus3.edgexfoundry.org:10002 [2022-05-25T21:07:32.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:32.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:32.652Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:32.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:32.652Z] [2022-05-25T21:07:32.652Z] Login Succeeded [2022-05-25T21:07:32.652Z] nexus3.edgexfoundry.org:10003 [2022-05-25T21:07:32.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:32.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:32.652Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:32.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:32.652Z] [2022-05-25T21:07:32.652Z] Login Succeeded [2022-05-25T21:07:32.652Z] nexus3.edgexfoundry.org:10004 [2022-05-25T21:07:32.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:32.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:32.915Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:32.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:32.915Z] [2022-05-25T21:07:32.915Z] Login Succeeded [2022-05-25T21:07:32.915Z] docker.io [2022-05-25T21:07:32.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:33.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:33.489Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:33.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:33.489Z] [2022-05-25T21:07:33.489Z] Login Succeeded [2022-05-25T21:07:33.489Z] ---> docker-login.sh ends [Pipeline] } [2022-05-25T21:07:33.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-25T21:07:33.860Z] + git rev-list -1 --merges 6b28ab18defc125340c64f0ec90f02309642eba1~1..6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo [2022-05-25T21:07:33.889Z] -----------> git rev-list -1 --merges 6b28ab18defc125340c64f0ec90f02309642eba1~1..6b28ab18defc125340c64f0ec90f02309642eba1 6b28ab18defc125340c64f0ec90f02309642eba1 [2022-05-25T21:07:33.889Z] 6b28ab18defc125340c64f0ec90f02309642eba1 [false] [Pipeline] sh [2022-05-25T21:07:34.180Z] + git log --format=format:%s -1 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo [2022-05-25T21:07:34.196Z] ========================================================= [2022-05-25T21:07:34.196Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-25T21:07:34.196Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-25T21:07:34.545Z] + git log --format=format:%s -1 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo [2022-05-25T21:07:34.556Z] [semverPrep] GIT_COMMIT: 6b28ab18defc125340c64f0ec90f02309642eba1, Commit Message: Merge pull request #1167 from jinlinGuan/issue-1160 [Pipeline] echo [2022-05-25T21:07:34.563Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-25T21:07:34.934Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-25T21:07:34.934Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-25T21:07:34.934Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-25T21:07:34.934Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-25T21:07:34.934Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-25T21:07:34.934Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-25T21:07:34.934Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:07:35.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T21:07:35.342Z] [2022-05-25T21:07:35.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:07:35.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T21:07:35.653Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-25T21:07:35.653Z] 1fe172e4850f: Pulling fs layer [2022-05-25T21:07:35.653Z] caf521ccaac6: Pulling fs layer [2022-05-25T21:07:35.653Z] 3ead6fa29328: Pulling fs layer [2022-05-25T21:07:35.653Z] 5c2a1cbceb83: Pulling fs layer [2022-05-25T21:07:35.653Z] a8d5f1318db7: Pulling fs layer [2022-05-25T21:07:35.653Z] c427282e49a2: Pulling fs layer [2022-05-25T21:07:35.653Z] 1827001aaf11: Pulling fs layer [2022-05-25T21:07:35.653Z] 0714d37db230: Pulling fs layer [2022-05-25T21:07:35.653Z] ac28cf19c067: Pulling fs layer [2022-05-25T21:07:35.653Z] ca983d60f3e2: Pulling fs layer [2022-05-25T21:07:35.653Z] c427282e49a2: Waiting [2022-05-25T21:07:35.653Z] 1827001aaf11: Waiting [2022-05-25T21:07:35.653Z] 0714d37db230: Waiting [2022-05-25T21:07:35.653Z] ac28cf19c067: Waiting [2022-05-25T21:07:35.653Z] 5c2a1cbceb83: Waiting [2022-05-25T21:07:35.653Z] a8d5f1318db7: Waiting [2022-05-25T21:07:35.653Z] 9f894cec8388: Pulling fs layer [2022-05-25T21:07:35.653Z] caf521ccaac6: Download complete [2022-05-25T21:07:35.653Z] 5c2a1cbceb83: Verifying Checksum [2022-05-25T21:07:35.653Z] 5c2a1cbceb83: Download complete [2022-05-25T21:07:35.915Z] a8d5f1318db7: Verifying Checksum [2022-05-25T21:07:35.915Z] a8d5f1318db7: Download complete [2022-05-25T21:07:35.915Z] c427282e49a2: Verifying Checksum [2022-05-25T21:07:35.915Z] c427282e49a2: Download complete [2022-05-25T21:07:35.915Z] 3ead6fa29328: Verifying Checksum [2022-05-25T21:07:35.915Z] 3ead6fa29328: Download complete [2022-05-25T21:07:35.915Z] 0714d37db230: Verifying Checksum [2022-05-25T21:07:35.915Z] 0714d37db230: Download complete [2022-05-25T21:07:35.915Z] ac28cf19c067: Download complete [2022-05-25T21:07:35.915Z] ca983d60f3e2: Verifying Checksum [2022-05-25T21:07:35.915Z] ca983d60f3e2: Download complete [2022-05-25T21:07:35.915Z] 9f894cec8388: Verifying Checksum [2022-05-25T21:07:35.915Z] 9f894cec8388: Download complete [2022-05-25T21:07:35.915Z] 1fe172e4850f: Verifying Checksum [2022-05-25T21:07:35.915Z] 1fe172e4850f: Download complete [2022-05-25T21:07:36.175Z] 1827001aaf11: Verifying Checksum [2022-05-25T21:07:36.175Z] 1827001aaf11: Download complete [2022-05-25T21:07:37.557Z] 1fe172e4850f: Pull complete [2022-05-25T21:07:37.557Z] caf521ccaac6: Pull complete [2022-05-25T21:07:38.127Z] 3ead6fa29328: Pull complete [2022-05-25T21:07:38.127Z] 5c2a1cbceb83: Pull complete [2022-05-25T21:07:38.388Z] a8d5f1318db7: Pull complete [2022-05-25T21:07:38.388Z] c427282e49a2: Pull complete [2022-05-25T21:07:40.315Z] 1827001aaf11: Pull complete [2022-05-25T21:07:40.577Z] 0714d37db230: Pull complete [2022-05-25T21:07:40.577Z] ac28cf19c067: Pull complete [2022-05-25T21:07:40.839Z] ca983d60f3e2: Pull complete [2022-05-25T21:07:40.839Z] 9f894cec8388: Pull complete [2022-05-25T21:07:40.839Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-25T21:07:40.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T21:07:40.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:07:40.950Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:07:40.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-25T21:07:42.550Z] $ docker top ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-25T21:07:42.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T21:07:42.658Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T21:07:42.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T21:07:42.805Z] $ docker exec ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent [2022-05-25T21:07:42.939Z] SSH_AUTH_SOCK=/tmp/ssh-m0jDOjRHVytu/agent.31 [2022-05-25T21:07:42.939Z] SSH_AGENT_PID=38 [2022-05-25T21:07:42.946Z] Running ssh-add (command line suppressed) [2022-05-25T21:07:43.078Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4099223491258055878.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4099223491258055878.key) [2022-05-25T21:07:43.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T21:07:43.379Z] + git tag --points-at HEAD [Pipeline] } [2022-05-25T21:07:43.410Z] $ docker exec --env ******** --env ******** ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent -k [2022-05-25T21:07:43.515Z] unset SSH_AUTH_SOCK; [2022-05-25T21:07:43.515Z] unset SSH_AGENT_PID; [2022-05-25T21:07:43.515Z] echo Agent pid 38 killed; [2022-05-25T21:07:43.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-25T21:07:43.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T21:07:43.553Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T21:07:43.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T21:07:43.710Z] $ docker exec ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent [2022-05-25T21:07:43.841Z] SSH_AUTH_SOCK=/tmp/ssh-HQdmtU4gRZ2H/agent.73 [2022-05-25T21:07:43.841Z] SSH_AGENT_PID=79 [2022-05-25T21:07:43.847Z] Running ssh-add (command line suppressed) [2022-05-25T21:07:43.995Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_43690468177179262.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_43690468177179262.key) [2022-05-25T21:07:44.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T21:07:44.296Z] + git semver init [2022-05-25T21:07:44.559Z] 2022-05-25 21:07:44,510 [run_init] DEBUG init version:0.0.0 force:False [2022-05-25T21:07:44.559Z] 2022-05-25 21:07:44,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [2022-05-25T21:07:44.559Z] 2022-05-25 21:07:44,511 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [2022-05-25T21:07:44.559Z] 2022-05-25 21:07:44,511 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-05-25T21:07:45.505Z] 2022-05-25 21:07:45,299 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.git/info/exclude [2022-05-25T21:07:45.505Z] 2022-05-25 21:07:45,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:False [2022-05-25T21:07:45.505Z] 2022-05-25 21:07:45,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:07:45.505Z] 2022-05-25 21:07:45,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:07:45.505Z] 2.1.1-dev.2 [Pipeline] } [2022-05-25T21:07:45.528Z] $ docker exec --env ******** --env ******** ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent -k [2022-05-25T21:07:45.638Z] unset SSH_AUTH_SOCK; [2022-05-25T21:07:45.638Z] unset SSH_AGENT_PID; [2022-05-25T21:07:45.639Z] echo Agent pid 79 killed; [2022-05-25T21:07:45.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-25T21:07:45.958Z] + git semver [Pipeline] } [2022-05-25T21:07:46.243Z] $ docker stop --time=1 ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 [2022-05-25T21:07:47.566Z] $ docker rm -f ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T21:07:47.913Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-25T21:07:48.158Z] Stashed 1 file(s) [Pipeline] echo [2022-05-25T21:07:48.160Z] [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [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-05-25T21:07:48.284Z] provisioning config files... [2022-05-25T21:07:48.295Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5489626903740997160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:07:48.596Z] ---> docker-login.sh [2022-05-25T21:07:48.596Z] nexus3.edgexfoundry.org:10001 [2022-05-25T21:07:48.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:48.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:48.596Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:48.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:48.596Z] [2022-05-25T21:07:48.596Z] Login Succeeded [2022-05-25T21:07:48.596Z] nexus3.edgexfoundry.org:10002 [2022-05-25T21:07:48.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:48.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:48.856Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:48.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:48.856Z] [2022-05-25T21:07:48.856Z] Login Succeeded [2022-05-25T21:07:48.856Z] nexus3.edgexfoundry.org:10003 [2022-05-25T21:07:48.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:48.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:48.856Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:48.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:48.856Z] [2022-05-25T21:07:48.856Z] Login Succeeded [2022-05-25T21:07:48.856Z] nexus3.edgexfoundry.org:10004 [2022-05-25T21:07:49.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:49.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:49.119Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:49.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:49.119Z] [2022-05-25T21:07:49.119Z] Login Succeeded [2022-05-25T21:07:49.119Z] docker.io [2022-05-25T21:07:49.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:07:49.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:07:49.381Z] Configure a credential helper to remove this warning. See [2022-05-25T21:07:49.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:07:49.381Z] [2022-05-25T21:07:49.381Z] Login Succeeded [2022-05-25T21:07:49.381Z] ---> docker-login.sh ends [Pipeline] } [2022-05-25T21:07:49.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-25T21:07:49.452Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-25T21:07:49.462Z] ========================================================= [2022-05-25T21:07:49.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-05-25T21:07:49.462Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:07:49.780Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-05-25T21:07:49.780Z] Sending build context to Docker daemon 20.64MB [2022-05-25T21:07:49.780Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T21:07:49.780Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-25T21:07:50.042Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-05-25T21:07:50.042Z] 59bf1c3509f3: Pulling fs layer [2022-05-25T21:07:50.042Z] 666ba61612fd: Pulling fs layer [2022-05-25T21:07:50.042Z] 8ed8ca486205: Pulling fs layer [2022-05-25T21:07:50.042Z] 4fe6c5a15a65: Pulling fs layer [2022-05-25T21:07:50.042Z] 22a0e8bec74d: Pulling fs layer [2022-05-25T21:07:50.042Z] 5f8736975d2d: Pulling fs layer [2022-05-25T21:07:50.042Z] fe9c1520953f: Pulling fs layer [2022-05-25T21:07:50.042Z] ad63dd2c9e3e: Pulling fs layer [2022-05-25T21:07:50.042Z] 15d927b9e438: Pulling fs layer [2022-05-25T21:07:50.042Z] ad63dd2c9e3e: Waiting [2022-05-25T21:07:50.042Z] fe9c1520953f: Waiting [2022-05-25T21:07:50.042Z] 5f8736975d2d: Waiting [2022-05-25T21:07:50.042Z] 15d927b9e438: Waiting [2022-05-25T21:07:50.042Z] 4fe6c5a15a65: Waiting [2022-05-25T21:07:50.042Z] 22a0e8bec74d: Waiting [2022-05-25T21:07:50.042Z] 8ed8ca486205: Verifying Checksum [2022-05-25T21:07:50.042Z] 8ed8ca486205: Download complete [2022-05-25T21:07:50.042Z] 666ba61612fd: Download complete [2022-05-25T21:07:50.042Z] 22a0e8bec74d: Verifying Checksum [2022-05-25T21:07:50.042Z] 22a0e8bec74d: Download complete [2022-05-25T21:07:50.042Z] 5f8736975d2d: Download complete [2022-05-25T21:07:50.042Z] fe9c1520953f: Download complete [2022-05-25T21:07:50.042Z] 59bf1c3509f3: Verifying Checksum [2022-05-25T21:07:50.042Z] 59bf1c3509f3: Download complete [2022-05-25T21:07:50.042Z] ad63dd2c9e3e: Verifying Checksum [2022-05-25T21:07:50.042Z] ad63dd2c9e3e: Download complete [2022-05-25T21:07:50.303Z] 59bf1c3509f3: Pull complete [2022-05-25T21:07:50.304Z] 666ba61612fd: Pull complete [2022-05-25T21:07:50.566Z] 8ed8ca486205: Pull complete [2022-05-25T21:07:50.826Z] 15d927b9e438: Verifying Checksum [2022-05-25T21:07:50.826Z] 4fe6c5a15a65: Download complete [2022-05-25T21:07:55.026Z] 4fe6c5a15a65: Pull complete [2022-05-25T21:07:55.026Z] 22a0e8bec74d: Pull complete [2022-05-25T21:07:55.026Z] 5f8736975d2d: Pull complete [2022-05-25T21:07:55.026Z] fe9c1520953f: Pull complete [2022-05-25T21:07:55.026Z] ad63dd2c9e3e: Pull complete [2022-05-25T21:07:57.568Z] 15d927b9e438: Pull complete [2022-05-25T21:07:57.568Z] Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 [2022-05-25T21:07:57.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-05-25T21:07:57.568Z] ---> 38c4cad2258c [2022-05-25T21:07:57.568Z] Step 3/10 : ARG MAKE=make build [2022-05-25T21:07:58.965Z] ---> Running in 8694dd3bc142 [2022-05-25T21:07:58.965Z] Removing intermediate container 8694dd3bc142 [2022-05-25T21:07:58.965Z] ---> 18e98a1d9f3b [2022-05-25T21:07:58.965Z] Step 4/10 : WORKDIR /device-sdk-go [2022-05-25T21:07:59.227Z] ---> Running in 84ee9c3949cf [2022-05-25T21:07:59.227Z] Removing intermediate container 84ee9c3949cf [2022-05-25T21:07:59.227Z] ---> 6af2cb2d4e12 [2022-05-25T21:07:59.227Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-25T21:07:59.227Z] ---> Running in cc1a16a7b096 [2022-05-25T21:07:59.227Z] Removing intermediate container cc1a16a7b096 [2022-05-25T21:07:59.227Z] ---> aef25db3fe05 [2022-05-25T21:07:59.227Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T21:07:59.490Z] ---> Running in 7c9d2dd7aed6 [2022-05-25T21:08:00.062Z] Removing intermediate container 7c9d2dd7aed6 [2022-05-25T21:08:00.062Z] ---> a69c7d2b3209 [2022-05-25T21:08:00.062Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-25T21:08:00.062Z] ---> Running in f088736254b3 [2022-05-25T21:08:00.322Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-25T21:08:01.265Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-25T21:08:01.526Z] OK: 221 MiB in 52 packages [2022-05-25T21:08:01.786Z] Removing intermediate container f088736254b3 [2022-05-25T21:08:01.786Z] ---> 4462e10e52d4 [2022-05-25T21:08:01.786Z] Step 8/10 : COPY . . [2022-05-25T21:08:02.722Z] ---> 9cffe7140c7d [2022-05-25T21:08:02.722Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T21:08:02.722Z] ---> Running in 7a8e0656e86d [2022-05-25T21:08:02.982Z] skipping... [2022-05-25T21:08:03.245Z] Still waiting to schedule task [2022-05-25T21:08:03.245Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-25T21:08:03.556Z] Removing intermediate container 7a8e0656e86d [2022-05-25T21:08:03.556Z] ---> d4cd21c9e2e8 [2022-05-25T21:08:03.556Z] Step 10/10 : RUN ${MAKE} [2022-05-25T21:08:03.556Z] ---> Running in 5628f575b233 [2022-05-25T21:08:03.814Z] noop [2022-05-25T21:08:04.074Z] Removing intermediate container 5628f575b233 [2022-05-25T21:08:04.074Z] ---> 85f454c1e343 [2022-05-25T21:08:04.074Z] Successfully built 85f454c1e343 [2022-05-25T21:08:04.074Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:08:04.392Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-25T21:08:04.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:08:04.483Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:08:04.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-05-25T21:08:04.916Z] $ docker top 9de5cc4a7db77ed6dd2e8b3922ce4d436f11f5e72e1912a927a4b4be0b3e4561 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-25T21:08:05.295Z] + go version [2022-05-25T21:08:05.296Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-25T21:08:05.325Z] $ docker stop --time=1 9de5cc4a7db77ed6dd2e8b3922ce4d436f11f5e72e1912a927a4b4be0b3e4561 [2022-05-25T21:08:06.662Z] $ docker rm -f 9de5cc4a7db77ed6dd2e8b3922ce4d436f11f5e72e1912a927a4b4be0b3e4561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:08:07.068Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-25T21:08:07.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:08:07.152Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:08:07.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-05-25T21:08:07.574Z] $ docker top 54390f3f3b7d2e0fcfcc36a57a22cd5942e83dbfb27428773a4da1346114b7f2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-25T21:08:07.935Z] + make test [2022-05-25T21:08:07.936Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-25T21:08:13.221Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.080s coverage: 9.0% of statements [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 28.7% of statements [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 82.9% of statements [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.8% of statements [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.770s coverage: 89.2% of statements [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-25T21:08:23.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements [2022-05-25T21:08:23.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-25T21:08:23.204Z] GO111MODULE=on go vet ./... [2022-05-25T21:08:29.777Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-25T21:08:29.777Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-25T21:08:29.777Z] ./bin/test-attribution-txt.sh [2022-05-25T21:08:31.695Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-05-25T21:08:31.695Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-05-25T21:08:31.957Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-25T21:08:31.958Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-25T21:08:31.958Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-25T21:08:31.958Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-25T21:08:31.958Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-25T21:08:31.958Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-25T21:08:31.958Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-25T21:08:31.958Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-25T21:08:31.958Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-25T21:08:31.958Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-25T21:08:31.958Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-25T21:08:31.958Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-25T21:08:31.958Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-25T21:08:31.958Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-25T21:08:31.958Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-05-25T21:08:31.958Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-05-25T21:08:31.958Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-05-25T21:08:31.958Z] go: downloading golang.org/x/text v0.3.6 [2022-05-25T21:08:32.218Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-25T21:08:32.218Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-25T21:08:32.218Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-25T21:08:32.218Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-25T21:08:32.218Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-25T21:08:32.218Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-05-25T21:08:32.218Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-25T21:08:32.218Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-25T21:08:32.218Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-25T21:08:32.218Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-25T21:08:32.218Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-25T21:08:32.479Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-25T21:08:32.479Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-25T21:08:32.479Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-25T21:08:32.479Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-25T21:08:32.479Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-25T21:08:32.479Z] go: downloading github.com/mattn/go-isatty v0.0.12 [Pipeline] echo [2022-05-25T21:08:33.439Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-05-25T21:08:33.744Z] + go mod tidy [2022-05-25T21:08:33.744Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-25T21:08:33.744Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-05-25T21:08:33.744Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-25T21:08:33.744Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-25T21:08:33.744Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-25T21:08:33.744Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-25T21:08:33.744Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-25T21:08:33.744Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-25T21:08:33.744Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-25T21:08:33.744Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-25T21:08:33.744Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-25T21:08:33.744Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-25T21:08:33.744Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-25T21:08:33.744Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-25T21:08:33.744Z] go: downloading github.com/kr/text v0.2.0 [2022-05-25T21:08:34.003Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-25T21:08:34.004Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-25T21:08:34.004Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-25T21:08:34.004Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-25T21:08:34.004Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-05-25T21:08:34.004Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-25T21:08:34.004Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-25T21:08:34.004Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-05-25T21:08:34.024Z] $ docker stop --time=1 54390f3f3b7d2e0fcfcc36a57a22cd5942e83dbfb27428773a4da1346114b7f2 [2022-05-25T21:08:36.469Z] $ docker rm -f 54390f3f3b7d2e0fcfcc36a57a22cd5942e83dbfb27428773a4da1346114b7f2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T21:08:37.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-25T21:08:37.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-25T21:08:37.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-25T21:08:37.897Z] + ls -al . [2022-05-25T21:08:37.897Z] total 308 [2022-05-25T21:08:37.897Z] drwxrwxr-x 12 jenkins jenkins 4096 May 25 21:08 . [2022-05-25T21:08:37.897Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:07 .. [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 140 May 25 21:07 .dockerignore [2022-05-25T21:08:37.897Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 21:07 .git [2022-05-25T21:08:37.897Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:07 .github [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 124 May 25 21:07 .gitignore [2022-05-25T21:08:37.897Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 21:07 .semver [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 25 21:07 CHANGELOG.md [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 21:07 GOVERNANCE.md [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 880 May 25 21:07 Jenkinsfile [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 25 21:07 LICENSE [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 1120 May 25 21:07 Makefile [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 619 May 25 21:07 OWNERS.md [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 4890 May 25 21:07 README.md [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 11 May 25 21:07 VERSION [2022-05-25T21:08:37.897Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 21:07 bin [2022-05-25T21:08:37.897Z] -rw-r--r-- 1 jenkins jenkins 128641 May 25 21:08 coverage.out [2022-05-25T21:08:37.897Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:07 example [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 576 May 25 21:08 go.mod [2022-05-25T21:08:37.897Z] -rw-rw-r-- 1 jenkins jenkins 48946 May 25 21:07 go.sum [2022-05-25T21:08:37.898Z] drwxrwxr-x 15 jenkins jenkins 4096 May 25 21:07 internal [2022-05-25T21:08:37.898Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:07 openapi [2022-05-25T21:08:37.898Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:07 pkg [2022-05-25T21:08:37.898Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:07 snap [2022-05-25T21:08:37.898Z] drwxrwxr-x 6 jenkins jenkins 4096 May 25 21:07 vendor [2022-05-25T21:08:37.898Z] -rw-rw-r-- 1 jenkins jenkins 222 May 25 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:08:38.208Z] + 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=6b28ab18defc125340c64f0ec90f02309642eba1 --label arch=amd64 --label version=2.1.1-dev.2 . [2022-05-25T21:08:38.208Z] Sending build context to Docker daemon 20.77MB [2022-05-25T21:08:38.470Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T21:08:38.470Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-25T21:08:38.470Z] ---> 85f454c1e343 [2022-05-25T21:08:38.470Z] Step 3/24 : ARG MAKE=make build [2022-05-25T21:08:38.470Z] ---> Running in bac1dc06f901 [2022-05-25T21:08:38.470Z] Removing intermediate container bac1dc06f901 [2022-05-25T21:08:38.470Z] ---> 14a963932cb0 [2022-05-25T21:08:38.470Z] Step 4/24 : WORKDIR /device-sdk-go [2022-05-25T21:08:38.734Z] ---> Running in cf48fb858471 [2022-05-25T21:08:38.734Z] Removing intermediate container cf48fb858471 [2022-05-25T21:08:38.734Z] ---> f32da2a23f68 [2022-05-25T21:08:38.734Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-25T21:08:38.734Z] ---> Running in 39d513e0285d [2022-05-25T21:08:38.734Z] Removing intermediate container 39d513e0285d [2022-05-25T21:08:38.734Z] ---> 3b50ac6b77cc [2022-05-25T21:08:38.734Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T21:08:38.995Z] ---> Running in 0415f969903b [2022-05-25T21:08:39.566Z] Removing intermediate container 0415f969903b [2022-05-25T21:08:39.566Z] ---> 0c48220f516d [2022-05-25T21:08:39.566Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-25T21:08:39.566Z] ---> Running in 973c9f287f2c [2022-05-25T21:08:39.826Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-25T21:08:40.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-25T21:08:40.765Z] OK: 221 MiB in 52 packages [2022-05-25T21:08:41.337Z] Removing intermediate container 973c9f287f2c [2022-05-25T21:08:41.337Z] ---> 4c6205a76e5b [2022-05-25T21:08:41.337Z] Step 8/24 : COPY . . [2022-05-25T21:08:42.277Z] ---> e7b74747ba77 [2022-05-25T21:08:42.277Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T21:08:42.277Z] ---> Running in c5a41df173df [2022-05-25T21:08:42.537Z] skipping... [2022-05-25T21:08:42.797Z] Removing intermediate container c5a41df173df [2022-05-25T21:08:42.797Z] ---> 76c7590b25af [2022-05-25T21:08:42.797Z] Step 10/24 : RUN ${MAKE} [2022-05-25T21:08:42.797Z] ---> Running in b9bd327f6c2e [2022-05-25T21:08:43.058Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-25T21:08:49.638Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-25T21:08:49.897Z] Removing intermediate container b9bd327f6c2e [2022-05-25T21:08:49.898Z] ---> e472ba37df88 [2022-05-25T21:08:49.898Z] Step 11/24 : FROM alpine:3.14 [2022-05-25T21:08:50.467Z] 3.14: Pulling from library/alpine [2022-05-25T21:08:50.467Z] 8663204ce13b: Pulling fs layer [2022-05-25T21:08:50.726Z] 8663204ce13b: Verifying Checksum [2022-05-25T21:08:50.985Z] 8663204ce13b: Pull complete [2022-05-25T21:08:50.985Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-25T21:08:50.985Z] Status: Downloaded newer image for alpine:3.14 [2022-05-25T21:08:50.985Z] ---> e04c818066af [2022-05-25T21:08:50.985Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-25T21:08:50.985Z] ---> Running in 9ffa9cb24bfe [2022-05-25T21:08:50.985Z] Removing intermediate container 9ffa9cb24bfe [2022-05-25T21:08:50.985Z] ---> 57e5e237839e [2022-05-25T21:08:50.985Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T21:08:50.985Z] ---> Running in aec3909d7a6b [2022-05-25T21:08:51.555Z] Removing intermediate container aec3909d7a6b [2022-05-25T21:08:51.555Z] ---> 72ab2a71063e [2022-05-25T21:08:51.555Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-05-25T21:08:51.814Z] ---> Running in c9cd6bbf0c2d [2022-05-25T21:08:52.073Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-25T21:08:53.013Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-25T21:08:53.013Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-25T21:08:53.273Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-25T21:08:53.273Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-25T21:08:53.273Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-25T21:08:53.534Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-25T21:08:53.534Z] Executing busybox-1.33.1-r7.trigger [2022-05-25T21:08:53.534Z] OK: 8 MiB in 19 packages [2022-05-25T21:08:53.794Z] Removing intermediate container c9cd6bbf0c2d [2022-05-25T21:08:53.794Z] ---> 37642f9c74fe [2022-05-25T21:08:53.794Z] Step 15/24 : WORKDIR / [2022-05-25T21:08:54.053Z] ---> Running in 59dd2de8fa77 [2022-05-25T21:08:54.053Z] Removing intermediate container 59dd2de8fa77 [2022-05-25T21:08:54.053Z] ---> 2a3238eb55fe [2022-05-25T21:08:54.053Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-25T21:08:54.312Z] ---> e097131462e8 [2022-05-25T21:08:54.312Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-25T21:08:54.572Z] ---> 06b0a0a7ffbb [2022-05-25T21:08:54.572Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-25T21:08:54.850Z] ---> beff96187a74 [2022-05-25T21:08:54.850Z] Step 19/24 : EXPOSE 59999 [2022-05-25T21:08:54.850Z] ---> Running in 9d49cafbc372 [2022-05-25T21:08:54.850Z] Removing intermediate container 9d49cafbc372 [2022-05-25T21:08:54.850Z] ---> be0b4b91160f [2022-05-25T21:08:54.850Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-05-25T21:08:54.850Z] ---> Running in 998d350e36e2 [2022-05-25T21:08:55.111Z] Removing intermediate container 998d350e36e2 [2022-05-25T21:08:55.111Z] ---> 30df49266a6e [2022-05-25T21:08:55.111Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-25T21:08:55.111Z] ---> Running in 1bff07540e34 [2022-05-25T21:08:55.111Z] Removing intermediate container 1bff07540e34 [2022-05-25T21:08:55.111Z] ---> 25cb94678f91 [2022-05-25T21:08:55.111Z] Step 22/24 : LABEL arch=amd64 [2022-05-25T21:08:55.111Z] ---> Running in fec29418298f [2022-05-25T21:08:55.370Z] Removing intermediate container fec29418298f [2022-05-25T21:08:55.370Z] ---> a7cee47d025f [2022-05-25T21:08:55.370Z] Step 23/24 : LABEL git_sha=6b28ab18defc125340c64f0ec90f02309642eba1 [2022-05-25T21:08:55.370Z] ---> Running in 2343654f27a5 [2022-05-25T21:08:55.370Z] Removing intermediate container 2343654f27a5 [2022-05-25T21:08:55.370Z] ---> c2e473901153 [2022-05-25T21:08:55.370Z] Step 24/24 : LABEL version=2.1.1-dev.2 [2022-05-25T21:08:55.370Z] ---> Running in 64e6a8ede617 [2022-05-25T21:08:55.630Z] Removing intermediate container 64e6a8ede617 [2022-05-25T21:08:55.630Z] ---> 38a7cbcdfab2 [2022-05-25T21:08:55.630Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-25T21:08:55.630Z] Successfully built 38a7cbcdfab2 [2022-05-25T21:08:55.630Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:08:56.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T21:08:56.052Z] [2022-05-25T21:08:56.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:08:56.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T21:08:56.357Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-25T21:08:56.357Z] 5eb5b503b376: Pulling fs layer [2022-05-25T21:08:56.357Z] 5c69ac0246d0: Pulling fs layer [2022-05-25T21:08:56.357Z] ec43610c2a17: Pulling fs layer [2022-05-25T21:08:56.357Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-25T21:08:56.357Z] 33b1e0a273af: Pulling fs layer [2022-05-25T21:08:56.357Z] 5d3b04190fa2: Pulling fs layer [2022-05-25T21:08:56.357Z] 2f39f015ded8: Pulling fs layer [2022-05-25T21:08:56.357Z] 3a2ae6a8a46f: Waiting [2022-05-25T21:08:56.357Z] 5d3b04190fa2: Waiting [2022-05-25T21:08:56.357Z] 33b1e0a273af: Waiting [2022-05-25T21:08:56.357Z] 2f39f015ded8: Waiting [2022-05-25T21:08:56.357Z] 5c69ac0246d0: Verifying Checksum [2022-05-25T21:08:56.357Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-25T21:08:56.357Z] 3a2ae6a8a46f: Download complete [2022-05-25T21:08:56.357Z] 33b1e0a273af: Verifying Checksum [2022-05-25T21:08:56.357Z] 33b1e0a273af: Download complete [2022-05-25T21:08:56.357Z] ec43610c2a17: Verifying Checksum [2022-05-25T21:08:56.357Z] ec43610c2a17: Download complete [2022-05-25T21:08:56.357Z] 5d3b04190fa2: Verifying Checksum [2022-05-25T21:08:56.357Z] 5d3b04190fa2: Download complete [2022-05-25T21:08:56.616Z] 5eb5b503b376: Download complete [2022-05-25T21:08:57.184Z] 2f39f015ded8: Download complete [2022-05-25T21:08:57.751Z] 5eb5b503b376: Pull complete [2022-05-25T21:08:58.009Z] 5c69ac0246d0: Pull complete [2022-05-25T21:08:58.274Z] ec43610c2a17: Pull complete [2022-05-25T21:08:58.533Z] 3a2ae6a8a46f: Pull complete [2022-05-25T21:08:58.791Z] 33b1e0a273af: Pull complete [2022-05-25T21:08:58.791Z] 5d3b04190fa2: Pull complete [2022-05-25T21:09:02.988Z] 2f39f015ded8: Pull complete [2022-05-25T21:09:02.988Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-25T21:09:02.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T21:09:02.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:09:03.088Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:09:03.133Z] $ 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/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-25T21:09:04.906Z] $ docker top da31c35c7c4fa494d888d282ade48f569a2ff309e5ef73f87d770bae61a8ad11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:09:05.297Z] ---> job-cost.sh [2022-05-25T21:09:05.297Z] lf-activate-venv: SKIPPING [2022-05-25T21:09:05.297Z] INFO: No Stack... [2022-05-25T21:09:05.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-25T21:09:06.127Z] INFO: Archiving Costs [Pipeline] sh [2022-05-25T21:09:06.422Z] + cat /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/cost.csv [2022-05-25T21:09:06.422Z] + cut -d, -f6 [Pipeline] lock [2022-05-25T21:09:06.435Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [2022-05-25T21:09:06.543Z] Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] did not exist. Created. [2022-05-25T21:09:06.543Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-25T21:09:06.853Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-25T21:09:06.897Z] Stashed 1 file(s) [Pipeline] } [2022-05-25T21:09:06.906Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-25T21:09:06.933Z] $ docker stop --time=1 da31c35c7c4fa494d888d282ade48f569a2ff309e5ef73f87d770bae61a8ad11 [2022-05-25T21:09:08.121Z] $ docker rm -f da31c35c7c4fa494d888d282ade48f569a2ff309e5ef73f87d770bae61a8ad11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-25T21:09:36.869Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-79 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws [2022-05-25T21:09:36.881Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2022-05-25T21:09:36.914Z] The recommended git tool is: git [2022-05-25T21:09:43.202Z] using credential edgex-jenkins-ssh [2022-05-25T21:09:43.220Z] Cloning the remote Git repository [2022-05-25T21:09:43.272Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-25T21:09:43.346Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2022-05-25T21:09:43.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-25T21:09:43.464Z] > git --version # timeout=10 [2022-05-25T21:09:43.487Z] > git --version # 'git version 2.25.1' [2022-05-25T21:09:43.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-25T21:09:43.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-25T21:09:44.877Z] Avoid second fetch [2022-05-25T21:09:44.878Z] Checking out Revision 6b28ab18defc125340c64f0ec90f02309642eba1 (jakarta) [2022-05-25T21:09:44.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-25T21:09:44.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-25T21:09:44.903Z] > git config core.sparsecheckout # timeout=10 [2022-05-25T21:09:44.916Z] > git checkout -f 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 [2022-05-25T21:09:49.446Z] Commit message: "Merge pull request #1167 from jinlinGuan/issue-1160" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-25T21:09:50.273Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-25T21:09:50.273Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-25T21:09:50.273Z] Dload Upload Total Spent Left Speed [2022-05-25T21:09:50.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48240 0 --:--:-- --:--:-- --:--:-- 48240 [Pipeline] sh [2022-05-25T21:09:50.997Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-25T21:09:51.348Z] + sudo tee /etc/docker/daemon.new [2022-05-25T21:09:51.348Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-25T21:09:51.348Z] { [2022-05-25T21:09:51.348Z] "registry-mirrors": [ [2022-05-25T21:09:51.348Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-25T21:09:51.348Z] ], [2022-05-25T21:09:51.348Z] "bip": "10.250.0.254/24", [2022-05-25T21:09:51.348Z] "hosts": [ [2022-05-25T21:09:51.348Z] "tcp://0.0.0.0:5555", [2022-05-25T21:09:51.348Z] "unix:///var/run/docker.sock" [2022-05-25T21:09:51.348Z] ], [2022-05-25T21:09:51.348Z] "mtu": 1458, [2022-05-25T21:09:51.348Z] "selinux-enabled": true, [2022-05-25T21:09:51.348Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-25T21:09:51.348Z] } [Pipeline] sh [2022-05-25T21:09:51.687Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-25T21:09:52.028Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T21:10:10.377Z] provisioning config files... [2022-05-25T21:10:10.402Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4409375986983780485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:10:10.960Z] ---> docker-login.sh [2022-05-25T21:10:10.960Z] nexus3.edgexfoundry.org:10001 [2022-05-25T21:10:11.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:10:11.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:10:11.846Z] Configure a credential helper to remove this warning. See [2022-05-25T21:10:11.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:10:11.846Z] [2022-05-25T21:10:11.846Z] Login Succeeded [2022-05-25T21:10:11.846Z] nexus3.edgexfoundry.org:10002 [2022-05-25T21:10:12.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:10:12.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:10:12.398Z] Configure a credential helper to remove this warning. See [2022-05-25T21:10:12.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:10:12.398Z] [2022-05-25T21:10:12.398Z] Login Succeeded [2022-05-25T21:10:12.398Z] nexus3.edgexfoundry.org:10003 [2022-05-25T21:10:12.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:10:12.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:10:12.956Z] Configure a credential helper to remove this warning. See [2022-05-25T21:10:12.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:10:12.956Z] [2022-05-25T21:10:12.956Z] Login Succeeded [2022-05-25T21:10:12.956Z] nexus3.edgexfoundry.org:10004 [2022-05-25T21:10:13.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:10:13.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:10:13.230Z] Configure a credential helper to remove this warning. See [2022-05-25T21:10:13.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:10:13.230Z] [2022-05-25T21:10:13.230Z] Login Succeeded [2022-05-25T21:10:13.230Z] docker.io [2022-05-25T21:10:13.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T21:10:14.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T21:10:14.098Z] Configure a credential helper to remove this warning. See [2022-05-25T21:10:14.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T21:10:14.098Z] [2022-05-25T21:10:14.098Z] Login Succeeded [2022-05-25T21:10:14.098Z] ---> docker-login.sh ends [Pipeline] } [2022-05-25T21:10:14.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-25T21:10:14.367Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-25T21:10:14.377Z] ========================================================= [2022-05-25T21:10:14.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-05-25T21:10:14.377Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:10:14.729Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-05-25T21:10:16.177Z] Sending build context to Docker daemon 16.17MB [2022-05-25T21:10:16.177Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T21:10:16.177Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-25T21:10:16.177Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-25T21:10:16.177Z] 9b3977197b4f: Pulling fs layer [2022-05-25T21:10:16.177Z] 1a89e8eeedd5: Pulling fs layer [2022-05-25T21:10:16.177Z] 94645a83ff95: Pulling fs layer [2022-05-25T21:10:16.177Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-25T21:10:16.177Z] 0c92f367c5e7: Pulling fs layer [2022-05-25T21:10:16.177Z] 045706c8da98: Pulling fs layer [2022-05-25T21:10:16.177Z] d7189365e05b: Pulling fs layer [2022-05-25T21:10:16.177Z] a32415fbff51: Pulling fs layer [2022-05-25T21:10:16.177Z] 3f3a8bcf1eab: Waiting [2022-05-25T21:10:16.177Z] 0c92f367c5e7: Waiting [2022-05-25T21:10:16.177Z] 045706c8da98: Waiting [2022-05-25T21:10:16.177Z] d7189365e05b: Waiting [2022-05-25T21:10:16.177Z] a32415fbff51: Waiting [2022-05-25T21:10:16.177Z] 94645a83ff95: Verifying Checksum [2022-05-25T21:10:16.177Z] 94645a83ff95: Download complete [2022-05-25T21:10:16.177Z] 1a89e8eeedd5: Verifying Checksum [2022-05-25T21:10:16.177Z] 1a89e8eeedd5: Download complete [2022-05-25T21:10:16.177Z] 0c92f367c5e7: Verifying Checksum [2022-05-25T21:10:16.177Z] 0c92f367c5e7: Download complete [2022-05-25T21:10:16.177Z] 045706c8da98: Verifying Checksum [2022-05-25T21:10:16.177Z] 045706c8da98: Download complete [2022-05-25T21:10:16.177Z] 9b3977197b4f: Download complete [2022-05-25T21:10:16.177Z] d7189365e05b: Download complete [2022-05-25T21:10:16.779Z] 9b3977197b4f: Pull complete [2022-05-25T21:10:17.385Z] 1a89e8eeedd5: Pull complete [2022-05-25T21:10:17.661Z] 94645a83ff95: Pull complete [2022-05-25T21:10:18.257Z] a32415fbff51: Verifying Checksum [2022-05-25T21:10:18.257Z] a32415fbff51: Download complete [2022-05-25T21:10:18.529Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-25T21:10:18.529Z] 3f3a8bcf1eab: Download complete [2022-05-25T21:10:30.933Z] 3f3a8bcf1eab: Pull complete [2022-05-25T21:10:30.933Z] 0c92f367c5e7: Pull complete [2022-05-25T21:10:30.933Z] 045706c8da98: Pull complete [2022-05-25T21:10:30.933Z] d7189365e05b: Pull complete [2022-05-25T21:10:37.658Z] a32415fbff51: Pull complete [2022-05-25T21:10:37.658Z] Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 [2022-05-25T21:10:37.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-05-25T21:10:37.658Z] ---> 96786ed1eff5 [2022-05-25T21:10:37.658Z] Step 3/10 : ARG MAKE=make build [2022-05-25T21:10:37.936Z] ---> Running in e460155c9719 [2022-05-25T21:10:38.210Z] Removing intermediate container e460155c9719 [2022-05-25T21:10:38.210Z] ---> 556edd26c644 [2022-05-25T21:10:38.210Z] Step 4/10 : WORKDIR /device-sdk-go [2022-05-25T21:10:38.483Z] ---> Running in fe01615c4f19 [2022-05-25T21:10:38.755Z] Removing intermediate container fe01615c4f19 [2022-05-25T21:10:38.755Z] ---> 9fe2dfb156e6 [2022-05-25T21:10:38.755Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-25T21:10:38.755Z] ---> Running in a7e2ba1256e4 [2022-05-25T21:10:39.030Z] Removing intermediate container a7e2ba1256e4 [2022-05-25T21:10:39.030Z] ---> 1d0b4d8a3917 [2022-05-25T21:10:39.030Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T21:10:39.030Z] ---> Running in cb611abf38b5 [2022-05-25T21:10:41.023Z] Removing intermediate container cb611abf38b5 [2022-05-25T21:10:41.023Z] ---> 7861145cab0e [2022-05-25T21:10:41.023Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-25T21:10:41.023Z] ---> Running in c943e81b5445 [2022-05-25T21:10:42.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-25T21:10:42.605Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-25T21:10:43.591Z] OK: 220 MiB in 52 packages [2022-05-25T21:10:44.566Z] Removing intermediate container c943e81b5445 [2022-05-25T21:10:44.566Z] ---> 6f1f727273c5 [2022-05-25T21:10:44.566Z] Step 8/10 : COPY . . [2022-05-25T21:10:47.956Z] ---> 65708cdea6b3 [2022-05-25T21:10:47.956Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T21:10:48.230Z] ---> Running in 0ef71ba99c40 [2022-05-25T21:10:49.214Z] skipping... [2022-05-25T21:10:49.836Z] Removing intermediate container 0ef71ba99c40 [2022-05-25T21:10:49.836Z] ---> a2431cc46494 [2022-05-25T21:10:49.836Z] Step 10/10 : RUN ${MAKE} [2022-05-25T21:10:49.836Z] ---> Running in 999226ef6e44 [2022-05-25T21:10:50.828Z] noop [2022-05-25T21:10:51.102Z] Removing intermediate container 999226ef6e44 [2022-05-25T21:10:51.102Z] ---> fad68ebaf58c [2022-05-25T21:10:51.373Z] Successfully built fad68ebaf58c [2022-05-25T21:10:51.373Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:10:51.738Z] + docker inspect -f . ci-base-image-arm64 [2022-05-25T21:10:51.738Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:10:51.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-79 does not seem to be running inside a container [2022-05-25T21:10:52.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat [2022-05-25T21:10:53.309Z] $ docker top 965d7a26985844ec05b7b9ad6f29d6253ee251e0449541de046c8b4e4bdbdee4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-25T21:10:54.208Z] + go version [2022-05-25T21:10:54.208Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-25T21:10:54.245Z] $ docker stop --time=1 965d7a26985844ec05b7b9ad6f29d6253ee251e0449541de046c8b4e4bdbdee4 [2022-05-25T21:10:55.826Z] $ docker rm -f 965d7a26985844ec05b7b9ad6f29d6253ee251e0449541de046c8b4e4bdbdee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:10:56.404Z] + docker inspect -f . ci-base-image-arm64 [2022-05-25T21:10:56.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:10:56.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-79 does not seem to be running inside a container [2022-05-25T21:10:56.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat [2022-05-25T21:10:57.905Z] $ docker top ce7f4d7e4b3524d11b40eafa562fd8f6a628a63ba1a64df21cfff7b3b7099a19 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-25T21:10:58.780Z] + make test [2022-05-25T21:10:58.780Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-25T21:11:25.596Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-25T21:12:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-25T21:12:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-25T21:12:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-25T21:12:39.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.387s coverage: 23.3% of statements [2022-05-25T21:12:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-25T21:12:39.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.210s coverage: 27.6% of statements [2022-05-25T21:12:39.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.333s coverage: 78.9% of statements [2022-05-25T21:12:39.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.255s coverage: 9.0% of statements [2022-05-25T21:12:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-05-25T21:12:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-25T21:12:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-25T21:12:39.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.364s coverage: 28.7% of statements [2022-05-25T21:12:39.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-25T21:12:40.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.241s coverage: 82.9% of statements [2022-05-25T21:12:40.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-25T21:12:40.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-25T21:12:40.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 57.8% of statements [2022-05-25T21:12:46.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.987s coverage: 89.2% of statements [2022-05-25T21:12:46.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-25T21:12:46.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.219s coverage: 4.8% of statements [2022-05-25T21:12:46.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-25T21:12:46.322Z] GO111MODULE=on go vet ./... [2022-05-25T21:13:42.901Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-25T21:13:42.901Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-25T21:13:42.901Z] ./bin/test-attribution-txt.sh [2022-05-25T21:13:42.901Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-25T21:13:42.901Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-25T21:13:42.901Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-25T21:13:42.901Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-25T21:13:42.901Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-25T21:13:42.901Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-25T21:13:42.901Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-25T21:13:42.901Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-25T21:13:42.901Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-25T21:13:42.901Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-25T21:13:42.901Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-25T21:13:42.901Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-25T21:13:42.901Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-05-25T21:13:42.901Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-05-25T21:13:42.901Z] go: downloading golang.org/x/text v0.3.6 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-25T21:13:42.901Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-25T21:13:42.901Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-25T21:13:42.901Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-05-25T21:13:42.901Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-25T21:13:42.901Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-25T21:13:42.901Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-25T21:13:42.901Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-25T21:13:42.901Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-05-25T21:13:47.226Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-05-25T21:13:47.886Z] + go mod tidy [2022-05-25T21:13:48.165Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-25T21:13:48.165Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-05-25T21:13:48.165Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-25T21:13:48.438Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-25T21:13:48.438Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-25T21:13:48.438Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-25T21:13:48.438Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-25T21:13:48.438Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-25T21:13:48.438Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-25T21:13:48.438Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-25T21:13:48.438Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-25T21:13:48.715Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-25T21:13:48.715Z] go: downloading github.com/kr/text v0.2.0 [2022-05-25T21:13:48.715Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-25T21:13:48.715Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-25T21:13:48.715Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-25T21:13:48.715Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-25T21:13:48.715Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-25T21:13:48.715Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-25T21:13:48.990Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-05-25T21:13:48.990Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-25T21:13:48.990Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-25T21:13:48.990Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-05-25T21:13:49.302Z] $ docker stop --time=1 ce7f4d7e4b3524d11b40eafa562fd8f6a628a63ba1a64df21cfff7b3b7099a19 [2022-05-25T21:13:51.614Z] $ docker rm -f ce7f4d7e4b3524d11b40eafa562fd8f6a628a63ba1a64df21cfff7b3b7099a19 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T21:13:54.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-25T21:13:54.037Z] Warning: overwriting stash ‘coverage-report’ [2022-05-25T21:13:54.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-25T21:13:55.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-25T21:13:55.495Z] + ls -al . [2022-05-25T21:13:55.495Z] total 304 [2022-05-25T21:13:55.495Z] drwxrwxr-x 11 jenkins jenkins 4096 May 25 21:13 . [2022-05-25T21:13:55.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:09 .. [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 140 May 25 21:09 .dockerignore [2022-05-25T21:13:55.495Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 21:09 .git [2022-05-25T21:13:55.495Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:09 .github [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 124 May 25 21:09 .gitignore [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 25 21:09 CHANGELOG.md [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 21:09 GOVERNANCE.md [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 880 May 25 21:09 Jenkinsfile [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 25 21:09 LICENSE [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 1120 May 25 21:09 Makefile [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 619 May 25 21:09 OWNERS.md [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 4890 May 25 21:09 README.md [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 11 May 25 21:07 VERSION [2022-05-25T21:13:55.495Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 21:09 bin [2022-05-25T21:13:55.495Z] -rw-r--r-- 1 jenkins jenkins 128641 May 25 21:12 coverage.out [2022-05-25T21:13:55.495Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:09 example [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 576 May 25 21:13 go.mod [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 48946 May 25 21:09 go.sum [2022-05-25T21:13:55.495Z] drwxrwxr-x 15 jenkins jenkins 4096 May 25 21:09 internal [2022-05-25T21:13:55.495Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:09 openapi [2022-05-25T21:13:55.495Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:09 pkg [2022-05-25T21:13:55.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:09 snap [2022-05-25T21:13:55.495Z] drwxrwxr-x 6 jenkins jenkins 4096 May 25 21:09 vendor [2022-05-25T21:13:55.495Z] -rw-rw-r-- 1 jenkins jenkins 222 May 25 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:13:55.861Z] + 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=6b28ab18defc125340c64f0ec90f02309642eba1 --label arch=arm64 --label version=2.1.1-dev.2 . [2022-05-25T21:13:57.300Z] Sending build context to Docker daemon 16.3MB [2022-05-25T21:13:57.300Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T21:13:57.300Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-25T21:13:57.300Z] ---> fad68ebaf58c [2022-05-25T21:13:57.300Z] Step 3/24 : ARG MAKE=make build [2022-05-25T21:13:57.300Z] ---> Running in 4d829b1cbfbb [2022-05-25T21:13:57.573Z] Removing intermediate container 4d829b1cbfbb [2022-05-25T21:13:57.573Z] ---> f838b7600a08 [2022-05-25T21:13:57.573Z] Step 4/24 : WORKDIR /device-sdk-go [2022-05-25T21:13:57.573Z] ---> Running in 827051e7738b [2022-05-25T21:13:57.847Z] Removing intermediate container 827051e7738b [2022-05-25T21:13:57.847Z] ---> 5483f5db3629 [2022-05-25T21:13:57.847Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-25T21:13:58.122Z] ---> Running in 5ab2f96a46b3 [2022-05-25T21:13:58.397Z] Removing intermediate container 5ab2f96a46b3 [2022-05-25T21:13:58.397Z] ---> d2dafaeb122f [2022-05-25T21:13:58.397Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T21:13:58.397Z] ---> Running in 4fbfd99b8b59 [2022-05-25T21:14:00.401Z] Removing intermediate container 4fbfd99b8b59 [2022-05-25T21:14:00.401Z] ---> 03c6313fe043 [2022-05-25T21:14:00.401Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-25T21:14:00.401Z] ---> Running in 4a7dbdf67419 [2022-05-25T21:14:01.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-25T21:14:01.983Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-25T21:14:02.966Z] OK: 220 MiB in 52 packages [2022-05-25T21:14:03.585Z] Removing intermediate container 4a7dbdf67419 [2022-05-25T21:14:03.585Z] ---> b28eb836524f [2022-05-25T21:14:03.585Z] Step 8/24 : COPY . . [2022-05-25T21:14:07.892Z] ---> d0b541474284 [2022-05-25T21:14:07.892Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T21:14:07.892Z] ---> Running in 95496a6cdbd4 [2022-05-25T21:14:08.876Z] skipping... [2022-05-25T21:14:09.151Z] Removing intermediate container 95496a6cdbd4 [2022-05-25T21:14:09.151Z] ---> dbd9501991d6 [2022-05-25T21:14:09.151Z] Step 10/24 : RUN ${MAKE} [2022-05-25T21:14:09.428Z] ---> Running in 9af884086943 [2022-05-25T21:14:10.411Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-25T21:14:49.449Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-25T21:14:49.449Z] Removing intermediate container 9af884086943 [2022-05-25T21:14:49.449Z] ---> 5fc334bb5c34 [2022-05-25T21:14:49.449Z] Step 11/24 : FROM alpine:3.14 [2022-05-25T21:14:49.449Z] 3.14: Pulling from library/alpine [2022-05-25T21:14:49.449Z] 455c02918c45: Pulling fs layer [2022-05-25T21:14:49.722Z] 455c02918c45: Verifying Checksum [2022-05-25T21:14:49.722Z] 455c02918c45: Download complete [2022-05-25T21:14:50.332Z] 455c02918c45: Pull complete [2022-05-25T21:14:50.332Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-25T21:14:50.332Z] Status: Downloaded newer image for alpine:3.14 [2022-05-25T21:14:50.332Z] ---> ac73e934f311 [2022-05-25T21:14:50.332Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-25T21:14:50.332Z] ---> Running in d5a83d1d88f4 [2022-05-25T21:14:50.610Z] Removing intermediate container d5a83d1d88f4 [2022-05-25T21:14:50.610Z] ---> 2efea640935b [2022-05-25T21:14:50.610Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T21:14:50.885Z] ---> Running in 01ad9b94f857 [2022-05-25T21:14:52.329Z] Removing intermediate container 01ad9b94f857 [2022-05-25T21:14:52.329Z] ---> 987cc89a2f9f [2022-05-25T21:14:52.329Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-05-25T21:14:52.329Z] ---> Running in f4c963913c3d [2022-05-25T21:14:53.308Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-25T21:14:54.295Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-25T21:14:55.278Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-25T21:14:55.278Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-25T21:14:55.278Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-25T21:14:55.553Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-25T21:14:55.553Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-25T21:14:55.829Z] Executing busybox-1.33.1-r7.trigger [2022-05-25T21:14:55.829Z] OK: 8 MiB in 19 packages [2022-05-25T21:14:56.812Z] Removing intermediate container f4c963913c3d [2022-05-25T21:14:56.812Z] ---> 752993fb47a7 [2022-05-25T21:14:56.812Z] Step 15/24 : WORKDIR / [2022-05-25T21:14:56.812Z] ---> Running in bda884414334 [2022-05-25T21:14:57.088Z] Removing intermediate container bda884414334 [2022-05-25T21:14:57.088Z] ---> 879695657db3 [2022-05-25T21:14:57.088Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-25T21:14:57.687Z] ---> af9c5023d3f6 [2022-05-25T21:14:57.687Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-25T21:14:58.667Z] ---> 0cb68606366c [2022-05-25T21:14:58.667Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-25T21:14:59.277Z] ---> 7e8be7b3dc57 [2022-05-25T21:14:59.277Z] Step 19/24 : EXPOSE 59999 [2022-05-25T21:14:59.277Z] ---> Running in 6c9b87aa6ad9 [2022-05-25T21:14:59.551Z] Removing intermediate container 6c9b87aa6ad9 [2022-05-25T21:14:59.551Z] ---> 26ddcfa9770e [2022-05-25T21:14:59.551Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-05-25T21:14:59.551Z] ---> Running in d4532c1b7f01 [2022-05-25T21:14:59.827Z] Removing intermediate container d4532c1b7f01 [2022-05-25T21:14:59.827Z] ---> 9ecf68a987b2 [2022-05-25T21:14:59.827Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-25T21:14:59.827Z] ---> Running in 91b2071ba726 [2022-05-25T21:15:00.102Z] Removing intermediate container 91b2071ba726 [2022-05-25T21:15:00.102Z] ---> 1cd8de04c281 [2022-05-25T21:15:00.102Z] Step 22/24 : LABEL arch=arm64 [2022-05-25T21:15:00.102Z] ---> Running in a6c760bbbe62 [2022-05-25T21:15:00.384Z] Removing intermediate container a6c760bbbe62 [2022-05-25T21:15:00.384Z] ---> 4f1a70a9b330 [2022-05-25T21:15:00.384Z] Step 23/24 : LABEL git_sha=6b28ab18defc125340c64f0ec90f02309642eba1 [2022-05-25T21:15:00.664Z] ---> Running in 104c5bbe239e [2022-05-25T21:15:00.937Z] Removing intermediate container 104c5bbe239e [2022-05-25T21:15:00.937Z] ---> 3e6af509b50f [2022-05-25T21:15:00.937Z] Step 24/24 : LABEL version=2.1.1-dev.2 [2022-05-25T21:15:00.937Z] ---> Running in e0102b1f69f3 [2022-05-25T21:15:01.212Z] Removing intermediate container e0102b1f69f3 [2022-05-25T21:15:01.212Z] ---> 4208a365e72a [2022-05-25T21:15:01.212Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-25T21:15:01.488Z] Successfully built 4208a365e72a [2022-05-25T21:15:01.488Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:01.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-25T21:15:01.920Z] [2022-05-25T21:15:01.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:02.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-25T21:15:02.271Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-25T21:15:02.271Z] 8998bd30e6a1: Pulling fs layer [2022-05-25T21:15:02.271Z] 04944245beec: Pulling fs layer [2022-05-25T21:15:02.271Z] 699f458cf7ca: Pulling fs layer [2022-05-25T21:15:02.271Z] 765212b225bb: Pulling fs layer [2022-05-25T21:15:02.271Z] f23df028b6ca: Pulling fs layer [2022-05-25T21:15:02.271Z] d65c8cfc05b1: Pulling fs layer [2022-05-25T21:15:02.271Z] 2437ff75d9bd: Pulling fs layer [2022-05-25T21:15:02.271Z] 765212b225bb: Waiting [2022-05-25T21:15:02.271Z] d65c8cfc05b1: Waiting [2022-05-25T21:15:02.271Z] f23df028b6ca: Waiting [2022-05-25T21:15:02.271Z] 2437ff75d9bd: Waiting [2022-05-25T21:15:02.555Z] 04944245beec: Verifying Checksum [2022-05-25T21:15:02.555Z] 04944245beec: Download complete [2022-05-25T21:15:02.555Z] 765212b225bb: Verifying Checksum [2022-05-25T21:15:02.555Z] 765212b225bb: Download complete [2022-05-25T21:15:02.555Z] f23df028b6ca: Download complete [2022-05-25T21:15:02.555Z] d65c8cfc05b1: Download complete [2022-05-25T21:15:02.830Z] 699f458cf7ca: Verifying Checksum [2022-05-25T21:15:02.830Z] 699f458cf7ca: Download complete [2022-05-25T21:15:03.112Z] 8998bd30e6a1: Verifying Checksum [2022-05-25T21:15:03.112Z] 8998bd30e6a1: Download complete [2022-05-25T21:15:05.739Z] 2437ff75d9bd: Verifying Checksum [2022-05-25T21:15:05.740Z] 2437ff75d9bd: Download complete [2022-05-25T21:15:07.176Z] 8998bd30e6a1: Pull complete [2022-05-25T21:15:07.774Z] 04944245beec: Pull complete [2022-05-25T21:15:09.229Z] 699f458cf7ca: Pull complete [2022-05-25T21:15:09.505Z] 765212b225bb: Pull complete [2022-05-25T21:15:10.106Z] f23df028b6ca: Pull complete [2022-05-25T21:15:10.379Z] d65c8cfc05b1: Pull complete [2022-05-25T21:15:25.471Z] 2437ff75d9bd: Pull complete [2022-05-25T21:15:25.471Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-25T21:15:25.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-25T21:15:25.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:15:25.708Z] prd-ubuntu20.04-docker-arm64-4c-16g-79 does not seem to be running inside a container [2022-05-25T21:15:25.807Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-25T21:15:28.179Z] $ docker top c3f684f757a84a4b11b16a3e22ef7a489fc384f41b4d81c8b6473065a069f510 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:15:29.054Z] ---> job-cost.sh [2022-05-25T21:15:29.054Z] lf-activate-venv: SKIPPING [2022-05-25T21:15:29.054Z] INFO: No Stack... [2022-05-25T21:15:29.327Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-25T21:15:30.323Z] INFO: Archiving Costs [Pipeline] sh [2022-05-25T21:15:30.993Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2022-05-25T21:15:30.993Z] + cut -d, -f6 [Pipeline] lock [2022-05-25T21:15:31.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [2022-05-25T21:15:31.063Z] Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] did not exist. Created. [2022-05-25T21:15:31.063Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-25T21:15:31.741Z] /w/workspace/device-sdk-go/6@tmp/durable-ca9eee15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-25T21:15:32.420Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-25T21:15:32.447Z] Warning: overwriting stash ‘stack-cost’ [2022-05-25T21:15:32.691Z] Stashed 1 file(s) [Pipeline] } [2022-05-25T21:15:32.701Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-25T21:15:32.738Z] $ docker stop --time=1 c3f684f757a84a4b11b16a3e22ef7a489fc384f41b4d81c8b6473065a069f510 [2022-05-25T21:15:34.177Z] $ docker rm -f c3f684f757a84a4b11b16a3e22ef7a489fc384f41b4d81c8b6473065a069f510 [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-05-25T21:15:34.647Z] provisioning config files... [2022-05-25T21:15:34.655Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config3869997266023720089tmp [Pipeline] { [Pipeline] sh [2022-05-25T21:15:34.949Z] + set +x [2022-05-25T21:15:34.950Z] + bash -s -- [2022-05-25T21:15:34.950Z] + curl -s https://codecov.io/bash [2022-05-25T21:15:34.950Z] [2022-05-25T21:15:34.950Z] _____ _ [2022-05-25T21:15:34.950Z] / ____| | | [2022-05-25T21:15:34.950Z] | | ___ __| | ___ ___ _____ __ [2022-05-25T21:15:34.950Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-25T21:15:34.950Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-25T21:15:34.950Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-25T21:15:34.950Z] Bash-1.0.6 [2022-05-25T21:15:34.950Z] [2022-05-25T21:15:34.950Z] [2022-05-25T21:15:34.950Z] ==> git version 2.25.1 found [2022-05-25T21:15:34.950Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-25T21:15:34.950Z] Release-Date: 2020-01-08 [2022-05-25T21:15:34.950Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-25T21:15:34.950Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-25T21:15:34.950Z] ==> Jenkins CI detected. [2022-05-25T21:15:34.950Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta [2022-05-25T21:15:34.950Z] project root: . [2022-05-25T21:15:34.950Z] --> token set from env [2022-05-25T21:15:34.950Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-25T21:15:34.950Z] ==> Running gcov in . (disable via -X gcov) [2022-05-25T21:15:34.950Z] ==> Python coveragepy not found [2022-05-25T21:15:34.950Z] ==> Searching for coverage reports in: [2022-05-25T21:15:34.950Z] + . [2022-05-25T21:15:34.950Z] -> Found 1 reports [2022-05-25T21:15:34.950Z] ==> Detecting git/mercurial file structure [2022-05-25T21:15:34.950Z] ==> Reading reports [2022-05-25T21:15:34.950Z] + ./coverage.out bytes=128641 [2022-05-25T21:15:34.950Z] ==> Appending adjustments [2022-05-25T21:15:34.950Z] https://docs.codecov.io/docs/fixing-reports [2022-05-25T21:15:35.519Z] + Found adjustments [2022-05-25T21:15:35.519Z] ==> Gzipping contents [2022-05-25T21:15:35.519Z] 24K /tmp/codecov.UShpwN.gz [2022-05-25T21:15:35.519Z] ==> Uploading reports [2022-05-25T21:15:35.519Z] url: https://codecov.io [2022-05-25T21:15:35.519Z] query: branch=jakarta&commit=6b28ab18defc125340c64f0ec90f02309642eba1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-25T21:15:35.519Z] -> Pinging Codecov [2022-05-25T21:15:35.519Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=jakarta&commit=6b28ab18defc125340c64f0ec90f02309642eba1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-25T21:15:35.519Z] -> Uploading to [2022-05-25T21:15:35.519Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-25/7E55EF52A471D76F132DFD9A03CDDE97/6b28ab18defc125340c64f0ec90f02309642eba1/4611c4e6-6df1-4be1-9201-229048b1230e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T211535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92e7769778a7e8e2151c0fb82df63d0ae4cc82d9a785c91fbaa1059d2ff6f3d0 [2022-05-25T21:15:35.519Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-25T21:15:35.519Z] Dload Upload Total Spent Left Speed [2022-05-25T21:15:35.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23068 0 0 100 23068 0 98k --:--:-- --:--:-- --:--:-- 97k 100 23068 0 0 100 23068 0 97745 --:--:-- --:--:-- --:--:-- 97745 [2022-05-25T21:15:35.779Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] } [2022-05-25T21:15:35.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-25T21:15:35.937Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-25T21:15:35.945Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:36.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-25T21:15:36.248Z] [2022-05-25T21:15:36.248Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:36.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-25T21:15:36.550Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-25T21:15:36.550Z] 188c0c94c7c5: Pulling fs layer [2022-05-25T21:15:36.550Z] 0ef7d3d256c8: Pulling fs layer [2022-05-25T21:15:36.550Z] de9db76c5a1d: Pulling fs layer [2022-05-25T21:15:36.550Z] 0eba1c9be4d2: Pulling fs layer [2022-05-25T21:15:36.550Z] 0d57e429df01: Pulling fs layer [2022-05-25T21:15:36.550Z] 4e4be7b47b0d: Pulling fs layer [2022-05-25T21:15:36.550Z] 0eba1c9be4d2: Waiting [2022-05-25T21:15:36.550Z] e1f770b5df2f: Pulling fs layer [2022-05-25T21:15:36.550Z] 85a0685a4137: Pulling fs layer [2022-05-25T21:15:36.550Z] 85a0685a4137: Waiting [2022-05-25T21:15:36.550Z] e1f770b5df2f: Waiting [2022-05-25T21:15:36.550Z] 4e4be7b47b0d: Waiting [2022-05-25T21:15:36.550Z] de9db76c5a1d: Verifying Checksum [2022-05-25T21:15:36.550Z] de9db76c5a1d: Download complete [2022-05-25T21:15:36.550Z] 0ef7d3d256c8: Download complete [2022-05-25T21:15:36.550Z] 0d57e429df01: Download complete [2022-05-25T21:15:36.550Z] 4e4be7b47b0d: Verifying Checksum [2022-05-25T21:15:36.550Z] 4e4be7b47b0d: Download complete [2022-05-25T21:15:36.550Z] 188c0c94c7c5: Verifying Checksum [2022-05-25T21:15:36.550Z] 188c0c94c7c5: Download complete [2022-05-25T21:15:36.813Z] 188c0c94c7c5: Pull complete [2022-05-25T21:15:36.813Z] e1f770b5df2f: Verifying Checksum [2022-05-25T21:15:36.813Z] e1f770b5df2f: Download complete [2022-05-25T21:15:36.813Z] 0ef7d3d256c8: Pull complete [2022-05-25T21:15:37.073Z] de9db76c5a1d: Pull complete [2022-05-25T21:15:37.334Z] 0eba1c9be4d2: Verifying Checksum [2022-05-25T21:15:37.334Z] 0eba1c9be4d2: Download complete [2022-05-25T21:15:37.902Z] 85a0685a4137: Verifying Checksum [2022-05-25T21:15:37.902Z] 85a0685a4137: Download complete [2022-05-25T21:15:40.439Z] 0eba1c9be4d2: Pull complete [2022-05-25T21:15:40.439Z] 0d57e429df01: Pull complete [2022-05-25T21:15:40.700Z] 4e4be7b47b0d: Pull complete [2022-05-25T21:15:40.960Z] e1f770b5df2f: Pull complete [2022-05-25T21:15:44.251Z] 85a0685a4137: Pull complete [2022-05-25T21:15:44.251Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-25T21:15:44.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-25T21:15:44.251Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:15:44.347Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:15:44.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-25T21:15:46.586Z] $ docker top 53e599956f26720acc4c6daae96be9952db4f21ed17bda7b082eaf34ca085c67 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-25T21:15:46.663Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-25T21:15:46.946Z] + set -o pipefail [2022-05-25T21:15:46.946Z] + snyk monitor '--org=edgex-jenkins' [2022-05-25T21:15:49.493Z] [2022-05-25T21:15:49.493Z] Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... [2022-05-25T21:15:49.493Z] [2022-05-25T21:15:49.493Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/1aa36a6f-1de0-4244-844f-38bd9ad7d505 [2022-05-25T21:15:49.493Z] [2022-05-25T21:15:49.493Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-25T21:15:49.493Z] [2022-05-25T21:15:49.493Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-25T21:15:49.493Z] [2022-05-25T21:15:50.068Z] [Pipeline] } [2022-05-25T21:15:50.098Z] $ docker stop --time=1 53e599956f26720acc4c6daae96be9952db4f21ed17bda7b082eaf34ca085c67 [2022-05-25T21:15:51.562Z] $ docker rm -f 53e599956f26720acc4c6daae96be9952db4f21ed17bda7b082eaf34ca085c67 [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-05-25T21:15:51.708Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T21:15:51.716Z] provisioning config files... [2022-05-25T21:15:51.731Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1615645082138427079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:15:52.034Z] --> edgex-publish-swagger.sh [2022-05-25T21:15:52.034Z] === Publish openapi/v2 API === [2022-05-25T21:15:52.034Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-05-25T21:15:52.034Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] [2022-05-25T21:15:52.034Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-25T21:15:52.034Z] Dload Upload Total Spent Left Speed [2022-05-25T21:15:52.977Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 53699 --:--:-- --:--:-- --:--:-- 53643 100 51659 0 0 100 51659 0 53699 --:--:-- --:--:-- --:--:-- 53643 [2022-05-25T21:15:52.977Z] [2022-05-25T21:15:52.977Z] [Pipeline] } [2022-05-25T21:15:52.986Z] 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-05-25T21:15:53.366Z] + git log --format=format:%s -1 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] sh [2022-05-25T21:15:53.661Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-25T21:15:53.661Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:53.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T21:15:53.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:15:54.051Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:15:54.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-25T21:15:54.487Z] $ docker top 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-25T21:15:54.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T21:15:54.592Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T21:15:54.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T21:15:54.730Z] $ docker exec 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 ssh-agent [2022-05-25T21:15:54.848Z] SSH_AUTH_SOCK=/tmp/ssh-sVzHLnFKaKDj/agent.33 [2022-05-25T21:15:54.848Z] SSH_AGENT_PID=40 [2022-05-25T21:15:54.854Z] Running ssh-add (command line suppressed) [2022-05-25T21:15:54.975Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1480470866643450536.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1480470866643450536.key) [2022-05-25T21:15:54.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T21:15:55.276Z] + git semver tag [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,490 [run_tag] DEBUG tag force:False [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,491 [check_head_tag] DEBUG check head tag [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,491 [execute] INFO git cat-file --batch-check [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,495 [execute] INFO git cat-file --batch [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,506 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,507 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,507 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-05-25T21:15:55.538Z] 2022-05-25 21:15:55,512 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:15:55.538Z] 2.1.1-dev.2 [Pipeline] } [2022-05-25T21:15:55.555Z] $ docker exec --env ******** --env ******** 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 ssh-agent -k [2022-05-25T21:15:55.666Z] unset SSH_AUTH_SOCK; [2022-05-25T21:15:55.666Z] unset SSH_AGENT_PID; [2022-05-25T21:15:55.666Z] echo Agent pid 40 killed; [2022-05-25T21:15:55.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-25T21:15:55.986Z] + git semver [Pipeline] } [2022-05-25T21:15:56.268Z] $ docker stop --time=1 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 [2022-05-25T21:15:57.573Z] $ docker rm -f 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:57.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-25T21:15:57.955Z] [2022-05-25T21:15:57.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:15:58.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-25T21:15:58.258Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-25T21:15:58.258Z] ab5ef0e58194: Pulling fs layer [2022-05-25T21:15:58.258Z] 9712f1f96733: Pulling fs layer [2022-05-25T21:15:58.258Z] 63f879dbbcfc: Pulling fs layer [2022-05-25T21:15:58.258Z] 0d9ebad4ef96: Pulling fs layer [2022-05-25T21:15:58.258Z] e9a5061849ea: Pulling fs layer [2022-05-25T21:15:58.258Z] d747dcd14b5f: Pulling fs layer [2022-05-25T21:15:58.258Z] 2de7ff778b66: Pulling fs layer [2022-05-25T21:15:58.258Z] e9a5061849ea: Waiting [2022-05-25T21:15:58.258Z] 0d9ebad4ef96: Waiting [2022-05-25T21:15:58.258Z] 2de7ff778b66: Waiting [2022-05-25T21:15:58.258Z] 9712f1f96733: Verifying Checksum [2022-05-25T21:15:58.258Z] 9712f1f96733: Download complete [2022-05-25T21:15:58.519Z] 63f879dbbcfc: Verifying Checksum [2022-05-25T21:15:58.519Z] 63f879dbbcfc: Download complete [2022-05-25T21:15:58.779Z] 0d9ebad4ef96: Verifying Checksum [2022-05-25T21:15:58.779Z] 0d9ebad4ef96: Download complete [2022-05-25T21:15:58.779Z] e9a5061849ea: Verifying Checksum [2022-05-25T21:15:58.779Z] e9a5061849ea: Download complete [2022-05-25T21:15:58.779Z] d747dcd14b5f: Verifying Checksum [2022-05-25T21:15:58.779Z] d747dcd14b5f: Download complete [2022-05-25T21:15:59.038Z] 2de7ff778b66: Verifying Checksum [2022-05-25T21:15:59.038Z] 2de7ff778b66: Download complete [2022-05-25T21:15:59.038Z] ab5ef0e58194: Download complete [2022-05-25T21:16:02.341Z] ab5ef0e58194: Pull complete [2022-05-25T21:16:02.341Z] 9712f1f96733: Pull complete [2022-05-25T21:16:02.599Z] 63f879dbbcfc: Pull complete [2022-05-25T21:16:06.796Z] 0d9ebad4ef96: Pull complete [2022-05-25T21:16:06.796Z] e9a5061849ea: Pull complete [2022-05-25T21:16:06.796Z] d747dcd14b5f: Pull complete [2022-05-25T21:16:07.734Z] 2de7ff778b66: Pull complete [2022-05-25T21:16:07.734Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-25T21:16:07.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-25T21:16:07.734Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:16:07.829Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:16:07.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-25T21:16:10.094Z] $ docker top 5faa36f97c01766f9f35a35fd42a4cae9ba5b7f52d6de89e3ae02b5b93649bea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-25T21:16:10.169Z] provisioning config files... [2022-05-25T21:16:10.177Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config4353847434182899975tmp [2022-05-25T21:16:10.187Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config706573808821787872tmp [2022-05-25T21:16:10.198Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config9133160200597356992tmp [Pipeline] { [Pipeline] echo [2022-05-25T21:16:10.213Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:10.506Z] ---> sigul-configuration.sh [2022-05-25T21:16:10.506Z] gpg: directory `/root/.gnupg' created [2022-05-25T21:16:10.506Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-25T21:16:10.506Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-25T21:16:10.506Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-25T21:16:10.506Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-25T21:16:10.506Z] gpg: CAST5 encrypted data [2022-05-25T21:16:10.506Z] gpg: encrypted with 1 passphrase [2022-05-25T21:16:10.506Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-25T21:16:10.793Z] + mkdir /home/jenkins [2022-05-25T21:16:10.794Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-25T21:16:11.082Z] + 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-05-25T21:16:11.091Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:11.380Z] ---> sigul-install.sh [2022-05-25T21:16:11.380Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-25T21:16:11.668Z] + git tag --list [2022-05-25T21:16:11.668Z] 0.7.1 [2022-05-25T21:16:11.668Z] delhi-tag [2022-05-25T21:16:11.668Z] v1.0.0 [2022-05-25T21:16:11.668Z] v1.1.0 [2022-05-25T21:16:11.668Z] v1.1.1 [2022-05-25T21:16:11.668Z] v1.1.2 [2022-05-25T21:16:11.668Z] v1.2.0 [2022-05-25T21:16:11.668Z] v1.2.1 [2022-05-25T21:16:11.668Z] v1.2.2 [2022-05-25T21:16:11.668Z] v1.2.3 [2022-05-25T21:16:11.668Z] v1.3.0 [2022-05-25T21:16:11.668Z] v1.4.0 [2022-05-25T21:16:11.668Z] v2.0.0 [2022-05-25T21:16:11.668Z] v2.1.0 [2022-05-25T21:16:11.668Z] v2.1.1-dev.2 [2022-05-25T21:16:11.668Z] v2.2.0 [2022-05-25T21:16:11.668Z] v2.2.1-dev.1 [2022-05-25T21:16:11.668Z] v2.2.1-dev.2 [Pipeline] sh [2022-05-25T21:16:11.954Z] + lftools sign git-tag v2.1.1-dev.2 [2022-05-25T21:16:12.524Z] Signing Git tag with Sigul... [2022-05-25T21:16:12.524Z] Signing v2.1.1-dev.2 [Pipeline] echo [2022-05-25T21:16:12.793Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:13.081Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-25T21:16:13.088Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-25T21:16:13.116Z] $ docker stop --time=1 5faa36f97c01766f9f35a35fd42a4cae9ba5b7f52d6de89e3ae02b5b93649bea [2022-05-25T21:16:14.416Z] $ docker rm -f 5faa36f97c01766f9f35a35fd42a4cae9ba5b7f52d6de89e3ae02b5b93649bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-25T21:16:14.820Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-25T21:16:14.820Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:16:15.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T21:16:15.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:16:15.208Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:16:15.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-25T21:16:15.621Z] $ docker top 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-25T21:16:15.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T21:16:15.716Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T21:16:15.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T21:16:15.853Z] $ docker exec 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 ssh-agent [2022-05-25T21:16:15.952Z] SSH_AUTH_SOCK=/tmp/ssh-D046yS8MVqPP/agent.33 [2022-05-25T21:16:15.952Z] SSH_AGENT_PID=39 [2022-05-25T21:16:15.957Z] Running ssh-add (command line suppressed) [2022-05-25T21:16:16.081Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4106476225045884895.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4106476225045884895.key) [2022-05-25T21:16:16.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T21:16:16.385Z] + git semver bump pre [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,603 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,603 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,603 [bump_version] DEBUG bumped version:2.1.1-dev.3 [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,604 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:True [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,604 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,604 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,605 [execute] INFO git cat-file --batch-check [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,611 [execute] INFO git cat-file --batch [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-05-25T21:16:16.646Z] 2022-05-25 21:16:16,618 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:16:16.646Z] 2.1.1-dev.3 [Pipeline] } [2022-05-25T21:16:16.663Z] $ docker exec --env ******** --env ******** 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 ssh-agent -k [2022-05-25T21:16:16.774Z] unset SSH_AUTH_SOCK; [2022-05-25T21:16:16.775Z] unset SSH_AGENT_PID; [2022-05-25T21:16:16.775Z] echo Agent pid 39 killed; [2022-05-25T21:16:16.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-25T21:16:17.087Z] + git semver [Pipeline] } [2022-05-25T21:16:17.370Z] $ docker stop --time=1 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 [2022-05-25T21:16:18.728Z] $ docker rm -f 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T21:16:19.089Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-25T21:16:19.089Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:16:19.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T21:16:19.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:16:19.466Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:16:19.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-25T21:16:19.884Z] $ docker top b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-25T21:16:19.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T21:16:19.972Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T21:16:20.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T21:16:20.106Z] $ docker exec b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d ssh-agent [2022-05-25T21:16:20.221Z] SSH_AUTH_SOCK=/tmp/ssh-0cpiAg0Gb3Ol/agent.34 [2022-05-25T21:16:20.221Z] SSH_AGENT_PID=40 [2022-05-25T21:16:20.227Z] Running ssh-add (command line suppressed) [2022-05-25T21:16:20.357Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_5673684777480388172.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_5673684777480388172.key) [2022-05-25T21:16:20.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T21:16:20.657Z] + git semver push [2022-05-25T21:16:20.919Z] 2022-05-25 21:16:20,855 [run_push] DEBUG push [2022-05-25T21:16:20.919Z] 2022-05-25 21:16:20,855 [execute] INFO git push origin semver [2022-05-25T21:16:20.919Z] 2022-05-25 21:16:20,856 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-25T21:16:21.860Z] 2022-05-25 21:16:21,567 [run_push] DEBUG push all version tags [2022-05-25T21:16:21.860Z] 2022-05-25 21:16:21,568 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-25T21:16:21.860Z] 2022-05-25 21:16:21,568 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-05-25T21:16:22.431Z] 2022-05-25 21:16:22,348 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta [2022-05-25T21:16:22.432Z] 2.1.1-dev.3 [Pipeline] } [2022-05-25T21:16:22.450Z] $ docker exec --env ******** --env ******** b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d ssh-agent -k [2022-05-25T21:16:22.575Z] unset SSH_AUTH_SOCK; [2022-05-25T21:16:22.575Z] unset SSH_AGENT_PID; [2022-05-25T21:16:22.575Z] echo Agent pid 40 killed; [2022-05-25T21:16:22.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-25T21:16:22.883Z] + git semver [Pipeline] } [2022-05-25T21:16:23.163Z] $ docker stop --time=1 b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d [2022-05-25T21:16:24.499Z] $ docker rm -f b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d [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-05-25T21:16:25.020Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ] [2022-05-25T21:16:25.020Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives [2022-05-25T21:16:25.020Z] total 16 [2022-05-25T21:16:25.020Z] drwxr-xr-x 3 root root 4096 May 25 21:09 . [2022-05-25T21:16:25.020Z] drwxrwxr-x 13 jenkins jenkins 4096 May 25 21:16 .. [2022-05-25T21:16:25.020Z] drwxr-xr-x 2 root root 4096 May 25 21:09 cost [2022-05-25T21:16:25.020Z] -rw-r--r-- 1 root root 85 May 25 21:09 cost.csv [2022-05-25T21:16:25.020Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_jakarta/archives [2022-05-25T21:16:25.020Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives [2022-05-25T21:16:25.020Z] total 16 [2022-05-25T21:16:25.020Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 21:09 . [2022-05-25T21:16:25.020Z] drwxrwxr-x 13 jenkins jenkins 4096 May 25 21:16 .. [2022-05-25T21:16:25.020Z] drwxr-xr-x 2 jenkins jenkins 4096 May 25 21:09 cost [2022-05-25T21:16:25.020Z] -rw-r--r-- 1 jenkins jenkins 85 May 25 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:25.310Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:26.172Z] ---> package-listing.sh [2022-05-25T21:16:26.172Z] ++ facter osfamily [2022-05-25T21:16:26.172Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-25T21:16:26.433Z] + OS_FAMILY=debian [2022-05-25T21:16:26.433Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta [2022-05-25T21:16:26.433Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-25T21:16:26.433Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-25T21:16:26.433Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-25T21:16:26.433Z] + PACKAGES=/tmp/packages_start.txt [2022-05-25T21:16:26.433Z] + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' [2022-05-25T21:16:26.433Z] + PACKAGES=/tmp/packages_end.txt [2022-05-25T21:16:26.433Z] + case "${OS_FAMILY}" in [2022-05-25T21:16:26.433Z] + dpkg -l [2022-05-25T21:16:26.433Z] + grep '^ii' [2022-05-25T21:16:26.433Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-25T21:16:26.433Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-25T21:16:26.433Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-25T21:16:26.433Z] + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' [2022-05-25T21:16:26.433Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [2022-05-25T21:16:26.433Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo [2022-05-25T21:16:26.444Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-25T21:16:26.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T21:16:27.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T21:16:27.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T21:16:27.202Z] prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container [2022-05-25T21:16:27.241Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-25T21:16:27.469Z] $ docker top 8be8c5d6080db273a2de2bf5f3adef811c30079467ce4d6423e193c3fd4fe2de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-25T21:16:27.826Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-25T21:16:28.114Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-25T21:16:28.399Z] + ls /var/log/sa-host [2022-05-25T21:16:28.399Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T21:16:28.545Z] provisioning config files... [2022-05-25T21:16:28.554Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7154025837367563521tmp [Pipeline] { [Pipeline] echo [2022-05-25T21:16:28.570Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:28.858Z] ---> create-netrc.sh [Pipeline] } [2022-05-25T21:16:28.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:29.201Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-25T21:16:29.210Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:29.500Z] ---> sudo-logs.sh [2022-05-25T21:16:29.500Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-25T21:16:29.531Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:29.819Z] ---> job-cost.sh [2022-05-25T21:16:29.819Z] lf-activate-venv: SKIPPING [2022-05-25T21:16:29.819Z] DEBUG: total: 0.2199999988079071 [2022-05-25T21:16:29.819Z] INFO: Retrieving Stack Cost... [2022-05-25T21:16:30.392Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-25T21:16:30.654Z] INFO: Archiving Costs [Pipeline] echo [2022-05-25T21:16:30.666Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T21:16:30.947Z] ---> logs-deploy.sh [2022-05-25T21:16:30.947Z] lf-activate-venv: SKIPPING [2022-05-25T21:16:30.947Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/6 [2022-05-25T21:16:30.947Z] INFO: archiving workspace using pattern(s): [2022-05-25T21:16:31.885Z] Archives upload complete. [2022-05-25T21:16:31.885Z] INFO: archiving logs to Nexus