Pull request #732 reopened 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 bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 1f15288997641a3d0d3a625c9b3944aa45f594eb Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 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-20358 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # 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 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing bb3603909ab1ef3aa492044f3b646f1bb29ba67c Checking out Revision bb3603909ab1ef3aa492044f3b646f1bb29ba67c (PR-732) > 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # 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 bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 Commit message: "feat: process queryParams of url in put method(write functions)" First time build. Skipping changelog. > git rev-list --no-walk e6f43b0f4c4a4a5919510d47c5ecb0ab5f2ec86b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:44 ========================================================= 00:42:44 EdgeX Global Pipelines Version Info 00:42:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:45 ------------------- 00:42:45 stable info: 00:42:45 ------------------- 00:42:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:45 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 00:42:45 Message: update stable to v1.0.177 00:42:46 ------------------- 00:42:46 experimental info: 00:42:46 ------------------- 00:42:46 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:46 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 00:42:46 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 00:42:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb3603909ab1ef3aa492044f3b646f1bb29ba67c [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb36039 [Pipeline] echo 00:42:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:42:50 provisioning config files... 00:42:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config8038558770074395298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:50 ---> docker-login.sh 00:42:50 nexus3.edgexfoundry.org:10001 00:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:51 Configure a credential helper to remove this warning. See 00:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:51 00:42:51 Login Succeeded 00:42:51 nexus3.edgexfoundry.org:10002 00:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:51 Configure a credential helper to remove this warning. See 00:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:51 00:42:51 Login Succeeded 00:42:51 nexus3.edgexfoundry.org:10003 00:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:51 Configure a credential helper to remove this warning. See 00:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:51 00:42:51 Login Succeeded 00:42:51 nexus3.edgexfoundry.org:10004 00:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:51 Configure a credential helper to remove this warning. See 00:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:51 00:42:51 Login Succeeded 00:42:51 docker.io 00:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:52 Configure a credential helper to remove this warning. See 00:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:52 00:42:52 Login Succeeded 00:42:52 ---> docker-login.sh ends [Pipeline] } 00:42:52 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 00:42:52 + git log --format=format:%s -1 bb3603909ab1ef3aa492044f3b646f1bb29ba67c [Pipeline] echo 00:42:52 GIT_COMMIT: bb3603909ab1ef3aa492044f3b646f1bb29ba67c, Commit Message: feat: process queryParams of url in put method(write functions) [Pipeline] echo 00:42:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:53 00:42:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:42:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:53 latest: Pulling from edgex-devops/git-semver 00:42:53 31603596830f: Pulling fs layer 00:42:53 2a8b12db71e7: Pulling fs layer 00:42:53 6ca5941a6612: Pulling fs layer 00:42:53 ecc8261a40a4: Pulling fs layer 00:42:53 ecc8261a40a4: Waiting 00:42:53 2a8b12db71e7: Verifying Checksum 00:42:53 2a8b12db71e7: Download complete 00:42:53 31603596830f: Verifying Checksum 00:42:53 31603596830f: Download complete 00:42:54 ecc8261a40a4: Verifying Checksum 00:42:54 ecc8261a40a4: Download complete 00:42:54 6ca5941a6612: Verifying Checksum 00:42:54 6ca5941a6612: Download complete 00:42:54 31603596830f: Pull complete 00:42:54 2a8b12db71e7: Pull complete 00:42:55 6ca5941a6612: Pull complete 00:42:55 ecc8261a40a4: Pull complete 00:42:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:42:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:42:55 prd-centos7-docker-4c-2g-20358 does not seem to be running inside a container 00:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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:10004/edgex-devops/git-semver:latest cat 00:42:57 $ docker top 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:57 [ssh-agent] Looking for ssh-agent implementation... 00:42:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:58 $ docker exec 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 ssh-agent 00:42:58 SSH_AUTH_SOCK=/tmp/ssh-xGQ3qYXivDRc/agent.12 00:42:58 SSH_AGENT_PID=17 00:42:58 Running ssh-add (command line suppressed) 00:42:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3473934089911691228.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_3473934089911691228.key) 00:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:58 + git tag --points-at HEAD [Pipeline] } 00:42:58 $ docker exec --env ******** --env ******** 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 ssh-agent -k 00:42:58 unset SSH_AUTH_SOCK; 00:42:58 unset SSH_AGENT_PID; 00:42:58 echo Agent pid 17 killed; 00:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:59 [ssh-agent] Looking for ssh-agent implementation... 00:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:59 $ docker exec 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 ssh-agent 00:42:59 SSH_AUTH_SOCK=/tmp/ssh-LjKNbsAyYP80/agent.47 00:42:59 SSH_AGENT_PID=52 00:42:59 Running ssh-add (command line suppressed) 00:42:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_1719289078127553252.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_1719289078127553252.key) 00:42:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:00 + git semver init 00:43:00 # -> Open(): unable to determine branch for HEAD 00:43:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 00:43:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 00:43:00 # $SEMVER_REMOTE_NAME = origin 00:43:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:43:00 # $SEMVER_USER_NAME = edgex-jenkins 00:43:00 # $SEMVER_BRANCH = PR-732 00:43:00 # $SEMVER_TEMP = /tmp/semver-182366886 00:43:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 00:43:00 # '/tmp/semver-182366886' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 00:43:00 # -> Force: false 00:43:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 00:43:00 $ docker exec --env ******** --env ******** 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 ssh-agent -k 00:43:01 unset SSH_AUTH_SOCK; 00:43:01 unset SSH_AGENT_PID; 00:43:01 echo Agent pid 52 killed; 00:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:01 + git semver [Pipeline] } 00:43:01 $ docker stop --time=1 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 00:43:03 $ docker rm -f 7553e64d69e5a9cf400f375a23817d9a70c1ce9c0a432273e8e3367bbc828087 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:04 Stashed 1 file(s) [Pipeline] echo 00:43:04 [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 00:43:19 Still waiting to schedule task 00:43:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:43:19 Still waiting to schedule task 00:43:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:45:51 Running on prd-centos7-docker-4c-2g-20360 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 00:45:51 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 00:45:59 using credential edgex-jenkins-ssh 00:45:59 Cloning the remote Git repository 00:45:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:46:00 > git init /w/workspace/device-sdk-go/2 # timeout=10 00:46:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:46:00 > git --version # timeout=10 00:46:00 > git --version # 'git version 2.24.3' 00:46:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:46:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:46:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:46:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:46:02 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 00:46:02 Merge succeeded, producing bb3603909ab1ef3aa492044f3b646f1bb29ba67c 00:46:02 Checking out Revision bb3603909ab1ef3aa492044f3b646f1bb29ba67c (PR-732) 00:46:02 > git config core.sparsecheckout # timeout=10 00:46:02 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 00:46:02 > git remote # timeout=10 00:46:02 > git config --get remote.origin.url # timeout=10 00:46:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:02 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 00:46:02 > git rev-parse HEAD^{commit} # timeout=10 00:46:02 > git config core.sparsecheckout # timeout=10 00:46:02 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 00:46:07 Commit message: "feat: process queryParams of url in put method(write functions)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:46:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:46:09 + sudo service docker restart 00:46:09 + true 00:46:09 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:46:11 provisioning config files... 00:46:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1293840817843600135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:11 ---> docker-login.sh 00:46:11 nexus3.edgexfoundry.org:10001 00:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:12 Configure a credential helper to remove this warning. See 00:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:12 00:46:12 Login Succeeded 00:46:12 nexus3.edgexfoundry.org:10002 00:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:12 Configure a credential helper to remove this warning. See 00:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:12 00:46:12 Login Succeeded 00:46:12 nexus3.edgexfoundry.org:10003 00:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:13 Configure a credential helper to remove this warning. See 00:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:13 00:46:13 Login Succeeded 00:46:13 nexus3.edgexfoundry.org:10004 00:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:13 Configure a credential helper to remove this warning. See 00:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:13 00:46:13 Login Succeeded 00:46:13 docker.io 00:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:14 Configure a credential helper to remove this warning. See 00:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:14 00:46:14 Login Succeeded 00:46:14 ---> docker-login.sh ends [Pipeline] } 00:46:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:15 ========================================================= 00:46:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:46:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:46:15 + 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 . 00:46:16 Sending build context to Docker daemon 2.511MB 00:46:16 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:46:16 Step 2/8 : FROM ${BASE} 00:46:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:16 188c0c94c7c5: Pulling fs layer 00:46:16 0ef7d3d256c8: Pulling fs layer 00:46:16 de9db76c5a1d: Pulling fs layer 00:46:16 bca2f99d35d6: Pulling fs layer 00:46:16 93359f2a8cfa: Pulling fs layer 00:46:16 7c6f9722023f: Pulling fs layer 00:46:16 a35cf1a2eb13: Pulling fs layer 00:46:16 bca2f99d35d6: Waiting 00:46:16 93359f2a8cfa: Waiting 00:46:16 7c6f9722023f: Waiting 00:46:16 a35cf1a2eb13: Waiting 00:46:16 de9db76c5a1d: Verifying Checksum 00:46:16 de9db76c5a1d: Download complete 00:46:16 0ef7d3d256c8: Verifying Checksum 00:46:16 0ef7d3d256c8: Download complete 00:46:16 93359f2a8cfa: Verifying Checksum 00:46:16 93359f2a8cfa: Download complete 00:46:16 7c6f9722023f: Download complete 00:46:16 188c0c94c7c5: Verifying Checksum 00:46:16 188c0c94c7c5: Download complete 00:46:17 188c0c94c7c5: Pull complete 00:46:17 0ef7d3d256c8: Pull complete 00:46:17 de9db76c5a1d: Pull complete 00:46:20 a35cf1a2eb13: Verifying Checksum 00:46:20 a35cf1a2eb13: Download complete 00:46:22 bca2f99d35d6: Verifying Checksum 00:46:22 bca2f99d35d6: Download complete 00:46:35 bca2f99d35d6: Pull complete 00:46:35 93359f2a8cfa: Pull complete 00:46:35 7c6f9722023f: Pull complete 00:46:44 a35cf1a2eb13: Pull complete 00:46:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:46:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:46:44 ---> a62c8e92a672 00:46:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:46:44 ---> Running in aeeac93ceb50 00:46:44 Removing intermediate container aeeac93ceb50 00:46:44 ---> 19acc19d782c 00:46:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:44 ---> Running in 9b2c0070c4fb 00:46:46 Removing intermediate container 9b2c0070c4fb 00:46:46 ---> 47bdb42b7739 00:46:46 Step 5/8 : RUN apk add --update --no-cache make git 00:46:46 ---> Running in 39289b6585b1 00:46:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:46:49 OK: 166 MiB in 39 packages 00:46:50 Removing intermediate container 39289b6585b1 00:46:50 ---> 34d7a335dcdd 00:46:50 Step 6/8 : WORKDIR /device-sdk-go 00:46:50 ---> Running in 2bb2147e11fc 00:46:50 Removing intermediate container 2bb2147e11fc 00:46:50 ---> 7337cada833a 00:46:50 Step 7/8 : COPY . . 00:46:52 ---> 6cb37f0439d5 00:46:52 Step 8/8 : RUN go mod download 00:46:52 ---> Running in b08b8a1d7e72 00:47:19 Removing intermediate container b08b8a1d7e72 00:47:19 ---> f6a1fa6e639e 00:47:19 Successfully built f6a1fa6e639e 00:47:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:47:20 + docker inspect -f . ci-base-image-x86_64 00:47:20 . [Pipeline] withDockerContainer 00:47:20 prd-centos7-docker-4c-2g-20360 does not seem to be running inside a container 00:47:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 00:47:22 $ docker top 5e245aa05435ca822390c8593c6814b443225691c799da4964951eba541910d1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:23 + go version 00:47:23 go version go1.15.5 linux/amd64 [Pipeline] } 00:47:23 $ docker stop --time=1 5e245aa05435ca822390c8593c6814b443225691c799da4964951eba541910d1 00:47:25 $ docker rm -f 5e245aa05435ca822390c8593c6814b443225691c799da4964951eba541910d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:47:26 + docker inspect -f . ci-base-image-x86_64 00:47:26 . [Pipeline] withDockerContainer 00:47:26 prd-centos7-docker-4c-2g-20360 does not seem to be running inside a container 00:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 00:47:28 $ docker top 39d279ee3bf0123da1f0df8e905521ee5397a0f59fb70b066a9c1229b8da78af -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:28 + make test 00:47:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:47:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:48:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:48:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:48:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:48:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.125s coverage: 19.4% of statements 00:48:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.711s coverage: 97.1% of statements 00:48:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20361 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 00:48:36 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 00:48:42 using credential edgex-jenkins-ssh 00:48:42 Cloning the remote Git repository 00:48:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:48:42 > git init /w/workspace/device-sdk-go/2 # timeout=10 00:48:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:48:42 > git --version # timeout=10 00:48:42 > git --version # 'git version 2.17.1' 00:48:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:48:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:48:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:48:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:48:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:48:44 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 00:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.107s coverage: 9.4% of statements 00:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.7% of statements 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.444s coverage: 42.9% of statements 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.503s coverage: 66.5% of statements 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 00:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.133s coverage: 53.8% of statements 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 00:48:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 00:48:45 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.289s coverage: 31.3% of statements 00:48:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.328s coverage: 68.9% of statements 00:48:45 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.122s coverage: 4.2% of statements 00:48:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:48:45 GO111MODULE=on go vet ./... 00:48:45 Merge succeeded, producing bb3603909ab1ef3aa492044f3b646f1bb29ba67c 00:48:45 Checking out Revision bb3603909ab1ef3aa492044f3b646f1bb29ba67c (PR-732) 00:48:44 > git config core.sparsecheckout # timeout=10 00:48:44 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 00:48:45 > git remote # timeout=10 00:48:45 > git config --get remote.origin.url # timeout=10 00:48:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:48:45 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 00:48:45 > git rev-parse HEAD^{commit} # timeout=10 00:48:45 > git config core.sparsecheckout # timeout=10 00:48:45 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 00:48:49 Commit message: "feat: process queryParams of url in put method(write functions)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:48:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:48:52 + true 00:48:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:48:54 provisioning config files... 00:48:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3934267625123056891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:54 ---> docker-login.sh 00:48:54 nexus3.edgexfoundry.org:10001 00:48:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:56 Configure a credential helper to remove this warning. See 00:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:56 00:48:56 Login Succeeded 00:48:56 nexus3.edgexfoundry.org:10002 00:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:56 Configure a credential helper to remove this warning. See 00:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:56 00:48:56 Login Succeeded 00:48:56 nexus3.edgexfoundry.org:10003 00:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:57 Configure a credential helper to remove this warning. See 00:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:57 00:48:57 Login Succeeded 00:48:57 nexus3.edgexfoundry.org:10004 00:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:57 Configure a credential helper to remove this warning. See 00:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:57 00:48:57 Login Succeeded 00:48:57 docker.io 00:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:48:58 Configure a credential helper to remove this warning. See 00:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:48:58 00:48:58 Login Succeeded 00:48:58 ---> docker-login.sh ends [Pipeline] } 00:48:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:48:59 ========================================================= 00:48:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:48:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:48:59 + 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 . 00:49:00 Sending build context to Docker daemon 2.508MB 00:49:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:49:00 Step 2/8 : FROM ${BASE} 00:49:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:49:00 5f621e34cdf4: Pulling fs layer 00:49:00 a4357932f1b6: Pulling fs layer 00:49:00 18c013af1878: Pulling fs layer 00:49:00 00ac8860ef70: Pulling fs layer 00:49:00 63d7cb157983: Pulling fs layer 00:49:00 b116817d02f9: Pulling fs layer 00:49:00 745a02a5169b: Pulling fs layer 00:49:00 00ac8860ef70: Waiting 00:49:00 63d7cb157983: Waiting 00:49:00 b116817d02f9: Waiting 00:49:00 745a02a5169b: Waiting 00:49:00 18c013af1878: Verifying Checksum 00:49:00 18c013af1878: Download complete 00:49:00 a4357932f1b6: Verifying Checksum 00:49:00 a4357932f1b6: Download complete 00:49:00 63d7cb157983: Verifying Checksum 00:49:00 63d7cb157983: Download complete 00:49:00 b116817d02f9: Verifying Checksum 00:49:00 b116817d02f9: Download complete 00:49:00 5f621e34cdf4: Verifying Checksum 00:49:00 5f621e34cdf4: Download complete 00:49:01 5f621e34cdf4: Pull complete 00:49:02 a4357932f1b6: Pull complete 00:49:02 18c013af1878: Pull complete 00:49:03 745a02a5169b: Download complete 00:49:03 gofmt -l . 00:49:03 [ "`gofmt -l .`" = "" ] 00:49:03 ./bin/test-attribution-txt.sh 00:49:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:49:04 $ docker stop --time=1 39d279ee3bf0123da1f0df8e905521ee5397a0f59fb70b066a9c1229b8da78af 00:49:05 00ac8860ef70: Verifying Checksum 00:49:05 00ac8860ef70: Download complete 00:49:06 $ docker rm -f 39d279ee3bf0123da1f0df8e905521ee5397a0f59fb70b066a9c1229b8da78af [Pipeline] // withDockerContainer [Pipeline] sh 00:49:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:49:13 + ls -al . 00:49:13 total 216 00:49:13 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 00:49 . 00:49:13 drwxrwxr-x. 4 jenkins jenkins 28 Jan 15 00:46 .. 00:49:13 drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 00:46 bin 00:49:13 -rw-r--r--. 1 jenkins jenkins 138955 Jan 15 00:48 coverage.out 00:49:13 -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 00:46 Dockerfile.build 00:49:13 -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 00:46 .dockerignore 00:49:13 drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 00:46 example 00:49:13 drwxrwxr-x. 8 jenkins jenkins 179 Jan 15 00:46 .git 00:49:13 drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 00:46 .github 00:49:13 -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 00:46 .gitignore 00:49:13 -rw-r--r--. 1 jenkins jenkins 488 Jan 15 00:49 go.mod 00:49:13 -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 00:49 go.sum 00:49:13 drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 00:46 internal 00:49:13 -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 00:46 Jenkinsfile 00:49:13 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 00:46 LICENSE 00:49:13 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 15 00:46 Makefile 00:49:13 drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 00:46 openapi 00:49:13 drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 00:46 pkg 00:49:13 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 00:46 README.md 00:49:13 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 00:46 RELEASE-NOTES.txt 00:49:13 drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 00:46 snap 00:49:13 -rw-rw-r--. 1 jenkins jenkins 5 Jan 15 00:43 VERSION 00:49:13 -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 00:46 version.go [Pipeline] isUnix [Pipeline] sh 00:49:13 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=bb3603909ab1ef3aa492044f3b646f1bb29ba67c --label arch=amd64 --label version=0.0.0 . 00:49:14 Sending build context to Docker daemon 2.651MB 00:49:14 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:49:14 Step 2/24 : FROM ${BASE} AS builder 00:49:14 ---> f6a1fa6e639e 00:49:14 Step 3/24 : ARG MAKE='make build' 00:49:14 ---> Running in efcc8c8d68b3 00:49:15 Removing intermediate container efcc8c8d68b3 00:49:15 ---> fa4afa0bd74c 00:49:15 Step 4/24 : WORKDIR /device-sdk-go 00:49:15 ---> Running in 5f589ce8df57 00:49:15 Removing intermediate container 5f589ce8df57 00:49:15 ---> c8ac3454bd9c 00:49:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:49:15 ---> Running in 530a54e9e294 00:49:15 00ac8860ef70: Pull complete 00:49:15 63d7cb157983: Pull complete 00:49:15 Removing intermediate container 530a54e9e294 00:49:15 ---> b378df270b46 00:49:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:15 ---> Running in 8bf4e3609e7e 00:49:15 b116817d02f9: Pull complete 00:49:17 Removing intermediate container 8bf4e3609e7e 00:49:17 ---> f05ab38d64e4 00:49:17 Step 7/24 : RUN apk add --update --no-cache make git 00:49:17 ---> Running in c67f5054e8d3 00:49:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:49:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:49:20 745a02a5169b: Pull complete 00:49:20 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:49:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:49:20 ---> b7e6874047d6 00:49:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:49:20 OK: 166 MiB in 39 packages 00:49:20 Removing intermediate container c67f5054e8d3 00:49:20 ---> e404574c54f9 00:49:20 Step 8/24 : COPY . . 00:49:21 ---> 7d1c557f95c7 00:49:21 Step 9/24 : RUN ${MAKE} 00:49:21 ---> Running in 9d98ace117a9 00:49:22 ---> Running in c021c304cab4 00:49:22 Removing intermediate container c021c304cab4 00:49:22 ---> d0fde67786ee 00:49:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:22 ---> Running in d64904a76030 00:49:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:49:25 Removing intermediate container d64904a76030 00:49:25 ---> 6db41a1a2688 00:49:25 Step 5/8 : RUN apk add --update --no-cache make git 00:49:25 ---> Running in 8edb3e31e16d 00:49:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:49:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:49:28 OK: 142 MiB in 39 packages 00:49:29 Removing intermediate container 8edb3e31e16d 00:49:29 ---> 84285076c5b3 00:49:29 Step 6/8 : WORKDIR /device-sdk-go 00:49:29 ---> Running in 59c8edaba0bd 00:49:30 Removing intermediate container 59c8edaba0bd 00:49:30 ---> 84878ac38dbc 00:49:30 Step 7/8 : COPY . . 00:49:31 ---> 6106963fed0d 00:49:31 Step 8/8 : RUN go mod download 00:49:31 ---> Running in cb215ad14be5 00:49:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:49:41 Removing intermediate container 9d98ace117a9 00:49:41 ---> ef5660551d78 00:49:41 Step 10/24 : FROM scratch 00:49:41 ---> 00:49:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:49:42 ---> Running in 85808ba16060 00:49:42 Removing intermediate container 85808ba16060 00:49:42 ---> de96e826a07e 00:49:42 Step 12/24 : ENV APP_PORT=49990 00:49:42 ---> Running in dab209639583 00:49:42 Removing intermediate container dab209639583 00:49:42 ---> 8722e47ef8fc 00:49:42 Step 13/24 : EXPOSE $APP_PORT 00:49:42 ---> Running in a1bf22d776db 00:49:43 Removing intermediate container a1bf22d776db 00:49:43 ---> 237aa1000b5b 00:49:43 Step 14/24 : WORKDIR / 00:49:43 ---> Running in 351c7783e21a 00:49:43 Removing intermediate container 351c7783e21a 00:49:43 ---> 5f35d0d57b27 00:49:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:49:44 ---> b44bf111b385 00:49:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:49:44 ---> e1a7c4c78282 00:49:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:49:45 ---> 04f86ee5d39e 00:49:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:49:45 ---> b5e405d390cd 00:49:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:49:46 ---> 2d728e92480f 00:49:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:49:46 ---> Running in 4dc31028fc66 00:49:46 Removing intermediate container 4dc31028fc66 00:49:46 ---> 067db92e1167 00:49:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:49:46 ---> Running in aa23e92ef426 00:49:46 Removing intermediate container aa23e92ef426 00:49:46 ---> 9094509e45d1 00:49:46 Step 22/24 : LABEL arch=amd64 00:49:46 ---> Running in 718c05d81cf2 00:49:47 Removing intermediate container 718c05d81cf2 00:49:47 ---> 898c2b3d525a 00:49:47 Step 23/24 : LABEL git_sha=bb3603909ab1ef3aa492044f3b646f1bb29ba67c 00:49:47 ---> Running in 7d59882264cf 00:49:47 Removing intermediate container 7d59882264cf 00:49:47 ---> 7832efaae407 00:49:47 Step 24/24 : LABEL version=0.0.0 00:49:47 ---> Running in ef21c9d78e9d 00:49:47 Removing intermediate container ef21c9d78e9d 00:49:47 ---> 5cfa6c783938 00:49:47 [Warning] One or more build-args [ARCH] were not consumed 00:49:47 Successfully built 5cfa6c783938 00:49:47 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:58 Removing intermediate container cb215ad14be5 00:49:58 ---> 1c6b83d81260 00:49:58 Successfully built 1c6b83d81260 00:49:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:49:58 + docker inspect -f . ci-base-image-arm64 00:49:58 . [Pipeline] withDockerContainer 00:49:59 prd-ubuntu18.04-docker-arm64-4c-16g-20361 does not seem to be running inside a container 00:49:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 00:50:00 $ docker top faa0601e0dff497c3b2ff663969bdacc90d3529a032311842e6077fa8c7f5ccf -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:01 + go version 00:50:01 go version go1.15.5 linux/arm64 [Pipeline] } 00:50:02 $ docker stop --time=1 faa0601e0dff497c3b2ff663969bdacc90d3529a032311842e6077fa8c7f5ccf 00:50:04 $ docker rm -f faa0601e0dff497c3b2ff663969bdacc90d3529a032311842e6077fa8c7f5ccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:50:05 + docker inspect -f . ci-base-image-arm64 00:50:05 . [Pipeline] withDockerContainer 00:50:05 prd-ubuntu18.04-docker-arm64-4c-16g-20361 does not seem to be running inside a container 00:50:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 00:50:07 $ docker top 0bb2ad0990468633569b3b1f0d8016b21c683d5bd3db59fc2a8f8f0d9e84efa2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:08 + make test 00:50:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:50:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 00:51:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 00:51:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 00:51:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 00:51:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.139s coverage: 19.4% of statements 00:51:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.243s coverage: 97.1% of statements 00:51:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.256s coverage: 9.4% of statements 00:51:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.7% of statements 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 00:51:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.651s coverage: 42.9% of statements 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 00:51:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.735s coverage: 66.5% of statements 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 00:51:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.220s coverage: 53.8% of statements 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 00:51:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 00:51:41 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.189s coverage: 31.3% of statements 00:51:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.650s coverage: 68.9% of statements 00:51:41 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.143s coverage: 4.2% of statements 00:51:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 00:51:41 GO111MODULE=on go vet ./... 00:52:20 gofmt -l . 00:52:20 [ "`gofmt -l .`" = "" ] 00:52:20 ./bin/test-attribution-txt.sh 00:52:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:52:20 $ docker stop --time=1 0bb2ad0990468633569b3b1f0d8016b21c683d5bd3db59fc2a8f8f0d9e84efa2 00:52:23 $ docker rm -f 0bb2ad0990468633569b3b1f0d8016b21c683d5bd3db59fc2a8f8f0d9e84efa2 [Pipeline] // withDockerContainer [Pipeline] sh 00:52:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:52:24 Warning: overwriting stash ‘coverage-report’ 00:52:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:52:26 + ls -al . 00:52:26 total 252 00:52:26 drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 00:52 . 00:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 00:48 .. 00:52:26 -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 00:48 .dockerignore 00:52:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 00:48 .git 00:52:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 00:48 .github 00:52:26 -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 00:48 .gitignore 00:52:26 -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 00:48 Dockerfile.build 00:52:26 -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 00:48 Jenkinsfile 00:52:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 00:48 LICENSE 00:52:26 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 15 00:48 Makefile 00:52:26 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 00:48 README.md 00:52:26 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 00:48 RELEASE-NOTES.txt 00:52:26 -rw-rw-r-- 1 jenkins jenkins 5 Jan 15 00:43 VERSION 00:52:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 00:48 bin 00:52:26 -rw-r--r-- 1 jenkins jenkins 138954 Jan 15 00:51 coverage.out 00:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 00:48 example 00:52:26 -rw-r--r-- 1 jenkins jenkins 488 Jan 15 00:52 go.mod 00:52:26 -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 00:52 go.sum 00:52:26 drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 00:48 internal 00:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 00:48 openapi 00:52:26 drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 00:48 pkg 00:52:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 00:48 snap 00:52:26 -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 00:48 version.go [Pipeline] isUnix [Pipeline] sh 00:52:26 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bb3603909ab1ef3aa492044f3b646f1bb29ba67c --label arch=arm64 --label version=0.0.0 . 00:52:27 Sending build context to Docker daemon 2.648MB 00:52:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:52:27 Step 2/24 : FROM ${BASE} AS builder 00:52:27 ---> 1c6b83d81260 00:52:27 Step 3/24 : ARG MAKE='make build' 00:52:27 ---> Running in 6d9d7ccc7d46 00:52:27 Removing intermediate container 6d9d7ccc7d46 00:52:27 ---> 984a1feb88c2 00:52:27 Step 4/24 : WORKDIR /device-sdk-go 00:52:28 ---> Running in 10d07018bf4b 00:52:28 Removing intermediate container 10d07018bf4b 00:52:28 ---> 3134498297c3 00:52:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:52:28 ---> Running in 39b73f596592 00:52:29 Removing intermediate container 39b73f596592 00:52:29 ---> f51a0322437e 00:52:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:52:29 ---> Running in cff7dda654fe 00:52:31 Removing intermediate container cff7dda654fe 00:52:31 ---> af342856213b 00:52:31 Step 7/24 : RUN apk add --update --no-cache make git 00:52:31 ---> Running in 8a71278f51ba 00:52:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:52:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:52:35 OK: 142 MiB in 39 packages 00:52:36 Removing intermediate container 8a71278f51ba 00:52:36 ---> ebe5f7dc63c3 00:52:36 Step 8/24 : COPY . . 00:52:38 ---> 2d6a804b66fd 00:52:38 Step 9/24 : RUN ${MAKE} 00:52:38 ---> Running in 7058d626dcce 00:52:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:53:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:53:06 Removing intermediate container 7058d626dcce 00:53:06 ---> e3dad111c102 00:53:06 Step 10/24 : FROM scratch 00:53:06 ---> 00:53:06 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:53:06 ---> Running in 35b689af1208 00:53:06 Removing intermediate container 35b689af1208 00:53:06 ---> d1077ef17bcd 00:53:06 Step 12/24 : ENV APP_PORT=49990 00:53:07 ---> Running in 9222e6906352 00:53:07 Removing intermediate container 9222e6906352 00:53:07 ---> 45a3ae9e97df 00:53:07 Step 13/24 : EXPOSE $APP_PORT 00:53:07 ---> Running in 53027c6a33b4 00:53:07 Removing intermediate container 53027c6a33b4 00:53:07 ---> 2ecb690cb09c 00:53:07 Step 14/24 : WORKDIR / 00:53:08 ---> Running in 86c216330b5f 00:53:08 Removing intermediate container 86c216330b5f 00:53:08 ---> 41ffc7530ffa 00:53:08 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:53:09 ---> b1b2c8541035 00:53:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:53:10 ---> 8321f34e6e3a 00:53:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:53:11 ---> 4df266ee490f 00:53:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:53:11 ---> e6582092bdda 00:53:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:53:12 ---> 0d66528a07b2 00:53:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:53:12 ---> Running in c79b51312e41 00:53:13 Removing intermediate container c79b51312e41 00:53:13 ---> 282d05dbf7cc 00:53:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:53:13 ---> Running in 02656e41da2b 00:53:13 Removing intermediate container 02656e41da2b 00:53:13 ---> 8554d9ecf655 00:53:13 Step 22/24 : LABEL arch=arm64 00:53:13 ---> Running in 184ababfed1f 00:53:14 Removing intermediate container 184ababfed1f 00:53:14 ---> 912d185f08dc 00:53:14 Step 23/24 : LABEL git_sha=bb3603909ab1ef3aa492044f3b646f1bb29ba67c 00:53:14 ---> Running in b60c07a3eac3 00:53:14 Removing intermediate container b60c07a3eac3 00:53:14 ---> 179853ac9808 00:53:14 Step 24/24 : LABEL version=0.0.0 00:53:14 ---> Running in 8db2abad53f9 00:53:15 Removing intermediate container 8db2abad53f9 00:53:15 ---> 6d329b1c2f36 00:53:15 [Warning] One or more build-args [ARCH] were not consumed 00:53:15 Successfully built 6d329b1c2f36 00:53:15 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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] wrap 00:53:16 provisioning config files... 00:53:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config5418725348747996511tmp [Pipeline] { [Pipeline] sh 00:53:17 + set +x 00:53:17 + curl -s https://codecov.io/bash 00:53:17 + bash -s -- 00:53:17 00:53:17 _____ _ 00:53:17 / ____| | | 00:53:17 | | ___ __| | ___ ___ _____ __ 00:53:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:53:17 | |___| (_) | (_| | __/ (_| (_) \ V / 00:53:17 \_____\___/ \__,_|\___|\___\___/ \_/ 00:53:17 Bash-20201231-23d4836 00:53:17 00:53:17 00:53:17 ==> git version 2.24.3 found 00:53:17 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:53:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:53:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:53:17 ==> Jenkins CI detected. 00:53:17 project root: . 00:53:17 --> token set from env 00:53:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:53:17 ==> Running gcov in . (disable via -X gcov) 00:53:17 ==> Python coveragepy not found 00:53:17 ==> Searching for coverage reports in: 00:53:17 + . 00:53:17 -> Found 1 reports 00:53:17 ==> Detecting git/mercurial file structure 00:53:17 ==> Reading reports 00:53:17 + ./coverage.out bytes=138954 00:53:17 ==> Appending adjustments 00:53:17 https://docs.codecov.io/docs/fixing-reports 00:53:18 + Found adjustments 00:53:18 ==> Gzipping contents 00:53:18 24K /tmp/codecov.4GTbOZ.gz 00:53:18 ==> Uploading reports 00:53:18 url: https://codecov.io 00:53:18 query: branch=PR-732&commit=bb3603909ab1ef3aa492044f3b646f1bb29ba67c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 00:53:18 -> Pinging Codecov 00:53:18 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-732&commit=bb3603909ab1ef3aa492044f3b646f1bb29ba67c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 00:53:19 -> Uploading to 00:53:19 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/bb3603909ab1ef3aa492044f3b646f1bb29ba67c/010731bc-f77c-4498-9b89-caa73990d77d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T005318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d499a00c728caf94a6b025c1e0f3049e6698a2532eb84ae5c2b5168a2f82d783 00:53:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:19 Dload Upload Total Spent Left Speed 00:53:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22194 0 0 100 22194 0 53209 --:--:-- --:--:-- --:--:-- 53350 00:53:19 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bb3603909ab1ef3aa492044f3b646f1bb29ba67c [Pipeline] } 00:53:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:53:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:53:23 ---> package-listing.sh 00:53:23 ++ facter osfamily 00:53:23 ++ tr '[:upper:]' '[:lower:]' 00:53:23 + OS_FAMILY=redhat 00:53:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 00:53:23 + START_PACKAGES=/tmp/packages_start.txt 00:53:23 + END_PACKAGES=/tmp/packages_end.txt 00:53:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:53:23 + PACKAGES=/tmp/packages_start.txt 00:53:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 00:53:23 + PACKAGES=/tmp/packages_end.txt 00:53:23 + case "${OS_FAMILY}" in 00:53:23 + rpm -qa 00:53:23 + sort 00:53:29 + '[' -f /tmp/packages_start.txt ']' 00:53:29 + '[' -f /tmp/packages_end.txt ']' 00:53:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:53:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 00:53:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 00:53:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 00:53:29 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:53:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:53:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:53:30 00:53:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:53:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:53:30 alpine: Pulling from edgex-lftools-log-publisher 00:53:30 df20fa9351a1: Pulling fs layer 00:53:30 36b3adc4ff6f: Pulling fs layer 00:53:30 8ad3a11d3b57: Pulling fs layer 00:53:30 46f8f816bc3b: Pulling fs layer 00:53:30 93b61091891f: Pulling fs layer 00:53:30 93b9cdb0e59b: Pulling fs layer 00:53:30 5e14af77c1be: Pulling fs layer 00:53:30 01666e4c0597: Pulling fs layer 00:53:30 aa168da1d23b: Pulling fs layer 00:53:30 93b61091891f: Waiting 00:53:30 93b9cdb0e59b: Waiting 00:53:30 5e14af77c1be: Waiting 00:53:30 01666e4c0597: Waiting 00:53:30 aa168da1d23b: Waiting 00:53:30 46f8f816bc3b: Waiting 00:53:30 36b3adc4ff6f: Verifying Checksum 00:53:30 36b3adc4ff6f: Download complete 00:53:30 46f8f816bc3b: Download complete 00:53:30 df20fa9351a1: Verifying Checksum 00:53:30 df20fa9351a1: Download complete 00:53:31 93b9cdb0e59b: Verifying Checksum 00:53:31 93b9cdb0e59b: Download complete 00:53:31 5e14af77c1be: Verifying Checksum 00:53:31 5e14af77c1be: Download complete 00:53:31 01666e4c0597: Verifying Checksum 00:53:31 01666e4c0597: Download complete 00:53:31 93b61091891f: Verifying Checksum 00:53:31 93b61091891f: Download complete 00:53:31 df20fa9351a1: Pull complete 00:53:31 8ad3a11d3b57: Verifying Checksum 00:53:31 8ad3a11d3b57: Download complete 00:53:31 36b3adc4ff6f: Pull complete 00:53:32 8ad3a11d3b57: Pull complete 00:53:32 46f8f816bc3b: Pull complete 00:53:33 93b61091891f: Pull complete 00:53:33 aa168da1d23b: Verifying Checksum 00:53:33 aa168da1d23b: Download complete 00:53:33 93b9cdb0e59b: Pull complete 00:53:33 5e14af77c1be: Pull complete 00:53:33 01666e4c0597: Pull complete 00:53:40 aa168da1d23b: Pull complete 00:53:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:53:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:53:40 prd-centos7-docker-4c-2g-20358 does not seem to be running inside a container 00:53:40 $ 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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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:alpine cat 00:53:44 $ docker top da66b57c92bdb9caeb55a8bc53087e3e45cd8db8d0b0411b30cf03074bfb9fd8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:44 + touch /tmp/pre-build-complete [Pipeline] sh 00:53:45 + mkdir -p /var/log/sa [Pipeline] sh 00:53:45 + ls /var/log/sa-host 00:53:45 + sadf -c /var/log/sa-host/sa15 00:53:45 file_magic: OK 00:53:45 HZ: Using current value: 100 00:53:45 file_header: OK 00:53:45 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 00:53:45 Statistics: 00:53:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:53:45 File successfully converted to sysstat format version 12.2.1 00:53:45 + sadf -c /var/log/sa-host/sa23 00:53:45 file_magic: OK 00:53:45 HZ: Using current value: 100 00:53:45 file_header: OK 00:53:45 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 00:53:45 Statistics: 00:53:45 Hnuu...uuuununununu... 00:53:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:45 provisioning config files... 00:53:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config8063201719856470089tmp [Pipeline] { [Pipeline] echo 00:53:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:53:45 ---> create-netrc.sh [Pipeline] } 00:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:53:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:53:46 ---> python-tools-install.sh [Pipeline] echo 00:53:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:53:46 ---> sudo-logs.sh 00:53:46 Archiving 'sudo' log.. [Pipeline] echo 00:53:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:53:47 ---> job-cost.sh 00:53:47 lf-activate-venv: SKIPPING 00:53:47 INFO: No Stack... 00:53:48 INFO: Retrieving Pricing Info for: v1-standard-2 00:53:48 INFO: Archiving Costs [Pipeline] echo 00:53:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:53:48 ---> logs-deploy.sh 00:53:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/2 00:53:48 INFO: archiving workspace using pattern(s): 00:53:50 Archives upload complete. 00:53:50 INFO: archiving logs to Nexus 00:53:51 ---> uname -a: 00:53:51 Linux prd-centos7-docker-4c-2g-20358.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:53:51 00:53:51 00:53:51 ---> lscpu: 00:53:51 Architecture: x86_64 00:53:51 CPU op-mode(s): 32-bit, 64-bit 00:53:51 Byte Order: Little Endian 00:53:51 Address sizes: 40 bits physical, 48 bits virtual 00:53:51 CPU(s): 4 00:53:51 On-line CPU(s) list: 0-3 00:53:51 Thread(s) per core: 1 00:53:51 Core(s) per socket: 1 00:53:51 Socket(s): 4 00:53:51 NUMA node(s): 1 00:53:51 Vendor ID: GenuineIntel 00:53:51 CPU family: 6 00:53:51 Model: 44 00:53:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:53:51 Stepping: 1 00:53:51 CPU MHz: 2933.438 00:53:51 BogoMIPS: 5866.87 00:53:51 Virtualization: VT-x 00:53:51 Hypervisor vendor: KVM 00:53:51 Virtualization type: full 00:53:51 L1d cache: 128 KiB 00:53:51 L1i cache: 128 KiB 00:53:51 L2 cache: 16 MiB 00:53:51 L3 cache: 64 MiB 00:53:51 NUMA node0 CPU(s): 0-3 00:53:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:53:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:53:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:53:51 Vulnerability Meltdown: Mitigation; PTI 00:53:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:53:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:53:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:53:51 Vulnerability Srbds: Not affected 00:53:51 Vulnerability Tsx async abort: Not affected 00:53:51 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 00:53:51 00:53:51 00:53:51 ---> nproc: 00:53:51 4 00:53:51 00:53:51 00:53:51 ---> df -h: 00:53:51 Filesystem Size Used Available Use% Mounted on 00:53:51 overlay 50.0G 7.3G 42.7G 15% / 00:53:51 tmpfs 64.0M 0 64.0M 0% /dev 00:53:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:53:51 shm 64.0M 0 64.0M 0% /dev/shm 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:53:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-732 00:53:51 00:53:51 00:53:51 ---> free -m: 00:53:51 total used free shared buff/cache available 00:53:51 Mem: 1837 717 103 0 1015 1014 00:53:51 Swap: 1023 0 1023 00:53:51 00:53:51 00:53:51 ---> ip addr: 00:53:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:53:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:53:51 inet 127.0.0.1/8 scope host lo 00:53:51 valid_lft forever preferred_lft forever 00:53:51 inet6 ::1/128 scope host 00:53:51 valid_lft forever preferred_lft forever 00:53:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:53:51 link/ether fa:16:3e:b0:8e:e2 brd ff:ff:ff:ff:ff:ff 00:53:51 inet 10.30.122.37/23 brd 10.30.123.255 scope global dynamic eth0 00:53:51 valid_lft 85701sec preferred_lft 85701sec 00:53:51 inet6 fe80::f816:3eff:feb0:8ee2/64 scope link 00:53:51 valid_lft forever preferred_lft forever 00:53:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:53:51 link/ether 02:42:7a:7b:a8:80 brd ff:ff:ff:ff:ff:ff 00:53:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:53:51 valid_lft forever preferred_lft forever 00:53:51 inet6 fe80::42:7aff:fe7b:a880/64 scope link 00:53:51 valid_lft forever preferred_lft forever 00:53:51 00:53:51 00:53:51 ---> sar -b -r -n DEV: 00:53:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 00:53:51 00:53:51 00:42:01 LINUX RESTART (4 CPU) 00:53:51 00:53:51 00:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:53:51 00:44:01 8.91 2.90 6.01 0.00 196.77 178.33 0.00 00:53:51 00:45:01 0.43 0.00 0.43 0.00 0.00 6.99 0.00 00:53:51 00:46:01 0.23 0.00 0.23 0.00 0.00 2.98 0.00 00:53:51 00:47:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 00:53:51 00:48:01 0.28 0.00 0.28 0.00 0.00 3.96 0.00 00:53:51 00:49:01 0.28 0.00 0.28 0.00 0.00 3.06 0.00 00:53:51 00:50:01 0.18 0.00 0.18 0.00 0.00 2.15 0.00 00:53:51 00:51:01 0.35 0.00 0.35 0.00 0.00 5.11 0.00 00:53:51 00:52:01 0.32 0.00 0.32 0.00 0.00 5.31 0.00 00:53:51 00:53:01 0.30 0.00 0.30 0.00 0.00 4.33 0.00 00:53:51 Average: 1.16 0.29 0.87 0.00 19.68 21.56 0.00 00:53:51 00:53:51 00:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:53:51 00:44:01 149304 0 622208 33.07 2620 1107412 1111032 37.92 422648 1110260 20 00:53:51 00:45:01 156244 0 615260 32.70 2620 1107420 1074324 36.66 419464 1107532 12 00:53:51 00:46:01 154516 0 616984 32.79 2620 1107424 1074408 36.67 429444 1099772 16 00:53:51 00:47:01 155232 0 616268 32.75 2620 1107424 1074240 36.66 432428 1095708 12 00:53:51 00:48:01 154000 0 617492 32.82 2620 1107432 1074288 36.66 436216 1093380 8 00:53:51 00:49:01 153468 0 618020 32.85 2620 1107436 1074336 36.67 444784 1085128 20 00:53:51 00:50:01 154512 0 616972 32.79 2620 1107440 1074240 36.66 444220 1085176 12 00:53:51 00:51:01 154324 0 617100 32.80 2620 1107500 1074240 36.66 444296 1085192 20 00:53:51 00:52:01 154324 0 617148 32.80 2620 1107452 1074240 36.66 444216 1085176 8 00:53:51 00:53:01 153920 0 617548 32.82 2620 1107456 1074312 36.66 445932 1084012 8 00:53:51 Average: 153984 0 617500 32.82 2620 1107440 1077966 36.79 436365 1093134 14 00:53:51 00:53:51 00:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:53:51 00:44:01 eth0 12.22 8.23 10.34 8.28 0.00 0.00 0.00 0.00 00:53:51 00:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:45:01 eth0 1.17 0.47 0.42 0.21 0.00 0.00 0.00 0.00 00:53:51 00:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:46:01 eth0 0.75 0.32 0.30 0.20 0.00 0.00 0.00 0.00 00:53:51 00:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:47:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:53:51 00:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:48:01 eth0 0.92 0.15 0.20 0.07 0.00 0.00 0.00 0.00 00:53:51 00:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:49:01 eth0 0.50 0.28 0.27 0.20 0.00 0.00 0.00 0.00 00:53:51 00:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:50:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:53:51 00:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:51:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:53:51 00:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:52:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:53:51 00:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:53:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 00:53:51 00:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 Average: eth0 1.63 0.99 1.16 0.91 0.00 0.00 0.00 0.00 00:53:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:53:51 00:53:51 00:53:51 ---> sar -P ALL: 00:53:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 00:53:51 00:53:51 00:42:01 LINUX RESTART (4 CPU) 00:53:51 00:53:51 00:43:01 CPU %user %nice %system %iowait %steal %idle 00:53:51 00:44:01 all 0.67 0.00 0.23 0.07 0.00 99.02 00:53:51 00:44:01 0 1.20 0.00 0.25 0.12 0.02 98.42 00:53:51 00:44:01 1 0.58 0.00 0.15 0.08 0.00 99.18 00:53:51 00:44:01 2 0.45 0.00 0.27 0.08 0.00 99.20 00:53:51 00:44:01 3 0.45 0.00 0.27 0.00 0.00 99.28 00:53:51 00:45:01 all 0.15 0.00 0.04 0.00 0.01 99.81 00:53:51 00:45:01 0 0.03 0.00 0.02 0.00 0.00 99.95 00:53:51 00:45:01 1 0.45 0.00 0.05 0.00 0.02 99.48 00:53:51 00:45:01 2 0.07 0.00 0.05 0.00 0.00 99.88 00:53:51 00:45:01 3 0.03 0.00 0.03 0.00 0.02 99.92 00:53:51 00:46:01 all 0.17 0.00 0.05 0.00 0.02 99.76 00:53:51 00:46:01 0 0.02 0.00 0.05 0.00 0.00 99.93 00:53:51 00:46:01 1 0.53 0.00 0.05 0.00 0.00 99.42 00:53:51 00:46:01 2 0.10 0.00 0.08 0.00 0.05 99.77 00:53:51 00:46:01 3 0.03 0.00 0.03 0.00 0.02 99.92 00:53:51 00:47:01 all 0.15 0.00 0.05 0.00 0.00 99.80 00:53:51 00:47:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:53:51 00:47:01 1 0.27 0.00 0.07 0.00 0.02 99.65 00:53:51 00:47:01 2 0.05 0.00 0.07 0.00 0.00 99.88 00:53:51 00:47:01 3 0.28 0.00 0.03 0.00 0.00 99.68 00:53:51 00:48:01 all 0.17 0.00 0.05 0.00 0.00 99.78 00:53:51 00:48:01 0 0.02 0.00 0.05 0.00 0.00 99.93 00:53:51 00:48:01 1 0.43 0.00 0.05 0.00 0.00 99.52 00:53:51 00:48:01 2 0.07 0.00 0.07 0.00 0.02 99.85 00:53:51 00:48:01 3 0.15 0.00 0.02 0.00 0.00 99.83 00:53:51 00:49:01 all 0.17 0.00 0.05 0.00 0.00 99.78 00:53:51 00:49:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:53:51 00:49:01 1 0.52 0.00 0.08 0.00 0.00 99.40 00:53:51 00:49:01 2 0.15 0.00 0.07 0.00 0.00 99.78 00:53:51 00:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 00:53:51 00:50:01 all 0.15 0.00 0.03 0.00 0.00 99.82 00:53:51 00:50:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:53:51 00:50:01 1 0.52 0.00 0.03 0.00 0.00 99.45 00:53:51 00:50:01 2 0.07 0.00 0.07 0.00 0.00 99.87 00:53:51 00:50:01 3 0.02 0.00 0.00 0.00 0.00 99.98 00:53:51 00:51:01 all 0.10 0.00 0.03 0.00 0.00 99.87 00:53:51 00:51:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:53:51 00:51:01 1 0.32 0.00 0.05 0.00 0.00 99.63 00:53:51 00:51:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:53:51 00:51:01 3 0.02 0.00 0.02 0.00 0.00 99.97 00:53:51 00:52:01 all 0.03 0.00 0.03 0.00 0.00 99.93 00:53:51 00:52:01 0 0.02 0.00 0.02 0.00 0.02 99.95 00:53:51 00:52:01 1 0.02 0.00 0.03 0.00 0.00 99.95 00:53:51 00:52:01 2 0.10 0.00 0.07 0.00 0.00 99.83 00:53:51 00:52:01 3 0.00 0.00 0.02 0.00 0.00 99.98 00:53:51 00:53:01 all 0.15 0.00 0.03 0.00 0.00 99.81 00:53:51 00:53:01 0 0.03 0.00 0.02 0.00 0.00 99.95 00:53:51 00:53:01 1 0.50 0.00 0.03 0.00 0.00 99.47 00:53:51 00:53:01 2 0.05 0.00 0.07 0.00 0.00 99.88 00:53:51 00:53:01 3 0.03 0.00 0.02 0.00 0.00 99.95 00:53:51 Average: all 0.19 0.00 0.06 0.01 0.00 99.74 00:53:51 Average: 0 0.14 0.00 0.05 0.01 0.00 99.80 00:53:51 Average: 1 0.41 0.00 0.06 0.01 0.00 99.51 00:53:51 Average: 2 0.12 0.00 0.09 0.01 0.01 99.78 00:53:51 Average: 3 0.10 0.00 0.04 0.00 0.00 99.85 00:53:51 00:53:51 00:53:51