Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 394fc05ea4364c0913f6dcfc9df39709a995a7f5+99a726dbba9fddcd6b6c26c7337937a12db69607 (1897de5def2bd1b0f85296166183d5ad0d096f89) 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-ssh13698199144550863426.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-ssh13229957613456434367.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/PR-1144/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/PR-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9699985021557803197.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-ssh16052854770994644730.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/PR-1144/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/PR-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh764164580939067950.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-33430 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1144 # 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 Merging remotes/origin/main commit 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 Merge succeeded, producing b949c5b5d18b47b2532be4ec7d7551934fd4f10c Checking out Revision b949c5b5d18b47b2532be4ec7d7551934fd4f10c (PR-1144) > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b949c5b5d18b47b2532be4ec7d7551934fd4f10c # timeout=10 Commit message: "Merge commit '99a726dbba9fddcd6b6c26c7337937a12db69607' into HEAD" > git rev-list --no-walk 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T04:26:31.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T04:26:31.197Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T04:26:31.211Z] ========================================================= [2022-04-27T04:26:31.211Z] EdgeX Global Pipelines Version Info [2022-04-27T04:26:31.211Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:26:31.981Z] ------------------- [2022-04-27T04:26:31.981Z] stable info: [2022-04-27T04:26:31.981Z] ------------------- [2022-04-27T04:26:31.981Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T04:26:31.981Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T04:26:31.981Z] Message: update stable to v1.0.221 [2022-04-27T04:26:32.556Z] ------------------- [2022-04-27T04:26:32.557Z] experimental info: [2022-04-27T04:26:32.557Z] ------------------- [2022-04-27T04:26:32.557Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T04:26:32.557Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T04:26:32.557Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T04:26:32.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-27T04:26:32.695Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-27T04:26:32.705Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T04:26:32.720Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T04:26:32.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T04:26:32.743Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T04:26:32.755Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T04:26:32.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-27T04:26:32.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T04:26:32.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T04:26:32.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T04:26:32.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-27T04:26:32.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T04:26:32.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T04:26:32.864Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T04:26:32.879Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:26:32.896Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:26:32.913Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:26:32.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T04:26:32.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T04:26:32.953Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-27T04:26:32.969Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-27T04:26:32.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T04:26:32.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T04:26:33.005Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T04:26:33.017Z] [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:33.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-04-27T04:26:33.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-04-27T04:26:33.060Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-04-27T04:26:33.077Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo [2022-04-27T04:26:33.095Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b949c5b [Pipeline] echo [2022-04-27T04:26:33.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:26:33.158Z] provisioning config files... [2022-04-27T04:26:33.172Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config5556283393808804007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:26:33.486Z] ---> docker-login.sh [2022-04-27T04:26:33.486Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:26:33.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:33.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:33.749Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:33.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:33.749Z] [2022-04-27T04:26:33.749Z] Login Succeeded [2022-04-27T04:26:33.749Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:26:34.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:34.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:34.010Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:34.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:34.010Z] [2022-04-27T04:26:34.010Z] Login Succeeded [2022-04-27T04:26:34.010Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:26:34.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:34.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:34.010Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:34.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:34.010Z] [2022-04-27T04:26:34.010Z] Login Succeeded [2022-04-27T04:26:34.010Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:26:34.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:34.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:34.272Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:34.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:34.272Z] [2022-04-27T04:26:34.272Z] Login Succeeded [2022-04-27T04:26:34.272Z] docker.io [2022-04-27T04:26:34.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:34.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:34.535Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:34.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:34.535Z] [2022-04-27T04:26:34.535Z] Login Succeeded [2022-04-27T04:26:34.799Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:26:34.809Z] 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:35.206Z] + git rev-list -1 --merges b949c5b5d18b47b2532be4ec7d7551934fd4f10c~1..b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo [2022-04-27T04:26:35.312Z] -----------> git rev-list -1 --merges b949c5b5d18b47b2532be4ec7d7551934fd4f10c~1..b949c5b5d18b47b2532be4ec7d7551934fd4f10c b949c5b5d18b47b2532be4ec7d7551934fd4f10c [2022-04-27T04:26:35.312Z] b949c5b5d18b47b2532be4ec7d7551934fd4f10c [false] [Pipeline] sh [2022-04-27T04:26:35.607Z] + git log --format=format:%s -1 b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo [2022-04-27T04:26:35.624Z] ========================================================= [2022-04-27T04:26:35.624Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T04:26:35.624Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:26:35.961Z] + git log --format=format:%s -1 b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo [2022-04-27T04:26:35.974Z] [semverPrep] GIT_COMMIT: b949c5b5d18b47b2532be4ec7d7551934fd4f10c, Commit Message: Merge commit '99a726dbba9fddcd6b6c26c7337937a12db69607' into HEAD [Pipeline] echo [2022-04-27T04:26:35.984Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T04:26:36.355Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:26:36.355Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T04:26:36.355Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T04:26:36.355Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T04:26:36.355Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T04:26:36.355Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T04:26:36.355Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:36.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:26:36.704Z] [2022-04-27T04:26:36.704Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:37.005Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:26:37.005Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T04:26:37.005Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T04:26:37.005Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T04:26:37.005Z] 4c7163046ea9: Pulling fs layer [2022-04-27T04:26:37.005Z] 0c2d73faf560: Pulling fs layer [2022-04-27T04:26:37.005Z] 0c2d73faf560: Waiting [2022-04-27T04:26:37.005Z] 3e5f54012d9b: Verifying Checksum [2022-04-27T04:26:37.005Z] 3e5f54012d9b: Download complete [2022-04-27T04:26:37.005Z] a0d0a0d46f8b: Verifying Checksum [2022-04-27T04:26:37.005Z] a0d0a0d46f8b: Download complete [2022-04-27T04:26:37.005Z] 0c2d73faf560: Verifying Checksum [2022-04-27T04:26:37.005Z] 0c2d73faf560: Download complete [2022-04-27T04:26:37.266Z] 4c7163046ea9: Verifying Checksum [2022-04-27T04:26:37.266Z] 4c7163046ea9: Download complete [2022-04-27T04:26:37.266Z] a0d0a0d46f8b: Pull complete [2022-04-27T04:26:37.266Z] 3e5f54012d9b: Pull complete [2022-04-27T04:26:37.836Z] 4c7163046ea9: Pull complete [2022-04-27T04:26:37.836Z] 0c2d73faf560: Pull complete [2022-04-27T04:26:37.836Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T04:26:37.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:26:37.836Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T04:26:37.914Z] prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container [2022-04-27T04:26:37.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:26:38.737Z] $ docker top 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:26:38.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:26:38.846Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:26:38.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:26:39.000Z] $ docker exec 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent [2022-04-27T04:26:39.130Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGbnMGb/agent.13 [2022-04-27T04:26:39.130Z] SSH_AGENT_PID=19 [2022-04-27T04:26:39.138Z] Running ssh-add (command line suppressed) [2022-04-27T04:26:39.263Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5892943269306602939.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5892943269306602939.key) [2022-04-27T04:26:39.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:26:39.570Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T04:26:39.594Z] $ docker exec --env ******** --env ******** 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent -k [2022-04-27T04:26:39.704Z] unset SSH_AUTH_SOCK; [2022-04-27T04:26:39.705Z] unset SSH_AGENT_PID; [2022-04-27T04:26:39.705Z] echo Agent pid 19 killed; [2022-04-27T04:26:39.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T04:26:39.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:26:39.740Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:26:39.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:26:39.892Z] $ docker exec 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent [2022-04-27T04:26:40.025Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMACgao/agent.53 [2022-04-27T04:26:40.025Z] SSH_AGENT_PID=59 [2022-04-27T04:26:40.051Z] Running ssh-add (command line suppressed) [2022-04-27T04:26:40.181Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1505617775089229653.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1505617775089229653.key) [2022-04-27T04:26:40.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:26:40.490Z] + git semver init [2022-04-27T04:26:40.490Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:26:40.490Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git [2022-04-27T04:26:40.490Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-27T04:26:40.490Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:26:40.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:26:40.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:26:40.490Z] # $SEMVER_BRANCH = PR-1144 [2022-04-27T04:26:40.490Z] # $SEMVER_TEMP = /tmp/semver-202834716 [2022-04-27T04:26:40.490Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-27T04:26:41.438Z] # '/tmp/semver-202834716' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' [2022-04-27T04:26:41.438Z] # -> Force: false [2022-04-27T04:26:41.438Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } [2022-04-27T04:26:41.452Z] $ docker exec --env ******** --env ******** 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent -k [2022-04-27T04:26:41.561Z] unset SSH_AUTH_SOCK; [2022-04-27T04:26:41.561Z] unset SSH_AGENT_PID; [2022-04-27T04:26:41.562Z] echo Agent pid 59 killed; [2022-04-27T04:26:41.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:26:41.881Z] + git semver [Pipeline] } [2022-04-27T04:26:41.901Z] $ docker stop --time=1 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 [2022-04-27T04:26:43.302Z] $ docker rm -f 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:26:43.665Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T04:26:43.898Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T04:26:43.901Z] [edgeXSemver]: initialized semver on version 0.0.0 [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:44.019Z] provisioning config files... [2022-04-27T04:26:44.030Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config3403331228482233441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:26:44.340Z] ---> docker-login.sh [2022-04-27T04:26:44.340Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:26:44.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:44.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:44.340Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:44.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:44.340Z] [2022-04-27T04:26:44.340Z] Login Succeeded [2022-04-27T04:26:44.340Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:26:44.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:44.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:44.600Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:44.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:44.600Z] [2022-04-27T04:26:44.600Z] Login Succeeded [2022-04-27T04:26:44.600Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:26:44.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:44.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:44.600Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:44.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:44.600Z] [2022-04-27T04:26:44.600Z] Login Succeeded [2022-04-27T04:26:44.600Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:26:44.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:44.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:44.863Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:44.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:44.863Z] [2022-04-27T04:26:44.863Z] Login Succeeded [2022-04-27T04:26:44.863Z] docker.io [2022-04-27T04:26:44.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:26:45.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:26:45.124Z] Configure a credential helper to remove this warning. See [2022-04-27T04:26:45.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:26:45.124Z] [2022-04-27T04:26:45.124Z] Login Succeeded [2022-04-27T04:26:45.385Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:26:45.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:26:45.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:26:45.470Z] ========================================================= [2022-04-27T04:26:45.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T04:26:45.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:26:45.780Z] + 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:45.780Z] Sending build context to Docker daemon 9.662MB [2022-04-27T04:26:45.780Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:26:45.780Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:26:45.780Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T04:26:45.780Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T04:26:45.780Z] 666ba61612fd: Pulling fs layer [2022-04-27T04:26:45.780Z] 8ed8ca486205: Pulling fs layer [2022-04-27T04:26:45.780Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T04:26:45.780Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T04:26:45.780Z] ca2b28591e48: Pulling fs layer [2022-04-27T04:26:45.780Z] a51346096db8: Pulling fs layer [2022-04-27T04:26:45.780Z] daebc70d1ce1: Pulling fs layer [2022-04-27T04:26:45.780Z] 0e18a0eac166: Pulling fs layer [2022-04-27T04:26:45.780Z] 4fe6c5a15a65: Waiting [2022-04-27T04:26:45.780Z] 22a0e8bec74d: Waiting [2022-04-27T04:26:45.780Z] ca2b28591e48: Waiting [2022-04-27T04:26:45.780Z] daebc70d1ce1: Waiting [2022-04-27T04:26:45.780Z] 0e18a0eac166: Waiting [2022-04-27T04:26:46.041Z] 8ed8ca486205: Verifying Checksum [2022-04-27T04:26:46.041Z] 8ed8ca486205: Download complete [2022-04-27T04:26:46.041Z] 666ba61612fd: Verifying Checksum [2022-04-27T04:26:46.041Z] 666ba61612fd: Download complete [2022-04-27T04:26:46.041Z] 22a0e8bec74d: Download complete [2022-04-27T04:26:46.041Z] ca2b28591e48: Verifying Checksum [2022-04-27T04:26:46.041Z] ca2b28591e48: Download complete [2022-04-27T04:26:46.041Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T04:26:46.041Z] 59bf1c3509f3: Download complete [2022-04-27T04:26:46.041Z] a51346096db8: Verifying Checksum [2022-04-27T04:26:46.041Z] a51346096db8: Download complete [2022-04-27T04:26:46.041Z] daebc70d1ce1: Verifying Checksum [2022-04-27T04:26:46.041Z] daebc70d1ce1: Download complete [2022-04-27T04:26:46.041Z] 59bf1c3509f3: Pull complete [2022-04-27T04:26:46.304Z] 666ba61612fd: Pull complete [2022-04-27T04:26:46.304Z] 8ed8ca486205: Pull complete [2022-04-27T04:26:46.565Z] 0e18a0eac166: Verifying Checksum [2022-04-27T04:26:46.565Z] 0e18a0eac166: Download complete [2022-04-27T04:26:46.827Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T04:26:46.827Z] 4fe6c5a15a65: Download complete [2022-04-27T04:26:51.030Z] 4fe6c5a15a65: Pull complete [2022-04-27T04:26:51.030Z] 22a0e8bec74d: Pull complete [2022-04-27T04:26:51.030Z] ca2b28591e48: Pull complete [2022-04-27T04:26:51.291Z] a51346096db8: Pull complete [2022-04-27T04:26:51.291Z] daebc70d1ce1: Pull complete [2022-04-27T04:26:53.834Z] 0e18a0eac166: Pull complete [2022-04-27T04:26:53.834Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T04:26:53.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T04:26:53.834Z] ---> f018257e8ee9 [2022-04-27T04:26:53.834Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:26:55.754Z] ---> Running in 6f1fa5cd5762 [2022-04-27T04:26:55.754Z] Removing intermediate container 6f1fa5cd5762 [2022-04-27T04:26:55.754Z] ---> 912fe252188b [2022-04-27T04:26:55.754Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:26:55.754Z] ---> Running in a9f1a94b2a33 [2022-04-27T04:26:55.754Z] Removing intermediate container a9f1a94b2a33 [2022-04-27T04:26:55.754Z] ---> 6f42a0ef7973 [2022-04-27T04:26:55.754Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:26:55.754Z] ---> Running in 62ea987d8e5c [2022-04-27T04:26:55.754Z] Removing intermediate container 62ea987d8e5c [2022-04-27T04:26:55.754Z] ---> d0d9b911b30c [2022-04-27T04:26:55.754Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:26:55.754Z] ---> Running in aef1a528f05c [2022-04-27T04:26:56.334Z] Removing intermediate container aef1a528f05c [2022-04-27T04:26:56.334Z] ---> 2f5f8b6eed50 [2022-04-27T04:26:56.334Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:26:56.596Z] ---> Running in 51b55e285529 [2022-04-27T04:26:56.857Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:26:57.802Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:26:58.064Z] OK: 221 MiB in 52 packages [2022-04-27T04:26:58.327Z] Removing intermediate container 51b55e285529 [2022-04-27T04:26:58.327Z] ---> 2d618c7acd55 [2022-04-27T04:26:58.327Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:26:58.589Z] ---> 2ba869b5d71b [2022-04-27T04:26:58.589Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:26:58.589Z] ---> Running in a2a4f6c27174 [2022-04-27T04:26:58.983Z] Still waiting to schedule task [2022-04-27T04:26:58.983Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-27T04:27:13.510Z] Removing intermediate container a2a4f6c27174 [2022-04-27T04:27:13.510Z] ---> 7de933f510fd [2022-04-27T04:27:13.510Z] Step 10/11 : COPY . . [2022-04-27T04:27:13.510Z] ---> 6940a3164dbb [2022-04-27T04:27:13.510Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:27:13.510Z] ---> Running in 3f9d11d886a1 [2022-04-27T04:27:13.510Z] noop [2022-04-27T04:27:13.510Z] Removing intermediate container 3f9d11d886a1 [2022-04-27T04:27:13.510Z] ---> ec615416320f [2022-04-27T04:27:13.510Z] Successfully built ec615416320f [2022-04-27T04:27:13.510Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:27:13.815Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:27:13.815Z] . [Pipeline] withDockerContainer [2022-04-27T04:27:13.898Z] prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container [2022-04-27T04:27:13.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-27T04:27:14.349Z] $ docker top f9522348d29b39f998355c2a8c5e69790bb35907a37db767ec5e7a319b7d78ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:27:14.715Z] + go version [2022-04-27T04:27:14.715Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T04:27:14.731Z] $ docker stop --time=1 f9522348d29b39f998355c2a8c5e69790bb35907a37db767ec5e7a319b7d78ae [2022-04-27T04:27:16.027Z] $ docker rm -f f9522348d29b39f998355c2a8c5e69790bb35907a37db767ec5e7a319b7d78ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:27:16.456Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:27:16.456Z] . [Pipeline] withDockerContainer [2022-04-27T04:27:16.533Z] prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container [2022-04-27T04:27:16.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-27T04:27:16.990Z] $ docker top 04fdb943084199a961282be2c97b033c14115cec7c0104fdda23c0a32fb49891 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:27:17.365Z] + make test [2022-04-27T04:27:17.366Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:27:23.952Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:27:36.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:27:36.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:27:36.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:27:36.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.085s coverage: 23.3% of statements [2022-04-27T04:27:36.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:27:36.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 27.6% of statements [2022-04-27T04:27:36.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2022-04-27T04:27:36.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements [2022-04-27T04:27:36.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.073s coverage: 60.0% of statements [2022-04-27T04:27:36.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:27:36.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:27:37.161Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements [2022-04-27T04:27:37.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:27:38.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 86.1% of statements [2022-04-27T04:27:38.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:27:38.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:27:38.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements [2022-04-27T04:27:38.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.785s coverage: 89.2% of statements [2022-04-27T04:27:38.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:27:38.102Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-04-27T04:27:38.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:27:57.157Z] GO111MODULE=on go vet ./... [2022-04-27T04:27:58.540Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:27:58.540Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:27:58.540Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:27:59.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:27:59.141Z] $ docker stop --time=1 04fdb943084199a961282be2c97b033c14115cec7c0104fdda23c0a32fb49891 [2022-04-27T04:28:01.576Z] $ docker rm -f 04fdb943084199a961282be2c97b033c14115cec7c0104fdda23c0a32fb49891 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:28:02.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:28:02.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T04:28:02.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:28:03.060Z] + ls -al . [2022-04-27T04:28:03.060Z] total 316 [2022-04-27T04:28:03.060Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:27 . [2022-04-27T04:28:03.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:26 .. [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:26 .dockerignore [2022-04-27T04:28:03.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:26 .git [2022-04-27T04:28:03.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:26 .github [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:26 .gitignore [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:26 .golangci.yml [2022-04-27T04:28:03.060Z] drwx------ 3 jenkins jenkins 4096 Apr 27 04:26 .semver [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:26 CHANGELOG.md [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:26 GOVERNANCE.md [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:26 Jenkinsfile [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:26 LICENSE [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:26 Makefile [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:26 OWNERS.md [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:26 README.md [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:26 VERSION [2022-04-27T04:28:03.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:26 bin [2022-04-27T04:28:03.060Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:27 coverage.out [2022-04-27T04:28:03.060Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:26 example [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:26 go.mod [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 27 04:26 go.sum [2022-04-27T04:28:03.060Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:26 internal [2022-04-27T04:28:03.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:26 openapi [2022-04-27T04:28:03.060Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:26 pkg [2022-04-27T04:28:03.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:26 snap [2022-04-27T04:28:03.060Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:26 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:28:03.446Z] + 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=b949c5b5d18b47b2532be4ec7d7551934fd4f10c --label arch=amd64 --label version=0.0.0 . [2022-04-27T04:28:03.447Z] Sending build context to Docker daemon 9.794MB [2022-04-27T04:28:03.447Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:28:03.447Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:28:03.447Z] ---> ec615416320f [2022-04-27T04:28:03.447Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:28:03.708Z] ---> Running in 1fde7fa5da64 [2022-04-27T04:28:03.968Z] Removing intermediate container 1fde7fa5da64 [2022-04-27T04:28:03.968Z] ---> c9fd5d85d1b2 [2022-04-27T04:28:03.968Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:28:03.968Z] ---> Running in 48e39b56f3a7 [2022-04-27T04:28:03.968Z] Removing intermediate container 48e39b56f3a7 [2022-04-27T04:28:03.968Z] ---> 176c364893e2 [2022-04-27T04:28:03.968Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:28:03.968Z] ---> Running in 12d6af53b974 [2022-04-27T04:28:04.227Z] Removing intermediate container 12d6af53b974 [2022-04-27T04:28:04.227Z] ---> 3149f4a813a8 [2022-04-27T04:28:04.227Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:28:04.227Z] ---> Running in 0ab64aba3018 [2022-04-27T04:28:04.801Z] Removing intermediate container 0ab64aba3018 [2022-04-27T04:28:04.801Z] ---> 22deec00bc0f [2022-04-27T04:28:04.801Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:28:05.061Z] ---> Running in 2429adbdbea9 [2022-04-27T04:28:05.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:28:06.268Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:28:06.268Z] OK: 221 MiB in 52 packages [2022-04-27T04:28:06.839Z] Removing intermediate container 2429adbdbea9 [2022-04-27T04:28:06.839Z] ---> 600cb0219ef8 [2022-04-27T04:28:06.839Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:28:07.100Z] ---> 59db2463baf5 [2022-04-27T04:28:07.100Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:28:07.100Z] ---> Running in 150927060fcf [2022-04-27T04:28:07.675Z] Removing intermediate container 150927060fcf [2022-04-27T04:28:07.675Z] ---> 215266c9a659 [2022-04-27T04:28:07.675Z] Step 10/25 : COPY . . [2022-04-27T04:28:08.246Z] ---> 4a769bf9979e [2022-04-27T04:28:08.246Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:28:08.246Z] ---> Running in 45074d253962 [2022-04-27T04:28:08.505Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-27T04:28:26.629Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:28:29.172Z] Removing intermediate container 45074d253962 [2022-04-27T04:28:29.172Z] ---> f643ed62d6b3 [2022-04-27T04:28:29.172Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:28:29.750Z] 3.14: Pulling from library/alpine [2022-04-27T04:28:30.012Z] 8663204ce13b: Pulling fs layer [2022-04-27T04:28:30.012Z] 8663204ce13b: Verifying Checksum [2022-04-27T04:28:30.012Z] 8663204ce13b: Download complete [2022-04-27T04:28:30.272Z] 8663204ce13b: Pull complete [2022-04-27T04:28:30.272Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:28:30.272Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:28:30.272Z] ---> e04c818066af [2022-04-27T04:28:30.272Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:28:30.272Z] ---> Running in c06b8e10b42e [2022-04-27T04:28:30.532Z] Removing intermediate container c06b8e10b42e [2022-04-27T04:28:30.532Z] ---> 4a74be2c9b03 [2022-04-27T04:28:30.532Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:28:30.532Z] ---> Running in eea20d315238 [2022-04-27T04:28:31.104Z] Removing intermediate container eea20d315238 [2022-04-27T04:28:31.104Z] ---> 973ced9e5bd9 [2022-04-27T04:28:31.104Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:28:31.104Z] ---> Running in 599a22b36786 [2022-04-27T04:28:31.366Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:28:32.308Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:28:32.569Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:28:32.569Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:28:32.569Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:28:32.829Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:28:32.829Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:28:33.090Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:28:33.090Z] OK: 8 MiB in 19 packages [2022-04-27T04:28:33.350Z] Removing intermediate container 599a22b36786 [2022-04-27T04:28:33.350Z] ---> 19b6f272dd2d [2022-04-27T04:28:33.350Z] Step 16/25 : WORKDIR / [2022-04-27T04:28:33.350Z] ---> Running in bcdd1d838e3a [2022-04-27T04:28:33.610Z] Removing intermediate container bcdd1d838e3a [2022-04-27T04:28:33.610Z] ---> e6d3e6d6a3ca [2022-04-27T04:28:33.610Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:28:33.610Z] ---> 41db8ea02a83 [2022-04-27T04:28:33.610Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:28:34.550Z] ---> 4aadf834fa64 [2022-04-27T04:28:34.550Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:28:34.550Z] ---> f2ebf67a1f10 [2022-04-27T04:28:34.550Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:28:34.550Z] ---> Running in 965b586605b7 [2022-04-27T04:28:34.551Z] Removing intermediate container 965b586605b7 [2022-04-27T04:28:34.551Z] ---> d55762b82d5f [2022-04-27T04:28:34.551Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:28:34.551Z] ---> Running in 29de7659dbaf [2022-04-27T04:28:34.811Z] Removing intermediate container 29de7659dbaf [2022-04-27T04:28:34.811Z] ---> fe7c1aae5d2f [2022-04-27T04:28:34.811Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:28:34.811Z] ---> Running in f24a941d3cbc [2022-04-27T04:28:34.811Z] Removing intermediate container f24a941d3cbc [2022-04-27T04:28:34.811Z] ---> 565abb29bb48 [2022-04-27T04:28:34.811Z] Step 23/25 : LABEL arch=amd64 [2022-04-27T04:28:35.078Z] ---> Running in 80f20b245f17 [2022-04-27T04:28:35.078Z] Removing intermediate container 80f20b245f17 [2022-04-27T04:28:35.078Z] ---> 1163a24ce01b [2022-04-27T04:28:35.078Z] Step 24/25 : LABEL git_sha=b949c5b5d18b47b2532be4ec7d7551934fd4f10c [2022-04-27T04:28:35.078Z] ---> Running in 2f43ae9d030d [2022-04-27T04:28:35.078Z] Removing intermediate container 2f43ae9d030d [2022-04-27T04:28:35.078Z] ---> 9bb061a0ecb9 [2022-04-27T04:28:35.078Z] Step 25/25 : LABEL version=0.0.0 [2022-04-27T04:28:35.339Z] ---> Running in b93c95d2820f [2022-04-27T04:28:35.339Z] Removing intermediate container b93c95d2820f [2022-04-27T04:28:35.339Z] ---> 0f5d18d27c12 [2022-04-27T04:28:35.339Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:28:35.339Z] Successfully built 0f5d18d27c12 [2022-04-27T04:28:35.339Z] 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:28:35.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:28:35.835Z] [2022-04-27T04:28:35.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:28:36.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:28:36.149Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T04:28:36.149Z] 5eb5b503b376: Pulling fs layer [2022-04-27T04:28:36.149Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T04:28:36.149Z] ec43610c2a17: Pulling fs layer [2022-04-27T04:28:36.149Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T04:28:36.149Z] 33b1e0a273af: Pulling fs layer [2022-04-27T04:28:36.149Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T04:28:36.149Z] 2f39f015ded8: Pulling fs layer [2022-04-27T04:28:36.149Z] 33b1e0a273af: Waiting [2022-04-27T04:28:36.149Z] 2f39f015ded8: Waiting [2022-04-27T04:28:36.149Z] 3a2ae6a8a46f: Waiting [2022-04-27T04:28:36.149Z] 5d3b04190fa2: Waiting [2022-04-27T04:28:36.149Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T04:28:36.149Z] 3a2ae6a8a46f: Download complete [2022-04-27T04:28:36.149Z] 33b1e0a273af: Verifying Checksum [2022-04-27T04:28:36.149Z] 33b1e0a273af: Download complete [2022-04-27T04:28:36.149Z] 5d3b04190fa2: Download complete [2022-04-27T04:28:36.411Z] ec43610c2a17: Verifying Checksum [2022-04-27T04:28:36.411Z] ec43610c2a17: Download complete [2022-04-27T04:28:36.411Z] 5eb5b503b376: Verifying Checksum [2022-04-27T04:28:36.411Z] 5eb5b503b376: Download complete [2022-04-27T04:28:36.982Z] 2f39f015ded8: Verifying Checksum [2022-04-27T04:28:36.982Z] 2f39f015ded8: Download complete [2022-04-27T04:28:37.921Z] 5eb5b503b376: Pull complete [2022-04-27T04:28:37.921Z] 5c69ac0246d0: Pull complete [2022-04-27T04:28:38.490Z] ec43610c2a17: Pull complete [2022-04-27T04:28:38.490Z] 3a2ae6a8a46f: Pull complete [2022-04-27T04:28:38.751Z] 33b1e0a273af: Pull complete [2022-04-27T04:28:38.751Z] 5d3b04190fa2: Pull complete [2022-04-27T04:28:44.035Z] 2f39f015ded8: Pull complete [2022-04-27T04:28:44.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T04:28:44.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:28:44.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T04:28:44.101Z] prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container [2022-04-27T04:28:44.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:28:46.337Z] $ docker top 06d0f8e7b9b6aeacf81ef55c3099a10f389055c4252e62b04b81d3b88bca829c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:28:46.741Z] ---> job-cost.sh [2022-04-27T04:28:46.741Z] lf-activate-venv: SKIPPING [2022-04-27T04:28:46.741Z] INFO: No Stack... [2022-04-27T04:28:47.002Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:28:47.577Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:28:47.877Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-04-27T04:28:47.878Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T04:28:47.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] [2022-04-27T04:28:47.899Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] did not exist. Created. [2022-04-27T04:28:47.899Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:28:48.206Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T04:28:48.240Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:28:48.247Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:28:48.269Z] $ docker stop --time=1 06d0f8e7b9b6aeacf81ef55c3099a10f389055c4252e62b04b81d3b88bca829c [2022-04-27T04:28:49.437Z] $ docker rm -f 06d0f8e7b9b6aeacf81ef55c3099a10f389055c4252e62b04b81d3b88bca829c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T04:30:30.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33432 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-04-27T04:30:30.804Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-04-27T04:30:31.106Z] The recommended git tool is: git [2022-04-27T04:30:38.134Z] using credential edgex-jenkins-ssh [2022-04-27T04:30:38.156Z] Cloning the remote Git repository [2022-04-27T04:30:38.231Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:30:38.327Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-04-27T04:30:38.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:30:38.434Z] > git --version # timeout=10 [2022-04-27T04:30:38.457Z] > git --version # 'git version 2.25.1' [2022-04-27T04:30:38.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:30:38.585Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:30:40.927Z] Merging remotes/origin/main commit 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T04:30:41.072Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [2022-04-27T04:30:40.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:30:40.254Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:30:40.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:30:40.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:30:40.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:30:40.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-27T04:30:40.956Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T04:30:40.981Z] > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-27T04:30:41.813Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-04-27T04:30:41.813Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-27T04:30:41.813Z] total 16 [2022-04-27T04:30:41.813Z] drwxr-xr-x 3 root root 4096 Apr 27 04:28 . [2022-04-27T04:30:41.813Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:28 .. [2022-04-27T04:30:41.813Z] drwxr-xr-x 2 root root 4096 Apr 27 04:28 cost [2022-04-27T04:30:41.813Z] -rw-r--r-- 1 root root 85 Apr 27 04:28 cost.csv [2022-04-27T04:30:41.813Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-27T04:30:41.813Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-27T04:30:41.813Z] total 16 [2022-04-27T04:30:41.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:28 . [2022-04-27T04:30:41.813Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:28 .. [2022-04-27T04:30:41.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:28 cost [2022-04-27T04:30:41.813Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 27 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:42.112Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:42.980Z] ---> package-listing.sh [2022-04-27T04:30:42.980Z] ++ facter osfamily [2022-04-27T04:30:42.980Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T04:30:43.240Z] + OS_FAMILY=debian [2022-04-27T04:30:43.240Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-27T04:30:43.240Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T04:30:43.240Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T04:30:43.240Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T04:30:43.240Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T04:30:43.240Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-27T04:30:43.240Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T04:30:43.240Z] + case "${OS_FAMILY}" in [2022-04-27T04:30:43.240Z] + dpkg -l [2022-04-27T04:30:43.240Z] + grep '^ii' [2022-04-27T04:30:43.240Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T04:30:43.240Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T04:30:43.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T04:30:43.240Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-27T04:30:43.240Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-04-27T04:30:43.240Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-04-27T04:30:43.254Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1144/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:30:43.536Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:30:44.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:30:44.091Z] . [Pipeline] withDockerContainer [2022-04-27T04:30:44.160Z] prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container [2022-04-27T04:30:44.201Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:30:44.436Z] $ docker top 4a6a3b4c89e0d6ae492d588f929144d2c8f66ef3d9214d2a6c8f4570560a31f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:30:44.794Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T04:30:45.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T04:30:45.380Z] + ls /var/log/sa-host [2022-04-27T04:30:45.380Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:30:45.469Z] provisioning config files... [2022-04-27T04:30:45.479Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config726423226374735358tmp [Pipeline] { [Pipeline] echo [2022-04-27T04:30:45.496Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:45.782Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T04:30:45.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:46.122Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T04:30:46.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:46.423Z] ---> sudo-logs.sh [2022-04-27T04:30:46.423Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T04:30:46.446Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:46.734Z] ---> job-cost.sh [2022-04-27T04:30:46.734Z] lf-activate-venv: SKIPPING [2022-04-27T04:30:46.734Z] DEBUG: total: 0.2199999988079071 [2022-04-27T04:30:46.734Z] INFO: Retrieving Stack Cost... [2022-04-27T04:30:46.996Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:30:47.570Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T04:30:47.585Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:30:47.874Z] ---> logs-deploy.sh [2022-04-27T04:30:47.874Z] lf-activate-venv: SKIPPING [2022-04-27T04:30:47.874Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/4 [2022-04-27T04:30:47.874Z] INFO: archiving workspace using pattern(s): [2022-04-27T04:30:48.817Z] Archives upload complete. [2022-04-27T04:30:49.079Z] INFO: archiving logs to Nexus