Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99a726dbba9fddcd6b6c26c7337937a12db69607 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-ssh2443428050070286725.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14082445864850290632.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8489303296397160486.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9829617311214609783.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10288116524815912082.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33429 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 99a726dbba9fddcd6b6c26c7337937a12db69607 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 Commit message: "Merge pull request #1148 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.18" > git rev-list --no-walk f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T04:26:00.934Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T04:26:00.994Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T04:26:01.011Z] ========================================================= [2022-04-27T04:26:01.011Z] EdgeX Global Pipelines Version Info [2022-04-27T04:26:01.011Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:26:01.764Z] ------------------- [2022-04-27T04:26:01.764Z] stable info: [2022-04-27T04:26:01.764Z] ------------------- [2022-04-27T04:26:01.764Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T04:26:01.764Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T04:26:01.764Z] Message: update stable to v1.0.221 [2022-04-27T04:26:02.338Z] ------------------- [2022-04-27T04:26:02.338Z] experimental info: [2022-04-27T04:26:02.338Z] ------------------- [2022-04-27T04:26:02.338Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T04:26:02.338Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T04:26:02.338Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T04:26:02.472Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-27T04:26:02.486Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-27T04:26:02.501Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T04:26:02.516Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T04:26:02.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T04:26:02.544Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T04:26:02.559Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T04:26:02.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-27T04:26:02.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T04:26:02.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T04:26:02.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T04:26:02.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-27T04:26:02.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T04:26:02.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T04:26:02.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T04:26:02.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:26:02.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:26:02.700Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:26:02.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T04:26:02.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T04:26:02.739Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-27T04:26:02.753Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-27T04:26:02.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T04:26:02.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T04:26:02.794Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T04:26:02.806Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T04:26:02.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-27T04:26:02.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-27T04:26:02.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-27T04:26:02.868Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99a726dbba9fddcd6b6c26c7337937a12db69607 [Pipeline] echo [2022-04-27T04:26:02.887Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99a726d [Pipeline] echo [2022-04-27T04:26:02.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:26:02.955Z] provisioning config files... [2022-04-27T04:26:02.972Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1109748411594360200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:26:03.358Z] ---> docker-login.sh [2022-04-27T04:26:03.358Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:26:03.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:03.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:03.620Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:03.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:03.620Z] [2022-04-27T04:26:03.620Z] Login Succeeded [2022-04-27T04:26:03.620Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:26:03.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:03.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:03.881Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:03.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:03.881Z] [2022-04-27T04:26:03.881Z] Login Succeeded [2022-04-27T04:26:03.881Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:26:03.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:03.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:03.882Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:03.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:03.882Z] [2022-04-27T04:26:03.882Z] Login Succeeded [2022-04-27T04:26:03.882Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:26:04.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:04.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:04.143Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:04.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:04.143Z] [2022-04-27T04:26:04.143Z] Login Succeeded [2022-04-27T04:26:04.143Z] docker.io [2022-04-27T04:26:04.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:04.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:04.714Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:04.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:04.714Z] [2022-04-27T04:26:04.714Z] Login Succeeded [2022-04-27T04:26:04.714Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:26:04.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T04:26:05.121Z] + git rev-list -1 --merges 99a726dbba9fddcd6b6c26c7337937a12db69607~1..99a726dbba9fddcd6b6c26c7337937a12db69607 [Pipeline] echo [2022-04-27T04:26:05.151Z] -----------> git rev-list -1 --merges 99a726dbba9fddcd6b6c26c7337937a12db69607~1..99a726dbba9fddcd6b6c26c7337937a12db69607 99a726dbba9fddcd6b6c26c7337937a12db69607 [2022-04-27T04:26:05.151Z] 99a726dbba9fddcd6b6c26c7337937a12db69607 [false] [Pipeline] sh [2022-04-27T04:26:05.446Z] + git log --format=format:%s -1 99a726dbba9fddcd6b6c26c7337937a12db69607 [Pipeline] echo [2022-04-27T04:26:05.461Z] ========================================================= [2022-04-27T04:26:05.461Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T04:26:05.461Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:26:05.800Z] + git log --format=format:%s -1 99a726dbba9fddcd6b6c26c7337937a12db69607 [Pipeline] echo [2022-04-27T04:26:05.813Z] [semverPrep] GIT_COMMIT: 99a726dbba9fddcd6b6c26c7337937a12db69607, Commit Message: Merge pull request #1148 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.18 [Pipeline] echo [2022-04-27T04:26:05.825Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T04:26:06.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:26:06.258Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T04:26:06.258Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T04:26:06.258Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T04:26:06.258Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T04:26:06.258Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T04:26:06.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:06.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:26:06.686Z] [2022-04-27T04:26:06.686Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:06.995Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:26:06.995Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T04:26:06.995Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T04:26:06.995Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T04:26:06.995Z] 4c7163046ea9: Pulling fs layer [2022-04-27T04:26:06.995Z] 0c2d73faf560: Pulling fs layer [2022-04-27T04:26:06.995Z] 0c2d73faf560: Waiting [2022-04-27T04:26:06.995Z] 3e5f54012d9b: Download complete [2022-04-27T04:26:06.995Z] a0d0a0d46f8b: Download complete [2022-04-27T04:26:06.995Z] 0c2d73faf560: Verifying Checksum [2022-04-27T04:26:06.995Z] 0c2d73faf560: Download complete [2022-04-27T04:26:06.995Z] 4c7163046ea9: Verifying Checksum [2022-04-27T04:26:06.995Z] 4c7163046ea9: Download complete [2022-04-27T04:26:07.258Z] a0d0a0d46f8b: Pull complete [2022-04-27T04:26:07.258Z] 3e5f54012d9b: Pull complete [2022-04-27T04:26:07.521Z] 4c7163046ea9: Pull complete [2022-04-27T04:26:07.784Z] 0c2d73faf560: Pull complete [2022-04-27T04:26:07.784Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T04:26:07.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:26:07.784Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T04:26:07.858Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:26:07.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:26:08.659Z] $ docker top 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:26:08.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:26:08.769Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:26:08.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:26:08.912Z] $ docker exec 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 ssh-agent [2022-04-27T04:26:09.029Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhKhmeJ/agent.15 [2022-04-27T04:26:09.029Z] SSH_AGENT_PID=22 [2022-04-27T04:26:09.036Z] Running ssh-add (command line suppressed) [2022-04-27T04:26:09.154Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6099890094086403552.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6099890094086403552.key) [2022-04-27T04:26:09.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:26:09.456Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T04:26:09.484Z] $ docker exec --env ******** --env ******** 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 ssh-agent -k [2022-04-27T04:26:09.603Z] unset SSH_AUTH_SOCK; [2022-04-27T04:26:09.604Z] unset SSH_AGENT_PID; [2022-04-27T04:26:09.604Z] echo Agent pid 22 killed; [2022-04-27T04:26:09.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T04:26:09.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:26:09.641Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:26:09.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:26:09.787Z] $ docker exec 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 ssh-agent [2022-04-27T04:26:09.905Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNCAkGK/agent.55 [2022-04-27T04:26:09.905Z] SSH_AGENT_PID=61 [2022-04-27T04:26:09.912Z] Running ssh-add (command line suppressed) [2022-04-27T04:26:10.035Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6974876674166456711.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6974876674166456711.key) [2022-04-27T04:26:10.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:26:10.340Z] + git semver init [2022-04-27T04:26:10.340Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:26:10.340Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-27T04:26:10.340Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-27T04:26:10.340Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:26:10.340Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:26:10.340Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:26:10.340Z] # $SEMVER_BRANCH = main [2022-04-27T04:26:10.340Z] # $SEMVER_TEMP = /tmp/semver-089151946 [2022-04-27T04:26:10.340Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-27T04:26:11.282Z] # '/tmp/semver-089151946' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-27T04:26:11.282Z] # -> Force: false [2022-04-27T04:26:11.282Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-27T04:26:11.298Z] $ docker exec --env ******** --env ******** 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 ssh-agent -k [2022-04-27T04:26:11.413Z] unset SSH_AUTH_SOCK; [2022-04-27T04:26:11.413Z] unset SSH_AGENT_PID; [2022-04-27T04:26:11.413Z] echo Agent pid 61 killed; [2022-04-27T04:26:11.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:26:11.736Z] + git semver [Pipeline] } [2022-04-27T04:26:11.758Z] $ docker stop --time=1 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 [2022-04-27T04:26:13.129Z] $ docker rm -f 3813f188ce60a14d23301b245aabb9cbb35dea7b4166908afc11fc0485ac1806 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:26:13.498Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T04:26:13.766Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T04:26:13.770Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.33 [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-04-27T04:26:13.944Z] provisioning config files... [2022-04-27T04:26:13.955Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6403293942080599842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:26:14.259Z] ---> docker-login.sh [2022-04-27T04:26:14.259Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:26:14.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:14.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:14.259Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:14.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:14.259Z] [2022-04-27T04:26:14.259Z] Login Succeeded [2022-04-27T04:26:14.259Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:26:14.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:14.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:14.521Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:14.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:14.521Z] [2022-04-27T04:26:14.521Z] Login Succeeded [2022-04-27T04:26:14.521Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:26:14.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:14.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:14.521Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:14.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:14.521Z] [2022-04-27T04:26:14.521Z] Login Succeeded [2022-04-27T04:26:14.521Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:26:14.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:14.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:14.784Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:14.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:14.784Z] [2022-04-27T04:26:14.784Z] Login Succeeded [2022-04-27T04:26:14.784Z] docker.io [2022-04-27T04:26:14.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:15.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:15.045Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:15.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:15.045Z] [2022-04-27T04:26:15.045Z] Login Succeeded [2022-04-27T04:26:15.045Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:26:15.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:26:15.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:26:15.138Z] ========================================================= [2022-04-27T04:26:15.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T04:26:15.138Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:15.454Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T04:26:15.454Z] Sending build context to Docker daemon 9.626MB [2022-04-27T04:26:15.454Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:26:15.454Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:26:15.717Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T04:26:15.717Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T04:26:15.717Z] 666ba61612fd: Pulling fs layer [2022-04-27T04:26:15.717Z] 8ed8ca486205: Pulling fs layer [2022-04-27T04:26:15.717Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T04:26:15.717Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T04:26:15.717Z] ca2b28591e48: Pulling fs layer [2022-04-27T04:26:15.717Z] a51346096db8: Pulling fs layer [2022-04-27T04:26:15.717Z] daebc70d1ce1: Pulling fs layer [2022-04-27T04:26:15.717Z] 0e18a0eac166: Pulling fs layer [2022-04-27T04:26:15.717Z] 22a0e8bec74d: Waiting [2022-04-27T04:26:15.717Z] ca2b28591e48: Waiting [2022-04-27T04:26:15.717Z] a51346096db8: Waiting [2022-04-27T04:26:15.717Z] daebc70d1ce1: Waiting [2022-04-27T04:26:15.717Z] 4fe6c5a15a65: Waiting [2022-04-27T04:26:15.717Z] 8ed8ca486205: Verifying Checksum [2022-04-27T04:26:15.717Z] 8ed8ca486205: Download complete [2022-04-27T04:26:15.717Z] 666ba61612fd: Verifying Checksum [2022-04-27T04:26:15.717Z] 666ba61612fd: Download complete [2022-04-27T04:26:15.717Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T04:26:15.717Z] 22a0e8bec74d: Download complete [2022-04-27T04:26:15.717Z] ca2b28591e48: Verifying Checksum [2022-04-27T04:26:15.717Z] ca2b28591e48: Download complete [2022-04-27T04:26:15.717Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T04:26:15.717Z] 59bf1c3509f3: Download complete [2022-04-27T04:26:15.717Z] a51346096db8: Verifying Checksum [2022-04-27T04:26:15.717Z] a51346096db8: Download complete [2022-04-27T04:26:15.717Z] daebc70d1ce1: Verifying Checksum [2022-04-27T04:26:15.717Z] daebc70d1ce1: Download complete [2022-04-27T04:26:15.717Z] 59bf1c3509f3: Pull complete [2022-04-27T04:26:15.979Z] 666ba61612fd: Pull complete [2022-04-27T04:26:15.979Z] 8ed8ca486205: Pull complete [2022-04-27T04:26:16.554Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T04:26:16.554Z] 4fe6c5a15a65: Download complete [2022-04-27T04:26:16.554Z] 0e18a0eac166: Verifying Checksum [2022-04-27T04:26:16.554Z] 0e18a0eac166: Download complete [2022-04-27T04:26:20.777Z] 4fe6c5a15a65: Pull complete [2022-04-27T04:26:20.777Z] 22a0e8bec74d: Pull complete [2022-04-27T04:26:20.777Z] ca2b28591e48: Pull complete [2022-04-27T04:26:20.777Z] a51346096db8: Pull complete [2022-04-27T04:26:20.777Z] daebc70d1ce1: Pull complete [2022-04-27T04:26:23.316Z] 0e18a0eac166: Pull complete [2022-04-27T04:26:23.316Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T04:26:23.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T04:26:23.316Z] ---> f018257e8ee9 [2022-04-27T04:26:23.316Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:26:24.697Z] ---> Running in ab6f46744577 [2022-04-27T04:26:24.697Z] Removing intermediate container ab6f46744577 [2022-04-27T04:26:24.697Z] ---> 79649cdfa4ac [2022-04-27T04:26:24.697Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:26:24.958Z] ---> Running in 3a92898aa77e [2022-04-27T04:26:24.958Z] Removing intermediate container 3a92898aa77e [2022-04-27T04:26:24.958Z] ---> ed4b64ae8ffb [2022-04-27T04:26:24.958Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:26:24.958Z] ---> Running in c33828261c8e [2022-04-27T04:26:24.958Z] Removing intermediate container c33828261c8e [2022-04-27T04:26:24.958Z] ---> e488a7c52daf [2022-04-27T04:26:24.958Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:26:24.958Z] ---> Running in cb7a7671b7bd [2022-04-27T04:26:25.530Z] Removing intermediate container cb7a7671b7bd [2022-04-27T04:26:25.530Z] ---> d98651103fc3 [2022-04-27T04:26:25.530Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:26:25.791Z] ---> Running in 254206f11234 [2022-04-27T04:26:26.051Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:26:26.625Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:26:27.197Z] OK: 221 MiB in 52 packages [2022-04-27T04:26:27.461Z] Removing intermediate container 254206f11234 [2022-04-27T04:26:27.461Z] ---> 807451c99d5f [2022-04-27T04:26:27.461Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:26:27.461Z] ---> 2bf2cf444981 [2022-04-27T04:26:27.461Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:26:27.726Z] ---> Running in afce97646575 [2022-04-27T04:26:28.890Z] Still waiting to schedule task [2022-04-27T04:26:28.890Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-27T04:26:42.651Z] Removing intermediate container afce97646575 [2022-04-27T04:26:42.651Z] ---> 33d5b2303e11 [2022-04-27T04:26:42.651Z] Step 10/11 : COPY . . [2022-04-27T04:26:42.651Z] ---> 598050056c3e [2022-04-27T04:26:42.651Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:26:42.651Z] ---> Running in 84c5af813707 [2022-04-27T04:26:42.651Z] noop [2022-04-27T04:26:42.651Z] Removing intermediate container 84c5af813707 [2022-04-27T04:26:42.651Z] ---> 43ddd49423f5 [2022-04-27T04:26:42.651Z] Successfully built 43ddd49423f5 [2022-04-27T04:26:42.651Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:42.962Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:26:42.962Z] . [Pipeline] withDockerContainer [2022-04-27T04:26:43.033Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:26:43.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-27T04:26:43.486Z] $ docker top 38dfad1384fb926eb76a286a90646cf531e948d93b47fc8445dbc5a6c6bfb02a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:26:43.844Z] + go version [2022-04-27T04:26:43.844Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T04:26:43.862Z] $ docker stop --time=1 38dfad1384fb926eb76a286a90646cf531e948d93b47fc8445dbc5a6c6bfb02a [2022-04-27T04:26:45.179Z] $ docker rm -f 38dfad1384fb926eb76a286a90646cf531e948d93b47fc8445dbc5a6c6bfb02a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:45.560Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:26:45.560Z] . [Pipeline] withDockerContainer [2022-04-27T04:26:45.633Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:26:45.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-27T04:26:46.098Z] $ docker top db254f463cd279f7164fa0eb16446c81c8f7a250b134763d657b310d2becae0d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:26:46.471Z] + make test [2022-04-27T04:26:46.471Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:26:51.842Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:27:04.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:27:04.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:27:04.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:27:04.057Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.100s coverage: 23.3% of statements [2022-04-27T04:27:04.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:27:04.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-04-27T04:27:04.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-04-27T04:27:04.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.071s coverage: 10.8% of statements [2022-04-27T04:27:04.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.119s coverage: 60.0% of statements [2022-04-27T04:27:04.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:27:04.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:27:04.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 34.8% of statements [2022-04-27T04:27:04.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:27:04.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.079s coverage: 86.1% of statements [2022-04-27T04:27:04.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:27:04.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:27:04.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements [2022-04-27T04:27:04.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.882s coverage: 89.2% of statements [2022-04-27T04:27:04.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:27:04.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-04-27T04:27:04.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:27:19.777Z] GO111MODULE=on go vet ./... [2022-04-27T04:27:23.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:27:23.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:27:23.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:27:23.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:27:23.362Z] $ docker stop --time=1 db254f463cd279f7164fa0eb16446c81c8f7a250b134763d657b310d2becae0d [2022-04-27T04:27:25.500Z] $ docker rm -f db254f463cd279f7164fa0eb16446c81c8f7a250b134763d657b310d2becae0d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:27:25.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:27:26.059Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T04:27:27.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:27:27.397Z] + ls -al . [2022-04-27T04:27:27.397Z] total 316 [2022-04-27T04:27:27.397Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:27 . [2022-04-27T04:27:27.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:25 .. [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:25 .dockerignore [2022-04-27T04:27:27.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:26 .git [2022-04-27T04:27:27.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:25 .github [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:25 .gitignore [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:25 .golangci.yml [2022-04-27T04:27:27.397Z] drwx------ 3 jenkins jenkins 4096 Apr 27 04:26 .semver [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:25 CHANGELOG.md [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:25 GOVERNANCE.md [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:25 Jenkinsfile [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:25 LICENSE [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:25 Makefile [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:25 OWNERS.md [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:25 README.md [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:26 VERSION [2022-04-27T04:27:27.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:25 bin [2022-04-27T04:27:27.397Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:27 coverage.out [2022-04-27T04:27:27.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:25 example [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:25 go.mod [2022-04-27T04:27:27.397Z] -rw-rw-r-- 1 jenkins jenkins 53758 Apr 27 04:25 go.sum [2022-04-27T04:27:27.397Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:25 internal [2022-04-27T04:27:27.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:25 openapi [2022-04-27T04:27:27.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:25 pkg [2022-04-27T04:27:27.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:25 snap [2022-04-27T04:27:27.398Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:27:27.691Z] + 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=99a726dbba9fddcd6b6c26c7337937a12db69607 --label arch=amd64 --label version=2.2.0-dev.33 . [2022-04-27T04:27:27.691Z] Sending build context to Docker daemon 9.757MB [2022-04-27T04:27:27.691Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:27:27.691Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:27:27.691Z] ---> 43ddd49423f5 [2022-04-27T04:27:27.691Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:27:27.691Z] ---> Running in 991be609d0e7 [2022-04-27T04:27:27.953Z] Removing intermediate container 991be609d0e7 [2022-04-27T04:27:27.953Z] ---> 72a4e7b2be3a [2022-04-27T04:27:27.953Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:27:27.953Z] ---> Running in 7841086ea5a9 [2022-04-27T04:27:27.953Z] Removing intermediate container 7841086ea5a9 [2022-04-27T04:27:27.953Z] ---> fa3fd08d03a0 [2022-04-27T04:27:27.953Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:27:27.953Z] ---> Running in 8ff4aeea90d8 [2022-04-27T04:27:28.213Z] Removing intermediate container 8ff4aeea90d8 [2022-04-27T04:27:28.213Z] ---> c27e760db9f8 [2022-04-27T04:27:28.213Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:27:28.213Z] ---> Running in e66391b07054 [2022-04-27T04:27:28.782Z] Removing intermediate container e66391b07054 [2022-04-27T04:27:28.782Z] ---> df3cf410b0f5 [2022-04-27T04:27:28.782Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:27:28.782Z] ---> Running in 3aabae66ed4d [2022-04-27T04:27:29.042Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:27:29.984Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:27:30.245Z] OK: 221 MiB in 52 packages [2022-04-27T04:27:30.506Z] Removing intermediate container 3aabae66ed4d [2022-04-27T04:27:30.506Z] ---> fca456a1c56d [2022-04-27T04:27:30.506Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:27:30.506Z] ---> f7b4edd18381 [2022-04-27T04:27:30.506Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:27:30.765Z] ---> Running in a96f00f8ee36 [2022-04-27T04:27:31.333Z] Removing intermediate container a96f00f8ee36 [2022-04-27T04:27:31.333Z] ---> a9525ca4e9b7 [2022-04-27T04:27:31.333Z] Step 10/25 : COPY . . [2022-04-27T04:27:31.595Z] ---> 834604db430f [2022-04-27T04:27:31.595Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:27:31.595Z] ---> Running in 7c3331b2d73e [2022-04-27T04:27:31.856Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.33" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-27T04:27:47.630Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:27:50.938Z] Removing intermediate container 7c3331b2d73e [2022-04-27T04:27:50.938Z] ---> d976de64a799 [2022-04-27T04:27:50.938Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:27:51.510Z] 3.14: Pulling from library/alpine [2022-04-27T04:27:51.510Z] 8663204ce13b: Pulling fs layer [2022-04-27T04:27:51.773Z] 8663204ce13b: Verifying Checksum [2022-04-27T04:27:51.773Z] 8663204ce13b: Download complete [2022-04-27T04:27:51.773Z] 8663204ce13b: Pull complete [2022-04-27T04:27:52.033Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:27:52.033Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:27:52.033Z] ---> e04c818066af [2022-04-27T04:27:52.033Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:27:52.033Z] ---> Running in 9c3c04a5789e [2022-04-27T04:27:52.033Z] Removing intermediate container 9c3c04a5789e [2022-04-27T04:27:52.033Z] ---> 3f1998570556 [2022-04-27T04:27:52.033Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:27:52.033Z] ---> Running in fbb356494029 [2022-04-27T04:27:52.604Z] Removing intermediate container fbb356494029 [2022-04-27T04:27:52.604Z] ---> d35cf9493108 [2022-04-27T04:27:52.604Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:27:52.604Z] ---> Running in 8fae85198237 [2022-04-27T04:27:52.864Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:27:53.806Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:27:54.065Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:27:54.326Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:27:54.326Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:27:54.326Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:27:54.587Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:27:54.587Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:27:54.587Z] OK: 8 MiB in 19 packages [2022-04-27T04:27:54.848Z] Removing intermediate container 8fae85198237 [2022-04-27T04:27:54.848Z] ---> 05a9c8e38e00 [2022-04-27T04:27:54.848Z] Step 16/25 : WORKDIR / [2022-04-27T04:27:55.108Z] ---> Running in f82c0fb5fe53 [2022-04-27T04:27:55.108Z] Removing intermediate container f82c0fb5fe53 [2022-04-27T04:27:55.108Z] ---> f809cd69ec2a [2022-04-27T04:27:55.108Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:27:55.368Z] ---> c5f67f19a7a9 [2022-04-27T04:27:55.368Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:27:55.938Z] ---> e1a09c0f1e3b [2022-04-27T04:27:55.938Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:27:55.938Z] ---> c5de1886d494 [2022-04-27T04:27:55.938Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:27:55.938Z] ---> Running in 4036afd45327 [2022-04-27T04:27:56.198Z] Removing intermediate container 4036afd45327 [2022-04-27T04:27:56.198Z] ---> 7d83421f53e1 [2022-04-27T04:27:56.198Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:27:56.198Z] ---> Running in 865366c7f326 [2022-04-27T04:27:56.198Z] Removing intermediate container 865366c7f326 [2022-04-27T04:27:56.198Z] ---> d7ec4ecaacd0 [2022-04-27T04:27:56.198Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:27:56.198Z] ---> Running in 35de4b040d0f [2022-04-27T04:27:56.457Z] Removing intermediate container 35de4b040d0f [2022-04-27T04:27:56.457Z] ---> 91954bfbae83 [2022-04-27T04:27:56.457Z] Step 23/25 : LABEL arch=amd64 [2022-04-27T04:27:56.457Z] ---> Running in 5cdb5714ddec [2022-04-27T04:27:56.457Z] Removing intermediate container 5cdb5714ddec [2022-04-27T04:27:56.457Z] ---> 09b95f9d4d23 [2022-04-27T04:27:56.457Z] Step 24/25 : LABEL git_sha=99a726dbba9fddcd6b6c26c7337937a12db69607 [2022-04-27T04:27:56.457Z] ---> Running in a2d93536a66f [2022-04-27T04:27:56.733Z] Removing intermediate container a2d93536a66f [2022-04-27T04:27:56.733Z] ---> 3d143e85a0ce [2022-04-27T04:27:56.733Z] Step 25/25 : LABEL version=2.2.0-dev.33 [2022-04-27T04:27:56.733Z] ---> Running in 2d6a7de75e4a [2022-04-27T04:27:56.733Z] Removing intermediate container 2d6a7de75e4a [2022-04-27T04:27:56.733Z] ---> 8774855e40af [2022-04-27T04:27:56.733Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:27:56.733Z] Successfully built 8774855e40af [2022-04-27T04:27:56.733Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:27:57.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:27:57.216Z] [2022-04-27T04:27:57.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:27:57.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:27:57.520Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T04:27:57.520Z] 5eb5b503b376: Pulling fs layer [2022-04-27T04:27:57.520Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T04:27:57.520Z] ec43610c2a17: Pulling fs layer [2022-04-27T04:27:57.520Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T04:27:57.520Z] 33b1e0a273af: Pulling fs layer [2022-04-27T04:27:57.520Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T04:27:57.520Z] 2f39f015ded8: Pulling fs layer [2022-04-27T04:27:57.520Z] 3a2ae6a8a46f: Waiting [2022-04-27T04:27:57.520Z] 33b1e0a273af: Waiting [2022-04-27T04:27:57.520Z] 5d3b04190fa2: Waiting [2022-04-27T04:27:57.520Z] 2f39f015ded8: Waiting [2022-04-27T04:27:57.520Z] 5c69ac0246d0: Download complete [2022-04-27T04:27:57.520Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T04:27:57.520Z] 3a2ae6a8a46f: Download complete [2022-04-27T04:27:57.520Z] 33b1e0a273af: Verifying Checksum [2022-04-27T04:27:57.520Z] 33b1e0a273af: Download complete [2022-04-27T04:27:57.779Z] ec43610c2a17: Verifying Checksum [2022-04-27T04:27:57.779Z] ec43610c2a17: Download complete [2022-04-27T04:27:57.779Z] 5d3b04190fa2: Download complete [2022-04-27T04:27:57.779Z] 5eb5b503b376: Verifying Checksum [2022-04-27T04:27:57.779Z] 5eb5b503b376: Download complete [2022-04-27T04:27:58.346Z] 2f39f015ded8: Download complete [2022-04-27T04:27:58.913Z] 5eb5b503b376: Pull complete [2022-04-27T04:27:59.171Z] 5c69ac0246d0: Pull complete [2022-04-27T04:27:59.431Z] ec43610c2a17: Pull complete [2022-04-27T04:27:59.690Z] 3a2ae6a8a46f: Pull complete [2022-04-27T04:27:59.690Z] 33b1e0a273af: Pull complete [2022-04-27T04:27:59.949Z] 5d3b04190fa2: Pull complete [2022-04-27T04:28:04.148Z] 2f39f015ded8: Pull complete [2022-04-27T04:28:04.148Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T04:28:04.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:28:04.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T04:28:04.217Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:28:04.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:28:05.912Z] $ docker top 1748e24cb91c7511db0345e79c9581c5bca6e52ef99b88f54eb2d4394d0b23e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:28:06.352Z] ---> job-cost.sh [2022-04-27T04:28:06.352Z] lf-activate-venv: SKIPPING [2022-04-27T04:28:06.352Z] INFO: No Stack... [2022-04-27T04:28:06.925Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:28:07.186Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:28:07.482Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-27T04:28:07.482Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T04:28:07.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] [2022-04-27T04:28:07.508Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] did not exist. Created. [2022-04-27T04:28:07.508Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:28:07.824Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T04:28:07.852Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:28:07.858Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:28:07.886Z] $ docker stop --time=1 1748e24cb91c7511db0345e79c9581c5bca6e52ef99b88f54eb2d4394d0b23e6 [2022-04-27T04:28:09.062Z] $ docker rm -f 1748e24cb91c7511db0345e79c9581c5bca6e52ef99b88f54eb2d4394d0b23e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T04:29:30.682Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33431 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-27T04:29:30.699Z] Running in /w/workspace/device-sdk-go/66 [Pipeline] { [Pipeline] checkout [2022-04-27T04:29:31.044Z] The recommended git tool is: git [2022-04-27T04:29:39.192Z] using credential edgex-jenkins-ssh [2022-04-27T04:29:39.212Z] Cloning the remote Git repository [2022-04-27T04:29:39.288Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:29:39.380Z] > git init /w/workspace/device-sdk-go/66 # timeout=10 [2022-04-27T04:29:39.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:29:39.487Z] > git --version # timeout=10 [2022-04-27T04:29:39.507Z] > git --version # 'git version 2.25.1' [2022-04-27T04:29:39.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:29:39.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:29:41.381Z] Avoid second fetch [2022-04-27T04:29:41.381Z] Checking out Revision 99a726dbba9fddcd6b6c26c7337937a12db69607 (main) [2022-04-27T04:29:41.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:29:41.348Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:29:41.414Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T04:29:41.451Z] > git checkout -f 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 [2022-04-27T04:29:46.032Z] Commit message: "Merge pull request #1148 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:29:46.923Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T04:29:46.923Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:29:46.923Z] Dload Upload Total Spent Left Speed [2022-04-27T04:29:46.923Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 90404 0 --:--:-- --:--:-- --:--:-- 91100 [Pipeline] sh [2022-04-27T04:29:47.518Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T04:29:47.877Z] + sudo tee /etc/docker/daemon.new [2022-04-27T04:29:47.877Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-27T04:29:47.877Z] { [2022-04-27T04:29:47.877Z] "registry-mirrors": [ [2022-04-27T04:29:47.877Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T04:29:47.877Z] ], [2022-04-27T04:29:47.877Z] "bip": "10.250.0.254/24", [2022-04-27T04:29:47.877Z] "hosts": [ [2022-04-27T04:29:47.877Z] "tcp://0.0.0.0:5555", [2022-04-27T04:29:47.877Z] "unix:///var/run/docker.sock" [2022-04-27T04:29:47.877Z] ], [2022-04-27T04:29:47.877Z] "mtu": 1458, [2022-04-27T04:29:47.877Z] "selinux-enabled": true, [2022-04-27T04:29:47.877Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T04:29:47.877Z] } [Pipeline] sh [2022-04-27T04:29:48.250Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T04:29:48.611Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:30:07.010Z] provisioning config files... [2022-04-27T04:30:07.043Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/66@tmp/config7221144677708408630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:07.431Z] ---> docker-login.sh [2022-04-27T04:30:07.431Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:30:08.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:30:08.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:30:08.315Z] Configure a credential helper to remove this warning. See [2022-04-27T04:30:08.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:30:08.315Z] [2022-04-27T04:30:08.315Z] Login Succeeded [2022-04-27T04:30:08.315Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:30:08.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:30:08.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:30:08.982Z] Configure a credential helper to remove this warning. See [2022-04-27T04:30:08.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:30:08.982Z] [2022-04-27T04:30:08.982Z] Login Succeeded [2022-04-27T04:30:08.982Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:30:09.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:30:09.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:30:09.599Z] Configure a credential helper to remove this warning. See [2022-04-27T04:30:09.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:30:09.599Z] [2022-04-27T04:30:09.599Z] Login Succeeded [2022-04-27T04:30:09.599Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:30:09.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:30:10.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:30:10.151Z] Configure a credential helper to remove this warning. See [2022-04-27T04:30:10.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:30:10.151Z] [2022-04-27T04:30:10.151Z] Login Succeeded [2022-04-27T04:30:10.151Z] docker.io [2022-04-27T04:30:10.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:30:11.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:30:11.042Z] Configure a credential helper to remove this warning. See [2022-04-27T04:30:11.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:30:11.042Z] [2022-04-27T04:30:11.042Z] Login Succeeded [2022-04-27T04:30:11.042Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:30:11.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:30:11.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:30:11.570Z] ========================================================= [2022-04-27T04:30:11.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T04:30:11.570Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:30:11.975Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T04:30:12.593Z] Sending build context to Docker daemon 5.196MB [2022-04-27T04:30:12.593Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:30:12.593Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:30:12.593Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T04:30:12.593Z] 9b3977197b4f: Pulling fs layer [2022-04-27T04:30:12.593Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T04:30:12.593Z] 94645a83ff95: Pulling fs layer [2022-04-27T04:30:12.593Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T04:30:12.593Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T04:30:12.593Z] 3096ccb668a1: Pulling fs layer [2022-04-27T04:30:12.593Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T04:30:12.593Z] a4caa8a26152: Pulling fs layer [2022-04-27T04:30:12.593Z] 3f3a8bcf1eab: Waiting [2022-04-27T04:30:12.593Z] 0c92f367c5e7: Waiting [2022-04-27T04:30:12.593Z] 3096ccb668a1: Waiting [2022-04-27T04:30:12.593Z] e8cf19c19ddd: Waiting [2022-04-27T04:30:12.593Z] a4caa8a26152: Waiting [2022-04-27T04:30:12.593Z] 94645a83ff95: Verifying Checksum [2022-04-27T04:30:12.593Z] 94645a83ff95: Download complete [2022-04-27T04:30:12.593Z] 1a89e8eeedd5: Verifying Checksum [2022-04-27T04:30:12.593Z] 1a89e8eeedd5: Download complete [2022-04-27T04:30:12.871Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T04:30:12.872Z] 0c92f367c5e7: Download complete [2022-04-27T04:30:12.872Z] 3096ccb668a1: Verifying Checksum [2022-04-27T04:30:12.872Z] 3096ccb668a1: Download complete [2022-04-27T04:30:12.872Z] 9b3977197b4f: Verifying Checksum [2022-04-27T04:30:12.872Z] 9b3977197b4f: Download complete [2022-04-27T04:30:12.872Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T04:30:12.872Z] e8cf19c19ddd: Download complete [2022-04-27T04:30:13.493Z] 9b3977197b4f: Pull complete [2022-04-27T04:30:14.098Z] 1a89e8eeedd5: Pull complete [2022-04-27T04:30:14.378Z] 94645a83ff95: Pull complete [2022-04-27T04:30:14.977Z] a4caa8a26152: Verifying Checksum [2022-04-27T04:30:14.977Z] a4caa8a26152: Download complete [2022-04-27T04:30:15.582Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T04:30:15.582Z] 3f3a8bcf1eab: Download complete [2022-04-27T04:30:28.012Z] 3f3a8bcf1eab: Pull complete [2022-04-27T04:30:28.012Z] 0c92f367c5e7: Pull complete [2022-04-27T04:30:28.012Z] 3096ccb668a1: Pull complete [2022-04-27T04:30:28.012Z] e8cf19c19ddd: Pull complete [2022-04-27T04:30:33.442Z] a4caa8a26152: Pull complete [2022-04-27T04:30:33.442Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T04:30:33.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T04:30:33.442Z] ---> 725f1c02e7f9 [2022-04-27T04:30:33.442Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:30:35.457Z] ---> Running in 298e01a4c09e [2022-04-27T04:30:35.457Z] Removing intermediate container 298e01a4c09e [2022-04-27T04:30:35.457Z] ---> 2cac1a0169b4 [2022-04-27T04:30:35.457Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:30:35.733Z] ---> Running in f8a63acb022c [2022-04-27T04:30:36.007Z] Removing intermediate container f8a63acb022c [2022-04-27T04:30:36.007Z] ---> b00b4ec28eb8 [2022-04-27T04:30:36.007Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:30:36.007Z] ---> Running in f5bbf7b7cc83 [2022-04-27T04:30:36.286Z] Removing intermediate container f5bbf7b7cc83 [2022-04-27T04:30:36.286Z] ---> 9257125f9383 [2022-04-27T04:30:36.286Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:30:36.562Z] ---> Running in dfacc00e8c12 [2022-04-27T04:30:38.547Z] Removing intermediate container dfacc00e8c12 [2022-04-27T04:30:38.547Z] ---> 483ea786bf2d [2022-04-27T04:30:38.547Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:30:38.547Z] ---> Running in d9f293b2d724 [2022-04-27T04:30:41.193Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:30:41.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:30:42.622Z] OK: 220 MiB in 52 packages [2022-04-27T04:30:43.610Z] Removing intermediate container d9f293b2d724 [2022-04-27T04:30:43.610Z] ---> 75daea7a7068 [2022-04-27T04:30:43.610Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:30:44.208Z] ---> e3ccf2dfb04e [2022-04-27T04:30:44.208Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:30:44.208Z] ---> Running in 665124c93523 [2022-04-27T04:31:31.232Z] Removing intermediate container 665124c93523 [2022-04-27T04:31:31.232Z] ---> 99cb825d6ec6 [2022-04-27T04:31:31.232Z] Step 10/11 : COPY . . [2022-04-27T04:31:31.232Z] ---> a7b3fd827de2 [2022-04-27T04:31:31.232Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:31:31.232Z] ---> Running in bbd94638263a [2022-04-27T04:31:31.232Z] noop [2022-04-27T04:31:31.232Z] Removing intermediate container bbd94638263a [2022-04-27T04:31:31.232Z] ---> d3afa2690746 [2022-04-27T04:31:31.232Z] Successfully built d3afa2690746 [2022-04-27T04:31:31.232Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:31:31.589Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T04:31:31.589Z] . [Pipeline] withDockerContainer [2022-04-27T04:31:31.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-33431 does not seem to be running inside a container [2022-04-27T04:31:31.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/66 -v /w/workspace/device-sdk-go/66:/w/workspace/device-sdk-go/66:rw,z -v /w/workspace/device-sdk-go/66@tmp:/w/workspace/device-sdk-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T04:31:33.293Z] $ docker top b881e1f0c6cdaa3b864578304b0e9ee6f325bece20e0fb3f14148fea16beaff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:31:34.241Z] + go version [2022-04-27T04:31:34.241Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T04:31:34.274Z] $ docker stop --time=1 b881e1f0c6cdaa3b864578304b0e9ee6f325bece20e0fb3f14148fea16beaff0 [2022-04-27T04:31:35.924Z] $ docker rm -f b881e1f0c6cdaa3b864578304b0e9ee6f325bece20e0fb3f14148fea16beaff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:31:36.530Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T04:31:36.530Z] . [Pipeline] withDockerContainer [2022-04-27T04:31:36.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-33431 does not seem to be running inside a container [2022-04-27T04:31:36.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/66 -v /w/workspace/device-sdk-go/66:/w/workspace/device-sdk-go/66:rw,z -v /w/workspace/device-sdk-go/66@tmp:/w/workspace/device-sdk-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T04:31:38.316Z] $ docker top 1a8cb951d685a2ea3b6162051a2d7f6085f36bf2b67c6eba5b9d9dd0db14eafd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:31:39.256Z] + make test [2022-04-27T04:31:39.256Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:32:11.646Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:34:03.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:34:03.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:34:03.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:34:13.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.411s coverage: 23.3% of statements [2022-04-27T04:34:13.860Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:34:13.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.479s coverage: 27.6% of statements [2022-04-27T04:34:13.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.343s coverage: 78.9% of statements [2022-04-27T04:34:13.860Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.257s coverage: 10.8% of statements [2022-04-27T04:34:17.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.557s coverage: 60.0% of statements [2022-04-27T04:34:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:34:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:34:20.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.487s coverage: 34.8% of statements [2022-04-27T04:34:20.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:34:23.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.299s coverage: 86.1% of statements [2022-04-27T04:34:23.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:34:23.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:34:23.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.500s coverage: 65.1% of statements [2022-04-27T04:34:25.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.247s coverage: 89.2% of statements [2022-04-27T04:34:25.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:34:28.796Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.241s coverage: 4.7% of statements [2022-04-27T04:34:28.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:34:29.389Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T04:34:29.389Z] GO111MODULE=on go vet ./... [2022-04-27T04:36:06.243Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:36:06.243Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:36:06.243Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:36:06.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:36:06.293Z] $ docker stop --time=1 1a8cb951d685a2ea3b6162051a2d7f6085f36bf2b67c6eba5b9d9dd0db14eafd [2022-04-27T04:36:08.193Z] $ docker rm -f 1a8cb951d685a2ea3b6162051a2d7f6085f36bf2b67c6eba5b9d9dd0db14eafd [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:36:09.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:36:09.654Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T04:36:10.337Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:36:10.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:36:11.101Z] + ls -al . [2022-04-27T04:36:11.101Z] total 312 [2022-04-27T04:36:11.101Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:36 . [2022-04-27T04:36:11.101Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:29 .. [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:29 .dockerignore [2022-04-27T04:36:11.101Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:29 .git [2022-04-27T04:36:11.101Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:29 .github [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:29 .gitignore [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:29 .golangci.yml [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:29 CHANGELOG.md [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:29 GOVERNANCE.md [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:29 Jenkinsfile [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:29 LICENSE [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:29 Makefile [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:29 OWNERS.md [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:29 README.md [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:26 VERSION [2022-04-27T04:36:11.101Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:29 bin [2022-04-27T04:36:11.101Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:34 coverage.out [2022-04-27T04:36:11.101Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:29 example [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:29 go.mod [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 53758 Apr 27 04:29 go.sum [2022-04-27T04:36:11.101Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:29 internal [2022-04-27T04:36:11.101Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:29 openapi [2022-04-27T04:36:11.101Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:29 pkg [2022-04-27T04:36:11.101Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:29 snap [2022-04-27T04:36:11.101Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:29 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:36:11.464Z] + 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=99a726dbba9fddcd6b6c26c7337937a12db69607 --label arch=arm64 --label version=2.2.0-dev.33 . [2022-04-27T04:36:12.064Z] Sending build context to Docker daemon 5.328MB [2022-04-27T04:36:12.064Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:36:12.064Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:36:12.064Z] ---> d3afa2690746 [2022-04-27T04:36:12.064Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:36:12.064Z] ---> Running in 10b5b989bb50 [2022-04-27T04:36:12.340Z] Removing intermediate container 10b5b989bb50 [2022-04-27T04:36:12.340Z] ---> 1fdc6d238d27 [2022-04-27T04:36:12.340Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:36:12.614Z] ---> Running in f72d6161d6e0 [2022-04-27T04:36:12.891Z] Removing intermediate container f72d6161d6e0 [2022-04-27T04:36:12.891Z] ---> d4fc9e8ec968 [2022-04-27T04:36:12.891Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:36:12.891Z] ---> Running in 15662c006da1 [2022-04-27T04:36:13.494Z] Removing intermediate container 15662c006da1 [2022-04-27T04:36:13.494Z] ---> ec84d63d8c7b [2022-04-27T04:36:13.494Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:36:13.494Z] ---> Running in 9810a29e8c8d [2022-04-27T04:36:15.484Z] Removing intermediate container 9810a29e8c8d [2022-04-27T04:36:15.484Z] ---> 525e9af89f50 [2022-04-27T04:36:15.484Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:36:15.484Z] ---> Running in 4f2a5978a740 [2022-04-27T04:36:16.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:36:17.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:36:18.518Z] OK: 220 MiB in 52 packages [2022-04-27T04:36:19.133Z] Removing intermediate container 4f2a5978a740 [2022-04-27T04:36:19.133Z] ---> cb4007c0b179 [2022-04-27T04:36:19.133Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:36:19.741Z] ---> a88ffb0228f9 [2022-04-27T04:36:19.741Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:36:20.018Z] ---> Running in 23e3547de703 [2022-04-27T04:36:22.003Z] Removing intermediate container 23e3547de703 [2022-04-27T04:36:22.003Z] ---> 067b1e736178 [2022-04-27T04:36:22.003Z] Step 10/25 : COPY . . [2022-04-27T04:36:23.452Z] ---> 28ef4c1fc172 [2022-04-27T04:36:23.452Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:36:23.452Z] ---> Running in 7bc5b234fc80 [2022-04-27T04:36:24.443Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.33" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-27T04:38:46.417Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:38:46.417Z] Removing intermediate container 7bc5b234fc80 [2022-04-27T04:38:46.417Z] ---> 0dd50debc2d4 [2022-04-27T04:38:46.417Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:38:46.417Z] 3.14: Pulling from library/alpine [2022-04-27T04:38:46.417Z] 455c02918c45: Pulling fs layer [2022-04-27T04:38:46.417Z] 455c02918c45: Verifying Checksum [2022-04-27T04:38:46.417Z] 455c02918c45: Download complete [2022-04-27T04:38:46.417Z] 455c02918c45: Pull complete [2022-04-27T04:38:46.417Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:38:46.417Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:38:46.417Z] ---> ac73e934f311 [2022-04-27T04:38:46.417Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:38:46.417Z] ---> Running in e1631ab28cc4 [2022-04-27T04:38:46.417Z] Removing intermediate container e1631ab28cc4 [2022-04-27T04:38:46.417Z] ---> bbe3c37e4ad2 [2022-04-27T04:38:46.417Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:38:46.417Z] ---> Running in 88575c60cdae [2022-04-27T04:38:46.417Z] Removing intermediate container 88575c60cdae [2022-04-27T04:38:46.417Z] ---> a55df4a27ba0 [2022-04-27T04:38:46.417Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:38:46.417Z] ---> Running in 25875d3b8f3f [2022-04-27T04:38:46.417Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:38:46.695Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:38:47.684Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:38:47.684Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:38:47.960Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:38:47.960Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:38:47.960Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:38:48.235Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:38:48.235Z] OK: 8 MiB in 19 packages [2022-04-27T04:38:49.232Z] Removing intermediate container 25875d3b8f3f [2022-04-27T04:38:49.232Z] ---> e1ff730b8b1b [2022-04-27T04:38:49.232Z] Step 16/25 : WORKDIR / [2022-04-27T04:38:49.232Z] ---> Running in e9294d7abedf [2022-04-27T04:38:49.507Z] Removing intermediate container e9294d7abedf [2022-04-27T04:38:49.507Z] ---> 68bccb013dd5 [2022-04-27T04:38:49.507Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:38:50.107Z] ---> b0d7f6dc5140 [2022-04-27T04:38:50.107Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:38:52.095Z] ---> 0283993385fe [2022-04-27T04:38:52.095Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:38:52.371Z] ---> 2df2afbe8a56 [2022-04-27T04:38:52.371Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:38:52.371Z] ---> Running in 718c1bf6160d [2022-04-27T04:38:52.972Z] Removing intermediate container 718c1bf6160d [2022-04-27T04:38:52.972Z] ---> 0393104b85b2 [2022-04-27T04:38:52.972Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:38:52.972Z] ---> Running in ec38ccf5a881 [2022-04-27T04:38:53.248Z] Removing intermediate container ec38ccf5a881 [2022-04-27T04:38:53.248Z] ---> c4366f71316d [2022-04-27T04:38:53.249Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:38:53.249Z] ---> Running in 50ef49171673 [2022-04-27T04:38:53.532Z] Removing intermediate container 50ef49171673 [2022-04-27T04:38:53.532Z] ---> 27198eabd9f0 [2022-04-27T04:38:53.532Z] Step 23/25 : LABEL arch=arm64 [2022-04-27T04:38:53.811Z] ---> Running in b1020e57dbf1 [2022-04-27T04:38:54.088Z] Removing intermediate container b1020e57dbf1 [2022-04-27T04:38:54.088Z] ---> ddd5eb51012a [2022-04-27T04:38:54.088Z] Step 24/25 : LABEL git_sha=99a726dbba9fddcd6b6c26c7337937a12db69607 [2022-04-27T04:38:54.088Z] ---> Running in 88b062d0da39 [2022-04-27T04:38:54.704Z] Removing intermediate container 88b062d0da39 [2022-04-27T04:38:54.704Z] ---> e68f8ee8ba6f [2022-04-27T04:38:54.704Z] Step 25/25 : LABEL version=2.2.0-dev.33 [2022-04-27T04:38:54.704Z] ---> Running in a506285fd31f [2022-04-27T04:38:54.981Z] Removing intermediate container a506285fd31f [2022-04-27T04:38:54.981Z] ---> 66343fff8d87 [2022-04-27T04:38:54.981Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:38:54.981Z] Successfully built 66343fff8d87 [2022-04-27T04:38:54.981Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:38:55.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:38:55.430Z] [2022-04-27T04:38:55.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:38:55.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:38:56.074Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T04:38:56.074Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T04:38:56.074Z] 04944245beec: Pulling fs layer [2022-04-27T04:38:56.074Z] 699f458cf7ca: Pulling fs layer [2022-04-27T04:38:56.074Z] 765212b225bb: Pulling fs layer [2022-04-27T04:38:56.074Z] f23df028b6ca: Pulling fs layer [2022-04-27T04:38:56.074Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T04:38:56.074Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T04:38:56.074Z] 765212b225bb: Waiting [2022-04-27T04:38:56.074Z] f23df028b6ca: Waiting [2022-04-27T04:38:56.074Z] d65c8cfc05b1: Waiting [2022-04-27T04:38:56.074Z] 2437ff75d9bd: Waiting [2022-04-27T04:38:56.074Z] 04944245beec: Verifying Checksum [2022-04-27T04:38:56.074Z] 04944245beec: Download complete [2022-04-27T04:38:56.074Z] 765212b225bb: Verifying Checksum [2022-04-27T04:38:56.074Z] 765212b225bb: Download complete [2022-04-27T04:38:56.074Z] f23df028b6ca: Verifying Checksum [2022-04-27T04:38:56.074Z] f23df028b6ca: Download complete [2022-04-27T04:38:56.357Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T04:38:56.357Z] d65c8cfc05b1: Download complete [2022-04-27T04:38:56.357Z] 699f458cf7ca: Verifying Checksum [2022-04-27T04:38:56.357Z] 699f458cf7ca: Download complete [2022-04-27T04:38:56.634Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T04:38:56.634Z] 8998bd30e6a1: Download complete [2022-04-27T04:38:59.271Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T04:38:59.271Z] 2437ff75d9bd: Download complete [2022-04-27T04:39:01.266Z] 8998bd30e6a1: Pull complete [2022-04-27T04:39:01.883Z] 04944245beec: Pull complete [2022-04-27T04:39:03.330Z] 699f458cf7ca: Pull complete [2022-04-27T04:39:03.609Z] 765212b225bb: Pull complete [2022-04-27T04:39:04.597Z] f23df028b6ca: Pull complete [2022-04-27T04:39:04.597Z] d65c8cfc05b1: Pull complete [2022-04-27T04:39:19.738Z] 2437ff75d9bd: Pull complete [2022-04-27T04:39:19.738Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T04:39:19.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:39:19.738Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T04:39:20.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-33431 does not seem to be running inside a container [2022-04-27T04:39:20.122Z] $ 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/66 -v /w/workspace/device-sdk-go/66:/w/workspace/device-sdk-go/66:rw,z -v /w/workspace/device-sdk-go/66@tmp:/w/workspace/device-sdk-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-27T04:39:23.026Z] $ docker top d5929380f2daac580f8ec77a306eae5aed911296457ce334eb8dc0405c3ddfe1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:39:24.000Z] ---> job-cost.sh [2022-04-27T04:39:24.000Z] lf-activate-venv: SKIPPING [2022-04-27T04:39:24.000Z] INFO: No Stack... [2022-04-27T04:39:24.598Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T04:39:25.581Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:39:26.265Z] + cat /w/workspace/device-sdk-go/66/archives/cost.csv [2022-04-27T04:39:26.265Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T04:39:26.341Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] [2022-04-27T04:39:26.348Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] did not exist. Created. [2022-04-27T04:39:26.348Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:39:27.040Z] /w/workspace/device-sdk-go/66@tmp/durable-723da279/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T04:39:27.752Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T04:39:27.781Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T04:39:27.863Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:39:27.871Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:39:27.902Z] $ docker stop --time=1 d5929380f2daac580f8ec77a306eae5aed911296457ce334eb8dc0405c3ddfe1 [2022-04-27T04:39:29.484Z] $ docker rm -f d5929380f2daac580f8ec77a306eae5aed911296457ce334eb8dc0405c3ddfe1 [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-04-27T04:39:30.057Z] provisioning config files... [2022-04-27T04:39:30.066Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3957910179225420019tmp [Pipeline] { [Pipeline] sh [2022-04-27T04:39:30.361Z] + set +x [2022-04-27T04:39:30.361Z] + bash -s -- [2022-04-27T04:39:30.361Z] + curl -s https://codecov.io/bash [2022-04-27T04:39:30.361Z] [2022-04-27T04:39:30.361Z] _____ _ [2022-04-27T04:39:30.361Z] / ____| | | [2022-04-27T04:39:30.361Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T04:39:30.361Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T04:39:30.361Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T04:39:30.361Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T04:39:30.361Z] Bash-1.0.6 [2022-04-27T04:39:30.361Z] [2022-04-27T04:39:30.361Z] [2022-04-27T04:39:30.361Z] ==> git version 2.25.1 found [2022-04-27T04:39:30.361Z] ==> 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-04-27T04:39:30.361Z] Release-Date: 2020-01-08 [2022-04-27T04:39:30.361Z] 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-04-27T04:39:30.361Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T04:39:30.361Z] ==> Jenkins CI detected. [2022-04-27T04:39:30.361Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-27T04:39:30.361Z] project root: . [2022-04-27T04:39:30.361Z] --> token set from env [2022-04-27T04:39:30.361Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T04:39:30.361Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T04:39:30.361Z] ==> Python coveragepy not found [2022-04-27T04:39:30.361Z] ==> Searching for coverage reports in: [2022-04-27T04:39:30.361Z] + . [2022-04-27T04:39:30.361Z] -> Found 1 reports [2022-04-27T04:39:30.361Z] ==> Detecting git/mercurial file structure [2022-04-27T04:39:30.361Z] ==> Reading reports [2022-04-27T04:39:30.361Z] + ./coverage.out bytes=130819 [2022-04-27T04:39:30.361Z] ==> Appending adjustments [2022-04-27T04:39:30.361Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T04:39:30.622Z] + Found adjustments [2022-04-27T04:39:30.884Z] ==> Gzipping contents [2022-04-27T04:39:30.884Z] 20K /tmp/codecov.eCktxR.gz [2022-04-27T04:39:30.884Z] ==> Uploading reports [2022-04-27T04:39:30.884Z] url: https://codecov.io [2022-04-27T04:39:30.884Z] query: branch=main&commit=99a726dbba9fddcd6b6c26c7337937a12db69607&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T04:39:30.884Z] -> Pinging Codecov [2022-04-27T04:39:30.884Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=99a726dbba9fddcd6b6c26c7337937a12db69607&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T04:39:31.145Z] -> Uploading to [2022-04-27T04:39:31.145Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7E55EF52A471D76F132DFD9A03CDDE97/99a726dbba9fddcd6b6c26c7337937a12db69607/b1ed156c-bf5f-4829-8b96-3b93f1b80410.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T043930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14347ce270af63d2bd4ab813eecf62755b57c9b123308474caa09f3a779d853d [2022-04-27T04:39:31.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:39:31.145Z] Dload Upload Total Spent Left Speed [2022-04-27T04:39:31.406Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16822 0 0 100 16822 0 76463 --:--:-- --:--:-- --:--:-- 76463 [2022-04-27T04:39:31.406Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/99a726dbba9fddcd6b6c26c7337937a12db69607 [Pipeline] } [2022-04-27T04:39:31.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-27T04:39:31.732Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-27T04:39:31.748Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:39:32.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T04:39:32.044Z] [2022-04-27T04:39:32.044Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:39:32.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T04:39:32.348Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-27T04:39:32.348Z] 188c0c94c7c5: Pulling fs layer [2022-04-27T04:39:32.348Z] 0ef7d3d256c8: Pulling fs layer [2022-04-27T04:39:32.348Z] de9db76c5a1d: Pulling fs layer [2022-04-27T04:39:32.348Z] 0eba1c9be4d2: Pulling fs layer [2022-04-27T04:39:32.348Z] 0d57e429df01: Pulling fs layer [2022-04-27T04:39:32.348Z] 4e4be7b47b0d: Pulling fs layer [2022-04-27T04:39:32.348Z] e1f770b5df2f: Pulling fs layer [2022-04-27T04:39:32.348Z] 85a0685a4137: Pulling fs layer [2022-04-27T04:39:32.348Z] 0eba1c9be4d2: Waiting [2022-04-27T04:39:32.348Z] 85a0685a4137: Waiting [2022-04-27T04:39:32.348Z] e1f770b5df2f: Waiting [2022-04-27T04:39:32.348Z] 0d57e429df01: Waiting [2022-04-27T04:39:32.348Z] 4e4be7b47b0d: Waiting [2022-04-27T04:39:32.348Z] de9db76c5a1d: Verifying Checksum [2022-04-27T04:39:32.348Z] de9db76c5a1d: Download complete [2022-04-27T04:39:32.348Z] 0ef7d3d256c8: Verifying Checksum [2022-04-27T04:39:32.348Z] 0ef7d3d256c8: Download complete [2022-04-27T04:39:32.348Z] 0d57e429df01: Verifying Checksum [2022-04-27T04:39:32.348Z] 0d57e429df01: Download complete [2022-04-27T04:39:32.348Z] 4e4be7b47b0d: Verifying Checksum [2022-04-27T04:39:32.348Z] 4e4be7b47b0d: Download complete [2022-04-27T04:39:32.348Z] 188c0c94c7c5: Verifying Checksum [2022-04-27T04:39:32.348Z] 188c0c94c7c5: Download complete [2022-04-27T04:39:32.609Z] 188c0c94c7c5: Pull complete [2022-04-27T04:39:32.609Z] e1f770b5df2f: Verifying Checksum [2022-04-27T04:39:32.609Z] e1f770b5df2f: Download complete [2022-04-27T04:39:32.609Z] 0ef7d3d256c8: Pull complete [2022-04-27T04:39:32.871Z] de9db76c5a1d: Pull complete [2022-04-27T04:39:33.131Z] 0eba1c9be4d2: Verifying Checksum [2022-04-27T04:39:33.131Z] 0eba1c9be4d2: Download complete [2022-04-27T04:39:33.391Z] 85a0685a4137: Verifying Checksum [2022-04-27T04:39:33.391Z] 85a0685a4137: Download complete [2022-04-27T04:39:36.680Z] 0eba1c9be4d2: Pull complete [2022-04-27T04:39:36.680Z] 0d57e429df01: Pull complete [2022-04-27T04:39:36.680Z] 4e4be7b47b0d: Pull complete [2022-04-27T04:39:36.939Z] e1f770b5df2f: Pull complete [2022-04-27T04:39:40.228Z] 85a0685a4137: Pull complete [2022-04-27T04:39:40.228Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-27T04:39:40.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T04:39:40.228Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-27T04:39:40.295Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:39:40.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-27T04:39:42.368Z] $ docker top 937a94360afa7cd0a12d495205a83522064d9ce05b2c3519c1e1b648fa7adf0a -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-27T04:39:42.445Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-27T04:39:42.729Z] + set -o pipefail [2022-04-27T04:39:42.729Z] + snyk monitor '--org=edgex-jenkins' [2022-04-27T04:39:48.012Z] [2022-04-27T04:39:48.012Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-27T04:39:48.012Z] [2022-04-27T04:39:48.012Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/72acfcb4-7aeb-460e-9ca2-b59b44978875 [2022-04-27T04:39:48.012Z] [2022-04-27T04:39:48.012Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-27T04:39:48.012Z] [2022-04-27T04:39:48.012Z] [Pipeline] } [2022-04-27T04:39:48.030Z] $ docker stop --time=1 937a94360afa7cd0a12d495205a83522064d9ce05b2c3519c1e1b648fa7adf0a [2022-04-27T04:39:50.120Z] $ docker rm -f 937a94360afa7cd0a12d495205a83522064d9ce05b2c3519c1e1b648fa7adf0a [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-04-27T04:39:50.552Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:39:50.561Z] provisioning config files... [2022-04-27T04:39:50.571Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3025546654951758478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:39:50.878Z] --> edgex-publish-swagger.sh [2022-04-27T04:39:50.878Z] === Publish openapi/v2 API === [2022-04-27T04:39:50.878Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-27T04:39:50.878Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-27T04:39:50.878Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:39:50.878Z] Dload Upload Total Spent Left Speed [2022-04-27T04:39:51.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 84574 --:--:-- --:--:-- --:--:-- 84574 [2022-04-27T04:39:51.450Z] [2022-04-27T04:39:51.450Z] [Pipeline] } [2022-04-27T04:39:51.460Z] 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-04-27T04:39:51.854Z] + git log --format=format:%s -1 99a726dbba9fddcd6b6c26c7337937a12db69607 [Pipeline] sh [2022-04-27T04:39:52.154Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:39:52.154Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:39:52.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:39:52.452Z] . [Pipeline] withDockerContainer [2022-04-27T04:39:52.523Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:39:52.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:39:52.992Z] $ docker top bff0feb817c1229a8caa47cf2e0f6e3258c536c08ae53cc6fcebe6039357f2b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:39:53.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:39:53.088Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:39:53.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:39:53.214Z] $ docker exec bff0feb817c1229a8caa47cf2e0f6e3258c536c08ae53cc6fcebe6039357f2b0 ssh-agent [2022-04-27T04:39:53.333Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgHPohl/agent.13 [2022-04-27T04:39:53.333Z] SSH_AGENT_PID=19 [2022-04-27T04:39:53.338Z] Running ssh-add (command line suppressed) [2022-04-27T04:39:53.456Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4268248817565491629.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4268248817565491629.key) [2022-04-27T04:39:53.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:39:53.753Z] + git semver tag [2022-04-27T04:39:53.753Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:39:53.753Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-27T04:39:53.753Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-27T04:39:53.753Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:39:53.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:39:53.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:39:53.753Z] # $SEMVER_BRANCH = main [2022-04-27T04:39:53.753Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-27T04:39:53.753Z] # 99a726dbba9fddcd6b6c26c7337937a12db69607 HEAD [2022-04-27T04:39:53.753Z] # -> Force: false [2022-04-27T04:39:53.753Z] # 912f6d98f9d9d9b2d7f76ccd34415cb141b6f09b refs/tags/v2.2.0-dev.33 [Pipeline] } [2022-04-27T04:39:53.769Z] $ docker exec --env ******** --env ******** bff0feb817c1229a8caa47cf2e0f6e3258c536c08ae53cc6fcebe6039357f2b0 ssh-agent -k [2022-04-27T04:39:53.874Z] unset SSH_AUTH_SOCK; [2022-04-27T04:39:53.874Z] unset SSH_AGENT_PID; [2022-04-27T04:39:53.874Z] echo Agent pid 19 killed; [2022-04-27T04:39:53.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:39:54.183Z] + git semver [Pipeline] } [2022-04-27T04:39:54.202Z] $ docker stop --time=1 bff0feb817c1229a8caa47cf2e0f6e3258c536c08ae53cc6fcebe6039357f2b0 [2022-04-27T04:39:55.506Z] $ docker rm -f bff0feb817c1229a8caa47cf2e0f6e3258c536c08ae53cc6fcebe6039357f2b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:39:55.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T04:39:55.897Z] [2022-04-27T04:39:55.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:39:56.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T04:39:56.201Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-27T04:39:56.201Z] ab5ef0e58194: Pulling fs layer [2022-04-27T04:39:56.201Z] 9712f1f96733: Pulling fs layer [2022-04-27T04:39:56.201Z] 63f879dbbcfc: Pulling fs layer [2022-04-27T04:39:56.201Z] 0d9ebad4ef96: Pulling fs layer [2022-04-27T04:39:56.201Z] e9a5061849ea: Pulling fs layer [2022-04-27T04:39:56.201Z] d747dcd14b5f: Pulling fs layer [2022-04-27T04:39:56.201Z] 2de7ff778b66: Pulling fs layer [2022-04-27T04:39:56.201Z] e9a5061849ea: Waiting [2022-04-27T04:39:56.201Z] d747dcd14b5f: Waiting [2022-04-27T04:39:56.201Z] 2de7ff778b66: Waiting [2022-04-27T04:39:56.201Z] 0d9ebad4ef96: Waiting [2022-04-27T04:39:56.201Z] 9712f1f96733: Download complete [2022-04-27T04:39:56.462Z] 63f879dbbcfc: Verifying Checksum [2022-04-27T04:39:56.462Z] 63f879dbbcfc: Download complete [2022-04-27T04:39:56.722Z] e9a5061849ea: Verifying Checksum [2022-04-27T04:39:56.722Z] e9a5061849ea: Download complete [2022-04-27T04:39:56.722Z] d747dcd14b5f: Verifying Checksum [2022-04-27T04:39:56.722Z] d747dcd14b5f: Download complete [2022-04-27T04:39:56.722Z] 0d9ebad4ef96: Verifying Checksum [2022-04-27T04:39:56.722Z] 0d9ebad4ef96: Download complete [2022-04-27T04:39:56.722Z] ab5ef0e58194: Verifying Checksum [2022-04-27T04:39:56.722Z] ab5ef0e58194: Download complete [2022-04-27T04:39:56.981Z] 2de7ff778b66: Verifying Checksum [2022-04-27T04:39:56.981Z] 2de7ff778b66: Download complete [2022-04-27T04:39:59.521Z] ab5ef0e58194: Pull complete [2022-04-27T04:39:59.521Z] 9712f1f96733: Pull complete [2022-04-27T04:40:00.459Z] 63f879dbbcfc: Pull complete [2022-04-27T04:40:04.652Z] 0d9ebad4ef96: Pull complete [2022-04-27T04:40:04.652Z] e9a5061849ea: Pull complete [2022-04-27T04:40:04.652Z] d747dcd14b5f: Pull complete [2022-04-27T04:40:05.589Z] 2de7ff778b66: Pull complete [2022-04-27T04:40:05.589Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-27T04:40:05.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T04:40:05.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-27T04:40:05.654Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:40:05.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-27T04:40:07.804Z] $ docker top b01b7ccf53e3dff7c2f10a2cec3028519e61bd2a59c0142b3de65c1d66fb6186 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:40:07.893Z] provisioning config files... [2022-04-27T04:40:07.900Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1184681839918637012tmp [2022-04-27T04:40:07.916Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2528583477753228171tmp [2022-04-27T04:40:07.928Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4871810567053896631tmp [Pipeline] { [Pipeline] echo [2022-04-27T04:40:07.947Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:08.239Z] ---> sigul-configuration.sh [2022-04-27T04:40:08.239Z] gpg: directory `/root/.gnupg' created [2022-04-27T04:40:08.239Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-27T04:40:08.239Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-27T04:40:08.239Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-27T04:40:08.239Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-27T04:40:08.239Z] gpg: CAST5 encrypted data [2022-04-27T04:40:08.239Z] gpg: encrypted with 1 passphrase [2022-04-27T04:40:08.239Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-27T04:40:08.529Z] + mkdir /home/jenkins [2022-04-27T04:40:08.529Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-27T04:40:08.820Z] + 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-04-27T04:40:08.830Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:09.117Z] ---> sigul-install.sh [2022-04-27T04:40:09.117Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-27T04:40:09.407Z] + git tag --list [2022-04-27T04:40:09.407Z] 0.7.1 [2022-04-27T04:40:09.407Z] delhi-tag [2022-04-27T04:40:09.407Z] v1.0.0 [2022-04-27T04:40:09.407Z] v1.1.0 [2022-04-27T04:40:09.407Z] v1.1.1 [2022-04-27T04:40:09.407Z] v1.1.2 [2022-04-27T04:40:09.407Z] v1.2.0 [2022-04-27T04:40:09.407Z] v1.2.1 [2022-04-27T04:40:09.407Z] v1.2.2 [2022-04-27T04:40:09.407Z] v1.2.3 [2022-04-27T04:40:09.407Z] v1.3.0 [2022-04-27T04:40:09.407Z] v1.4.0 [2022-04-27T04:40:09.407Z] v2.0.0 [2022-04-27T04:40:09.407Z] v2.0.1-dev.1 [2022-04-27T04:40:09.407Z] v2.0.1-dev.10 [2022-04-27T04:40:09.407Z] v2.0.1-dev.11 [2022-04-27T04:40:09.407Z] v2.0.1-dev.12 [2022-04-27T04:40:09.407Z] v2.0.1-dev.13 [2022-04-27T04:40:09.407Z] v2.0.1-dev.14 [2022-04-27T04:40:09.407Z] v2.0.1-dev.15 [2022-04-27T04:40:09.407Z] v2.0.1-dev.16 [2022-04-27T04:40:09.407Z] v2.0.1-dev.17 [2022-04-27T04:40:09.407Z] v2.0.1-dev.18 [2022-04-27T04:40:09.407Z] v2.0.1-dev.19 [2022-04-27T04:40:09.407Z] v2.0.1-dev.2 [2022-04-27T04:40:09.407Z] v2.0.1-dev.20 [2022-04-27T04:40:09.407Z] v2.0.1-dev.21 [2022-04-27T04:40:09.407Z] v2.0.1-dev.22 [2022-04-27T04:40:09.407Z] v2.0.1-dev.23 [2022-04-27T04:40:09.407Z] v2.0.1-dev.24 [2022-04-27T04:40:09.407Z] v2.0.1-dev.25 [2022-04-27T04:40:09.407Z] v2.0.1-dev.26 [2022-04-27T04:40:09.407Z] v2.0.1-dev.27 [2022-04-27T04:40:09.407Z] v2.0.1-dev.28 [2022-04-27T04:40:09.407Z] v2.0.1-dev.29 [2022-04-27T04:40:09.407Z] v2.0.1-dev.3 [2022-04-27T04:40:09.407Z] v2.0.1-dev.30 [2022-04-27T04:40:09.407Z] v2.0.1-dev.31 [2022-04-27T04:40:09.407Z] v2.0.1-dev.32 [2022-04-27T04:40:09.407Z] v2.0.1-dev.33 [2022-04-27T04:40:09.407Z] v2.0.1-dev.4 [2022-04-27T04:40:09.407Z] v2.0.1-dev.5 [2022-04-27T04:40:09.407Z] v2.0.1-dev.6 [2022-04-27T04:40:09.407Z] v2.0.1-dev.7 [2022-04-27T04:40:09.407Z] v2.0.1-dev.8 [2022-04-27T04:40:09.407Z] v2.0.1-dev.9 [2022-04-27T04:40:09.407Z] v2.1.0 [2022-04-27T04:40:09.407Z] v2.1.1-dev.1 [2022-04-27T04:40:09.407Z] v2.2.0-dev.1 [2022-04-27T04:40:09.407Z] v2.2.0-dev.10 [2022-04-27T04:40:09.407Z] v2.2.0-dev.11 [2022-04-27T04:40:09.407Z] v2.2.0-dev.12 [2022-04-27T04:40:09.407Z] v2.2.0-dev.13 [2022-04-27T04:40:09.407Z] v2.2.0-dev.14 [2022-04-27T04:40:09.407Z] v2.2.0-dev.15 [2022-04-27T04:40:09.407Z] v2.2.0-dev.16 [2022-04-27T04:40:09.407Z] v2.2.0-dev.17 [2022-04-27T04:40:09.407Z] v2.2.0-dev.18 [2022-04-27T04:40:09.407Z] v2.2.0-dev.19 [2022-04-27T04:40:09.407Z] v2.2.0-dev.2 [2022-04-27T04:40:09.407Z] v2.2.0-dev.20 [2022-04-27T04:40:09.407Z] v2.2.0-dev.21 [2022-04-27T04:40:09.407Z] v2.2.0-dev.22 [2022-04-27T04:40:09.407Z] v2.2.0-dev.23 [2022-04-27T04:40:09.407Z] v2.2.0-dev.24 [2022-04-27T04:40:09.407Z] v2.2.0-dev.25 [2022-04-27T04:40:09.407Z] v2.2.0-dev.26 [2022-04-27T04:40:09.407Z] v2.2.0-dev.27 [2022-04-27T04:40:09.407Z] v2.2.0-dev.28 [2022-04-27T04:40:09.407Z] v2.2.0-dev.29 [2022-04-27T04:40:09.407Z] v2.2.0-dev.3 [2022-04-27T04:40:09.407Z] v2.2.0-dev.30 [2022-04-27T04:40:09.407Z] v2.2.0-dev.31 [2022-04-27T04:40:09.407Z] v2.2.0-dev.32 [2022-04-27T04:40:09.407Z] v2.2.0-dev.33 [2022-04-27T04:40:09.407Z] v2.2.0-dev.4 [2022-04-27T04:40:09.407Z] v2.2.0-dev.5 [2022-04-27T04:40:09.407Z] v2.2.0-dev.6 [2022-04-27T04:40:09.407Z] v2.2.0-dev.7 [2022-04-27T04:40:09.407Z] v2.2.0-dev.8 [2022-04-27T04:40:09.407Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-27T04:40:09.707Z] + lftools sign git-tag v2.2.0-dev.33 [2022-04-27T04:40:10.278Z] Signing Git tag with Sigul... [2022-04-27T04:40:10.278Z] Signing v2.2.0-dev.33 [Pipeline] echo [2022-04-27T04:40:10.863Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:11.151Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-27T04:40:11.160Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-27T04:40:11.183Z] $ docker stop --time=1 b01b7ccf53e3dff7c2f10a2cec3028519e61bd2a59c0142b3de65c1d66fb6186 [2022-04-27T04:40:12.519Z] $ docker rm -f b01b7ccf53e3dff7c2f10a2cec3028519e61bd2a59c0142b3de65c1d66fb6186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-27T04:40:12.921Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:40:12.921Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:40:13.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:40:13.223Z] . [Pipeline] withDockerContainer [2022-04-27T04:40:13.289Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:40:13.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:40:13.722Z] $ docker top 764ee6bb1ccc9274b68b53abe47015ee20c0f74d3fa0585c4aa81213fe4211ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:40:13.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:40:13.813Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:40:13.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:40:13.935Z] $ docker exec 764ee6bb1ccc9274b68b53abe47015ee20c0f74d3fa0585c4aa81213fe4211ee ssh-agent [2022-04-27T04:40:14.048Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLjLaPo/agent.13 [2022-04-27T04:40:14.048Z] SSH_AGENT_PID=19 [2022-04-27T04:40:14.053Z] Running ssh-add (command line suppressed) [2022-04-27T04:40:14.165Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_323198106655907263.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_323198106655907263.key) [2022-04-27T04:40:14.179Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:40:14.465Z] + git semver bump pre [2022-04-27T04:40:14.465Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:40:14.465Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-27T04:40:14.465Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-27T04:40:14.465Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:40:14.465Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:40:14.465Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:40:14.465Z] # $SEMVER_BRANCH = main [2022-04-27T04:40:14.465Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-27T04:40:14.465Z] 2.2.0-dev.34 [Pipeline] } [2022-04-27T04:40:14.481Z] $ docker exec --env ******** --env ******** 764ee6bb1ccc9274b68b53abe47015ee20c0f74d3fa0585c4aa81213fe4211ee ssh-agent -k [2022-04-27T04:40:14.578Z] unset SSH_AUTH_SOCK; [2022-04-27T04:40:14.578Z] unset SSH_AGENT_PID; [2022-04-27T04:40:14.578Z] echo Agent pid 19 killed; [2022-04-27T04:40:14.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:40:14.894Z] + git semver [Pipeline] } [2022-04-27T04:40:14.915Z] $ docker stop --time=1 764ee6bb1ccc9274b68b53abe47015ee20c0f74d3fa0585c4aa81213fe4211ee [2022-04-27T04:40:16.200Z] $ docker rm -f 764ee6bb1ccc9274b68b53abe47015ee20c0f74d3fa0585c4aa81213fe4211ee [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:40:16.557Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:40:16.557Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:40:16.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:40:16.854Z] . [Pipeline] withDockerContainer [2022-04-27T04:40:16.918Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:40:16.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:40:17.342Z] $ docker top a1760091b89a62cd96293c6cad2a982dafed0c860b5294d42f5353ec1b2836ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:40:17.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:40:17.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:40:17.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:40:17.576Z] $ docker exec a1760091b89a62cd96293c6cad2a982dafed0c860b5294d42f5353ec1b2836ab ssh-agent [2022-04-27T04:40:17.691Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJIbadf/agent.13 [2022-04-27T04:40:17.691Z] SSH_AGENT_PID=19 [2022-04-27T04:40:17.697Z] Running ssh-add (command line suppressed) [2022-04-27T04:40:17.809Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1644534155067352017.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1644534155067352017.key) [2022-04-27T04:40:17.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:40:18.111Z] + git semver push [2022-04-27T04:40:18.111Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:40:18.111Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-27T04:40:18.111Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-27T04:40:18.111Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:40:18.112Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:40:18.112Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:40:18.112Z] # $SEMVER_BRANCH = main [2022-04-27T04:40:18.112Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-27T04:40:20.040Z] $ docker exec --env ******** --env ******** a1760091b89a62cd96293c6cad2a982dafed0c860b5294d42f5353ec1b2836ab ssh-agent -k [2022-04-27T04:40:20.149Z] unset SSH_AUTH_SOCK; [2022-04-27T04:40:20.149Z] unset SSH_AGENT_PID; [2022-04-27T04:40:20.149Z] echo Agent pid 19 killed; [2022-04-27T04:40:20.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:40:20.467Z] + git semver [Pipeline] } [2022-04-27T04:40:20.487Z] $ docker stop --time=1 a1760091b89a62cd96293c6cad2a982dafed0c860b5294d42f5353ec1b2836ab [2022-04-27T04:40:21.807Z] $ docker rm -f a1760091b89a62cd96293c6cad2a982dafed0c860b5294d42f5353ec1b2836ab [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-04-27T04:40:22.488Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-27T04:40:22.488Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-27T04:40:22.488Z] total 16 [2022-04-27T04:40:22.488Z] drwxr-xr-x 3 root root 4096 Apr 27 04:28 . [2022-04-27T04:40:22.488Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:40 .. [2022-04-27T04:40:22.488Z] drwxr-xr-x 2 root root 4096 Apr 27 04:28 cost [2022-04-27T04:40:22.488Z] -rw-r--r-- 1 root root 83 Apr 27 04:28 cost.csv [2022-04-27T04:40:22.488Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-27T04:40:22.488Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-27T04:40:22.488Z] total 16 [2022-04-27T04:40:22.488Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:28 . [2022-04-27T04:40:22.488Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:40 .. [2022-04-27T04:40:22.488Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:28 cost [2022-04-27T04:40:22.488Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 27 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:22.780Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:23.644Z] ---> package-listing.sh [2022-04-27T04:40:23.644Z] ++ facter osfamily [2022-04-27T04:40:23.644Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T04:40:23.905Z] + OS_FAMILY=debian [2022-04-27T04:40:23.905Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-27T04:40:23.905Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T04:40:23.905Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T04:40:23.905Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T04:40:23.905Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T04:40:23.905Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-27T04:40:23.905Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T04:40:23.905Z] + case "${OS_FAMILY}" in [2022-04-27T04:40:23.905Z] + dpkg -l [2022-04-27T04:40:23.905Z] + grep '^ii' [2022-04-27T04:40:23.905Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T04:40:23.905Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T04:40:23.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T04:40:23.905Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-27T04:40:23.905Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-27T04:40:23.905Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-04-27T04:40:23.915Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T04:40:24.195Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:40:24.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:40:24.747Z] . [Pipeline] withDockerContainer [2022-04-27T04:40:24.814Z] prd-ubuntu20.04-docker-8c-8g-33429 does not seem to be running inside a container [2022-04-27T04:40:24.851Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:40:25.097Z] $ docker top 932bfc92192562d55c18c4f36a1ef85dc9d8e264b8188b44f76748a15e12bc8a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:40:25.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T04:40:25.749Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T04:40:26.037Z] + ls /var/log/sa-host [2022-04-27T04:40:26.037Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:40:26.265Z] provisioning config files... [2022-04-27T04:40:26.274Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4748744366018448414tmp [Pipeline] { [Pipeline] echo [2022-04-27T04:40:26.290Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:26.574Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T04:40:26.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:26.920Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T04:40:26.930Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:27.214Z] ---> sudo-logs.sh [2022-04-27T04:40:27.214Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T04:40:27.246Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:27.530Z] ---> job-cost.sh [2022-04-27T04:40:27.531Z] lf-activate-venv: SKIPPING [2022-04-27T04:40:27.531Z] DEBUG: total: 0.2199999988079071 [2022-04-27T04:40:27.531Z] INFO: Retrieving Stack Cost... [2022-04-27T04:40:28.099Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:40:28.358Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T04:40:28.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:40:28.655Z] ---> logs-deploy.sh [2022-04-27T04:40:28.655Z] lf-activate-venv: SKIPPING [2022-04-27T04:40:28.655Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/66 [2022-04-27T04:40:28.655Z] INFO: archiving workspace using pattern(s): [2022-04-27T04:40:29.593Z] Archives upload complete. [2022-04-27T04:40:29.593Z] INFO: archiving logs to Nexus