Pull request #177 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 238d080d640a7e3d9ba0ccf186e4988c74ba76ef rather than 5c4de0db82e7c269000adccebd751612431a5116 Obtained Jenkinsfile from 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 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-ssh16670393704164239456.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-ssh13451606779376260226.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-rest-go/branches/PR-177/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-rest-go/branches/PR-177/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2917193517597889726.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-ssh13732567990947247055.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-rest-go/branches/PR-177/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-rest-go/branches/PR-177/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14963252308882235108.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 Running on prd-ubuntu20.04-docker-8c-8g-23583 in /w/workspace/gexfoundry_device-rest-go_PR-177 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-177 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 5c4de0db82e7c269000adccebd751612431a5116 Merge succeeded, producing dbcbc661933c53ce9537f40932ed9242c7d46e25 Checking out Revision dbcbc661933c53ce9537f40932ed9242c7d46e25 (PR-177) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c4de0db82e7c269000adccebd751612431a5116 # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbcbc661933c53ce9537f40932ed9242c7d46e25 # timeout=10 Commit message: "Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b84c888b2855b02e326e1c287c11f0c61e2064fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:14:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:14:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:43 ========================================================= 08:14:43 EdgeX Global Pipelines Version Info 08:14:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:14:44 ------------------- 08:14:44 stable info: 08:14:44 ------------------- 08:14:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:14:44 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:14:44 Message: update stable to v1.0.221 08:14:45 ------------------- 08:14:45 experimental info: 08:14:45 ------------------- 08:14:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:14:45 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:14:45 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbcbc661933c53ce9537f40932ed9242c7d46e25 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbcbc66 [Pipeline] echo 08:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:45 provisioning config files... 08:14:45 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config7588483632585788790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:46 ---> docker-login.sh 08:14:46 nexus3.edgexfoundry.org:10001 08:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:46 Configure a credential helper to remove this warning. See 08:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:46 08:14:46 Login Succeeded 08:14:46 nexus3.edgexfoundry.org:10002 08:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:46 Configure a credential helper to remove this warning. See 08:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:46 08:14:46 Login Succeeded 08:14:46 nexus3.edgexfoundry.org:10003 08:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:46 Configure a credential helper to remove this warning. See 08:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:46 08:14:46 Login Succeeded 08:14:46 nexus3.edgexfoundry.org:10004 08:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:46 Configure a credential helper to remove this warning. See 08:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:46 08:14:46 Login Succeeded 08:14:46 docker.io 08:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:47 Configure a credential helper to remove this warning. See 08:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:47 08:14:47 Login Succeeded 08:14:47 ---> docker-login.sh ends [Pipeline] } 08:14:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:14:47 + git rev-list -1 --merges dbcbc661933c53ce9537f40932ed9242c7d46e25~1..dbcbc661933c53ce9537f40932ed9242c7d46e25 [Pipeline] echo 08:14:47 -----------> git rev-list -1 --merges dbcbc661933c53ce9537f40932ed9242c7d46e25~1..dbcbc661933c53ce9537f40932ed9242c7d46e25 dbcbc661933c53ce9537f40932ed9242c7d46e25 08:14:47 dbcbc661933c53ce9537f40932ed9242c7d46e25 [false] [Pipeline] sh 08:14:48 + git log --format=format:%s -1 dbcbc661933c53ce9537f40932ed9242c7d46e25 [Pipeline] echo 08:14:48 ========================================================= 08:14:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:14:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:14:48 + git log --format=format:%s -1 dbcbc661933c53ce9537f40932ed9242c7d46e25 [Pipeline] echo 08:14:48 [semverPrep] GIT_COMMIT: dbcbc661933c53ce9537f40932ed9242c7d46e25, Commit Message: Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD [Pipeline] echo 08:14:48 [semverPrep] This is not a build commit. [Pipeline] sh 08:14:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:48 + grep -v github /etc/ssh/ssh_known_hosts 08:14:48 + [ -e /tmp/ssh_known_hosts ] 08:14:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:14:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:14:48 + sudo tee -a /etc/ssh/ssh_known_hosts 08:14:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:49 08:14:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:14:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:49 latest: Pulling from edgex-devops/git-semver 08:14:49 a0d0a0d46f8b: Pulling fs layer 08:14:49 3e5f54012d9b: Pulling fs layer 08:14:49 4c7163046ea9: Pulling fs layer 08:14:49 0c2d73faf560: Pulling fs layer 08:14:49 0c2d73faf560: Waiting 08:14:49 3e5f54012d9b: Verifying Checksum 08:14:49 3e5f54012d9b: Download complete 08:14:49 a0d0a0d46f8b: Verifying Checksum 08:14:49 a0d0a0d46f8b: Download complete 08:14:49 0c2d73faf560: Verifying Checksum 08:14:49 0c2d73faf560: Download complete 08:14:49 4c7163046ea9: Verifying Checksum 08:14:49 4c7163046ea9: Download complete 08:14:49 a0d0a0d46f8b: Pull complete 08:14:49 3e5f54012d9b: Pull complete 08:14:50 4c7163046ea9: Pull complete 08:14:50 0c2d73faf560: Pull complete 08:14:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:14:50 prd-ubuntu20.04-docker-8c-8g-23583 does not seem to be running inside a container 08:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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:10004/edgex-devops/git-semver:latest cat 08:14:51 $ docker top 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:14:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:51 [ssh-agent] Looking for ssh-agent implementation... 08:14:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:51 $ docker exec 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f ssh-agent 08:14:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfGMIAo/agent.13 08:14:51 SSH_AGENT_PID=19 08:14:51 Running ssh-add (command line suppressed) 08:14:52 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_3459261007084317652.key (/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_3459261007084317652.key) 08:14:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:52 + git tag --points-at HEAD [Pipeline] } 08:14:52 $ docker exec --env ******** --env ******** 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f ssh-agent -k 08:14:52 unset SSH_AUTH_SOCK; 08:14:52 unset SSH_AGENT_PID; 08:14:52 echo Agent pid 19 killed; 08:14:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:14:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:52 [ssh-agent] Looking for ssh-agent implementation... 08:14:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:52 $ docker exec 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f ssh-agent 08:14:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpojOJg/agent.52 08:14:52 SSH_AGENT_PID=58 08:14:52 Running ssh-add (command line suppressed) 08:14:52 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_6228512234033740814.key (/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_6228512234033740814.key) 08:14:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:53 + git semver init 08:14:53 # -> Open(): unable to determine branch for HEAD 08:14:53 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-177/.git 08:14:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-177 08:14:53 # $SEMVER_REMOTE_NAME = origin 08:14:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:14:53 # $SEMVER_USER_NAME = edgex-jenkins 08:14:53 # $SEMVER_BRANCH = PR-177 08:14:53 # $SEMVER_TEMP = /tmp/semver-263234269 08:14:53 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 08:14:54 # '/tmp/semver-263234269' -> '/w/workspace/gexfoundry_device-rest-go_PR-177/.semver' 08:14:54 # -> Force: false 08:14:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-177/.semver [Pipeline] } 08:14:54 $ docker exec --env ******** --env ******** 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f ssh-agent -k 08:14:54 unset SSH_AUTH_SOCK; 08:14:54 unset SSH_AGENT_PID; 08:14:54 echo Agent pid 58 killed; 08:14:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:55 + git semver [Pipeline] } 08:14:55 $ docker stop --time=1 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f 08:14:56 $ docker rm -f 7cbe3a2cd837ad6fbd9cd278b2b1d0c2a4f66a839a9d55016ee9e830db69378f [Pipeline] // withDockerContainer [Pipeline] sh 08:14:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:14:57 Stashed 1 file(s) [Pipeline] echo 08:14:57 [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 08:14:57 provisioning config files... 08:14:57 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config3451053211865116507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:57 ---> docker-login.sh 08:14:57 nexus3.edgexfoundry.org:10001 08:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:57 Configure a credential helper to remove this warning. See 08:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:57 08:14:57 Login Succeeded 08:14:57 nexus3.edgexfoundry.org:10002 08:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:57 Configure a credential helper to remove this warning. See 08:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:57 08:14:57 Login Succeeded 08:14:57 nexus3.edgexfoundry.org:10003 08:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:57 Configure a credential helper to remove this warning. See 08:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:57 08:14:57 Login Succeeded 08:14:57 nexus3.edgexfoundry.org:10004 08:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:58 Configure a credential helper to remove this warning. See 08:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:58 08:14:58 Login Succeeded 08:14:58 docker.io 08:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:58 Configure a credential helper to remove this warning. See 08:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:58 08:14:58 Login Succeeded 08:14:58 ---> docker-login.sh ends [Pipeline] } 08:14:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:14:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:14:58 ========================================================= 08:14:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:14:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:14:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:14:58 Sending build context to Docker daemon 10.58MB 08:14:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:14:58 Step 2/12 : FROM ${BASE} AS builder 08:14:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:14:58 59bf1c3509f3: Pulling fs layer 08:14:58 666ba61612fd: Pulling fs layer 08:14:58 8ed8ca486205: Pulling fs layer 08:14:58 4fe6c5a15a65: Pulling fs layer 08:14:58 22a0e8bec74d: Pulling fs layer 08:14:58 ca2b28591e48: Pulling fs layer 08:14:58 a51346096db8: Pulling fs layer 08:14:58 daebc70d1ce1: Pulling fs layer 08:14:58 0e18a0eac166: Pulling fs layer 08:14:58 ca2b28591e48: Waiting 08:14:58 a51346096db8: Waiting 08:14:58 4fe6c5a15a65: Waiting 08:14:58 daebc70d1ce1: Waiting 08:14:58 0e18a0eac166: Waiting 08:14:58 22a0e8bec74d: Waiting 08:14:58 8ed8ca486205: Download complete 08:14:58 666ba61612fd: Verifying Checksum 08:14:58 666ba61612fd: Download complete 08:14:59 22a0e8bec74d: Verifying Checksum 08:14:59 22a0e8bec74d: Download complete 08:14:59 ca2b28591e48: Verifying Checksum 08:14:59 ca2b28591e48: Download complete 08:14:59 59bf1c3509f3: Verifying Checksum 08:14:59 a51346096db8: Verifying Checksum 08:14:59 a51346096db8: Download complete 08:14:59 daebc70d1ce1: Verifying Checksum 08:14:59 daebc70d1ce1: Download complete 08:14:59 59bf1c3509f3: Pull complete 08:14:59 666ba61612fd: Pull complete 08:14:59 8ed8ca486205: Pull complete 08:14:59 0e18a0eac166: Verifying Checksum 08:14:59 0e18a0eac166: Download complete 08:14:59 4fe6c5a15a65: Verifying Checksum 08:14:59 4fe6c5a15a65: Download complete 08:15:04 4fe6c5a15a65: Pull complete 08:15:04 22a0e8bec74d: Pull complete 08:15:04 ca2b28591e48: Pull complete 08:15:04 a51346096db8: Pull complete 08:15:04 daebc70d1ce1: Pull complete 08:15:05 0e18a0eac166: Pull complete 08:15:05 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:15:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:15:05 ---> f018257e8ee9 08:15:05 Step 3/12 : ARG MAKE='make build' 08:15:07 ---> Running in 368616e6da2a 08:15:07 Removing intermediate container 368616e6da2a 08:15:07 ---> aa533fef36e1 08:15:07 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:15:07 ---> Running in 42d45f556981 08:15:07 Removing intermediate container 42d45f556981 08:15:07 ---> 3a73dc479dbb 08:15:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:15:07 ---> Running in e93fcfc61ef1 08:15:07 Removing intermediate container e93fcfc61ef1 08:15:07 ---> 6b07a072d459 08:15:07 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:07 ---> Running in 8f43ce0b0342 08:15:08 Removing intermediate container 8f43ce0b0342 08:15:08 ---> d565dc2427a9 08:15:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:08 ---> Running in ea41ad32ee61 08:15:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:15:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:15:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:15:09 (2/4) Installing libedit (20210910.3.1-r0) 08:15:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:15:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:15:09 Executing busybox-1.34.1-r3.trigger 08:15:09 OK: 224 MiB in 56 packages 08:15:10 Removing intermediate container ea41ad32ee61 08:15:10 ---> 4462aaf9d2b5 08:15:10 Step 8/12 : WORKDIR /device-rest-go 08:15:10 ---> Running in 0e843decfb8f 08:15:10 Removing intermediate container 0e843decfb8f 08:15:10 ---> b86182ac7f46 08:15:10 Step 9/12 : COPY go.mod vendor* ./ 08:15:10 ---> a644698425f8 08:15:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:10 ---> Running in 8c7cefef89b9 08:15:12 Still waiting to schedule task 08:15:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:15:25 Removing intermediate container 8c7cefef89b9 08:15:25 ---> 2fd8eca9ce95 08:15:25 Step 11/12 : COPY . . 08:15:25 ---> bc4675de112a 08:15:25 Step 12/12 : RUN $MAKE 08:15:25 ---> Running in fff8a5c1a748 08:15:26 noop 08:15:26 Removing intermediate container fff8a5c1a748 08:15:26 ---> 6dca3396da76 08:15:26 Successfully built 6dca3396da76 08:15:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:15:26 + docker inspect -f . ci-base-image-x86_64 08:15:26 . [Pipeline] withDockerContainer 08:15:26 prd-ubuntu20.04-docker-8c-8g-23583 does not seem to be running inside a container 08:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:27 $ docker top f01fc4f860476cef010131696156567a3e2fd2e24ce71ddfcb06c40b8d62a39b -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:27 + go version 08:15:27 go version go1.17.6 linux/amd64 [Pipeline] } 08:15:27 $ docker stop --time=1 f01fc4f860476cef010131696156567a3e2fd2e24ce71ddfcb06c40b8d62a39b 08:15:28 $ docker rm -f f01fc4f860476cef010131696156567a3e2fd2e24ce71ddfcb06c40b8d62a39b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:15:29 + docker inspect -f . ci-base-image-x86_64 08:15:29 . [Pipeline] withDockerContainer 08:15:29 prd-ubuntu20.04-docker-8c-8g-23583 does not seem to be running inside a container 08:15:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:15:29 $ docker top fd3ce10040196fc65b2559337dc82b188f8785da2ac5edb6ba83414d1fbe325d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:15:30 + make test 08:15:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:15:30 ? github.com/edgexfoundry/device-rest-go [no test files] 08:15:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:15:38 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 08:15:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:15:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:15:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:15:47 ./bin/test-attribution-txt.sh [Pipeline] echo 08:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:15:48 $ docker stop --time=1 fd3ce10040196fc65b2559337dc82b188f8785da2ac5edb6ba83414d1fbe325d 08:15:50 $ docker rm -f fd3ce10040196fc65b2559337dc82b188f8785da2ac5edb6ba83414d1fbe325d [Pipeline] // withDockerContainer [Pipeline] sh 08:15:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:15:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:15:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:15:51 + ls -al . 08:15:51 total 172 08:15:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:15 . 08:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:14 .. 08:15:51 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 08:14 .dockerignore 08:15:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:14 .git 08:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:14 .github 08:15:51 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 08:14 .gitignore 08:15:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:14 .golangci.yml 08:15:51 drwx------ 3 jenkins jenkins 4096 Apr 26 08:14 .semver 08:15:51 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 26 08:14 Attribution.txt 08:15:51 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 26 08:14 CHANGELOG.md 08:15:51 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 26 08:14 Dockerfile 08:15:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:14 GOVERNANCE.md 08:15:51 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 08:14 Jenkinsfile 08:15:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 08:14 LICENSE 08:15:51 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 26 08:14 Makefile 08:15:51 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 08:14 OWNERS.md 08:15:51 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 26 08:14 README.md 08:15:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:14 VERSION 08:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:14 bin 08:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:14 cmd 08:15:51 -rw-r--r-- 1 jenkins jenkins 9355 Apr 26 08:15 coverage.out 08:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:14 driver 08:15:51 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 26 08:14 go.mod 08:15:51 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 08:14 go.sum 08:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:14 snap 08:15:51 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 08:14 version.go [Pipeline] isUnix [Pipeline] sh 08:15:52 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=dbcbc661933c53ce9537f40932ed9242c7d46e25 --label arch=amd64 --label version=0.0.0 . 08:15:52 Sending build context to Docker daemon 10.59MB 08:15:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:15:52 Step 2/25 : FROM ${BASE} AS builder 08:15:52 ---> 6dca3396da76 08:15:52 Step 3/25 : ARG MAKE='make build' 08:15:52 ---> Running in 7ab7fd4b5748 08:15:52 Removing intermediate container 7ab7fd4b5748 08:15:52 ---> baf3cc71701b 08:15:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:15:52 ---> Running in 45cd1ae4576c 08:15:52 Removing intermediate container 45cd1ae4576c 08:15:52 ---> 1193c879122c 08:15:52 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:15:52 ---> Running in 95b4aa741504 08:15:52 Removing intermediate container 95b4aa741504 08:15:52 ---> 16a1321a9fc6 08:15:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:52 ---> Running in abf822f6a52d 08:15:53 Removing intermediate container abf822f6a52d 08:15:53 ---> 5ef562a36ad7 08:15:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:53 ---> Running in 58836e78b6ab 08:15:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:15:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:15:54 OK: 224 MiB in 56 packages 08:15:54 Removing intermediate container 58836e78b6ab 08:15:54 ---> 80b877a1336d 08:15:54 Step 8/25 : WORKDIR /device-rest-go 08:15:54 ---> Running in a99b7d996b7d 08:15:54 Removing intermediate container a99b7d996b7d 08:15:54 ---> df7fb8da7745 08:15:54 Step 9/25 : COPY go.mod vendor* ./ 08:15:55 ---> 665e0c8d3eeb 08:15:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:55 ---> Running in 7f30918a8697 08:15:55 Removing intermediate container 7f30918a8697 08:15:55 ---> 30e5fa0c2954 08:15:55 Step 11/25 : COPY . . 08:15:56 ---> e5c74d064e5d 08:15:56 Step 12/25 : RUN $MAKE 08:15:56 ---> Running in 6e127e7f6719 08:15:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:16:14 Removing intermediate container 6e127e7f6719 08:16:14 ---> 70ce14a56df1 08:16:14 Step 13/25 : FROM alpine:3.14 08:16:15 3.14: Pulling from library/alpine 08:16:15 8663204ce13b: Pulling fs layer 08:16:15 8663204ce13b: Download complete 08:16:15 8663204ce13b: Pull complete 08:16:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:16:15 Status: Downloaded newer image for alpine:3.14 08:16:15 ---> e04c818066af 08:16:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:16:15 ---> Running in 7eac1f5a9fff 08:16:15 Removing intermediate container 7eac1f5a9fff 08:16:15 ---> 6fdff8800c93 08:16:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:16:15 ---> Running in c653f645630a 08:16:16 Removing intermediate container c653f645630a 08:16:16 ---> 4bbe0ac8621a 08:16:16 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:16:16 ---> Running in b0c6f2b1f514 08:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:16:16 (1/6) Installing dumb-init (1.2.5-r1) 08:16:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:16:16 (3/6) Installing libsodium (1.0.18-r0) 08:16:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:16:16 (5/6) Installing libzmq (4.3.4-r0) 08:16:16 (6/6) Installing zeromq (4.3.4-r0) 08:16:16 Executing busybox-1.33.1-r7.trigger 08:16:16 OK: 8 MiB in 20 packages 08:16:17 Removing intermediate container b0c6f2b1f514 08:16:17 ---> f2afcf0885cf 08:16:17 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:16:17 ---> b297dcde8399 08:16:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:16:17 ---> 8ae0d2b8941a 08:16:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:16:17 ---> 220412a71f76 08:16:17 Step 20/25 : EXPOSE 59986 08:16:17 ---> Running in 30fd334d8b68 08:16:17 Removing intermediate container 30fd334d8b68 08:16:17 ---> 7539993f9f89 08:16:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:16:18 ---> Running in ed99701d6750 08:16:18 Removing intermediate container ed99701d6750 08:16:18 ---> 7c4ec15a2d95 08:16:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:16:18 ---> Running in abb0c4a47905 08:16:18 Removing intermediate container abb0c4a47905 08:16:18 ---> 91bb6cb7dd4d 08:16:18 Step 23/25 : LABEL arch=amd64 08:16:18 ---> Running in 9e71890cc1bb 08:16:18 Removing intermediate container 9e71890cc1bb 08:16:18 ---> bf5745f3a56a 08:16:18 Step 24/25 : LABEL git_sha=dbcbc661933c53ce9537f40932ed9242c7d46e25 08:16:18 ---> Running in 76ed61341845 08:16:18 Removing intermediate container 76ed61341845 08:16:18 ---> f65d83a30bbe 08:16:18 Step 25/25 : LABEL version=0.0.0 08:16:18 ---> Running in 734a43fbeb06 08:16:18 Removing intermediate container 734a43fbeb06 08:16:18 ---> 086de36cfd31 08:16:18 [Warning] One or more build-args [ARCH] were not consumed 08:16:18 Successfully built 086de36cfd31 08:16:18 Successfully tagged device-rest: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 08:16:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:19 08:16:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:16:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:19 latest: Pulling from edgex-lftools-log-publisher 08:16:19 5eb5b503b376: Pulling fs layer 08:16:19 5c69ac0246d0: Pulling fs layer 08:16:19 ec43610c2a17: Pulling fs layer 08:16:19 3a2ae6a8a46f: Pulling fs layer 08:16:19 33b1e0a273af: Pulling fs layer 08:16:19 5d3b04190fa2: Pulling fs layer 08:16:19 2f39f015ded8: Pulling fs layer 08:16:19 3a2ae6a8a46f: Waiting 08:16:19 33b1e0a273af: Waiting 08:16:19 5d3b04190fa2: Waiting 08:16:19 2f39f015ded8: Waiting 08:16:19 5c69ac0246d0: Verifying Checksum 08:16:19 5c69ac0246d0: Download complete 08:16:19 3a2ae6a8a46f: Verifying Checksum 08:16:19 3a2ae6a8a46f: Download complete 08:16:19 33b1e0a273af: Verifying Checksum 08:16:19 33b1e0a273af: Download complete 08:16:19 5d3b04190fa2: Verifying Checksum 08:16:19 5d3b04190fa2: Download complete 08:16:19 ec43610c2a17: Verifying Checksum 08:16:19 ec43610c2a17: Download complete 08:16:19 5eb5b503b376: Verifying Checksum 08:16:19 5eb5b503b376: Download complete 08:16:20 2f39f015ded8: Download complete 08:16:20 5eb5b503b376: Pull complete 08:16:21 5c69ac0246d0: Pull complete 08:16:21 ec43610c2a17: Pull complete 08:16:21 3a2ae6a8a46f: Pull complete 08:16:21 33b1e0a273af: Pull complete 08:16:21 5d3b04190fa2: Pull complete 08:16:26 2f39f015ded8: Pull complete 08:16:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:16:26 prd-ubuntu20.04-docker-8c-8g-23583 does not seem to be running inside a container 08:16:26 $ 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-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:16:28 $ docker top b9ad43008d926c426bc8f6f7e18c35644d3264ddb36e9457febd2aec5478ca6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:28 ---> job-cost.sh 08:16:28 lf-activate-venv: SKIPPING 08:16:28 INFO: No Stack... 08:16:29 INFO: Retrieving Pricing Info for: v3-standard-8 08:16:29 INFO: Archiving Costs [Pipeline] sh 08:16:29 + cat /w/workspace/gexfoundry_device-rest-go_PR-177/archives/cost.csv 08:16:29 + cut -d, -f6 [Pipeline] lock 08:16:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] 08:16:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] did not exist. Created. 08:16:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:30 + echo total: 0.2199999988079071 [Pipeline] stash 08:16:30 Stashed 1 file(s) [Pipeline] } 08:16:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:30 $ docker stop --time=1 b9ad43008d926c426bc8f6f7e18c35644d3264ddb36e9457febd2aec5478ca6d 08:16:31 $ docker rm -f b9ad43008d926c426bc8f6f7e18c35644d3264ddb36e9457febd2aec5478ca6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:16:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23584 in /w/workspace/gexfoundry_device-rest-go_PR-177 [Pipeline] { [Pipeline] ws 08:16:47 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 08:16:47 The recommended git tool is: git 08:16:55 using credential edgex-jenkins-ssh 08:16:55 Cloning the remote Git repository 08:16:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:16:55 > git init /w/workspace/device-rest-go/3 # timeout=10 08:16:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:16:55 > git --version # timeout=10 08:16:55 > git --version # 'git version 2.25.1' 08:16:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:58 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 5c4de0db82e7c269000adccebd751612431a5116 08:16:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:16:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:16:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:16:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:16:58 > git config core.sparsecheckout # timeout=10 08:16:58 > git checkout -f 5c4de0db82e7c269000adccebd751612431a5116 # timeout=10 08:16:58 Merge succeeded, producing 9bd1bf918d1bbde3b18ea99fe2178f6bf378543c 08:16:58 Checking out Revision 9bd1bf918d1bbde3b18ea99fe2178f6bf378543c (PR-177) 08:16:58 > git remote # timeout=10 08:16:58 > git config --get remote.origin.url # timeout=10 08:16:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:58 > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 08:16:58 > git rev-parse HEAD^{commit} # timeout=10 08:16:58 > git config core.sparsecheckout # timeout=10 08:16:58 > git checkout -f 9bd1bf918d1bbde3b18ea99fe2178f6bf378543c # timeout=10 08:17:02 Commit message: "Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD" 08:17:02 First time build. Skipping changelog. 08:17:02 > git rev-list --no-walk b84c888b2855b02e326e1c287c11f0c61e2064fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:17:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:17:03 % Total % Received % Xferd Average Speed Time Time Time Current 08:17:03 Dload Upload Total Spent Left Speed 08:17:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97876 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh 08:17:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:17:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:17:04 + sudo tee /etc/docker/daemon.new 08:17:04 { 08:17:04 "registry-mirrors": [ 08:17:04 "https://nexus3.edgexfoundry.org:10001" 08:17:04 ], 08:17:04 "bip": "10.250.0.254/24", 08:17:04 "hosts": [ 08:17:04 "tcp://0.0.0.0:5555", 08:17:04 "unix:///var/run/docker.sock" 08:17:04 ], 08:17:04 "mtu": 1458, 08:17:04 "selinux-enabled": true, 08:17:04 "seccomp-profile": "/etc/docker/seccomp.json" 08:17:04 } [Pipeline] sh 08:17:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:17:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:17:23 provisioning config files... 08:17:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7180789358407357806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:23 ---> docker-login.sh 08:17:23 nexus3.edgexfoundry.org:10001 08:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:24 Configure a credential helper to remove this warning. See 08:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:24 08:17:24 Login Succeeded 08:17:24 nexus3.edgexfoundry.org:10002 08:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:25 Configure a credential helper to remove this warning. See 08:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:25 08:17:25 Login Succeeded 08:17:25 nexus3.edgexfoundry.org:10003 08:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:25 Configure a credential helper to remove this warning. See 08:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:25 08:17:25 Login Succeeded 08:17:25 nexus3.edgexfoundry.org:10004 08:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:26 Configure a credential helper to remove this warning. See 08:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:26 08:17:26 Login Succeeded 08:17:26 docker.io 08:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:26 Configure a credential helper to remove this warning. See 08:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:26 08:17:26 Login Succeeded 08:17:26 ---> docker-login.sh ends [Pipeline] } 08:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:17:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:17:27 ========================================================= 08:17:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:17:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:17:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:17:27 Sending build context to Docker daemon 129.5kB 08:17:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:17:28 Step 2/12 : FROM ${BASE} AS builder 08:17:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:17:28 9b3977197b4f: Pulling fs layer 08:17:28 1a89e8eeedd5: Pulling fs layer 08:17:28 94645a83ff95: Pulling fs layer 08:17:28 3f3a8bcf1eab: Pulling fs layer 08:17:28 0c92f367c5e7: Pulling fs layer 08:17:28 3096ccb668a1: Pulling fs layer 08:17:28 e8cf19c19ddd: Pulling fs layer 08:17:28 a4caa8a26152: Pulling fs layer 08:17:28 3f3a8bcf1eab: Waiting 08:17:28 0c92f367c5e7: Waiting 08:17:28 3096ccb668a1: Waiting 08:17:28 a4caa8a26152: Waiting 08:17:28 e8cf19c19ddd: Waiting 08:17:28 94645a83ff95: Verifying Checksum 08:17:28 94645a83ff95: Download complete 08:17:28 1a89e8eeedd5: Verifying Checksum 08:17:28 1a89e8eeedd5: Download complete 08:17:28 0c92f367c5e7: Verifying Checksum 08:17:28 0c92f367c5e7: Download complete 08:17:28 3096ccb668a1: Verifying Checksum 08:17:28 3096ccb668a1: Download complete 08:17:28 9b3977197b4f: Download complete 08:17:28 e8cf19c19ddd: Verifying Checksum 08:17:28 e8cf19c19ddd: Download complete 08:17:28 9b3977197b4f: Pull complete 08:17:29 1a89e8eeedd5: Pull complete 08:17:30 94645a83ff95: Pull complete 08:17:30 a4caa8a26152: Verifying Checksum 08:17:30 a4caa8a26152: Download complete 08:17:31 3f3a8bcf1eab: Verifying Checksum 08:17:31 3f3a8bcf1eab: Download complete 08:17:43 3f3a8bcf1eab: Pull complete 08:17:43 0c92f367c5e7: Pull complete 08:17:43 3096ccb668a1: Pull complete 08:17:43 e8cf19c19ddd: Pull complete 08:17:50 a4caa8a26152: Pull complete 08:17:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:17:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:17:50 ---> 725f1c02e7f9 08:17:50 Step 3/12 : ARG MAKE='make build' 08:17:50 ---> Running in 2888bec1bc13 08:17:50 Removing intermediate container 2888bec1bc13 08:17:50 ---> c79d329cfacd 08:17:50 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:17:50 ---> Running in ff978bb34b6f 08:17:51 Removing intermediate container ff978bb34b6f 08:17:51 ---> 0842a7fcca71 08:17:51 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:17:51 ---> Running in d0b7ccc1aff8 08:17:51 Removing intermediate container d0b7ccc1aff8 08:17:51 ---> 0099c5a0e445 08:17:51 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:17:51 ---> Running in 109c7df7fc6d 08:17:53 Removing intermediate container 109c7df7fc6d 08:17:53 ---> c11d2668ba37 08:17:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:17:53 ---> Running in 9cd130e8c8bd 08:17:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:17:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:17:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:17:56 (2/4) Installing libedit (20210910.3.1-r0) 08:17:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:17:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:17:56 Executing busybox-1.34.1-r3.trigger 08:17:56 OK: 224 MiB in 56 packages 08:17:57 Removing intermediate container 9cd130e8c8bd 08:17:57 ---> a00f7bfd3cd9 08:17:57 Step 8/12 : WORKDIR /device-rest-go 08:17:57 ---> Running in 82598587ffbe 08:17:57 Removing intermediate container 82598587ffbe 08:17:57 ---> 40ec6995dc76 08:17:57 Step 9/12 : COPY go.mod vendor* ./ 08:17:58 ---> ed7e5d53ea09 08:17:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:17:58 ---> Running in 5a56ff2b5269 08:18:45 Removing intermediate container 5a56ff2b5269 08:18:45 ---> e94ecb21040e 08:18:45 Step 11/12 : COPY . . 08:18:45 ---> 98e20798baf4 08:18:45 Step 12/12 : RUN $MAKE 08:18:45 ---> Running in bf31000638ef 08:18:45 noop 08:18:45 Removing intermediate container bf31000638ef 08:18:45 ---> 7356bc60b648 08:18:45 Successfully built 7356bc60b648 08:18:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:18:45 + docker inspect -f . ci-base-image-arm64 08:18:45 . [Pipeline] withDockerContainer 08:18:46 prd-ubuntu20.04-docker-arm64-4c-16g-23584 does not seem to be running inside a container 08:18:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:18:47 $ docker top 74a24768650a56733bc7c2ccab9f3eac85289e6b0c66d22261de6e6400b9edfc -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:48 + go version 08:18:48 go version go1.17.6 linux/arm64 [Pipeline] } 08:18:48 $ docker stop --time=1 74a24768650a56733bc7c2ccab9f3eac85289e6b0c66d22261de6e6400b9edfc 08:18:50 $ docker rm -f 74a24768650a56733bc7c2ccab9f3eac85289e6b0c66d22261de6e6400b9edfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:18:50 + docker inspect -f . ci-base-image-arm64 08:18:50 . [Pipeline] withDockerContainer 08:18:50 prd-ubuntu20.04-docker-arm64-4c-16g-23584 does not seem to be running inside a container 08:18:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:18:52 $ docker top 492a19a1a52dc5e49de9a3ad99db6e6ce91117a2a9e3b2aa7c8f3a331584c33d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:18:53 + make test 08:18:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:18:54 ? github.com/edgexfoundry/device-rest-go [no test files] 08:20:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:20:16 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 08:20:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:20:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:20:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:20:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:20:34 ./bin/test-attribution-txt.sh [Pipeline] echo 08:20:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:20:37 $ docker stop --time=1 492a19a1a52dc5e49de9a3ad99db6e6ce91117a2a9e3b2aa7c8f3a331584c33d 08:20:39 $ docker rm -f 492a19a1a52dc5e49de9a3ad99db6e6ce91117a2a9e3b2aa7c8f3a331584c33d [Pipeline] // withDockerContainer [Pipeline] sh 08:20:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:20:40 Warning: overwriting stash ‘coverage-report’ 08:20:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:20:41 + ls -al . 08:20:41 total 168 08:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:20 . 08:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:16 .. 08:20:41 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 08:16 .dockerignore 08:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:17 .git 08:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:16 .github 08:20:41 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 08:16 .gitignore 08:20:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:16 .golangci.yml 08:20:41 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 26 08:16 Attribution.txt 08:20:41 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 26 08:16 CHANGELOG.md 08:20:41 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 26 08:16 Dockerfile 08:20:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:16 GOVERNANCE.md 08:20:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 08:16 Jenkinsfile 08:20:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 08:16 LICENSE 08:20:41 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 26 08:16 Makefile 08:20:41 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 08:16 OWNERS.md 08:20:41 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 26 08:16 README.md 08:20:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:14 VERSION 08:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:16 bin 08:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:16 cmd 08:20:41 -rw-r--r-- 1 jenkins jenkins 9355 Apr 26 08:20 coverage.out 08:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:16 driver 08:20:41 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 26 08:16 go.mod 08:20:41 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 08:16 go.sum 08:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:16 snap 08:20:41 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 08:16 version.go [Pipeline] isUnix [Pipeline] sh 08:20:41 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9bd1bf918d1bbde3b18ea99fe2178f6bf378543c --label arch=arm64 --label version=0.0.0 . 08:20:41 Sending build context to Docker daemon 139.8kB 08:20:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:20:42 Step 2/25 : FROM ${BASE} AS builder 08:20:42 ---> 7356bc60b648 08:20:42 Step 3/25 : ARG MAKE='make build' 08:20:42 ---> Running in b9971d7e48bf 08:20:42 Removing intermediate container b9971d7e48bf 08:20:42 ---> 57173bc742cb 08:20:42 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:20:42 ---> Running in f5fd450fd3f7 08:20:43 Removing intermediate container f5fd450fd3f7 08:20:43 ---> e9410e030a15 08:20:43 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:20:43 ---> Running in effed330fcd1 08:20:43 Removing intermediate container effed330fcd1 08:20:43 ---> fc1f5d84d307 08:20:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:43 ---> Running in 60722b7bb6d1 08:20:45 Removing intermediate container 60722b7bb6d1 08:20:45 ---> 0833229f4360 08:20:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:20:45 ---> Running in ef008ef7de22 08:20:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:20:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:20:47 OK: 224 MiB in 56 packages 08:20:48 Removing intermediate container ef008ef7de22 08:20:48 ---> b254ee160b9a 08:20:48 Step 8/25 : WORKDIR /device-rest-go 08:20:48 ---> Running in a090409251c7 08:20:49 Removing intermediate container a090409251c7 08:20:49 ---> 69d922cd370e 08:20:49 Step 9/25 : COPY go.mod vendor* ./ 08:20:49 ---> 6240987a0ad5 08:20:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:20:49 ---> Running in 53e265f05616 08:20:51 Removing intermediate container 53e265f05616 08:20:51 ---> c7db257ad2b8 08:20:51 Step 11/25 : COPY . . 08:20:52 ---> fddf08d142d6 08:20:52 Step 12/25 : RUN $MAKE 08:20:52 ---> Running in 6484304d47fe 08:20:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:23:00 Removing intermediate container 6484304d47fe 08:23:00 ---> 831d65d3a61d 08:23:00 Step 13/25 : FROM alpine:3.14 08:23:00 3.14: Pulling from library/alpine 08:23:00 455c02918c45: Pulling fs layer 08:23:00 455c02918c45: Verifying Checksum 08:23:00 455c02918c45: Download complete 08:23:00 455c02918c45: Pull complete 08:23:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:23:00 Status: Downloaded newer image for alpine:3.14 08:23:00 ---> ac73e934f311 08:23:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:23:00 ---> Running in 05cab9e7aa94 08:23:00 Removing intermediate container 05cab9e7aa94 08:23:00 ---> fb24af224397 08:23:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:23:00 ---> Running in 158c7d2cde93 08:23:00 Removing intermediate container 158c7d2cde93 08:23:00 ---> e25bb9eeb096 08:23:00 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:23:00 ---> Running in 40ce852bbb6f 08:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:23:00 (1/6) Installing dumb-init (1.2.5-r1) 08:23:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:23:00 (3/6) Installing libsodium (1.0.18-r0) 08:23:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:23:00 (5/6) Installing libzmq (4.3.4-r0) 08:23:00 (6/6) Installing zeromq (4.3.4-r0) 08:23:00 Executing busybox-1.33.1-r7.trigger 08:23:00 OK: 8 MiB in 20 packages 08:23:00 Removing intermediate container 40ce852bbb6f 08:23:00 ---> 841771eb46db 08:23:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:23:00 ---> 1d86d5c8bcb3 08:23:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:23:00 ---> 82450cebc2f4 08:23:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:23:00 ---> 01411cefa012 08:23:00 Step 20/25 : EXPOSE 59986 08:23:00 ---> Running in c4f658fff0d4 08:23:00 Removing intermediate container c4f658fff0d4 08:23:00 ---> 128f5c7002e6 08:23:00 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:23:00 ---> Running in 2e2e302650c7 08:23:00 Removing intermediate container 2e2e302650c7 08:23:00 ---> 40d55e07c6a4 08:23:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:23:00 ---> Running in ba7ad21808b0 08:23:00 Removing intermediate container ba7ad21808b0 08:23:00 ---> 43206071b7e0 08:23:00 Step 23/25 : LABEL arch=arm64 08:23:00 ---> Running in 14186e388c9c 08:23:00 Removing intermediate container 14186e388c9c 08:23:00 ---> fbce25bfdc01 08:23:00 Step 24/25 : LABEL git_sha=9bd1bf918d1bbde3b18ea99fe2178f6bf378543c 08:23:00 ---> Running in 87248b6f2579 08:23:00 Removing intermediate container 87248b6f2579 08:23:00 ---> 4e2dd993e026 08:23:00 Step 25/25 : LABEL version=0.0.0 08:23:00 ---> Running in ddb36dd1c7b1 08:23:00 Removing intermediate container ddb36dd1c7b1 08:23:00 ---> 30ab05fb7b67 08:23:00 [Warning] One or more build-args [ARCH] were not consumed 08:23:00 Successfully built 30ab05fb7b67 08:23:00 Successfully tagged device-rest-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 08:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:01 08:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:23:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:01 arm64: Pulling from edgex-lftools-log-publisher 08:23:01 8998bd30e6a1: Pulling fs layer 08:23:01 04944245beec: Pulling fs layer 08:23:01 699f458cf7ca: Pulling fs layer 08:23:01 765212b225bb: Pulling fs layer 08:23:01 f23df028b6ca: Pulling fs layer 08:23:01 d65c8cfc05b1: Pulling fs layer 08:23:01 2437ff75d9bd: Pulling fs layer 08:23:01 f23df028b6ca: Waiting 08:23:01 765212b225bb: Waiting 08:23:01 d65c8cfc05b1: Waiting 08:23:01 2437ff75d9bd: Waiting 08:23:01 04944245beec: Download complete 08:23:01 765212b225bb: Verifying Checksum 08:23:01 765212b225bb: Download complete 08:23:01 f23df028b6ca: Verifying Checksum 08:23:01 f23df028b6ca: Download complete 08:23:01 d65c8cfc05b1: Verifying Checksum 08:23:01 d65c8cfc05b1: Download complete 08:23:01 699f458cf7ca: Verifying Checksum 08:23:01 699f458cf7ca: Download complete 08:23:02 8998bd30e6a1: Verifying Checksum 08:23:02 8998bd30e6a1: Download complete 08:23:04 2437ff75d9bd: Verifying Checksum 08:23:04 2437ff75d9bd: Download complete 08:23:07 8998bd30e6a1: Pull complete 08:23:07 04944245beec: Pull complete 08:23:08 699f458cf7ca: Pull complete 08:23:08 765212b225bb: Pull complete 08:23:09 f23df028b6ca: Pull complete 08:23:09 d65c8cfc05b1: Pull complete 08:23:24 2437ff75d9bd: Pull complete 08:23:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:23:25 prd-ubuntu20.04-docker-arm64-4c-16g-23584 does not seem to be running inside a container 08:23:25 $ 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-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:23:27 $ docker top 471a26b899af1f58347d8b3b15d848cfcc6bcfb02b03acf9cbb7af8a347db04e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:28 ---> job-cost.sh 08:23:28 lf-activate-venv: SKIPPING 08:23:28 INFO: No Stack... 08:23:29 INFO: Retrieving Pricing Info for: v3-standard-4 08:23:30 INFO: Archiving Costs [Pipeline] sh 08:23:30 + cut -d, -f6 08:23:30 + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock 08:23:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] 08:23:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] did not exist. Created. 08:23:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:23:31 /w/workspace/device-rest-go/3@tmp/durable-b746dee4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:23:32 + echo total: 0.10999999940395355 [Pipeline] stash 08:23:32 Warning: overwriting stash ‘stack-cost’ 08:23:32 Stashed 1 file(s) [Pipeline] } 08:23:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-177-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:23:32 $ docker stop --time=1 471a26b899af1f58347d8b3b15d848cfcc6bcfb02b03acf9cbb7af8a347db04e 08:23:33 $ docker rm -f 471a26b899af1f58347d8b3b15d848cfcc6bcfb02b03acf9cbb7af8a347db04e [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 08:23:34 provisioning config files... 08:23:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config7962132341776161037tmp [Pipeline] { [Pipeline] sh 08:23:34 + set +x 08:23:34 + curl -s https://codecov.io/bash 08:23:34 + bash -s -- 08:23:34 08:23:34 _____ _ 08:23:34 / ____| | | 08:23:34 | | ___ __| | ___ ___ _____ __ 08:23:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:23:34 | |___| (_) | (_| | __/ (_| (_) \ V / 08:23:34 \_____\___/ \__,_|\___|\___\___/ \_/ 08:23:34 Bash-1.0.6 08:23:34 08:23:34 08:23:34 ==> git version 2.25.1 found 08:23:34 ==> 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 08:23:34 Release-Date: 2020-01-08 08:23:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:23:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:23:34 ==> Jenkins CI detected. 08:23:34 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-177 08:23:34 project root: . 08:23:34 --> token set from env 08:23:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:23:34 ==> Running gcov in . (disable via -X gcov) 08:23:34 ==> Python coveragepy not found 08:23:34 ==> Searching for coverage reports in: 08:23:34 + . 08:23:34 -> Found 1 reports 08:23:34 ==> Detecting git/mercurial file structure 08:23:34 ==> Reading reports 08:23:34 + ./coverage.out bytes=9355 08:23:34 ==> Appending adjustments 08:23:34 https://docs.codecov.io/docs/fixing-reports 08:23:34 + Found adjustments 08:23:34 ==> Gzipping contents 08:23:34 4.0K /tmp/codecov.tRsyMN.gz 08:23:34 ==> Uploading reports 08:23:34 url: https://codecov.io 08:23:34 query: branch=PR-177&commit=dbcbc661933c53ce9537f40932ed9242c7d46e25&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-177%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=177&job=&cmd_args= 08:23:34 -> Pinging Codecov 08:23:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-177&commit=dbcbc661933c53ce9537f40932ed9242c7d46e25&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-177%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=177&job=&cmd_args= 08:23:34 -> Uploading to 08:23:34 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/4E5D53B4F1F92C436F7061BF334D961C/dbcbc661933c53ce9537f40932ed9242c7d46e25/2eb9867b-165e-4371-b074-7fa171317220.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T082334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af91578cf3684324b20996c68aef811d5226c559b9d035e19d9af1acc6b1c873 08:23:34 % Total % Received % Xferd Average Speed Time Time Time Current 08:23:34 Dload Upload Total Spent Left Speed 08:23:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7493 --:--:-- --:--:-- --:--:-- 7493 08:23:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/dbcbc661933c53ce9537f40932ed9242c7d46e25 [Pipeline] } 08:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 08:23:35 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-177/archives ] 08:23:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-177/archives 08:23:35 total 16 08:23:35 drwxr-xr-x 3 root root 4096 Apr 26 08:16 . 08:23:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:16 .. 08:23:35 drwxr-xr-x 2 root root 4096 Apr 26 08:16 cost 08:23:35 -rw-r--r-- 1 root root 85 Apr 26 08:16 cost.csv 08:23:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-177/archives 08:23:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-177/archives 08:23:35 total 16 08:23:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:16 . 08:23:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:16 .. 08:23:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:16 cost 08:23:35 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:23:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:23:37 ---> package-listing.sh 08:23:37 ++ facter osfamily 08:23:37 ++ tr '[:upper:]' '[:lower:]' 08:23:37 + OS_FAMILY=debian 08:23:37 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-177 08:23:37 + START_PACKAGES=/tmp/packages_start.txt 08:23:37 + END_PACKAGES=/tmp/packages_end.txt 08:23:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:23:37 + PACKAGES=/tmp/packages_start.txt 08:23:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-177 ']' 08:23:37 + PACKAGES=/tmp/packages_end.txt 08:23:37 + case "${OS_FAMILY}" in 08:23:37 + dpkg -l 08:23:37 + grep '^ii' 08:23:37 + '[' -f /tmp/packages_start.txt ']' 08:23:37 + '[' -f /tmp/packages_end.txt ']' 08:23:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:23:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-177 ']' 08:23:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-177/archives/ 08:23:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-177/archives/ [Pipeline] echo 08:23:37 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-rest-go_PR-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:23:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:38 . [Pipeline] withDockerContainer 08:23:38 prd-ubuntu20.04-docker-8c-8g-23583 does not seem to be running inside a container 08:23:38 $ 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-rest-go_PR-177/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-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:23:38 $ docker top 410ecd13e8bc21655d131913d72845bf56f94aba475b63ed95fff779728356d8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:38 + touch /tmp/pre-build-complete [Pipeline] sh 08:23:39 + mkdir -p /var/log/sysstat [Pipeline] sh 08:23:39 + ls /var/log/sa-host 08:23:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:39 provisioning config files... 08:23:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config9029596516767376607tmp [Pipeline] { [Pipeline] echo 08:23:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:23:40 ---> create-netrc.sh [Pipeline] } 08:23:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:23:40 ---> python-tools-install.sh [Pipeline] echo 08:23:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:23:40 ---> sudo-logs.sh 08:23:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:23:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:23:41 ---> job-cost.sh 08:23:41 lf-activate-venv: SKIPPING 08:23:41 DEBUG: total: 0.2199999988079071 08:23:41 INFO: Retrieving Stack Cost... 08:23:41 INFO: Retrieving Pricing Info for: v3-standard-8 08:23:41 INFO: Archiving Costs [Pipeline] echo 08:23:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:23:42 ---> logs-deploy.sh 08:23:42 lf-activate-venv: SKIPPING 08:23:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-177/3 08:23:42 INFO: archiving workspace using pattern(s): 08:23:43 Archives upload complete. 08:23:43 INFO: archiving logs to Nexus 08:23:43 ---> uname -a: 08:23:43 Linux prd-ubuntu20-04-docker-8c-8g-23583 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 08:23:43 08:23:43