Pull request #220 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9af8ab52f69e169985f54b7ef61b2c71a076a49+336f3e767954e61a02384677edb3fa394267c1fe (69e239b27182e0f3f9d074f5ada289918127dcb1) 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-ssh9680163351158515946.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh15076659309055730184.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh900995735787328990.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1186979097439387470.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9615924103608844157.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1711413287589596875.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8402 in /w/workspace/gexfoundry_device-rest-go_PR-220 [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-220 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 336f3e767954e61a02384677edb3fa394267c1fe into PR head commit f9af8ab52f69e169985f54b7ef61b2c71a076a49 Merge succeeded, producing f9af8ab52f69e169985f54b7ef61b2c71a076a49 Checking out Revision f9af8ab52f69e169985f54b7ef61b2c71a076a49 (PR-220) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 336f3e767954e61a02384677edb3fa394267c1fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:33 ========================================================= 20:04:33 EdgeX Global Pipelines Version Info 20:04:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:34 ------------------- 20:04:34 stable info: 20:04:34 ------------------- 20:04:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:34 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:04:34 Message: update stable to v1.0.243 20:04:34 ------------------- 20:04:34 experimental info: 20:04:34 ------------------- 20:04:34 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:34 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:04:34 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-220 [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-220 [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-220 [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9af8ab [Pipeline] echo 20:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:36 provisioning config files... 20:04:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config11856861227051341285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:37 ---> docker-login.sh 20:04:37 nexus3.edgexfoundry.org:10001 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10002 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10003 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10004 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 docker.io 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:38 Configure a credential helper to remove this warning. See 20:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:38 20:04:38 Login Succeeded 20:04:38 ---> docker-login.sh ends [Pipeline] } 20:04:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:38 + git rev-list -1 --merges f9af8ab52f69e169985f54b7ef61b2c71a076a49~1..f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo 20:04:38 -----------> git rev-list -1 --merges f9af8ab52f69e169985f54b7ef61b2c71a076a49~1..f9af8ab52f69e169985f54b7ef61b2c71a076a49 f9af8ab52f69e169985f54b7ef61b2c71a076a49 [false] [Pipeline] sh 20:04:39 + git log --format=format:%s -1 f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo 20:04:39 ========================================================= 20:04:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:39 + git log --format=format:%s -1 f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo 20:04:39 [semverPrep] GIT_COMMIT: f9af8ab52f69e169985f54b7ef61b2c71a076a49, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:04:39 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:40 + grep -v github /etc/ssh/ssh_known_hosts 20:04:40 + [ -e /tmp/ssh_known_hosts ] 20:04:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:40 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:40 20:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:40 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:40 b85a868b505f: Pulling fs layer 20:04:40 e2be974225ed: Pulling fs layer 20:04:40 339a4e72a1f5: Pulling fs layer 20:04:40 988bab9f4d93: Pulling fs layer 20:04:40 1469e6f7b9e6: Pulling fs layer 20:04:40 eaf3925da568: Pulling fs layer 20:04:40 bab4dde63d76: Pulling fs layer 20:04:40 bde34c3a00c8: Pulling fs layer 20:04:40 b352a97aabf1: Pulling fs layer 20:04:40 4872d77fe225: Pulling fs layer 20:04:40 5851b861e8e6: Pulling fs layer 20:04:40 988bab9f4d93: Waiting 20:04:40 1469e6f7b9e6: Waiting 20:04:40 eaf3925da568: Waiting 20:04:40 bab4dde63d76: Waiting 20:04:40 bde34c3a00c8: Waiting 20:04:40 b352a97aabf1: Waiting 20:04:40 4872d77fe225: Waiting 20:04:40 5851b861e8e6: Waiting 20:04:41 e2be974225ed: Verifying Checksum 20:04:41 e2be974225ed: Download complete 20:04:41 988bab9f4d93: Verifying Checksum 20:04:41 988bab9f4d93: Download complete 20:04:41 1469e6f7b9e6: Verifying Checksum 20:04:41 1469e6f7b9e6: Download complete 20:04:41 eaf3925da568: Verifying Checksum 20:04:41 eaf3925da568: Download complete 20:04:41 339a4e72a1f5: Verifying Checksum 20:04:41 339a4e72a1f5: Download complete 20:04:41 bde34c3a00c8: Download complete 20:04:41 b352a97aabf1: Verifying Checksum 20:04:41 b352a97aabf1: Download complete 20:04:41 4872d77fe225: Verifying Checksum 20:04:41 4872d77fe225: Download complete 20:04:41 5851b861e8e6: Verifying Checksum 20:04:41 5851b861e8e6: Download complete 20:04:41 b85a868b505f: Verifying Checksum 20:04:41 b85a868b505f: Download complete 20:04:41 bab4dde63d76: Verifying Checksum 20:04:41 bab4dde63d76: Download complete 20:04:42 b85a868b505f: Pull complete 20:04:42 e2be974225ed: Pull complete 20:04:43 339a4e72a1f5: Pull complete 20:04:43 988bab9f4d93: Pull complete 20:04:43 1469e6f7b9e6: Pull complete 20:04:43 eaf3925da568: Pull complete 20:04:45 bab4dde63d76: Pull complete 20:04:45 bde34c3a00c8: Pull complete 20:04:45 b352a97aabf1: Pull complete 20:04:45 4872d77fe225: Pull complete 20:04:45 5851b861e8e6: Pull complete 20:04:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:45 prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container 20:04:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:04:48 $ docker top 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def -eo pid,comm 20:04:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:04:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:48 [ssh-agent] Looking for ssh-agent implementation... 20:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:48 $ docker exec 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent 20:04:48 SSH_AUTH_SOCK=/tmp/ssh-YLbTUG26OW9u/agent.34 20:04:48 SSH_AGENT_PID=40 20:04:48 Running ssh-add (command line suppressed) 20:04:48 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_636643087452928555.key (/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_636643087452928555.key) 20:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:49 + git tag --points-at HEAD [Pipeline] } 20:04:49 $ docker exec --env ******** --env ******** 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent -k 20:04:49 unset SSH_AUTH_SOCK; 20:04:49 unset SSH_AGENT_PID; 20:04:49 echo Agent pid 40 killed; 20:04:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:49 [ssh-agent] Looking for ssh-agent implementation... 20:04:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:49 $ docker exec 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent 20:04:49 SSH_AUTH_SOCK=/tmp/ssh-2z0fzSPD5Pvi/agent.72 20:04:49 SSH_AGENT_PID=78 20:04:49 Running ssh-add (command line suppressed) 20:04:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_7893926232619006270.key (/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_7893926232619006270.key) 20:04:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:49 + git semver init 20:04:50 2022-10-17 20:04:50,075 [run_init] DEBUG init version:0.0.0 force:False 20:04:50 2022-10-17 20:04:50,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-220/.semver 20:04:50 2022-10-17 20:04:50,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-220/.semver 20:04:50 2022-10-17 20:04:50,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-220/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-220, universal_newlines=False, shell=None, istream=None) 20:04:51 2022-10-17 20:04:51,171 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-220/.git/info/exclude 20:04:51 2022-10-17 20:04:51,171 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-220/.semver/PR-220 with force:False 20:04:51 2022-10-17 20:04:51,171 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-220/.semver/PR-220 20:04:51 2022-10-17 20:04:51,176 [execute] INFO git cat-file --batch-check 20:04:51 2022-10-17 20:04:51,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) 20:04:51 2022-10-17 20:04:51,183 [execute] INFO git cat-file --batch 20:04:51 2022-10-17 20:04:51,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) 20:04:51 2022-10-17 20:04:51,189 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-220/.semver/PR-220 20:04:51 0.0.0 [Pipeline] } 20:04:51 $ docker exec --env ******** --env ******** 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent -k 20:04:51 unset SSH_AUTH_SOCK; 20:04:51 unset SSH_AGENT_PID; 20:04:51 echo Agent pid 78 killed; 20:04:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:52 + git semver [Pipeline] } 20:04:52 $ docker stop --time=1 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def 20:04:53 $ docker rm -f 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def [Pipeline] // withDockerContainer [Pipeline] sh 20:04:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:54 Stashed 1 file(s) [Pipeline] echo 20:04:54 [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 20:04:55 provisioning config files... 20:04:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config6765724262418062685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:55 ---> docker-login.sh 20:04:55 nexus3.edgexfoundry.org:10001 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 nexus3.edgexfoundry.org:10002 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 nexus3.edgexfoundry.org:10003 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 nexus3.edgexfoundry.org:10004 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:55 Configure a credential helper to remove this warning. See 20:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:55 20:04:55 Login Succeeded 20:04:55 docker.io 20:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:56 Configure a credential helper to remove this warning. See 20:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:56 20:04:56 Login Succeeded 20:04:56 ---> docker-login.sh ends [Pipeline] } 20:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:56 ========================================================= 20:04:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:04:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:04:56 Sending build context to Docker daemon 10.73MB 20:04:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:04:56 Step 2/13 : FROM ${BASE} AS builder 20:04:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:56 213ec9aee27d: Pulling fs layer 20:04:56 4583459ba037: Pulling fs layer 20:04:56 93c1e223e6f2: Pulling fs layer 20:04:56 53926ce57604: Pulling fs layer 20:04:56 21b2b0c7a3f4: Pulling fs layer 20:04:56 30f14e443154: Pulling fs layer 20:04:56 801331c1e519: Pulling fs layer 20:04:56 99cc6dd402b0: Pulling fs layer 20:04:56 7d9ed39f4882: Pulling fs layer 20:04:56 53926ce57604: Waiting 20:04:56 21b2b0c7a3f4: Waiting 20:04:56 99cc6dd402b0: Waiting 20:04:56 801331c1e519: Waiting 20:04:56 7d9ed39f4882: Waiting 20:04:56 93c1e223e6f2: Download complete 20:04:56 4583459ba037: Download complete 20:04:57 21b2b0c7a3f4: Verifying Checksum 20:04:57 21b2b0c7a3f4: Download complete 20:04:57 30f14e443154: Verifying Checksum 20:04:57 30f14e443154: Download complete 20:04:57 213ec9aee27d: Verifying Checksum 20:04:57 801331c1e519: Download complete 20:04:57 213ec9aee27d: Pull complete 20:04:57 4583459ba037: Pull complete 20:04:57 93c1e223e6f2: Pull complete 20:04:57 7d9ed39f4882: Verifying Checksum 20:04:57 7d9ed39f4882: Download complete 20:04:58 53926ce57604: Verifying Checksum 20:04:58 53926ce57604: Download complete 20:04:58 99cc6dd402b0: Verifying Checksum 20:04:58 99cc6dd402b0: Download complete 20:05:02 53926ce57604: Pull complete 20:05:02 21b2b0c7a3f4: Pull complete 20:05:02 30f14e443154: Pull complete 20:05:02 801331c1e519: Pull complete 20:05:04 99cc6dd402b0: Pull complete 20:05:05 7d9ed39f4882: Pull complete 20:05:05 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:05:05 ---> 1dedd983c030 20:05:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:05:08 ---> Running in f902114a74e7 20:05:08 Removing intermediate container f902114a74e7 20:05:08 ---> 86365316690b 20:05:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:08 ---> Running in 7ca17b7ede03 20:05:08 Removing intermediate container 7ca17b7ede03 20:05:08 ---> 884ce2999ff1 20:05:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:08 ---> Running in c3f10129e3f2 20:05:08 Removing intermediate container c3f10129e3f2 20:05:08 ---> 05df53b1ff98 20:05:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:05:08 ---> Running in 76a0962a55b7 20:05:08 Removing intermediate container 76a0962a55b7 20:05:08 ---> e3c0e511d47b 20:05:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:08 ---> Running in 4fcb7f7b36a9 20:05:09 Removing intermediate container 4fcb7f7b36a9 20:05:09 ---> 7bf7d65e64be 20:05:09 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:09 ---> Running in 2f84461ee00e 20:05:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:09 Still waiting to schedule task 20:05:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:05:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:05:10 (2/4) Installing libedit (20210910.3.1-r0) 20:05:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:05:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:05:11 Executing busybox-1.35.0-r17.trigger 20:05:11 OK: 216 MiB in 55 packages 20:05:11 Removing intermediate container 2f84461ee00e 20:05:11 ---> 731965fb1f35 20:05:11 Step 9/13 : WORKDIR /device-rest-go 20:05:11 ---> Running in b25a928858b0 20:05:11 Removing intermediate container b25a928858b0 20:05:11 ---> ca90c7e0d47d 20:05:11 Step 10/13 : COPY go.mod vendor* ./ 20:05:11 ---> 27edc2a024d6 20:05:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:11 ---> Running in f8b8b2048000 20:05:33 Removing intermediate container f8b8b2048000 20:05:33 ---> e97e883612c0 20:05:33 Step 12/13 : COPY . . 20:05:33 ---> 2c480ac63d7f 20:05:33 Step 13/13 : RUN $MAKE 20:05:33 ---> Running in f0a1c9576285 20:05:33 noop 20:05:33 Removing intermediate container f0a1c9576285 20:05:33 ---> d127988ceeee 20:05:33 Successfully built d127988ceeee 20:05:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:34 + docker inspect -f . ci-base-image-x86_64 20:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:34 prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container 20:05:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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 ******** ci-base-image-x86_64 cat 20:05:34 $ docker top 2bf3c8f458d65bc4f06f2832ed67b534dbf52b11cf58a1c878af1cf5e13f2e79 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:35 + go version 20:05:35 go version go1.18.7 linux/amd64 [Pipeline] } 20:05:35 $ docker stop --time=1 2bf3c8f458d65bc4f06f2832ed67b534dbf52b11cf58a1c878af1cf5e13f2e79 20:05:36 $ docker rm -f 2bf3c8f458d65bc4f06f2832ed67b534dbf52b11cf58a1c878af1cf5e13f2e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:37 + docker inspect -f . ci-base-image-x86_64 20:05:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:37 prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container 20:05:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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 ******** ci-base-image-x86_64 cat 20:05:37 $ docker top 39c75bb3222a8dc988b3b93bdbecb21703d2773a054b7e4f89c9771ef9fb1ee4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:38 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-220 [Pipeline] fileExists [Pipeline] sh 20:05:38 + make test 20:05:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:05:38 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:49 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 20:05:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:05:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:59 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:59 $ docker stop --time=1 39c75bb3222a8dc988b3b93bdbecb21703d2773a054b7e4f89c9771ef9fb1ee4 20:06:02 $ docker rm -f 39c75bb3222a8dc988b3b93bdbecb21703d2773a054b7e4f89c9771ef9fb1ee4 [Pipeline] // withDockerContainer [Pipeline] sh 20:06:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:06:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:03 + ls -al . 20:06:03 total 180 20:06:03 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 20:05 . 20:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:04 .. 20:06:03 -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:04 .dockerignore 20:06:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:05 .git 20:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:04 .github 20:06:03 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:04 .gitignore 20:06:03 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:04 .golangci.yml 20:06:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:04 .semver 20:06:03 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:04 Attribution.txt 20:06:03 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:04 CHANGELOG.md 20:06:03 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:04 Dockerfile 20:06:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:04 GOVERNANCE.md 20:06:03 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:04 Jenkinsfile 20:06:03 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:04 LICENSE 20:06:03 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:04 Makefile 20:06:03 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:04 OWNERS.md 20:06:03 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:04 README.md 20:06:03 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 20:04 VERSION 20:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:04 bin 20:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:04 cmd 20:06:03 -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:05 coverage.out 20:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:04 driver 20:06:03 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:04 go.mod 20:06:03 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:04 go.sum 20:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:04 snap 20:06:03 -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:04 + 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=f9af8ab52f69e169985f54b7ef61b2c71a076a49 --label arch=amd64 --label version=0.0.0 . 20:06:04 Sending build context to Docker daemon 10.74MB 20:06:04 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:06:04 Step 2/26 : FROM ${BASE} AS builder 20:06:04 ---> d127988ceeee 20:06:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:06:04 ---> Running in cf64842c852f 20:06:04 Removing intermediate container cf64842c852f 20:06:04 ---> cb2cc1c4a789 20:06:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:04 ---> Running in d8f54fb69310 20:06:04 Removing intermediate container d8f54fb69310 20:06:04 ---> dcd679436049 20:06:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:04 ---> Running in aa580cbee4c6 20:06:04 Removing intermediate container aa580cbee4c6 20:06:04 ---> 27e95ecba294 20:06:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:06:04 ---> Running in 1ce96983759f 20:06:04 Removing intermediate container 1ce96983759f 20:06:04 ---> 63bdad415991 20:06:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:04 ---> Running in 03bf58604704 20:06:05 Removing intermediate container 03bf58604704 20:06:05 ---> 3396711c21a6 20:06:05 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:05 ---> Running in e3c600982e1e 20:06:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:06 OK: 216 MiB in 55 packages 20:06:07 Removing intermediate container e3c600982e1e 20:06:07 ---> 208c679a745a 20:06:07 Step 9/26 : WORKDIR /device-rest-go 20:06:07 ---> Running in cabf70997c56 20:06:07 Removing intermediate container cabf70997c56 20:06:07 ---> 8373dd265830 20:06:07 Step 10/26 : COPY go.mod vendor* ./ 20:06:07 ---> fc3b6859ffe6 20:06:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:07 ---> Running in 46398793ac87 20:06:08 Removing intermediate container 46398793ac87 20:06:08 ---> 1aa0cb19d7cc 20:06:08 Step 12/26 : COPY . . 20:06:08 ---> 7e0798e8e5ac 20:06:08 Step 13/26 : RUN $MAKE 20:06:08 ---> Running in 333b4aecffea 20:06:08 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:06:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8403 in /w/workspace/gexfoundry_device-rest-go_PR-220 [Pipeline] { [Pipeline] ws 20:06:33 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:33 The recommended git tool is: git 20:06:35 Removing intermediate container 333b4aecffea 20:06:35 ---> c53fb8f330b6 20:06:35 Step 14/26 : FROM alpine:3.16 20:06:35 3.16: Pulling from library/alpine 20:06:35 213ec9aee27d: Already exists 20:06:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:06:35 Status: Downloaded newer image for alpine:3.16 20:06:35 ---> 9c6f07244728 20:06:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:06:35 ---> Running in 9387efb3d6bb 20:06:35 Removing intermediate container 9387efb3d6bb 20:06:35 ---> 30338426676a 20:06:35 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:06:35 ---> Running in 1dd9f4c1a1e3 20:06:35 Removing intermediate container 1dd9f4c1a1e3 20:06:35 ---> c9f98c25d626 20:06:35 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:06:35 ---> Running in 5be4fa5d7009 20:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:35 (1/6) Installing dumb-init (1.2.5-r1) 20:06:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:06:35 (3/6) Installing libsodium (1.0.18-r0) 20:06:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:06:35 (5/6) Installing libzmq (4.3.4-r0) 20:06:35 (6/6) Installing zeromq (4.3.4-r0) 20:06:35 Executing busybox-1.35.0-r17.trigger 20:06:35 OK: 8 MiB in 20 packages 20:06:35 Removing intermediate container 5be4fa5d7009 20:06:35 ---> 58b7bf655420 20:06:35 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:06:35 ---> 174d6b5da837 20:06:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:06:35 ---> f75949c0d1d9 20:06:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:35 ---> c0916092a16c 20:06:35 Step 21/26 : EXPOSE 59986 20:06:35 ---> Running in a3b3c017f188 20:06:35 Removing intermediate container a3b3c017f188 20:06:35 ---> cf848895fce8 20:06:35 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:06:35 ---> Running in 90a381e1a15a 20:06:35 Removing intermediate container 90a381e1a15a 20:06:35 ---> 343e6c34d9b8 20:06:35 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:35 ---> Running in 7eaf671251b7 20:06:35 Removing intermediate container 7eaf671251b7 20:06:35 ---> 7f5686d03270 20:06:35 Step 24/26 : LABEL arch=amd64 20:06:35 ---> Running in 7ae3fc605432 20:06:35 Removing intermediate container 7ae3fc605432 20:06:35 ---> 5dbbdcd3ef85 20:06:35 Step 25/26 : LABEL git_sha=f9af8ab52f69e169985f54b7ef61b2c71a076a49 20:06:35 ---> Running in 996d49eca766 20:06:35 Removing intermediate container 996d49eca766 20:06:35 ---> b0d1e0e9e4d5 20:06:35 Step 26/26 : LABEL version=0.0.0 20:06:35 ---> Running in cccb5b2dd2a8 20:06:35 Removing intermediate container cccb5b2dd2a8 20:06:35 ---> 8467eca719da 20:06:35 [Warning] One or more build-args [ARCH] were not consumed 20:06:35 Successfully built 8467eca719da 20:06:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:36 20:06:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:36 latest: Pulling from edgex-lftools-log-publisher 20:06:36 5eb5b503b376: Pulling fs layer 20:06:36 5c69ac0246d0: Pulling fs layer 20:06:36 ec43610c2a17: Pulling fs layer 20:06:36 3a2ae6a8a46f: Pulling fs layer 20:06:36 33b1e0a273af: Pulling fs layer 20:06:36 5d3b04190fa2: Pulling fs layer 20:06:36 2f39f015ded8: Pulling fs layer 20:06:36 3a2ae6a8a46f: Waiting 20:06:36 2f39f015ded8: Waiting 20:06:36 33b1e0a273af: Waiting 20:06:36 5d3b04190fa2: Waiting 20:06:36 5c69ac0246d0: Verifying Checksum 20:06:36 5c69ac0246d0: Download complete 20:06:36 3a2ae6a8a46f: Verifying Checksum 20:06:36 3a2ae6a8a46f: Download complete 20:06:36 33b1e0a273af: Verifying Checksum 20:06:36 33b1e0a273af: Download complete 20:06:36 ec43610c2a17: Verifying Checksum 20:06:36 ec43610c2a17: Download complete 20:06:36 5d3b04190fa2: Download complete 20:06:36 5eb5b503b376: Verifying Checksum 20:06:36 5eb5b503b376: Download complete 20:06:37 2f39f015ded8: Download complete 20:06:38 5eb5b503b376: Pull complete 20:06:38 5c69ac0246d0: Pull complete 20:06:38 ec43610c2a17: Pull complete 20:06:38 using credential edgex-jenkins-ssh 20:06:38 3a2ae6a8a46f: Pull complete 20:06:38 Cloning the remote Git repository 20:06:39 33b1e0a273af: Pull complete 20:06:39 5d3b04190fa2: Pull complete 20:06:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:38 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:39 > git --version # timeout=10 20:06:39 > git --version # 'git version 2.25.1' 20:06:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:39 Verifying host key using known hosts file 20:06:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:06:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:42 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:42 Verifying host key using known hosts file 20:06:42 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:06:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:42 Merging remotes/origin/main commit 336f3e767954e61a02384677edb3fa394267c1fe into PR head commit f9af8ab52f69e169985f54b7ef61b2c71a076a49 20:06:43 Merge succeeded, producing f9af8ab52f69e169985f54b7ef61b2c71a076a49 20:06:43 Checking out Revision f9af8ab52f69e169985f54b7ef61b2c71a076a49 (PR-220) 20:06:43 2f39f015ded8: Pull complete 20:06:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 20:06:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withDockerContainer 20:06:43 prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container 20:06:43 $ 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-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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 20:06:43 > git --version # timeout=10 20:06:43 > git --version # 'git version 2.25.1' 20:06:43 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 20:06:43 20:06:43 GitHub has been notified of this commit’s build result 20:06:43 20:06:42 > git config core.sparsecheckout # timeout=10 20:06:42 > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 20:06:42 > git remote # timeout=10 20:06:42 > git config --get remote.origin.url # timeout=10 20:06:42 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:42 Verifying host key using known hosts file 20:06:42 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:06:42 > git merge 336f3e767954e61a02384677edb3fa394267c1fe # timeout=10 20:06:42 > git rev-parse HEAD^{commit} # timeout=10 20:06:43 > git config core.sparsecheckout # timeout=10 20:06:43 > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 20:06:47 $ docker top 8f2ba6050ed1e3d120dffd0d611e02d57420fd7c91aa19b408526342c8a70abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:47 ---> job-cost.sh 20:06:47 lf-activate-venv: SKIPPING 20:06:47 INFO: No Stack... 20:06:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:48 Dload Upload Total Spent Left Speed 20:06:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 71602 0 --:--:-- --:--:-- --:--:-- 71602 [Pipeline] sh 20:06:48 INFO: Archiving Costs [Pipeline] sh 20:06:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:48 + cat /w/workspace/gexfoundry_device-rest-go_PR-220/archives/cost.csv 20:06:48 + cut -d, -f6 [Pipeline] lock 20:06:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] 20:06:48 Resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] did not exist. Created. 20:06:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:49 + sudo tee /etc/docker/daemon.new 20:06:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:49 { 20:06:49 "registry-mirrors": [ 20:06:49 "https://nexus3.edgexfoundry.org:10001" 20:06:49 ], 20:06:49 "bip": "10.250.0.254/24", 20:06:49 "hosts": [ 20:06:49 "tcp://0.0.0.0:5555", 20:06:49 "unix:///var/run/docker.sock" 20:06:49 ], 20:06:49 "mtu": 1458, 20:06:49 "selinux-enabled": true, 20:06:49 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:49 } [Pipeline] sh 20:06:49 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:49 Stashed 1 file(s) [Pipeline] } 20:06:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] 20:06:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } 20:06:49 $ docker stop --time=1 8f2ba6050ed1e3d120dffd0d611e02d57420fd7c91aa19b408526342c8a70abe 20:06:50 $ docker rm -f 8f2ba6050ed1e3d120dffd0d611e02d57420fd7c91aa19b408526342c8a70abe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:09 provisioning config files... 20:07:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8862589305407094421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:09 ---> docker-login.sh 20:07:09 nexus3.edgexfoundry.org:10001 20:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:10 Configure a credential helper to remove this warning. See 20:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:10 20:07:10 Login Succeeded 20:07:10 nexus3.edgexfoundry.org:10002 20:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:10 Configure a credential helper to remove this warning. See 20:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:10 20:07:10 Login Succeeded 20:07:10 nexus3.edgexfoundry.org:10003 20:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:11 Configure a credential helper to remove this warning. See 20:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:11 20:07:11 Login Succeeded 20:07:11 nexus3.edgexfoundry.org:10004 20:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:11 Configure a credential helper to remove this warning. See 20:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:11 20:07:11 Login Succeeded 20:07:11 docker.io 20:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:12 Configure a credential helper to remove this warning. See 20:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:12 20:07:12 Login Succeeded 20:07:12 ---> docker-login.sh ends [Pipeline] } 20:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:12 ========================================================= 20:07:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:07:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:07:13 Sending build context to Docker daemon 127.5kB 20:07:13 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:07:13 Step 2/13 : FROM ${BASE} AS builder 20:07:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:13 9b18e9b68314: Pulling fs layer 20:07:13 d32db5db7311: Pulling fs layer 20:07:13 d0c4b47475fc: Pulling fs layer 20:07:13 5831b945b038: Pulling fs layer 20:07:13 86bbec2aaacd: Pulling fs layer 20:07:13 e10730c5d714: Pulling fs layer 20:07:13 5dd5c2283517: Pulling fs layer 20:07:13 d5ac0230b979: Pulling fs layer 20:07:13 5831b945b038: Waiting 20:07:13 86bbec2aaacd: Waiting 20:07:13 e10730c5d714: Waiting 20:07:13 5dd5c2283517: Waiting 20:07:13 d5ac0230b979: Waiting 20:07:13 d0c4b47475fc: Download complete 20:07:13 d32db5db7311: Verifying Checksum 20:07:13 d32db5db7311: Download complete 20:07:13 86bbec2aaacd: Verifying Checksum 20:07:13 86bbec2aaacd: Download complete 20:07:13 e10730c5d714: Download complete 20:07:13 9b18e9b68314: Verifying Checksum 20:07:13 9b18e9b68314: Download complete 20:07:14 9b18e9b68314: Pull complete 20:07:14 d5ac0230b979: Verifying Checksum 20:07:14 d5ac0230b979: Download complete 20:07:15 d32db5db7311: Pull complete 20:07:15 d0c4b47475fc: Pull complete 20:07:16 5dd5c2283517: Verifying Checksum 20:07:16 5dd5c2283517: Download complete 20:07:16 5831b945b038: Verifying Checksum 20:07:16 5831b945b038: Download complete 20:07:28 5831b945b038: Pull complete 20:07:28 86bbec2aaacd: Pull complete 20:07:28 e10730c5d714: Pull complete 20:07:35 5dd5c2283517: Pull complete 20:07:37 d5ac0230b979: Pull complete 20:07:37 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:37 ---> 59b3b1a385d4 20:07:37 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:07:38 ---> Running in a0df564c4eac 20:07:38 Removing intermediate container a0df564c4eac 20:07:38 ---> b47c5b2f116f 20:07:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:39 ---> Running in e21da5a1224d 20:07:39 Removing intermediate container e21da5a1224d 20:07:39 ---> 80da69d208be 20:07:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:39 ---> Running in 1545a8705497 20:07:39 Removing intermediate container 1545a8705497 20:07:39 ---> ca5fb96cabe3 20:07:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:07:39 ---> Running in 2b705030645b 20:07:39 Removing intermediate container 2b705030645b 20:07:39 ---> 34b341b7eaf6 20:07:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:40 ---> Running in 04201a01c64d 20:07:42 Removing intermediate container 04201a01c64d 20:07:42 ---> 399d635177a6 20:07:42 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:42 ---> Running in a614c2ec4f34 20:07:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:44 (2/4) Installing libedit (20210910.3.1-r0) 20:07:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:44 Executing busybox-1.35.0-r17.trigger 20:07:44 OK: 226 MiB in 55 packages 20:07:45 Removing intermediate container a614c2ec4f34 20:07:45 ---> c13cbb413117 20:07:45 Step 9/13 : WORKDIR /device-rest-go 20:07:46 ---> Running in 19378a40252c 20:07:46 Removing intermediate container 19378a40252c 20:07:46 ---> 6d53169b58a5 20:07:46 Step 10/13 : COPY go.mod vendor* ./ 20:07:46 ---> 0b91db7b7a58 20:07:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:46 ---> Running in 35f5eb7f109b 20:08:33 Removing intermediate container 35f5eb7f109b 20:08:33 ---> a33873a9cdcb 20:08:33 Step 12/13 : COPY . . 20:08:34 ---> f115d5a91235 20:08:34 Step 13/13 : RUN $MAKE 20:08:34 ---> Running in 93d6fbd4697c 20:08:35 noop 20:08:36 Removing intermediate container 93d6fbd4697c 20:08:36 ---> 1f107bd7368f 20:08:36 Successfully built 1f107bd7368f 20:08:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:36 + docker inspect -f . ci-base-image-arm64 20:08:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:37 prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container 20:08:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:08:38 $ docker top 90b9f0e4aaf9af2fb1314b51853cf1997b6b06ce5f39648b146905bf24069785 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:39 + go version 20:08:39 go version go1.18.7 linux/arm64 [Pipeline] } 20:08:39 $ docker stop --time=1 90b9f0e4aaf9af2fb1314b51853cf1997b6b06ce5f39648b146905bf24069785 20:08:40 $ docker rm -f 90b9f0e4aaf9af2fb1314b51853cf1997b6b06ce5f39648b146905bf24069785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:41 + docker inspect -f . ci-base-image-arm64 20:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:41 prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container 20:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:08:43 $ docker top 84bcb9f1c60e0e9b6ab83cd7807c452520f95d9732062cd79b0c5401c9dda57d -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:43 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:44 + make test 20:08:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:08:46 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:07 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 20:10:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:10:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:29 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:29 $ docker stop --time=1 84bcb9f1c60e0e9b6ab83cd7807c452520f95d9732062cd79b0c5401c9dda57d 20:10:31 $ docker rm -f 84bcb9f1c60e0e9b6ab83cd7807c452520f95d9732062cd79b0c5401c9dda57d [Pipeline] // withDockerContainer [Pipeline] sh 20:10:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:32 Warning: overwriting stash ‘coverage-report’ 20:10:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:33 + ls -al . 20:10:33 total 176 20:10:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:08 . 20:10:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:06 .. 20:10:33 -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:06 .dockerignore 20:10:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:06 .git 20:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:06 .github 20:10:33 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:06 .gitignore 20:10:33 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:06 .golangci.yml 20:10:33 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:06 Attribution.txt 20:10:33 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:06 CHANGELOG.md 20:10:33 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:06 Dockerfile 20:10:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:06 GOVERNANCE.md 20:10:33 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:06 Jenkinsfile 20:10:33 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:06 LICENSE 20:10:33 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:06 Makefile 20:10:33 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:06 OWNERS.md 20:10:33 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:06 README.md 20:10:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 20:04 VERSION 20:10:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:06 bin 20:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:06 cmd 20:10:33 -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:10 coverage.out 20:10:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:06 driver 20:10:33 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:06 go.mod 20:10:33 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:06 go.sum 20:10:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:06 snap 20:10:33 -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:34 + 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=f9af8ab52f69e169985f54b7ef61b2c71a076a49 --label arch=arm64 --label version=0.0.0 . 20:10:34 Sending build context to Docker daemon 137.7kB 20:10:34 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:10:34 Step 2/26 : FROM ${BASE} AS builder 20:10:34 ---> 1f107bd7368f 20:10:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:10:34 ---> Running in 285b687a9c3f 20:10:34 Removing intermediate container 285b687a9c3f 20:10:34 ---> ddd5e3267e6f 20:10:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:10:34 ---> Running in d029a4919f71 20:10:35 Removing intermediate container d029a4919f71 20:10:35 ---> 03600aa99e11 20:10:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:35 ---> Running in 2b363efdd87a 20:10:35 Removing intermediate container 2b363efdd87a 20:10:35 ---> 7a52af9fd11a 20:10:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:10:35 ---> Running in 2f96018adee4 20:10:35 Removing intermediate container 2f96018adee4 20:10:35 ---> 8249f89c5374 20:10:35 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:35 ---> Running in 48ce9936b737 20:10:37 Removing intermediate container 48ce9936b737 20:10:37 ---> 09d27fb71d2d 20:10:37 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:37 ---> Running in c577ad3ddc56 20:10:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:40 OK: 226 MiB in 55 packages 20:10:41 Removing intermediate container c577ad3ddc56 20:10:41 ---> 7437631eb419 20:10:41 Step 9/26 : WORKDIR /device-rest-go 20:10:41 ---> Running in d1228c4cb27a 20:10:41 Removing intermediate container d1228c4cb27a 20:10:41 ---> 16c85223a3f4 20:10:41 Step 10/26 : COPY go.mod vendor* ./ 20:10:41 ---> 6a9f217a3c51 20:10:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:41 ---> Running in fbfc02194423 20:10:43 Removing intermediate container fbfc02194423 20:10:43 ---> 67444feea98c 20:10:43 Step 12/26 : COPY . . 20:10:44 ---> 92b133f39ba4 20:10:44 Step 13/26 : RUN $MAKE 20:10:44 ---> Running in 5a53a6eef59f 20:10:45 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:13:22 Removing intermediate container 5a53a6eef59f 20:13:22 ---> 994cb5b56269 20:13:22 Step 14/26 : FROM alpine:3.16 20:13:22 3.16: Pulling from library/alpine 20:13:22 9b18e9b68314: Already exists 20:13:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:13:22 Status: Downloaded newer image for alpine:3.16 20:13:22 ---> a6215f271958 20:13:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:13:22 ---> Running in 7ab2e5765787 20:13:22 Removing intermediate container 7ab2e5765787 20:13:22 ---> 740e1378b916 20:13:22 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:13:22 ---> Running in 54ce0e16488e 20:13:22 Removing intermediate container 54ce0e16488e 20:13:22 ---> 28d0d45898c8 20:13:22 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:13:22 ---> Running in c6580bde1a7e 20:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:13:22 (1/6) Installing dumb-init (1.2.5-r1) 20:13:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:13:22 (3/6) Installing libsodium (1.0.18-r0) 20:13:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:13:22 (5/6) Installing libzmq (4.3.4-r0) 20:13:22 (6/6) Installing zeromq (4.3.4-r0) 20:13:22 Executing busybox-1.35.0-r17.trigger 20:13:22 OK: 8 MiB in 20 packages 20:13:22 Removing intermediate container c6580bde1a7e 20:13:22 ---> 2f756550eb71 20:13:22 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:13:22 ---> fcbac631dc8e 20:13:22 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:13:22 ---> 892c5f246e3b 20:13:22 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:22 ---> 6465df7dd9da 20:13:22 Step 21/26 : EXPOSE 59986 20:13:22 ---> Running in 356aaeeacd9a 20:13:22 Removing intermediate container 356aaeeacd9a 20:13:22 ---> f759f01ab759 20:13:22 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:13:22 ---> Running in 9d5ae8dabf04 20:13:22 Removing intermediate container 9d5ae8dabf04 20:13:22 ---> 78c55dad76e0 20:13:22 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:13:22 ---> Running in 776fb2adea2d 20:13:22 Removing intermediate container 776fb2adea2d 20:13:22 ---> 3ab35cef638a 20:13:22 Step 24/26 : LABEL arch=arm64 20:13:22 ---> Running in 8df67e2c6593 20:13:22 Removing intermediate container 8df67e2c6593 20:13:22 ---> 674129747775 20:13:22 Step 25/26 : LABEL git_sha=f9af8ab52f69e169985f54b7ef61b2c71a076a49 20:13:22 ---> Running in 0ec3f35db6e8 20:13:22 Removing intermediate container 0ec3f35db6e8 20:13:22 ---> f48c7eac7362 20:13:22 Step 26/26 : LABEL version=0.0.0 20:13:22 ---> Running in b946a82bdedb 20:13:22 Removing intermediate container b946a82bdedb 20:13:22 ---> c3e27b9f0fef 20:13:22 [Warning] One or more build-args [ARCH] were not consumed 20:13:22 Successfully built c3e27b9f0fef 20:13:22 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:23 20:13:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:24 arm64: Pulling from edgex-lftools-log-publisher 20:13:24 8998bd30e6a1: Pulling fs layer 20:13:24 04944245beec: Pulling fs layer 20:13:24 699f458cf7ca: Pulling fs layer 20:13:24 765212b225bb: Pulling fs layer 20:13:24 f23df028b6ca: Pulling fs layer 20:13:24 d65c8cfc05b1: Pulling fs layer 20:13:24 2437ff75d9bd: Pulling fs layer 20:13:24 765212b225bb: Waiting 20:13:24 f23df028b6ca: Waiting 20:13:24 2437ff75d9bd: Waiting 20:13:24 d65c8cfc05b1: Waiting 20:13:24 04944245beec: Verifying Checksum 20:13:24 04944245beec: Download complete 20:13:24 765212b225bb: Download complete 20:13:24 f23df028b6ca: Verifying Checksum 20:13:24 f23df028b6ca: Download complete 20:13:24 d65c8cfc05b1: Verifying Checksum 20:13:24 d65c8cfc05b1: Download complete 20:13:24 699f458cf7ca: Verifying Checksum 20:13:24 699f458cf7ca: Download complete 20:13:24 8998bd30e6a1: Verifying Checksum 20:13:24 8998bd30e6a1: Download complete 20:13:27 2437ff75d9bd: Verifying Checksum 20:13:27 2437ff75d9bd: Download complete 20:13:28 8998bd30e6a1: Pull complete 20:13:29 04944245beec: Pull complete 20:13:32 699f458cf7ca: Pull complete 20:13:32 765212b225bb: Pull complete 20:13:32 f23df028b6ca: Pull complete 20:13:33 d65c8cfc05b1: Pull complete 20:13:48 2437ff75d9bd: Pull complete 20:13:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:48 prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container 20:13:48 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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:arm64 cat 20:13:50 $ docker top b21410c596ef86fa517c132d917eb766e3025c12c5e1b3e482f0a40f7dd419f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:51 ---> job-cost.sh 20:13:51 lf-activate-venv: SKIPPING 20:13:51 INFO: No Stack... 20:13:52 INFO: Retrieving Pricing Info for: v3-standard-4 20:13:53 INFO: Archiving Costs [Pipeline] sh 20:13:53 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:13:53 + cut -d, -f6 [Pipeline] lock 20:13:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] 20:13:53 Resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] did not exist. Created. 20:13:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:54 /w/workspace/device-rest-go/1@tmp/durable-2f1d8865/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:13:54 + echo total: 0.10999999940395355 [Pipeline] stash 20:13:54 Warning: overwriting stash ‘stack-cost’ 20:13:54 Stashed 1 file(s) [Pipeline] } 20:13:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:55 $ docker stop --time=1 b21410c596ef86fa517c132d917eb766e3025c12c5e1b3e482f0a40f7dd419f7 20:13:56 $ docker rm -f b21410c596ef86fa517c132d917eb766e3025c12c5e1b3e482f0a40f7dd419f7 [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 20:13:57 provisioning config files... 20:13:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config15047391112668967844tmp [Pipeline] { [Pipeline] sh 20:13:57 + set +x 20:13:57 + curl -s https://codecov.io/bash 20:13:57 + bash -s -- 20:13:57 20:13:57 _____ _ 20:13:57 / ____| | | 20:13:57 | | ___ __| | ___ ___ _____ __ 20:13:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:13:57 | |___| (_) | (_| | __/ (_| (_) \ V / 20:13:57 \_____\___/ \__,_|\___|\___\___/ \_/ 20:13:57 Bash-1.0.6 20:13:57 20:13:57 20:13:57 ==> git version 2.25.1 found 20:13:57 ==> 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 20:13:57 Release-Date: 2020-01-08 20:13:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:13:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:13:57 ==> Jenkins CI detected. 20:13:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-220 20:13:57 project root: . 20:13:57 --> token set from env 20:13:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:13:57 ==> Running gcov in . (disable via -X gcov) 20:13:57 ==> Python coveragepy not found 20:13:57 ==> Searching for coverage reports in: 20:13:57 + . 20:13:57 -> Found 1 reports 20:13:57 ==> Detecting git/mercurial file structure 20:13:57 ==> Reading reports 20:13:57 + ./coverage.out bytes=9355 20:13:57 ==> Appending adjustments 20:13:57 https://docs.codecov.io/docs/fixing-reports 20:13:58 + Found adjustments 20:13:58 ==> Gzipping contents 20:13:58 4.0K /tmp/codecov.aZvMn0.gz 20:13:58 ==> Uploading reports 20:13:58 url: https://codecov.io 20:13:58 query: branch=PR-220&commit=f9af8ab52f69e169985f54b7ef61b2c71a076a49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-220%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=220&job=&cmd_args= 20:13:58 -> Pinging Codecov 20:13:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-220&commit=f9af8ab52f69e169985f54b7ef61b2c71a076a49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-220%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=220&job=&cmd_args= 20:13:58 -> Uploading to 20:13:58 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/4E5D53B4F1F92C436F7061BF334D961C/f9af8ab52f69e169985f54b7ef61b2c71a076a49/dd0b94a1-cdae-444a-942b-9669ddb4df97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T201358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7be1adf886b88372d459fe2c168db8a4025dff66fea5f52f3b04198cee7be6f5 20:13:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:58 Dload Upload Total Spent Left Speed 20:13:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6185 --:--:-- --:--:-- --:--:-- 6185 100 1738 0 0 100 1738 0 6185 --:--:-- --:--:-- --:--:-- 6163 20:13:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] } 20:13:58 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 20:14:00 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-220/archives ] 20:14:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-220/archives 20:14:00 total 16 20:14:00 drwxr-xr-x 3 root root 4096 Oct 17 20:06 . 20:14:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:06 .. 20:14:00 drwxr-xr-x 2 root root 4096 Oct 17 20:06 cost 20:14:00 -rw-r--r-- 1 root root 86 Oct 17 20:06 cost.csv 20:14:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-220/archives 20:14:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-220/archives 20:14:00 total 16 20:14:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:06 . 20:14:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:06 .. 20:14:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:06 cost 20:14:00 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:01 ---> package-listing.sh 20:14:01 ++ facter osfamily 20:14:01 ++ tr '[:upper:]' '[:lower:]' 20:14:01 + OS_FAMILY=debian 20:14:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-220 20:14:01 + START_PACKAGES=/tmp/packages_start.txt 20:14:01 + END_PACKAGES=/tmp/packages_end.txt 20:14:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:01 + PACKAGES=/tmp/packages_start.txt 20:14:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-220 ']' 20:14:01 + PACKAGES=/tmp/packages_end.txt 20:14:01 + case "${OS_FAMILY}" in 20:14:01 + dpkg -l 20:14:01 + grep '^ii' 20:14:01 + '[' -f /tmp/packages_start.txt ']' 20:14:01 + '[' -f /tmp/packages_end.txt ']' 20:14:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-220 ']' 20:14:01 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-220/archives/ 20:14:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-220/archives/ [Pipeline] echo 20:14:01 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-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:03 prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container 20:14:03 $ 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-220/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-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:14:03 $ docker top 8f0035ba33e0e159b53f73f0526c75efd106a0b1f53d022881a20a52692d29fb -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:03 + touch /tmp/pre-build-complete [Pipeline] sh 20:14:03 + mkdir -p /var/log/sysstat [Pipeline] sh 20:14:04 + ls /var/log/sa-host 20:14:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:04 provisioning config files... 20:14:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config1165387904307788230tmp [Pipeline] { [Pipeline] echo 20:14:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:14:04 ---> create-netrc.sh [Pipeline] } 20:14:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:14:05 ---> python-tools-install.sh [Pipeline] echo 20:14:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:14:05 ---> sudo-logs.sh 20:14:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:14:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:14:05 ---> job-cost.sh 20:14:05 lf-activate-venv: SKIPPING 20:14:05 DEBUG: total: 0.2199999988079071 20:14:05 INFO: Retrieving Stack Cost... 20:14:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:06 INFO: Archiving Costs [Pipeline] echo 20:14:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:14:07 ---> logs-deploy.sh 20:14:07 lf-activate-venv: SKIPPING 20:14:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-220/1 20:14:07 INFO: archiving workspace using pattern(s): 20:14:08 Archives upload complete. 20:14:08 INFO: archiving logs to Nexus 20:14:08 ---> uname -a: 20:14:08 Linux prd-ubuntu20-04-docker-8c-8g-8402 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:14:08 20:14:08 20:14:08 ---> lscpu: 20:14:08 Architecture: x86_64 20:14:08 CPU op-mode(s): 32-bit, 64-bit 20:14:08 Byte Order: Little Endian 20:14:08 Address sizes: 40 bits physical, 48 bits virtual 20:14:08 CPU(s): 8 20:14:08 On-line CPU(s) list: 0-7 20:14:08 Thread(s) per core: 1 20:14:08 Core(s) per socket: 1 20:14:08 Socket(s): 8 20:14:08 NUMA node(s): 1 20:14:08 Vendor ID: AuthenticAMD 20:14:08 CPU family: 23 20:14:08 Model: 49 20:14:08 Model name: AMD EPYC-Rome Processor 20:14:08 Stepping: 0 20:14:08 CPU MHz: 2799.956 20:14:08 BogoMIPS: 5599.91 20:14:08 Virtualization: AMD-V 20:14:08 Hypervisor vendor: KVM 20:14:08 Virtualization type: full 20:14:08 L1d cache: 256 KiB 20:14:08 L1i cache: 256 KiB 20:14:08 L2 cache: 4 MiB 20:14:08 L3 cache: 128 MiB 20:14:08 NUMA node0 CPU(s): 0-7 20:14:08 Vulnerability Itlb multihit: Not affected 20:14:08 Vulnerability L1tf: Not affected 20:14:08 Vulnerability Mds: Not affected 20:14:08 Vulnerability Meltdown: Not affected 20:14:08 Vulnerability Mmio stale data: Not affected 20:14:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:14:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:14:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:14:08 Vulnerability Srbds: Not affected 20:14:08 Vulnerability Tsx async abort: Not affected 20:14:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:14:08 20:14:08 20:14:08 ---> nproc: 20:14:08 8 20:14:08 20:14:08 20:14:08 ---> df -h: 20:14:08 Filesystem Size Used Avail Use% Mounted on 20:14:08 overlay 155G 12G 144G 8% / 20:14:08 tmpfs 64M 0 64M 0% /dev 20:14:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:14:08 shm 64M 0 64M 0% /dev/shm 20:14:08 /dev/vda1 155G 12G 144G 8% /facter-os 20:14:08 20:14:08 20:14:08 ---> sar -b -r -n DEV: 20:14:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8402) 10/17/22 _x86_64_ (8 CPU) 20:14:08 20:14:08 20:03:55 LINUX RESTART (8 CPU) 20:14:08 20:14:08 20:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:14:08 20:05:01 133.26 47.98 85.27 0.00 5423.79 157295.03 0.00 20:14:08 20:06:01 180.79 1.32 179.48 0.00 26.25 67047.28 0.00 20:14:08 20:07:01 186.34 0.15 186.19 0.00 7.87 36133.71 0.00 20:14:08 20:08:01 1.68 0.00 1.68 0.00 0.00 20.28 0.00 20:14:08 20:09:01 14.85 3.83 11.01 0.00 323.95 1920.48 0.00 20:14:08 20:10:01 27.65 5.53 22.11 0.00 2562.77 2999.50 0.00 20:14:08 20:11:01 1.30 0.00 1.30 0.00 0.00 14.53 0.00 20:14:08 20:12:01 1.37 0.00 1.37 0.00 0.00 13.86 0.00 20:14:08 20:13:02 1.07 0.00 1.07 0.00 0.00 12.00 0.00 20:14:08 20:14:01 1.61 0.10 1.51 0.00 7.32 23.32 0.00 20:14:08 Average: 55.08 5.90 49.18 0.00 836.61 26595.36 0.00 20:14:08 20:14:08 20:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:14:08 20:05:01 29439344 31605320 717816 2.18 69636 2385388 2014808 5.94 980976 2124340 492964 20:14:08 20:06:01 28427916 31560200 724184 2.20 133312 3213400 1927780 5.68 1169516 2832880 12 20:14:08 20:07:01 27823764 31571964 721276 2.19 145136 3771772 1762240 5.19 1215744 3351028 396 20:14:08 20:08:01 27823960 31572180 720968 2.19 145168 3771776 1762240 5.19 1215488 3351032 208 20:14:08 20:09:01 27727816 31553548 735072 2.24 149208 3837996 1812156 5.34 1240280 3410040 636 20:14:08 20:10:01 27528344 31563712 724996 2.20 163588 4023328 1789492 5.27 1361956 3476240 136 20:14:08 20:11:01 27530296 31565748 722840 2.20 163648 4023336 1789492 5.27 1360172 3476244 8 20:14:08 20:12:01 27530816 31566560 722272 2.20 163672 4023336 1789492 5.27 1359956 3476504 4 20:14:08 20:13:02 27530768 31566544 722228 2.20 163692 4023340 1789492 5.27 1359972 3476508 4 20:14:08 20:14:01 27516280 31552592 736116 2.24 163768 4023572 1867448 5.50 1375156 3476660 372 20:14:08 Average: 27887930 31567837 724777 2.20 146083 3709724 1830464 5.39 1263922 3245148 49474 20:14:08 20:14:08 20:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:14:08 20:05:01 lo 7.06 7.06 0.68 0.68 0.00 0.00 0.00 0.00 20:14:08 20:05:01 ens3 602.57 422.91 6665.95 88.37 0.00 0.00 0.00 0.00 20:14:08 20:05:01 docker0 19.28 18.71 1.54 172.13 0.00 0.00 0.00 0.00 20:14:08 20:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:14:08 20:06:01 ens3 239.61 159.37 1748.80 28.50 0.00 0.00 0.00 0.00 20:14:08 20:06:01 docker0 133.58 192.75 11.13 1705.14 0.00 0.00 0.00 0.00 20:14:08 20:07:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 20:14:08 20:07:01 ens3 143.93 113.08 2637.89 95.43 0.00 0.00 0.00 0.00 20:14:08 20:07:01 docker0 11.75 15.83 0.70 98.87 0.00 0.00 0.00 0.00 20:14:08 20:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:14:08 20:08:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:14:08 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:09:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 20:14:08 20:09:01 ens3 33.23 19.60 822.61 1.52 0.00 0.00 0.00 0.00 20:14:08 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:10:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 20:14:08 20:10:01 ens3 36.98 24.38 479.26 1.80 0.00 0.00 0.00 0.00 20:14:08 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:11:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:14:08 20:12:01 ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:14:08 20:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:13:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:13:02 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 20:14:01 lo 0.54 0.54 0.05 0.05 0.00 0.00 0.00 0.00 20:14:08 20:14:01 ens3 6.95 4.73 6.88 2.28 0.00 0.00 0.00 0.00 20:14:08 20:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:14:08 Average: lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 20:14:08 Average: ens3 106.53 74.56 1238.28 21.83 0.00 0.00 0.00 0.00 20:14:08 Average: docker0 16.49 22.77 1.34 197.99 0.00 0.00 0.00 0.00 20:14:08 20:14:08 20:14:08 ---> sar -P ALL: 20:14:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8402) 10/17/22 _x86_64_ (8 CPU) 20:14:08 20:14:08 20:03:55 LINUX RESTART (8 CPU) 20:14:08 20:14:08 20:04:01 CPU %user %nice %system %iowait %steal %idle 20:14:08 20:05:01 all 8.35 0.00 2.91 1.69 0.05 86.99 20:14:08 20:05:01 0 7.24 0.00 2.35 0.28 0.03 90.10 20:14:08 20:05:01 1 6.85 0.00 2.96 0.13 0.05 90.00 20:14:08 20:05:01 2 9.29 0.00 4.05 0.37 0.05 86.24 20:14:08 20:05:01 3 9.67 0.00 3.31 4.66 0.07 82.29 20:14:08 20:05:01 4 9.63 0.00 2.40 5.97 0.05 81.95 20:14:08 20:05:01 5 8.33 0.00 2.81 0.51 0.05 88.30 20:14:08 20:05:01 6 7.01 0.00 2.35 1.04 0.07 89.52 20:14:08 20:05:01 7 8.79 0.00 3.02 0.59 0.07 87.53 20:14:08 20:06:01 all 27.61 0.00 6.05 2.23 0.08 64.03 20:14:08 20:06:01 0 26.43 0.00 5.87 1.11 0.07 66.52 20:14:08 20:06:01 1 29.21 0.00 6.03 0.30 0.08 64.37 20:14:08 20:06:01 2 27.18 0.00 5.45 3.66 0.08 63.62 20:14:08 20:06:01 3 27.59 0.00 5.93 0.79 0.08 65.60 20:14:08 20:06:01 4 27.85 0.00 8.11 3.92 0.08 60.03 20:14:08 20:06:01 5 29.37 0.00 5.61 0.10 0.07 64.85 20:14:08 20:06:01 6 25.55 0.00 4.52 0.81 0.07 69.05 20:14:08 20:06:01 7 27.71 0.00 6.85 7.19 0.10 58.16 20:14:08 20:07:01 all 21.32 0.00 4.45 1.74 0.08 72.41 20:14:08 20:07:01 0 21.84 0.00 4.35 0.17 0.07 73.57 20:14:08 20:07:01 1 20.46 0.00 5.06 0.54 0.05 73.89 20:14:08 20:07:01 2 22.48 0.00 4.74 6.87 0.14 65.77 20:14:08 20:07:01 3 21.27 0.00 4.25 0.74 0.07 73.67 20:14:08 20:07:01 4 20.99 0.00 4.32 0.29 0.05 74.35 20:14:08 20:07:01 5 20.62 0.00 3.69 1.95 0.07 73.67 20:14:08 20:07:01 6 21.13 0.00 4.44 0.29 0.07 74.08 20:14:08 20:07:01 7 21.72 0.00 4.78 3.11 0.14 70.26 20:14:08 20:08:01 all 0.05 0.00 0.02 0.01 0.00 99.92 20:14:08 20:08:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:14:08 20:08:01 1 0.02 0.00 0.02 0.02 0.02 99.93 20:14:08 20:08:01 2 0.00 0.00 0.02 0.03 0.00 99.95 20:14:08 20:08:01 3 0.02 0.00 0.00 0.00 0.02 99.97 20:14:08 20:08:01 4 0.03 0.00 0.02 0.00 0.00 99.95 20:14:08 20:08:01 5 0.28 0.00 0.02 0.00 0.00 99.70 20:14:08 20:08:01 6 0.03 0.00 0.03 0.00 0.00 99.93 20:14:08 20:08:01 7 0.02 0.00 0.02 0.00 0.00 99.97 20:14:08 20:09:01 all 0.57 0.00 0.19 0.16 0.01 99.08 20:14:08 20:09:01 0 0.17 0.00 0.10 0.00 0.02 99.72 20:14:08 20:09:01 1 0.42 0.00 0.17 0.05 0.00 99.37 20:14:08 20:09:01 2 0.18 0.00 0.35 0.15 0.00 99.32 20:14:08 20:09:01 3 0.65 0.00 0.32 0.03 0.00 99.00 20:14:08 20:09:01 4 0.47 0.00 0.10 0.02 0.02 99.40 20:14:08 20:09:01 5 2.08 0.00 0.05 0.30 0.02 97.55 20:14:08 20:09:01 6 0.48 0.00 0.28 0.48 0.02 98.73 20:14:08 20:09:01 7 0.07 0.00 0.12 0.23 0.00 99.58 20:14:08 20:10:01 all 1.06 0.00 0.59 0.36 0.01 97.97 20:14:08 20:10:01 0 1.62 0.00 0.53 0.68 0.02 97.14 20:14:08 20:10:01 1 1.07 0.00 0.52 0.98 0.02 97.41 20:14:08 20:10:01 2 1.02 0.00 0.35 0.32 0.02 98.30 20:14:08 20:10:01 3 0.78 0.00 1.47 0.18 0.00 97.57 20:14:08 20:10:01 4 0.68 0.00 0.37 0.35 0.00 98.60 20:14:08 20:10:01 5 1.52 0.00 0.40 0.05 0.00 98.03 20:14:08 20:10:01 6 1.12 0.00 0.63 0.03 0.02 98.20 20:14:08 20:10:01 7 0.70 0.00 0.43 0.32 0.02 98.53 20:14:08 20:11:01 all 0.12 0.00 0.02 0.00 0.00 99.86 20:14:08 20:11:01 0 0.03 0.00 0.03 0.02 0.00 99.92 20:14:08 20:11:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:14:08 20:11:01 2 0.05 0.00 0.03 0.00 0.00 99.92 20:14:08 20:11:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:14:08 20:11:01 4 0.03 0.00 0.00 0.00 0.00 99.97 20:14:08 20:11:01 5 0.78 0.00 0.10 0.00 0.00 99.12 20:14:08 20:11:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:14:08 20:11:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:14:08 20:12:01 all 0.02 0.00 0.01 0.00 0.01 99.96 20:14:08 20:12:01 0 0.03 0.00 0.03 0.02 0.02 99.90 20:14:08 20:12:01 1 0.00 0.00 0.02 0.00 0.00 99.98 20:14:08 20:12:01 2 0.03 0.00 0.05 0.00 0.02 99.90 20:14:08 20:12:01 3 0.03 0.00 0.00 0.00 0.02 99.95 20:14:08 20:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 20:14:08 20:12:01 5 0.02 0.00 0.00 0.00 0.02 99.97 20:14:08 20:12:01 6 0.00 0.00 0.00 0.02 0.00 99.98 20:14:08 20:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:14:08 20:13:02 all 0.06 0.00 0.00 0.00 0.00 99.93 20:14:08 20:13:02 0 0.03 0.00 0.00 0.02 0.00 99.95 20:14:08 20:13:02 1 0.00 0.00 0.00 0.00 0.00 100.00 20:14:08 20:13:02 2 0.02 0.00 0.00 0.00 0.02 99.97 20:14:08 20:13:02 3 0.03 0.00 0.00 0.00 0.00 99.97 20:14:08 20:13:02 4 0.02 0.00 0.00 0.00 0.00 99.98 20:14:08 20:13:02 5 0.38 0.00 0.02 0.00 0.00 99.60 20:14:08 20:13:02 6 0.00 0.00 0.00 0.00 0.00 100.00 20:14:08 20:13:02 7 0.02 0.00 0.00 0.00 0.02 99.97 20:14:08 20:14:01 all 0.35 0.00 0.07 0.01 0.00 99.58 20:14:08 20:14:01 0 0.20 0.00 0.07 0.03 0.00 99.69 20:14:08 20:14:01 1 0.07 0.00 0.03 0.00 0.00 99.90 20:14:08 20:14:01 2 0.14 0.00 0.10 0.00 0.02 99.75 20:14:08 20:14:01 3 0.34 0.00 0.05 0.00 0.00 99.61 20:14:08 20:14:01 4 0.12 0.00 0.05 0.00 0.00 99.83 20:14:08 20:14:01 5 1.55 0.00 0.10 0.02 0.00 98.34 20:14:08 20:14:01 6 0.12 0.00 0.05 0.00 0.00 99.83 20:14:08 20:14:01 7 0.25 0.00 0.07 0.00 0.00 99.68 20:14:08 Average: all 5.92 0.00 1.42 0.62 0.03 92.02 20:14:08 Average: 0 5.74 0.00 1.33 0.23 0.02 92.68 20:14:08 Average: 1 5.78 0.00 1.47 0.20 0.02 92.52 20:14:08 Average: 2 6.00 0.00 1.51 1.13 0.03 91.33 20:14:08 Average: 3 6.01 0.00 1.53 0.64 0.03 91.80 20:14:08 Average: 4 5.95 0.00 1.53 1.05 0.02 91.45 20:14:08 Average: 5 6.45 0.00 1.27 0.29 0.02 91.97 20:14:08 Average: 6 5.51 0.00 1.23 0.27 0.02 92.97 20:14:08 Average: 7 5.88 0.00 1.52 1.13 0.03 91.43 20:14:08 20:14:08 20:14:08