Pull request #731 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 1f15288997641a3d0d3a625c9b3944aa45f594eb rather than f96bc4ab4b461127eada24dc79ab29dc40011ffd Obtained Jenkinsfile from 1f15288997641a3d0d3a625c9b3944aa45f594eb Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-731/workspace@libs/edgex-global-pipelines # 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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-731/workspace@libs/lf-pipelines # 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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 f82e9360b4159668f7e3e090307a6179e9a8e48d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20239 in /w/workspace/dgexfoundry_device-sdk-go_PR-731 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-731 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/731/head:refs/remotes/origin/PR-731 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit f96bc4ab4b461127eada24dc79ab29dc40011ffd Merge succeeded, producing f96bc4ab4b461127eada24dc79ab29dc40011ffd Checking out Revision f96bc4ab4b461127eada24dc79ab29dc40011ffd (PR-731) > git config core.sparsecheckout # timeout=10 > git checkout -f f96bc4ab4b461127eada24dc79ab29dc40011ffd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f96bc4ab4b461127eada24dc79ab29dc40011ffd # timeout=10 Commit message: "feat: process queryParams of url in put method(write functions)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:11:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:11:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:11:25 ========================================================= 16:11:25 EdgeX Global Pipelines Version Info 16:11:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:11:27 ------------------- 16:11:27 stable info: 16:11:27 ------------------- 16:11:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:27 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 16:11:27 Message: update stable to v1.0.177 16:11:28 ------------------- 16:11:28 experimental info: 16:11:28 ------------------- 16:11:28 Commited By: **** collab-it+edgex@linuxfoundation.org 16:11:28 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 16:11:28 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:11:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:11:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:11:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-731 [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-731 [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-731 [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f96bc4ab4b461127eada24dc79ab29dc40011ffd [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f96bc4a [Pipeline] echo 16:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:11:34 provisioning config files... 16:11:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp/config5425085334585767497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:34 ---> docker-login.sh 16:11:34 nexus3.edgexfoundry.org:10001 16:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:35 Configure a credential helper to remove this warning. See 16:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:35 16:11:35 Login Succeeded 16:11:35 nexus3.edgexfoundry.org:10002 16:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:36 Configure a credential helper to remove this warning. See 16:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:36 16:11:36 Login Succeeded 16:11:36 nexus3.edgexfoundry.org:10003 16:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:36 Configure a credential helper to remove this warning. See 16:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:36 16:11:36 Login Succeeded 16:11:36 nexus3.edgexfoundry.org:10004 16:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:36 Configure a credential helper to remove this warning. See 16:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:36 16:11:36 Login Succeeded 16:11:36 docker.io 16:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:37 Configure a credential helper to remove this warning. See 16:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:37 16:11:37 Login Succeeded 16:11:37 ---> docker-login.sh ends [Pipeline] } 16:11:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:38 + git log --format=format:%s -1 f96bc4ab4b461127eada24dc79ab29dc40011ffd [Pipeline] echo 16:11:38 GIT_COMMIT: f96bc4ab4b461127eada24dc79ab29dc40011ffd, Commit Message: feat: process queryParams of url in put method(write functions) [Pipeline] echo 16:11:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:11:39 16:11:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:11:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:11:40 latest: Pulling from edgex-devops/git-semver 16:11:40 31603596830f: Pulling fs layer 16:11:40 2a8b12db71e7: Pulling fs layer 16:11:40 6ca5941a6612: Pulling fs layer 16:11:40 ecc8261a40a4: Pulling fs layer 16:11:40 ecc8261a40a4: Waiting 16:11:40 2a8b12db71e7: Verifying Checksum 16:11:40 2a8b12db71e7: Download complete 16:11:40 31603596830f: Verifying Checksum 16:11:40 31603596830f: Download complete 16:11:40 ecc8261a40a4: Verifying Checksum 16:11:40 ecc8261a40a4: Download complete 16:11:40 6ca5941a6612: Verifying Checksum 16:11:40 6ca5941a6612: Download complete 16:11:41 31603596830f: Pull complete 16:11:41 2a8b12db71e7: Pull complete 16:11:43 6ca5941a6612: Pull complete 16:11:43 ecc8261a40a4: Pull complete 16:11:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:11:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:11:43 prd-centos7-docker-4c-2g-20239 does not seem to be running inside a container 16:11:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-731 -v /w/workspace/dgexfoundry_device-sdk-go_PR-731:/w/workspace/dgexfoundry_device-sdk-go_PR-731:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:11:46 $ docker top eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:47 [ssh-agent] Looking for ssh-agent implementation... 16:11:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:47 $ docker exec eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 ssh-agent 16:11:47 SSH_AUTH_SOCK=/tmp/ssh-WsoDo6vF0B0n/agent.12 16:11:47 SSH_AGENT_PID=18 16:11:47 Running ssh-add (command line suppressed) 16:11:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp/private_key_3342137086056784398.key (/w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp/private_key_3342137086056784398.key) 16:11:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:48 + git tag --points-at HEAD [Pipeline] } 16:11:48 $ docker exec --env ******** --env ******** eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 ssh-agent -k 16:11:49 unset SSH_AUTH_SOCK; 16:11:49 unset SSH_AGENT_PID; 16:11:49 echo Agent pid 18 killed; 16:11:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:11:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:49 [ssh-agent] Looking for ssh-agent implementation... 16:11:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:49 $ docker exec eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 ssh-agent 16:11:49 SSH_AUTH_SOCK=/tmp/ssh-Gdloh5VgRyj2/agent.46 16:11:49 SSH_AGENT_PID=51 16:11:49 Running ssh-add (command line suppressed) 16:11:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp/private_key_5354223051476417903.key (/w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp/private_key_5354223051476417903.key) 16:11:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:50 + git semver init 16:11:51 # -> Open(): unable to determine branch for HEAD 16:11:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-731/.git 16:11:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-731 16:11:51 # $SEMVER_REMOTE_NAME = origin 16:11:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:11:51 # $SEMVER_USER_NAME = edgex-jenkins 16:11:51 # $SEMVER_BRANCH = PR-731 16:11:51 # $SEMVER_TEMP = /tmp/semver-437735305 16:11:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:11:52 # '/tmp/semver-437735305' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-731/.semver' 16:11:52 # -> Force: false 16:11:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-731/.semver [Pipeline] } 16:11:52 $ docker exec --env ******** --env ******** eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 ssh-agent -k 16:11:52 unset SSH_AUTH_SOCK; 16:11:52 unset SSH_AGENT_PID; 16:11:52 echo Agent pid 51 killed; 16:11:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:53 + git semver [Pipeline] } 16:11:53 $ docker stop --time=1 eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 16:11:54 $ docker rm -f eaa2debb9eef780037e0c0d64c336ba61f45b75e60911fb60c8fbce7d9d1bac4 [Pipeline] // withDockerContainer [Pipeline] sh 16:11:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:11:56 Stashed 1 file(s) [Pipeline] echo 16:11:56 [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] node [Pipeline] node 16:12:12 Still waiting to schedule task 16:12:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:12:12 Still waiting to schedule task 16:12:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:13:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20240 in /w/workspace/dgexfoundry_device-sdk-go_PR-731 [Pipeline] { [Pipeline] ws 16:13:51 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 16:13:56 using credential edgex-jenkins-ssh 16:13:56 Cloning the remote Git repository 16:13:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:13:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 16:13:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:13:56 > git --version # timeout=10 16:13:56 > git --version # 'git version 2.17.1' 16:13:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:13:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:13:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/731/head:refs/remotes/origin/PR-731 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:13:58 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit f96bc4ab4b461127eada24dc79ab29dc40011ffd 16:13:58 Merge succeeded, producing f96bc4ab4b461127eada24dc79ab29dc40011ffd 16:13:58 Checking out Revision f96bc4ab4b461127eada24dc79ab29dc40011ffd (PR-731) 16:13:58 > git config core.sparsecheckout # timeout=10 16:13:58 > git checkout -f f96bc4ab4b461127eada24dc79ab29dc40011ffd # timeout=10 16:13:58 > git remote # timeout=10 16:13:58 > git config --get remote.origin.url # timeout=10 16:13:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:58 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 16:13:58 > git rev-parse HEAD^{commit} # timeout=10 16:13:58 > git config core.sparsecheckout # timeout=10 16:13:58 > git checkout -f f96bc4ab4b461127eada24dc79ab29dc40011ffd # timeout=10 16:14:03 Commit message: "feat: process queryParams of url in put method(write functions)" 16:14:03 > git --version # timeout=10 16:14:03 > git --version # 'git version 2.17.1' 16:14:03 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:14:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:14:06 + + true 16:14:06 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:14:08 provisioning config files... 16:14:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2511180241581551898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:09 ---> docker-login.sh 16:14:09 nexus3.edgexfoundry.org:10001 16:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:10 Configure a credential helper to remove this warning. See 16:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:10 16:14:10 Login Succeeded 16:14:10 nexus3.edgexfoundry.org:10002 16:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:11 Configure a credential helper to remove this warning. See 16:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:11 16:14:11 Login Succeeded 16:14:11 nexus3.edgexfoundry.org:10003 16:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:11 Configure a credential helper to remove this warning. See 16:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:11 16:14:11 Login Succeeded 16:14:11 nexus3.edgexfoundry.org:10004 16:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:12 Configure a credential helper to remove this warning. See 16:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:12 16:14:12 Login Succeeded 16:14:12 docker.io 16:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:13 Configure a credential helper to remove this warning. See 16:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:13 16:14:13 Login Succeeded 16:14:13 ---> docker-login.sh ends [Pipeline] } 16:14:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:13 ========================================================= 16:14:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:14:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:14:14 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 16:14:14 Sending build context to Docker daemon 2.504MB 16:14:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:14:14 Step 2/8 : FROM ${BASE} 16:14:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:14 5f621e34cdf4: Pulling fs layer 16:14:14 a4357932f1b6: Pulling fs layer 16:14:14 18c013af1878: Pulling fs layer 16:14:14 00ac8860ef70: Pulling fs layer 16:14:14 63d7cb157983: Pulling fs layer 16:14:14 b116817d02f9: Pulling fs layer 16:14:14 745a02a5169b: Pulling fs layer 16:14:14 00ac8860ef70: Waiting 16:14:14 63d7cb157983: Waiting 16:14:14 b116817d02f9: Waiting 16:14:14 745a02a5169b: Waiting 16:14:14 18c013af1878: Verifying Checksum 16:14:14 18c013af1878: Download complete 16:14:14 a4357932f1b6: Verifying Checksum 16:14:14 a4357932f1b6: Download complete 16:14:14 63d7cb157983: Verifying Checksum 16:14:14 63d7cb157983: Download complete 16:14:14 5f621e34cdf4: Verifying Checksum 16:14:14 5f621e34cdf4: Download complete 16:14:14 b116817d02f9: Verifying Checksum 16:14:14 b116817d02f9: Download complete 16:14:15 5f621e34cdf4: Pull complete 16:14:16 a4357932f1b6: Pull complete 16:14:16 18c013af1878: Pull complete 16:14:17 745a02a5169b: Verifying Checksum 16:14:17 745a02a5169b: Download complete 16:14:18 00ac8860ef70: Verifying Checksum 16:14:18 00ac8860ef70: Download complete 16:14:26 Running on prd-centos7-docker-4c-2g-20241 in /w/workspace/dgexfoundry_device-sdk-go_PR-731 [Pipeline] { [Pipeline] ws 16:14:26 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 16:14:28 using credential edgex-jenkins-ssh 16:14:28 Cloning the remote Git repository 16:14:28 00ac8860ef70: Pull complete 16:14:29 63d7cb157983: Pull complete 16:14:29 b116817d02f9: Pull complete 16:14:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:14:29 > git init /w/workspace/device-sdk-go/1 # timeout=10 16:14:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:14:29 > git --version # timeout=10 16:14:29 > git --version # 'git version 2.24.3' 16:14:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:14:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:14:30 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit f96bc4ab4b461127eada24dc79ab29dc40011ffd 16:14:30 Merge succeeded, producing f96bc4ab4b461127eada24dc79ab29dc40011ffd 16:14:30 Checking out Revision f96bc4ab4b461127eada24dc79ab29dc40011ffd (PR-731) 16:14:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:14:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:14:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/731/head:refs/remotes/origin/PR-731 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:14:30 > git config core.sparsecheckout # timeout=10 16:14:30 > git checkout -f f96bc4ab4b461127eada24dc79ab29dc40011ffd # timeout=10 16:14:30 > git remote # timeout=10 16:14:30 > git config --get remote.origin.url # timeout=10 16:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:14:30 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 16:14:30 > git rev-parse HEAD^{commit} # timeout=10 16:14:30 > git config core.sparsecheckout # timeout=10 16:14:30 > git checkout -f f96bc4ab4b461127eada24dc79ab29dc40011ffd # timeout=10 16:14:33 745a02a5169b: Pull complete 16:14:33 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:14:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:14:33 ---> b7e6874047d6 16:14:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:14:34 Commit message: "feat: process queryParams of url in put method(write functions)" 16:14:34 > git --version # timeout=10 16:14:34 > git --version # 'git version 2.24.3' 16:14:34 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:14:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:14:36 + sudo service docker restart 16:14:36 + true 16:14:36 Redirecting to /bin/systemctl restart docker.service 16:14:36 ---> Running in d347441bb9d3 16:14:36 Removing intermediate container d347441bb9d3 16:14:36 ---> bbbb44010947 16:14:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:36 ---> Running in d4d610bcb29f [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:14:37 provisioning config files... 16:14:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7499936641449008066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:37 ---> docker-login.sh 16:14:37 nexus3.edgexfoundry.org:10001 16:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:38 Configure a credential helper to remove this warning. See 16:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:38 16:14:38 Login Succeeded 16:14:38 nexus3.edgexfoundry.org:10002 16:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:38 Configure a credential helper to remove this warning. See 16:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:38 16:14:38 Login Succeeded 16:14:38 nexus3.edgexfoundry.org:10003 16:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:38 Configure a credential helper to remove this warning. See 16:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:38 16:14:38 Login Succeeded 16:14:38 nexus3.edgexfoundry.org:10004 16:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:38 Configure a credential helper to remove this warning. See 16:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:38 16:14:38 Login Succeeded 16:14:38 docker.io 16:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:39 Configure a credential helper to remove this warning. See 16:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:39 16:14:39 Login Succeeded 16:14:39 ---> docker-login.sh ends [Pipeline] } 16:14:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 16:14:39 Removing intermediate container d4d610bcb29f 16:14:39 ---> f8087a23ff38 16:14:39 Step 5/8 : RUN apk add --update --no-cache make git 16:14:39 ---> Running in a269a277e66e [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:40 ========================================================= 16:14:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:14:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:14:40 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 16:14:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:14:40 Sending build context to Docker daemon 2.505MB 16:14:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:14:40 Step 2/8 : FROM ${BASE} 16:14:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:14:40 188c0c94c7c5: Pulling fs layer 16:14:40 0ef7d3d256c8: Pulling fs layer 16:14:40 de9db76c5a1d: Pulling fs layer 16:14:40 bca2f99d35d6: Pulling fs layer 16:14:40 93359f2a8cfa: Pulling fs layer 16:14:40 7c6f9722023f: Pulling fs layer 16:14:40 a35cf1a2eb13: Pulling fs layer 16:14:40 93359f2a8cfa: Waiting 16:14:40 a35cf1a2eb13: Waiting 16:14:40 bca2f99d35d6: Waiting 16:14:40 7c6f9722023f: Waiting 16:14:40 de9db76c5a1d: Verifying Checksum 16:14:40 de9db76c5a1d: Download complete 16:14:40 0ef7d3d256c8: Verifying Checksum 16:14:40 0ef7d3d256c8: Download complete 16:14:40 93359f2a8cfa: Verifying Checksum 16:14:40 93359f2a8cfa: Download complete 16:14:40 188c0c94c7c5: Verifying Checksum 16:14:40 188c0c94c7c5: Download complete 16:14:41 7c6f9722023f: Verifying Checksum 16:14:41 7c6f9722023f: Download complete 16:14:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:14:41 188c0c94c7c5: Pull complete 16:14:41 0ef7d3d256c8: Pull complete 16:14:41 de9db76c5a1d: Pull complete 16:14:41 OK: 142 MiB in 39 packages 16:14:43 Removing intermediate container a269a277e66e 16:14:43 ---> 069d02071283 16:14:43 Step 6/8 : WORKDIR /device-sdk-go 16:14:43 ---> Running in 335b072aab03 16:14:43 a35cf1a2eb13: Verifying Checksum 16:14:43 a35cf1a2eb13: Download complete 16:14:43 bca2f99d35d6: Verifying Checksum 16:14:43 bca2f99d35d6: Download complete 16:14:43 Removing intermediate container 335b072aab03 16:14:43 ---> 37ef31df5f7f 16:14:43 Step 7/8 : COPY . . 16:14:45 ---> 6a2a781567f9 16:14:45 Step 8/8 : RUN go mod download 16:14:45 ---> Running in 2f938f796dc7 16:14:50 bca2f99d35d6: Pull complete 16:14:50 93359f2a8cfa: Pull complete 16:14:50 7c6f9722023f: Pull complete 16:14:55 a35cf1a2eb13: Pull complete 16:14:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:14:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:14:55 ---> a62c8e92a672 16:14:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:14:55 ---> Running in f2edc0778aae 16:14:55 Removing intermediate container f2edc0778aae 16:14:55 ---> c61f25a27f7d 16:14:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:55 ---> Running in 7029e2e35c3d 16:14:56 Removing intermediate container 7029e2e35c3d 16:14:56 ---> 73c06f2b394f 16:14:56 Step 5/8 : RUN apk add --update --no-cache make git 16:14:56 ---> Running in 9c3255907211 16:14:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:14:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:14:59 OK: 166 MiB in 39 packages 16:14:59 Removing intermediate container 9c3255907211 16:14:59 ---> 2da2b0020d53 16:14:59 Step 6/8 : WORKDIR /device-sdk-go 16:14:59 ---> Running in 713f71735681 16:14:59 Removing intermediate container 713f71735681 16:14:59 ---> 87d513b5186a 16:14:59 Step 7/8 : COPY . . 16:15:01 ---> 1c3ca60a71a2 16:15:01 Step 8/8 : RUN go mod download 16:15:01 ---> Running in 3e2688d52c8c 16:15:07 Removing intermediate container 2f938f796dc7 16:15:07 ---> 3c348b4e3b88 16:15:07 Successfully built 3c348b4e3b88 16:15:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:15:07 + docker inspect -f . ci-base-image-arm64 16:15:07 . [Pipeline] withDockerContainer 16:15:08 prd-ubuntu18.04-docker-arm64-4c-16g-20240 does not seem to be running inside a container 16:15:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-arm64 cat 16:15:09 $ docker top f36e10cad895de806b8d16460a5035fc5102c426aa6d66e545470527e96f948e -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:10 + go version 16:15:10 go version go1.15.5 linux/arm64 [Pipeline] } 16:15:10 $ docker stop --time=1 f36e10cad895de806b8d16460a5035fc5102c426aa6d66e545470527e96f948e 16:15:12 $ docker rm -f f36e10cad895de806b8d16460a5035fc5102c426aa6d66e545470527e96f948e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:15:14 + docker inspect -f . ci-base-image-arm64 16:15:14 . [Pipeline] withDockerContainer 16:15:14 prd-ubuntu18.04-docker-arm64-4c-16g-20240 does not seem to be running inside a container 16:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-arm64 cat 16:15:16 $ docker top 9052b047632a3a6a388cc58bcd8f7040e69b835c2b0c3c859e4908c18e3d2930 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:17 + make test 16:15:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:15:19 Removing intermediate container 3e2688d52c8c 16:15:19 ---> 3f77fdd41aa0 16:15:19 Successfully built 3f77fdd41aa0 16:15:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:15:19 + docker inspect -f . ci-base-image-x86_64 16:15:19 . [Pipeline] withDockerContainer 16:15:20 prd-centos7-docker-4c-2g-20241 does not seem to be running inside a container 16:15:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-x86_64 cat 16:15:20 $ docker top 1cf9b35242bb0c6166be89a079b885aded9bce3e5cf17cc3ca305f8107b1f199 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:21 + go version 16:15:21 go version go1.15.5 linux/amd64 [Pipeline] } 16:15:21 $ docker stop --time=1 1cf9b35242bb0c6166be89a079b885aded9bce3e5cf17cc3ca305f8107b1f199 16:15:23 $ docker rm -f 1cf9b35242bb0c6166be89a079b885aded9bce3e5cf17cc3ca305f8107b1f199 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:15:24 + docker inspect -f . ci-base-image-x86_64 16:15:24 . [Pipeline] withDockerContainer 16:15:24 prd-centos7-docker-4c-2g-20241 does not seem to be running inside a container 16:15:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 ******** ci-base-image-x86_64 cat 16:15:25 $ docker top e4872ba47b78de2b420d4107dd88a41ed441f3eaf3a2bd1fcee229d55bfb1fa6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:25 + make test 16:15:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:15:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:15:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 16:15:49 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:15:49 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:15:49 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 16:15:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.103s coverage: 19.4% of statements 16:15:51 # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] 16:15:51 internal/handler/command_test.go:406:26: not enough arguments in call to execWriteCmd 16:15:51 have (*"github.com/edgexfoundry/go-mod-core-contracts/models".Device, string, string, *mock.DriverMock, logger.LoggingClient, *common.ConfigurationStruct) 16:15:51 want (*"github.com/edgexfoundry/go-mod-core-contracts/models".Device, string, string, string, "github.com/edgexfoundry/device-sdk-go/pkg/models".ProtocolDriver, logger.LoggingClient, *common.ConfigurationStruct) 16:15:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.469s coverage: 97.1% of statements 16:16:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 16:16:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 16:16:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 16:16:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.124s coverage: 19.4% of statements 16:16:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.195s coverage: 97.1% of statements 16:16:22 # github.com/edgexfoundry/device-sdk-go/internal/handler [github.com/edgexfoundry/device-sdk-go/internal/handler.test] 16:16:22 internal/handler/command_test.go:406:26: not enough arguments in call to execWriteCmd 16:16:22 have (*"github.com/edgexfoundry/go-mod-core-contracts/models".Device, string, string, *mock.DriverMock, logger.LoggingClient, *common.ConfigurationStruct) 16:16:22 want (*"github.com/edgexfoundry/go-mod-core-contracts/models".Device, string, string, string, "github.com/edgexfoundry/device-sdk-go/pkg/models".ProtocolDriver, logger.LoggingClient, *common.ConfigurationStruct) 16:16:23 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 16:16:23 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.090s coverage: 21.7% of statements 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:16:23 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.238s coverage: 42.9% of statements 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:16:23 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 16:16:23 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.567s coverage: 53.8% of statements 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 16:16:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 16:16:23 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.088s coverage: 31.3% of statements 16:16:23 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.448s coverage: 68.9% of statements 16:16:23 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 16:16:23 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:16:23 FAIL 16:16:23 make: *** [Makefile:32: test] Error 2 [Pipeline] } 16:16:23 $ docker stop --time=1 e4872ba47b78de2b420d4107dd88a41ed441f3eaf3a2bd1fcee229d55bfb1fa6 16:16:25 $ docker rm -f e4872ba47b78de2b420d4107dd88a41ed441f3eaf3a2bd1fcee229d55bfb1fa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:16:27 Failed in branch amd64 16:16:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.141s coverage: 9.4% of statements 16:16:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.150s coverage: 21.7% of statements 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 16:16:55 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.612s coverage: 42.9% of statements 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 16:16:55 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 16:16:55 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.212s coverage: 53.8% of statements 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 16:16:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 16:16:55 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.174s coverage: 31.3% of statements 16:16:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.776s coverage: 68.9% of statements 16:16:55 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.2% of statements 16:16:55 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 16:16:55 FAIL 16:16:55 make: *** [Makefile:32: test] Error 2 [Pipeline] } 16:16:55 $ docker stop --time=1 9052b047632a3a6a388cc58bcd8f7040e69b835c2b0c3c859e4908c18e3d2930 16:16:57 $ docker rm -f 9052b047632a3a6a388cc58bcd8f7040e69b835c2b0c3c859e4908c18e3d2930 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:17:00 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:17:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:17:05 ---> package-listing.sh 16:17:05 ++ tr '[:upper:]' '[:lower:]' 16:17:05 ++ facter osfamily 16:17:05 + OS_FAMILY=redhat 16:17:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-731 16:17:05 + START_PACKAGES=/tmp/packages_start.txt 16:17:05 + END_PACKAGES=/tmp/packages_end.txt 16:17:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:17:05 + PACKAGES=/tmp/packages_start.txt 16:17:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-731 ']' 16:17:05 + PACKAGES=/tmp/packages_end.txt 16:17:05 + case "${OS_FAMILY}" in 16:17:05 + rpm -qa 16:17:05 + sort 16:17:12 + '[' -f /tmp/packages_start.txt ']' 16:17:12 + '[' -f /tmp/packages_end.txt ']' 16:17:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:17:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-731 ']' 16:17:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-731/archives/ 16:17:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-731/archives/ [Pipeline] echo 16:17:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-731/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:17:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:17:13 16:17:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:17:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:17:14 alpine: Pulling from edgex-lftools-log-publisher 16:17:14 df20fa9351a1: Pulling fs layer 16:17:14 36b3adc4ff6f: Pulling fs layer 16:17:14 8ad3a11d3b57: Pulling fs layer 16:17:14 46f8f816bc3b: Pulling fs layer 16:17:14 93b61091891f: Pulling fs layer 16:17:14 93b9cdb0e59b: Pulling fs layer 16:17:14 5e14af77c1be: Pulling fs layer 16:17:14 01666e4c0597: Pulling fs layer 16:17:14 aa168da1d23b: Pulling fs layer 16:17:14 46f8f816bc3b: Waiting 16:17:14 93b61091891f: Waiting 16:17:14 01666e4c0597: Waiting 16:17:14 93b9cdb0e59b: Waiting 16:17:14 5e14af77c1be: Waiting 16:17:14 aa168da1d23b: Waiting 16:17:14 36b3adc4ff6f: Verifying Checksum 16:17:14 36b3adc4ff6f: Download complete 16:17:14 46f8f816bc3b: Verifying Checksum 16:17:14 46f8f816bc3b: Download complete 16:17:14 df20fa9351a1: Verifying Checksum 16:17:14 df20fa9351a1: Download complete 16:17:14 93b9cdb0e59b: Verifying Checksum 16:17:14 93b9cdb0e59b: Download complete 16:17:14 5e14af77c1be: Verifying Checksum 16:17:14 5e14af77c1be: Download complete 16:17:14 01666e4c0597: Verifying Checksum 16:17:14 01666e4c0597: Download complete 16:17:14 df20fa9351a1: Pull complete 16:17:15 36b3adc4ff6f: Pull complete 16:17:15 93b61091891f: Verifying Checksum 16:17:15 93b61091891f: Download complete 16:17:15 8ad3a11d3b57: Download complete 16:17:18 8ad3a11d3b57: Pull complete 16:17:18 46f8f816bc3b: Pull complete 16:17:19 93b61091891f: Pull complete 16:17:19 93b9cdb0e59b: Pull complete 16:17:20 5e14af77c1be: Pull complete 16:17:20 01666e4c0597: Pull complete 16:17:21 aa168da1d23b: Verifying Checksum 16:17:21 aa168da1d23b: Download complete 16:17:33 aa168da1d23b: Pull complete 16:17:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:17:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:17:33 prd-centos7-docker-4c-2g-20239 does not seem to be running inside a container 16:17:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-731/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-731 -v /w/workspace/dgexfoundry_device-sdk-go_PR-731:/w/workspace/dgexfoundry_device-sdk-go_PR-731:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:17:38 $ docker top ff84941d717078415a029a2337dd232177a7db7369a15eedd76a91a9e90bef1f -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:39 + touch /tmp/pre-build-complete [Pipeline] sh 16:17:40 + mkdir -p /var/log/sa [Pipeline] sh 16:17:40 + ls /var/log/sa-host 16:17:40 + sadf -c /var/log/sa-host/sa14 16:17:40 file_magic: OK 16:17:40 HZ: Using current value: 100 16:17:40 file_header: OK 16:17:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:17:40 Statistics: 16:17:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:17:40 File successfully converted to sysstat format version 12.2.1 16:17:40 + sadf -c /var/log/sa-host/sa23 16:17:40 file_magic: OK 16:17:40 HZ: Using current value: 100 16:17:40 file_header: OK 16:17:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:17:40 Statistics: 16:17:40 Hnuu...uuuununununu... 16:17:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:40 provisioning config files... 16:17:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp/config7471378649667762219tmp [Pipeline] { [Pipeline] echo 16:17:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:17:41 ---> create-netrc.sh [Pipeline] } 16:17:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:17:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:17:41 ---> python-tools-install.sh [Pipeline] echo 16:17:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:17:42 ---> sudo-logs.sh 16:17:42 Archiving 'sudo' log.. [Pipeline] echo 16:17:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:17:42 ---> job-cost.sh 16:17:42 lf-activate-venv: SKIPPING 16:17:42 INFO: No Stack... 16:17:44 INFO: Retrieving Pricing Info for: v1-standard-2 16:17:44 INFO: Archiving Costs [Pipeline] echo 16:17:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:17:44 ---> logs-deploy.sh 16:17:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-731/1 16:17:44 INFO: archiving workspace using pattern(s): 16:17:47 Archives upload complete. 16:17:47 INFO: archiving logs to Nexus 16:17:48 ---> uname -a: 16:17:48 Linux prd-centos7-docker-4c-2g-20239.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:17:48 16:17:48 16:17:48 ---> lscpu: 16:17:48 Architecture: x86_64 16:17:48 CPU op-mode(s): 32-bit, 64-bit 16:17:48 Byte Order: Little Endian 16:17:48 Address sizes: 40 bits physical, 48 bits virtual 16:17:48 CPU(s): 4 16:17:48 On-line CPU(s) list: 0-3 16:17:48 Thread(s) per core: 1 16:17:48 Core(s) per socket: 1 16:17:48 Socket(s): 4 16:17:48 NUMA node(s): 1 16:17:48 Vendor ID: GenuineIntel 16:17:48 CPU family: 6 16:17:48 Model: 44 16:17:48 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:17:48 Stepping: 1 16:17:48 CPU MHz: 2933.438 16:17:48 BogoMIPS: 5866.87 16:17:48 Virtualization: VT-x 16:17:48 Hypervisor vendor: KVM 16:17:48 Virtualization type: full 16:17:48 L1d cache: 128 KiB 16:17:48 L1i cache: 128 KiB 16:17:48 L2 cache: 16 MiB 16:17:48 L3 cache: 64 MiB 16:17:48 NUMA node0 CPU(s): 0-3 16:17:48 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:17:48 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:17:48 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:17:48 Vulnerability Meltdown: Mitigation; PTI 16:17:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:17:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:17:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:17:48 Vulnerability Srbds: Not affected 16:17:48 Vulnerability Tsx async abort: Not affected 16:17:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 16:17:48 16:17:48 16:17:48 ---> nproc: 16:17:48 4 16:17:48 16:17:48 16:17:48 ---> df -h: 16:17:48 Filesystem Size Used Available Use% Mounted on 16:17:48 overlay 50.0G 7.3G 42.7G 15% / 16:17:48 tmpfs 64.0M 0 64.0M 0% /dev 16:17:48 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:17:48 shm 64.0M 0 64.0M 0% /dev/shm 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-731 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-731@tmp 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 16:17:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 16:17:48 16:17:48 16:17:48 ---> free -m: 16:17:48 total used free shared buff/cache available 16:17:48 Mem: 1837 695 90 0 1051 1037 16:17:48 Swap: 1023 1 1022 16:17:48 16:17:48 16:17:48 ---> ip addr: 16:17:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:17:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:17:48 inet 127.0.0.1/8 scope host lo 16:17:48 valid_lft forever preferred_lft forever 16:17:48 inet6 ::1/128 scope host 16:17:48 valid_lft forever preferred_lft forever 16:17:48 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:17:48 link/ether fa:16:3e:48:6f:42 brd ff:ff:ff:ff:ff:ff 16:17:48 inet 10.30.123.209/23 brd 10.30.123.255 scope global dynamic eth0 16:17:48 valid_lft 85967sec preferred_lft 85967sec 16:17:48 inet6 fe80::f816:3eff:fe48:6f42/64 scope link 16:17:48 valid_lft forever preferred_lft forever 16:17:48 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:17:48 link/ether 02:42:1a:bb:b8:32 brd ff:ff:ff:ff:ff:ff 16:17:48 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:17:48 valid_lft forever preferred_lft forever 16:17:48 inet6 fe80::42:1aff:febb:b832/64 scope link 16:17:48 valid_lft forever preferred_lft forever 16:17:48 16:17:48 16:17:48 ---> sar -b -r -n DEV: 16:17:48 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/14/21 _x86_64_ (4 CPU) 16:17:48 16:17:48 16:10:23 LINUX RESTART (4 CPU) 16:17:48 16:17:48 16:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:17:48 16:12:01 73.35 31.40 41.95 0.00 7301.93 3883.42 0.00 16:17:48 16:13:01 2.53 0.00 2.53 0.00 0.00 53.97 0.00 16:17:48 16:14:01 0.47 0.00 0.47 0.00 0.00 7.01 0.00 16:17:48 16:15:01 0.32 0.00 0.32 0.00 0.00 4.34 0.00 16:17:48 16:16:01 0.17 0.00 0.17 0.00 0.00 1.80 0.00 16:17:48 16:17:01 0.37 0.00 0.37 0.00 0.00 4.69 0.00 16:17:48 Average: 12.87 5.24 7.64 0.00 1217.63 659.55 0.00 16:17:48 16:17:48 16:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:17:48 16:12:01 158168 0 597284 31.74 2620 1123472 1128272 38.51 432068 1091328 136 16:17:48 16:13:01 168064 0 587296 31.21 2620 1123564 1071872 36.58 430976 1084276 16 16:17:48 16:14:01 165564 0 589792 31.35 2620 1123568 1063876 36.31 429640 1087996 8 16:17:48 16:15:01 165576 0 589756 31.34 2620 1123592 1063900 36.31 448932 1068792 20 16:17:48 16:16:01 167224 0 588124 31.26 2620 1123576 1063648 36.30 446552 1069800 8 16:17:48 16:17:01 166716 0 588628 31.28 2620 1123580 1063780 36.31 445180 1071792 8 16:17:48 Average: 165219 0 590147 31.37 2620 1123559 1075891 36.72 438891 1078997 33 16:17:48 16:17:48 16:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:17:48 16:12:01 eth0 303.63 214.35 1081.86 89.56 0.00 0.00 0.00 0.00 16:17:48 16:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:12:01 docker0 11.78 8.80 1.62 21.33 0.00 0.00 0.00 0.00 16:17:48 16:13:01 eth0 0.77 0.08 0.06 0.02 0.00 0.00 0.00 0.00 16:17:48 16:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:14:01 eth0 1.10 0.50 0.32 0.21 0.00 0.00 0.00 0.00 16:17:48 16:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:15:01 eth0 0.55 0.43 0.27 0.21 0.00 0.00 0.00 0.00 16:17:48 16:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:16:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:17:48 16:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:17:01 eth0 0.32 0.23 0.14 0.07 0.00 0.00 0.00 0.00 16:17:48 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 Average: eth0 51.10 35.97 180.54 15.02 0.00 0.00 0.00 0.00 16:17:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:17:48 Average: docker0 1.96 1.47 0.27 3.56 0.00 0.00 0.00 0.00 16:17:48 16:17:48 16:17:48 ---> sar -P ALL: 16:17:48 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/14/21 _x86_64_ (4 CPU) 16:17:48 16:17:48 16:10:23 LINUX RESTART (4 CPU) 16:17:48 16:17:48 16:11:01 CPU %user %nice %system %iowait %steal %idle 16:17:48 16:12:01 all 11.25 0.00 4.94 2.01 12.49 69.32 16:17:48 16:12:01 0 9.85 0.00 5.39 2.03 12.89 69.83 16:17:48 16:12:01 1 12.44 0.00 4.76 1.10 13.15 68.54 16:17:48 16:12:01 2 10.94 0.00 4.89 3.91 12.02 68.23 16:17:48 16:12:01 3 11.77 0.00 4.72 0.99 11.87 70.65 16:17:48 16:13:01 all 0.10 0.00 0.05 0.00 0.65 99.19 16:17:48 16:13:01 0 0.05 0.00 0.05 0.00 0.71 99.19 16:17:48 16:13:01 1 0.05 0.00 0.05 0.00 0.57 99.34 16:17:48 16:13:01 2 0.02 0.00 0.05 0.00 0.42 99.52 16:17:48 16:13:01 3 0.28 0.00 0.07 0.00 0.91 98.74 16:17:48 16:14:01 all 0.11 0.00 0.12 0.00 0.63 99.14 16:17:48 16:14:01 0 0.03 0.00 0.35 0.00 0.50 99.12 16:17:48 16:14:01 1 0.03 0.00 0.03 0.00 1.06 98.88 16:17:48 16:14:01 2 0.03 0.00 0.05 0.00 0.30 99.62 16:17:48 16:14:01 3 0.35 0.00 0.05 0.00 0.66 98.94 16:17:48 16:15:01 all 0.10 0.00 0.05 0.00 0.22 99.63 16:17:48 16:15:01 0 0.02 0.00 0.03 0.00 0.17 99.78 16:17:48 16:15:01 1 0.03 0.00 0.03 0.00 0.38 99.55 16:17:48 16:15:01 2 0.03 0.00 0.03 0.00 0.23 99.70 16:17:48 16:15:01 3 0.33 0.00 0.08 0.00 0.12 99.47 16:17:48 16:16:01 all 0.09 0.00 0.04 0.00 0.25 99.63 16:17:48 16:16:01 0 0.03 0.00 0.07 0.00 0.38 99.52 16:17:48 16:16:01 1 0.02 0.00 0.03 0.00 0.08 99.87 16:17:48 16:16:01 2 0.00 0.00 0.03 0.00 0.27 99.70 16:17:48 16:16:01 3 0.32 0.00 0.02 0.00 0.25 99.42 16:17:48 16:17:01 all 0.07 0.00 0.04 0.00 0.78 99.12 16:17:48 16:17:01 0 0.02 0.00 0.07 0.00 0.71 99.20 16:17:48 16:17:01 1 0.03 0.00 0.02 0.00 1.07 98.88 16:17:48 16:17:01 2 0.03 0.00 0.02 0.00 0.63 99.32 16:17:48 16:17:01 3 0.18 0.00 0.05 0.00 0.70 99.07 16:17:48 Average: all 1.91 0.00 0.85 0.33 2.46 94.45 16:17:48 Average: 0 1.64 0.00 0.98 0.33 2.53 94.52 16:17:48 Average: 1 2.06 0.00 0.81 0.18 2.68 94.28 16:17:48 Average: 2 1.79 0.00 0.82 0.63 2.25 94.50 16:17:48 Average: 3 2.16 0.00 0.81 0.16 2.37 94.49 16:17:48 16:17:48 16:17:48