Pull request #3 updated 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 ernestojeda for edgexfoundry/device-gpio Obtained Jenkinsfile from 8483645be9532d8b5b942e38b5c5450f8082ba09+ee8c3cf8f247baa696c0241f6b7663da45af0865 (bb6bf7247609fda9d8c05ab1392152647f1cd5c1) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1797620123167104758.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7288627449041861578.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7481848917647476672.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7120128168042619921.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1158264074962551453.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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-gpio] ========================================================= [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-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2011 in /w/workspace/edgexfoundry_device-gpio_PR-3 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-3 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/jenkins-gitclient-ssh1369926627854357723.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit ee8c3cf8f247baa696c0241f6b7663da45af0865 into PR head commit 8483645be9532d8b5b942e38b5c5450f8082ba09 Merge succeeded, producing 8483645be9532d8b5b942e38b5c5450f8082ba09 Checking out Revision 8483645be9532d8b5b942e38b5c5450f8082ba09 (PR-3) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/jenkins-gitclient-ssh5823160676150275703.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8483645be9532d8b5b942e38b5c5450f8082ba09 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/jenkins-gitclient-ssh8549810766998020429.key > git merge ee8c3cf8f247baa696c0241f6b7663da45af0865 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8483645be9532d8b5b942e38b5c5450f8082ba09 # timeout=10 Commit message: "ci: init jenkins pipeline" First time build. Skipping changelog. > git rev-list --no-walk 166f7b96da45f2a3a1794185b9b8886351da863d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:17:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:17:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:17:36 ========================================================= 01:17:36 EdgeX Global Pipelines Version Info 01:17:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:17:40 ------------------- 01:17:40 stable info: 01:17:40 ------------------- 01:17:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:17:40 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 01:17:40 Message: update stable to v1.0.195 01:17:40 ------------------- 01:17:40 experimental info: 01:17:40 ------------------- 01:17:40 Commited By: **** collab-it+edgex@linuxfoundation.org 01:17:40 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 01:17:40 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3 [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3 [Pipeline] echo 01:17:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3 [Pipeline] echo 01:17:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8483645be9532d8b5b942e38b5c5450f8082ba09 [Pipeline] echo 01:17:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8483645 [Pipeline] echo 01:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:48 provisioning config files... 01:17:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/config7529398325543254465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:48 ---> docker-login.sh 01:17:48 nexus3.edgexfoundry.org:10001 01:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:49 Configure a credential helper to remove this warning. See 01:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:49 01:17:49 Login Succeeded 01:17:49 nexus3.edgexfoundry.org:10002 01:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:51 Configure a credential helper to remove this warning. See 01:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:51 01:17:51 Login Succeeded 01:17:51 nexus3.edgexfoundry.org:10003 01:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:51 Configure a credential helper to remove this warning. See 01:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:51 01:17:51 Login Succeeded 01:17:51 nexus3.edgexfoundry.org:10004 01:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:51 Configure a credential helper to remove this warning. See 01:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:51 01:17:51 Login Succeeded 01:17:51 docker.io 01:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:51 Configure a credential helper to remove this warning. See 01:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:51 01:17:51 Login Succeeded 01:17:51 ---> docker-login.sh ends [Pipeline] } 01:17:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:52 + git log --format=format:%s -1 8483645be9532d8b5b942e38b5c5450f8082ba09 [Pipeline] echo 01:17:52 GIT_COMMIT: 8483645be9532d8b5b942e38b5c5450f8082ba09, Commit Message: ci: init jenkins pipeline [Pipeline] echo 01:17:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:17:59 01:17:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:17:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:17:59 latest: Pulling from edgex-devops/git-semver 01:17:59 31603596830f: Pulling fs layer 01:17:59 54011a49482f: Pulling fs layer 01:17:59 a6820b24f6d8: Pulling fs layer 01:17:59 f581987b2513: Pulling fs layer 01:17:59 f581987b2513: Waiting 01:17:59 54011a49482f: Verifying Checksum 01:17:59 54011a49482f: Download complete 01:18:00 31603596830f: Verifying Checksum 01:18:00 31603596830f: Download complete 01:18:00 f581987b2513: Verifying Checksum 01:18:00 f581987b2513: Download complete 01:18:00 a6820b24f6d8: Verifying Checksum 01:18:00 a6820b24f6d8: Download complete 01:18:00 31603596830f: Pull complete 01:18:00 54011a49482f: Pull complete 01:18:01 a6820b24f6d8: Pull complete 01:18:01 f581987b2513: Pull complete 01:18:01 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 01:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:18:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:18:01 prd-centos7-docker-4c-2g-2011 does not seem to be running inside a container 01:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-3 -v /w/workspace/edgexfoundry_device-gpio_PR-3:/w/workspace/edgexfoundry_device-gpio_PR-3:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-3@tmp:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:18:02 $ docker top d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:18:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:04 [ssh-agent] Looking for ssh-agent implementation... 01:18:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:04 $ docker exec d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 ssh-agent 01:18:05 SSH_AUTH_SOCK=/tmp/ssh-uCYQSh7g9MPc/agent.14 01:18:05 SSH_AGENT_PID=20 01:18:05 Running ssh-add (command line suppressed) 01:18:05 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_5892087693477938717.key (/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_5892087693477938717.key) 01:18:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:07 + git tag --points-at HEAD [Pipeline] } 01:18:07 $ docker exec --env ******** --env ******** d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 ssh-agent -k 01:18:07 unset SSH_AUTH_SOCK; 01:18:07 unset SSH_AGENT_PID; 01:18:07 echo Agent pid 20 killed; 01:18:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:18:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:18:07 [ssh-agent] Looking for ssh-agent implementation... 01:18:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:18:07 $ docker exec d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 ssh-agent 01:18:08 SSH_AUTH_SOCK=/tmp/ssh-mdDRHdHBkTVY/agent.52 01:18:08 SSH_AGENT_PID=58 01:18:08 Running ssh-add (command line suppressed) 01:18:08 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_4380142840971109555.key (/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_4380142840971109555.key) 01:18:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:18:08 + git semver init 01:18:08 # -> Open(): unable to determine branch for HEAD 01:18:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-3/.git 01:18:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-3 01:18:08 # $SEMVER_REMOTE_NAME = origin 01:18:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:18:08 # $SEMVER_USER_NAME = edgex-jenkins 01:18:08 # $SEMVER_BRANCH = PR-3 01:18:08 # $SEMVER_TEMP = /tmp/semver-432314223 01:18:08 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 01:18:08 # -> Clone(): couldn't find remote ref "refs/heads/semver" 01:18:08 # git init /tmp/semver-432314223 01:18:08 # '/tmp/semver-432314223' -> '/w/workspace/edgexfoundry_device-gpio_PR-3/.semver' 01:18:08 # -> Force: false 01:18:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-3/.semver [Pipeline] } 01:18:08 $ docker exec --env ******** --env ******** d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 ssh-agent -k 01:18:08 unset SSH_AUTH_SOCK; 01:18:08 unset SSH_AGENT_PID; 01:18:08 echo Agent pid 58 killed; 01:18:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:18:09 + git semver [Pipeline] } 01:18:09 $ docker stop --time=1 d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 01:18:10 $ docker rm -f d9058d16fdbaf5e7f39c226852c2e8ea8ae2119bdaac59b8cdfa8e246237c059 [Pipeline] // withDockerContainer [Pipeline] sh 01:18:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:18:13 Stashed 1 file(s) [Pipeline] echo 01:18:13 [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 01:18:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2010 in /w/workspace/edgexfoundry_device-gpio_PR-3 [Pipeline] { [Pipeline] ws 01:18:13 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 01:18:16 The recommended git tool is: NONE 01:18:30 Still waiting to schedule task 01:18:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:18:30 using credential edgex-jenkins-ssh 01:18:30 Cloning the remote Git repository 01:18:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:18:30 > git init /w/workspace/device-gpio/4 # timeout=10 01:18:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:18:30 > git --version # timeout=10 01:18:30 > git --version # 'git version 2.17.1' 01:18:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:32 Merging remotes/origin/master commit ee8c3cf8f247baa696c0241f6b7663da45af0865 into PR head commit 8483645be9532d8b5b942e38b5c5450f8082ba09 01:18:32 Merge succeeded, producing 8483645be9532d8b5b942e38b5c5450f8082ba09 01:18:32 Checking out Revision 8483645be9532d8b5b942e38b5c5450f8082ba09 (PR-3) 01:18:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:18:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:18:32 > git config core.sparsecheckout # timeout=10 01:18:32 > git checkout -f 8483645be9532d8b5b942e38b5c5450f8082ba09 # timeout=10 01:18:32 > git remote # timeout=10 01:18:32 > git config --get remote.origin.url # timeout=10 01:18:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:32 > git merge ee8c3cf8f247baa696c0241f6b7663da45af0865 # timeout=10 01:18:32 > git rev-parse HEAD^{commit} # timeout=10 01:18:32 > git config core.sparsecheckout # timeout=10 01:18:32 > git checkout -f 8483645be9532d8b5b942e38b5c5450f8082ba09 # timeout=10 01:18:41 Commit message: "ci: init jenkins pipeline" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:18:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 01:18:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:18:45 + sudo service docker restart 01:18:45 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:03 provisioning config files... 01:19:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config1706888706550986973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:04 ---> docker-login.sh 01:19:04 nexus3.edgexfoundry.org:10001 01:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:05 Configure a credential helper to remove this warning. See 01:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:05 01:19:05 Login Succeeded 01:19:05 nexus3.edgexfoundry.org:10002 01:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:08 Configure a credential helper to remove this warning. See 01:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:08 01:19:08 Login Succeeded 01:19:08 nexus3.edgexfoundry.org:10003 01:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:08 Configure a credential helper to remove this warning. See 01:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:08 01:19:08 Login Succeeded 01:19:08 nexus3.edgexfoundry.org:10004 01:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:08 Configure a credential helper to remove this warning. See 01:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:08 01:19:08 Login Succeeded 01:19:08 docker.io 01:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:08 Configure a credential helper to remove this warning. See 01:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:08 01:19:08 Login Succeeded 01:19:08 ---> docker-login.sh ends [Pipeline] } 01:19:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:08 ========================================================= 01:19:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:19:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:19:09 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 01:19:09 Sending build context to Docker daemon 5.475MB 01:19:09 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 01:19:09 Step 2/8 : FROM ${BASE} AS builder 01:19:09 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:19:09 595b0fe564bb: Pulling fs layer 01:19:09 3088b5b3c5c0: Pulling fs layer 01:19:09 5b7225fbf94c: Pulling fs layer 01:19:09 ba82ee9f976e: Pulling fs layer 01:19:09 506bd15cee9f: Pulling fs layer 01:19:09 75a0a4a0db45: Pulling fs layer 01:19:09 618dc40b7e24: Pulling fs layer 01:19:09 506bd15cee9f: Waiting 01:19:09 75a0a4a0db45: Waiting 01:19:09 618dc40b7e24: Waiting 01:19:09 ba82ee9f976e: Waiting 01:19:09 5b7225fbf94c: Verifying Checksum 01:19:09 5b7225fbf94c: Download complete 01:19:09 3088b5b3c5c0: Download complete 01:19:10 506bd15cee9f: Download complete 01:19:10 75a0a4a0db45: Verifying Checksum 01:19:10 75a0a4a0db45: Download complete 01:19:10 595b0fe564bb: Verifying Checksum 01:19:10 595b0fe564bb: Download complete 01:19:10 595b0fe564bb: Pull complete 01:19:11 3088b5b3c5c0: Pull complete 01:19:11 5b7225fbf94c: Pull complete 01:19:12 618dc40b7e24: Verifying Checksum 01:19:12 618dc40b7e24: Download complete 01:19:14 ba82ee9f976e: Verifying Checksum 01:19:14 ba82ee9f976e: Download complete 01:19:25 ba82ee9f976e: Pull complete 01:19:25 506bd15cee9f: Pull complete 01:19:25 75a0a4a0db45: Pull complete 01:19:29 618dc40b7e24: Pull complete 01:19:29 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 01:19:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:19:29 ---> a36622ca3599 01:19:29 Step 3/8 : WORKDIR /device-gpio 01:19:31 ---> Running in e94c3027b66e 01:19:31 Removing intermediate container e94c3027b66e 01:19:31 ---> 6ad79c31da71 01:19:31 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:19:31 ---> Running in 9578c3c63488 01:19:32 Removing intermediate container 9578c3c63488 01:19:32 ---> ec6eb34248a0 01:19:32 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:19:32 ---> Running in 0a7743f42b8a 01:19:35 Removing intermediate container 0a7743f42b8a 01:19:35 ---> d2df02ff4a2b 01:19:35 Step 6/8 : RUN apk add --update --no-cache make git 01:19:35 ---> Running in f28260ea2013 01:19:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:19:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:19:38 OK: 138 MiB in 40 packages 01:19:39 Removing intermediate container f28260ea2013 01:19:39 ---> 109d1b6753f8 01:19:39 Step 7/8 : COPY . . 01:19:41 ---> 1dd1c9bff6f3 01:19:41 Step 8/8 : RUN go mod download 01:19:41 ---> Running in 9d8cf3a5042e 01:20:39 Removing intermediate container 9d8cf3a5042e 01:20:39 ---> a59cfcb5d1b8 01:20:39 Successfully built a59cfcb5d1b8 01:20:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:20:40 + docker inspect -f . ci-base-image-arm64 01:20:40 . [Pipeline] withDockerContainer 01:20:40 prd-ubuntu18.04-docker-arm64-4c-16g-2010 does not seem to be running inside a container 01:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:20:42 $ docker top b53171f11ea094d0073142a1a3f36d67ad06e481ed6c140a8e22c9bd9181453a -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:45 + go version 01:20:45 go version go1.16.5 linux/arm64 [Pipeline] } 01:20:45 $ docker stop --time=1 b53171f11ea094d0073142a1a3f36d67ad06e481ed6c140a8e22c9bd9181453a 01:20:47 $ docker rm -f b53171f11ea094d0073142a1a3f36d67ad06e481ed6c140a8e22c9bd9181453a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:20:48 + docker inspect -f . ci-base-image-arm64 01:20:48 . [Pipeline] withDockerContainer 01:20:48 prd-ubuntu18.04-docker-arm64-4c-16g-2010 does not seem to be running inside a container 01:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:20:50 $ docker top c26bab88933ea0d74bfbcf62388af9c94b3981527cd6f1709b4e1c8f678f475a -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:53 + go mod tidy [Pipeline] sh 01:20:54 + make test 01:20:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:20:55 ? github.com/edgexfoundry/device-gpio [no test files] 01:21:43 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:21:43 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:21:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:22:02 gofmt -l . 01:22:02 [ "`gofmt -l .`" = "" ] 01:22:02 ./bin/test-attribution-txt.sh 01:22:02 Running on prd-centos7-docker-4c-2g-2012 in /w/workspace/edgexfoundry_device-gpio_PR-3 [Pipeline] { [Pipeline] ws 01:22:02 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 01:22:03 The recommended git tool is: NONE 01:22:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:22:05 $ docker stop --time=1 c26bab88933ea0d74bfbcf62388af9c94b3981527cd6f1709b4e1c8f678f475a 01:22:08 $ docker rm -f c26bab88933ea0d74bfbcf62388af9c94b3981527cd6f1709b4e1c8f678f475a [Pipeline] // withDockerContainer [Pipeline] sh 01:22:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:22:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 01:22:12 using credential edgex-jenkins-ssh 01:22:12 Cloning the remote Git repository 01:22:12 Cloning repository git@github.com:edgexfoundry/device-gpio.git [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 01:22:14 > git init /w/workspace/device-gpio/4 # timeout=10 01:22:14 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:22:14 > git --version # timeout=10 01:22:14 > git --version # 'git version 2.24.4' 01:22:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:14 [INFO] Currently running in a labeled security context 01:22:14 [INFO] Currently SELinux is 'enforcing' on the host 01:22:14 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/4@tmp/jenkins-gitclient-ssh2407111555451251410.key 01:22:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:15 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:22:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:19 Merging remotes/origin/master commit ee8c3cf8f247baa696c0241f6b7663da45af0865 into PR head commit 8483645be9532d8b5b942e38b5c5450f8082ba09 01:22:17 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:22:17 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:22:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:17 [INFO] Currently running in a labeled security context 01:22:17 [INFO] Currently SELinux is 'enforcing' on the host 01:22:17 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/4@tmp/jenkins-gitclient-ssh2370867487448679917.key 01:22:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:22:19 Merge succeeded, producing 8483645be9532d8b5b942e38b5c5450f8082ba09 01:22:19 Checking out Revision 8483645be9532d8b5b942e38b5c5450f8082ba09 (PR-3) 01:22:19 > git config core.sparsecheckout # timeout=10 01:22:19 > git checkout -f 8483645be9532d8b5b942e38b5c5450f8082ba09 # timeout=10 01:22:19 > git remote # timeout=10 01:22:19 > git config --get remote.origin.url # timeout=10 01:22:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:19 [INFO] Currently running in a labeled security context 01:22:19 [INFO] Currently SELinux is 'enforcing' on the host 01:22:19 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/4@tmp/jenkins-gitclient-ssh9140857138102825237.key 01:22:19 > git merge ee8c3cf8f247baa696c0241f6b7663da45af0865 # timeout=10 01:22:19 > git rev-parse HEAD^{commit} # timeout=10 01:22:19 > git config core.sparsecheckout # timeout=10 01:22:19 > git checkout -f 8483645be9532d8b5b942e38b5c5450f8082ba09 # timeout=10 01:22:31 Commit message: "ci: init jenkins pipeline" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:22:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 01:22:39 + ls -al . 01:22:39 total 124 01:22:39 drwxrwxr-x 6 jenkins jenkins 4096 Jun 17 01:22 . 01:22:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 01:18 .. 01:22:39 -rw-rw-r-- 1 jenkins jenkins 120 Jun 17 01:18 .dockerignore 01:22:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 01:18 .git 01:22:39 -rw-rw-r-- 1 jenkins jenkins 350 Jun 17 01:18 .gitignore 01:22:39 -rw-rw-r-- 1 jenkins jenkins 5451 Jun 17 01:18 Attribution.txt 01:22:39 -rw-rw-r-- 1 jenkins jenkins 1502 Jun 17 01:18 Dockerfile 01:22:39 -rw-rw-r-- 1 jenkins jenkins 972 Jun 17 01:18 Dockerfile.build 01:22:39 -rw-rw-r-- 1 jenkins jenkins 657 Jun 17 01:18 Jenkinsfile 01:22:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 01:18 LICENSE 01:22:39 -rw-rw-r-- 1 jenkins jenkins 920 Jun 17 01:18 Makefile 01:22:39 -rw-rw-r-- 1 jenkins jenkins 6495 Jun 17 01:18 README.md 01:22:39 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 01:18 VERSION 01:22:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 01:18 bin 01:22:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 01:18 cmd 01:22:39 -rw-r--r-- 1 jenkins jenkins 10 Jun 17 01:20 coverage.out 01:22:39 -rw-r--r-- 1 jenkins jenkins 379 Jun 17 01:22 go.mod 01:22:39 -rw-r--r-- 1 jenkins jenkins 30244 Jun 17 01:20 go.sum 01:22:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 01:18 internal 01:22:39 -rw-rw-r-- 1 jenkins jenkins 209 Jun 17 01:18 version.go [Pipeline] isUnix [Pipeline] sh 01:22:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:22:39 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8483645be9532d8b5b942e38b5c5450f8082ba09 --label arch=arm64 --label version=0.0.0 . 01:22:40 + sudo service docker restart 01:22:40 + true 01:22:40 Redirecting to /bin/systemctl restart docker.service 01:22:40 Sending build context to Docker daemon 5.477MB 01:22:40 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 01:22:40 Step 2/23 : FROM ${BASE} AS builder 01:22:40 ---> a59cfcb5d1b8 01:22:40 Step 3/23 : ARG MAKE='make build' 01:22:40 ---> Running in 4d7e51696818 01:22:43 Removing intermediate container 4d7e51696818 01:22:43 ---> 65bf3e9c2c1e 01:22:43 Step 4/23 : WORKDIR /device-gpio 01:22:43 ---> Running in 3d088c28bf55 01:22:43 Removing intermediate container 3d088c28bf55 01:22:43 ---> 79ce071810da 01:22:43 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:22:43 ---> Running in 66249f6f01da 01:22:43 Removing intermediate container 66249f6f01da 01:22:43 ---> 5d4867f5e021 01:22:43 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:22:43 ---> Running in 70b1adb25f7b 01:22:45 Removing intermediate container 70b1adb25f7b 01:22:45 ---> 8a61a8595938 01:22:45 Step 7/23 : RUN apk add --update --no-cache make git 01:22:45 ---> Running in 6d457d2bdd83 01:22:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:22:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:22:49 OK: 138 MiB in 40 packages 01:22:49 Removing intermediate container 6d457d2bdd83 01:22:49 ---> 6d95bca8e902 01:22:49 Step 8/23 : COPY . . 01:22:50 ---> 8da5cdbc6143 01:22:50 Step 9/23 : RUN go mod tidy 01:22:50 ---> Running in f2ac48e8654d 01:22:53 Removing intermediate container f2ac48e8654d 01:22:53 ---> 587eaca2d5b1 01:22:53 Step 10/23 : RUN ${MAKE} 01:22:53 ---> Running in f5f5bc4d9a30 01:22:54 go mod tidy 01:22:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:58 provisioning config files... 01:22:58 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config2408109791368330918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:01 ---> docker-login.sh 01:23:01 nexus3.edgexfoundry.org:10001 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:01 Configure a credential helper to remove this warning. See 01:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:01 01:23:01 Login Succeeded 01:23:01 nexus3.edgexfoundry.org:10002 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:01 Configure a credential helper to remove this warning. See 01:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:01 01:23:01 Login Succeeded 01:23:01 nexus3.edgexfoundry.org:10003 01:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:02 Configure a credential helper to remove this warning. See 01:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:02 01:23:02 Login Succeeded 01:23:02 nexus3.edgexfoundry.org:10004 01:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:02 Configure a credential helper to remove this warning. See 01:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:02 01:23:02 Login Succeeded 01:23:02 docker.io 01:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:02 Configure a credential helper to remove this warning. See 01:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:02 01:23:02 Login Succeeded 01:23:02 ---> docker-login.sh ends [Pipeline] } 01:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:23:02 ========================================================= 01:23:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:23:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:23:03 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 01:23:03 Sending build context to Docker daemon 5.476MB 01:23:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 01:23:03 Step 2/8 : FROM ${BASE} AS builder 01:23:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:23:03 540db60ca938: Pulling fs layer 01:23:03 adcc1eea9eea: Pulling fs layer 01:23:03 4c4ab2625f07: Pulling fs layer 01:23:03 0510c868ecb4: Pulling fs layer 01:23:03 afea3b2eda06: Pulling fs layer 01:23:03 7809a108b3ef: Pulling fs layer 01:23:03 f706445af74f: Pulling fs layer 01:23:03 0510c868ecb4: Waiting 01:23:03 afea3b2eda06: Waiting 01:23:03 7809a108b3ef: Waiting 01:23:03 f706445af74f: Waiting 01:23:03 4c4ab2625f07: Verifying Checksum 01:23:03 4c4ab2625f07: Download complete 01:23:03 adcc1eea9eea: Verifying Checksum 01:23:03 adcc1eea9eea: Download complete 01:23:03 afea3b2eda06: Verifying Checksum 01:23:03 afea3b2eda06: Download complete 01:23:03 7809a108b3ef: Verifying Checksum 01:23:03 7809a108b3ef: Download complete 01:23:03 540db60ca938: Verifying Checksum 01:23:03 540db60ca938: Download complete 01:23:03 540db60ca938: Pull complete 01:23:03 adcc1eea9eea: Pull complete 01:23:03 4c4ab2625f07: Pull complete 01:23:04 f706445af74f: Verifying Checksum 01:23:04 f706445af74f: Download complete 01:23:05 0510c868ecb4: Verifying Checksum 01:23:05 0510c868ecb4: Download complete 01:23:08 0510c868ecb4: Pull complete 01:23:08 afea3b2eda06: Pull complete 01:23:08 7809a108b3ef: Pull complete 01:23:10 f706445af74f: Pull complete 01:23:10 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 01:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:23:10 ---> b068be0155e3 01:23:10 Step 3/8 : WORKDIR /device-gpio 01:23:12 ---> Running in 6bd599110025 01:23:12 Removing intermediate container 6bd599110025 01:23:12 ---> 4522293c67e1 01:23:12 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:23:12 ---> Running in cbac48449c7c 01:23:13 Removing intermediate container cbac48449c7c 01:23:13 ---> 5828fbc85f82 01:23:13 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:23:13 ---> Running in 07863cb92c31 01:23:13 Removing intermediate container 07863cb92c31 01:23:13 ---> e1012ffabd4e 01:23:13 Step 6/8 : RUN apk add --update --no-cache make git 01:23:13 ---> Running in 7127c9b680e0 01:23:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:23:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:23:15 OK: 149 MiB in 40 packages 01:23:15 Removing intermediate container 7127c9b680e0 01:23:15 ---> 4ba55b1f5aaa 01:23:15 Step 7/8 : COPY . . 01:23:15 ---> 0979e155030d 01:23:15 Step 8/8 : RUN go mod download 01:23:15 ---> Running in ea3dd3b4acae 01:23:26 Removing intermediate container f5f5bc4d9a30 01:23:26 ---> e406b68b8f11 01:23:26 Step 11/23 : FROM scratch 01:23:26 ---> 01:23:26 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:23:26 ---> Running in 19805cd12fe9 01:23:26 Removing intermediate container 19805cd12fe9 01:23:26 ---> 9766b6403617 01:23:26 Step 13/23 : ENV APP_PORT=49994 01:23:26 ---> Running in fcf02f392ce2 01:23:27 Removing intermediate container fcf02f392ce2 01:23:27 ---> 8721eaa91758 01:23:27 Step 14/23 : EXPOSE $APP_PORT 01:23:27 ---> Running in 774e42ed99ea 01:23:27 Removing intermediate container 774e42ed99ea 01:23:27 ---> 8487610737d7 01:23:27 Step 15/23 : WORKDIR / 01:23:27 ---> Running in d701b5195fbd 01:23:27 Removing intermediate container d701b5195fbd 01:23:27 ---> 8bbe98649150 01:23:27 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 01:23:30 ---> 5c95cf6199f0 01:23:30 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 01:23:30 ---> a29b22d3a084 01:23:30 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 01:23:30 ---> 15b7fd51af13 01:23:30 Step 19/23 : ENTRYPOINT ["/device-gpio"] 01:23:30 ---> Running in d9e3ff0d8d6e 01:23:31 Removing intermediate container d9e3ff0d8d6e 01:23:31 ---> de191abce0df 01:23:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:23:31 ---> Running in f705b567e6d1 01:23:31 Removing intermediate container f705b567e6d1 01:23:31 ---> e14c3c765ea4 01:23:31 Step 21/23 : LABEL arch=arm64 01:23:31 ---> Running in d6a594b81155 01:23:32 Removing intermediate container d6a594b81155 01:23:32 ---> 528c72526015 01:23:32 Step 22/23 : LABEL git_sha=8483645be9532d8b5b942e38b5c5450f8082ba09 01:23:32 ---> Running in 30058d6b3d74 01:23:35 Removing intermediate container 30058d6b3d74 01:23:35 ---> 7f647eb5d1e8 01:23:35 Step 23/23 : LABEL version=0.0.0 01:23:35 ---> Running in 879ac17dac91 01:23:35 Removing intermediate container 879ac17dac91 01:23:35 ---> a081bd5e9762 01:23:35 [Warning] One or more build-args [ARCH] were not consumed 01:23:35 Successfully built a081bd5e9762 01:23:35 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:23:35 ---> job-cost.sh 01:23:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NoMh 01:23:38 Removing intermediate container ea3dd3b4acae 01:23:38 ---> 306b3ffdd708 01:23:38 Successfully built 306b3ffdd708 01:23:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:23:38 + docker inspect -f . ci-base-image-x86_64 01:23:38 . [Pipeline] withDockerContainer 01:23:38 prd-centos7-docker-4c-2g-2012 does not seem to be running inside a container 01:23:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:23:39 $ docker top 977b939fdc368a2d88821ab92f6170ad238ca2160a62c3cb906f3d0e088c07a1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:39 + go version 01:23:39 go version go1.16.3 linux/amd64 [Pipeline] } 01:23:39 $ docker stop --time=1 977b939fdc368a2d88821ab92f6170ad238ca2160a62c3cb906f3d0e088c07a1 01:23:42 $ docker rm -f 977b939fdc368a2d88821ab92f6170ad238ca2160a62c3cb906f3d0e088c07a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:23:42 + docker inspect -f . ci-base-image-x86_64 01:23:42 . [Pipeline] withDockerContainer 01:23:42 prd-centos7-docker-4c-2g-2012 does not seem to be running inside a container 01:23:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:23:43 $ docker top 96b9623d5180ee1ded0a8a48c67c2c5d6981de26204e03702e54a59f5a1277c6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:43 + go mod tidy [Pipeline] sh 01:23:44 + make test 01:23:44 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:23:44 ? github.com/edgexfoundry/device-gpio [no test files] 01:23:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:23:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:23:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:24:02 gofmt -l . 01:24:02 [ "`gofmt -l .`" = "" ] 01:24:02 ./bin/test-attribution-txt.sh 01:24:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:24:02 $ docker stop --time=1 96b9623d5180ee1ded0a8a48c67c2c5d6981de26204e03702e54a59f5a1277c6 01:24:03 $ docker rm -f 96b9623d5180ee1ded0a8a48c67c2c5d6981de26204e03702e54a59f5a1277c6 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:24:04 Warning: overwriting stash ‘coverage-report’ 01:24:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:24:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:24:05 + ls -al . 01:24:05 total 104 01:24:05 drwxrwxr-x. 6 jenkins jenkins 4096 Jun 17 01:24 . 01:24:05 drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 01:22 .. 01:24:05 -rw-rw-r--. 1 jenkins jenkins 5451 Jun 17 01:22 Attribution.txt 01:24:05 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 01:22 bin 01:24:05 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 01:22 cmd 01:24:05 -rw-r--r--. 1 jenkins jenkins 10 Jun 17 01:23 coverage.out 01:24:05 -rw-rw-r--. 1 jenkins jenkins 1502 Jun 17 01:22 Dockerfile 01:24:05 -rw-rw-r--. 1 jenkins jenkins 972 Jun 17 01:22 Dockerfile.build 01:24:05 -rw-rw-r--. 1 jenkins jenkins 120 Jun 17 01:22 .dockerignore 01:24:05 drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 01:22 .git 01:24:05 -rw-rw-r--. 1 jenkins jenkins 350 Jun 17 01:22 .gitignore 01:24:05 -rw-r--r--. 1 jenkins jenkins 379 Jun 17 01:24 go.mod 01:24:05 -rw-r--r--. 1 jenkins jenkins 30244 Jun 17 01:23 go.sum 01:24:05 drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 01:22 internal 01:24:05 -rw-rw-r--. 1 jenkins jenkins 657 Jun 17 01:22 Jenkinsfile 01:24:05 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 01:22 LICENSE 01:24:05 -rw-rw-r--. 1 jenkins jenkins 920 Jun 17 01:22 Makefile 01:24:05 -rw-rw-r--. 1 jenkins jenkins 6495 Jun 17 01:22 README.md 01:24:05 -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 01:18 VERSION 01:24:05 -rw-rw-r--. 1 jenkins jenkins 209 Jun 17 01:22 version.go [Pipeline] isUnix [Pipeline] sh 01:24:05 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8483645be9532d8b5b942e38b5c5450f8082ba09 --label arch=amd64 --label version=0.0.0 . 01:24:05 Sending build context to Docker daemon 5.478MB 01:24:05 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 01:24:05 Step 2/23 : FROM ${BASE} AS builder 01:24:05 ---> 306b3ffdd708 01:24:05 Step 3/23 : ARG MAKE='make build' 01:24:05 ---> Running in 8ac1b56269a9 01:24:05 Removing intermediate container 8ac1b56269a9 01:24:05 ---> bf74c39f252e 01:24:05 Step 4/23 : WORKDIR /device-gpio 01:24:05 ---> Running in ec5fab7270a1 01:24:05 Removing intermediate container ec5fab7270a1 01:24:05 ---> 19b0e750f7ba 01:24:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:24:05 ---> Running in 822e98c6d168 01:24:05 Removing intermediate container 822e98c6d168 01:24:05 ---> f3358e3e1ac4 01:24:05 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:24:05 ---> Running in 59dee1b097dd 01:24:06 Removing intermediate container 59dee1b097dd 01:24:06 ---> 5c2323d40179 01:24:06 Step 7/23 : RUN apk add --update --no-cache make git 01:24:06 ---> Running in 50ca54b5953d 01:24:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:24:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:24:09 OK: 149 MiB in 40 packages 01:24:09 Removing intermediate container 50ca54b5953d 01:24:09 ---> f376f56946ba 01:24:09 Step 8/23 : COPY . . 01:24:09 ---> 78cdabb4d70e 01:24:09 Step 9/23 : RUN go mod tidy 01:24:09 ---> Running in 518449670e18 01:24:09 Removing intermediate container 518449670e18 01:24:09 ---> 23641857b66c 01:24:09 Step 10/23 : RUN ${MAKE} 01:24:09 ---> Running in 7ac631fe673a 01:24:09 go mod tidy 01:24:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 01:24:18 Removing intermediate container 7ac631fe673a 01:24:18 ---> d5ae3acf4fd4 01:24:18 Step 11/23 : FROM scratch 01:24:18 ---> 01:24:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:24:18 ---> Running in 65887da4c391 01:24:18 Removing intermediate container 65887da4c391 01:24:18 ---> 894ac101547d 01:24:18 Step 13/23 : ENV APP_PORT=49994 01:24:18 ---> Running in e179d9439caa 01:24:18 Removing intermediate container e179d9439caa 01:24:18 ---> d28e3b5ed49a 01:24:18 Step 14/23 : EXPOSE $APP_PORT 01:24:18 ---> Running in 5e6481ca177a 01:24:18 Removing intermediate container 5e6481ca177a 01:24:18 ---> 3d26f7cbe157 01:24:18 Step 15/23 : WORKDIR / 01:24:18 ---> Running in 8c571dba80b6 01:24:18 Removing intermediate container 8c571dba80b6 01:24:18 ---> 6456d5abb736 01:24:18 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 01:24:20 ---> eed2045a3b52 01:24:20 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 01:24:20 ---> 48e7ad1f9437 01:24:20 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 01:24:20 ---> b48dc9ebaf6d 01:24:20 Step 19/23 : ENTRYPOINT ["/device-gpio"] 01:24:20 ---> Running in d69279b512b8 01:24:20 Removing intermediate container d69279b512b8 01:24:20 ---> d5c9e1b05954 01:24:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:24:20 ---> Running in 85569a3cabdc 01:24:20 Removing intermediate container 85569a3cabdc 01:24:20 ---> 4ff486812f09 01:24:20 Step 21/23 : LABEL arch=amd64 01:24:20 ---> Running in fdd45281fb83 01:24:20 Removing intermediate container fdd45281fb83 01:24:20 ---> f5c107f40046 01:24:20 Step 22/23 : LABEL git_sha=8483645be9532d8b5b942e38b5c5450f8082ba09 01:24:20 ---> Running in e7251cf234a1 01:24:20 Removing intermediate container e7251cf234a1 01:24:20 ---> 0e75c3f45be4 01:24:20 Step 23/23 : LABEL version=0.0.0 01:24:20 ---> Running in 26b1bb2521cf 01:24:20 Removing intermediate container 26b1bb2521cf 01:24:20 ---> 117b4fd53459 01:24:20 [Warning] One or more build-args [ARCH] were not consumed 01:24:20 Successfully built 117b4fd53459 01:24:20 Successfully tagged device-gpio:latest [Pipeline] } 01:24:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 01:24:23 ---> job-cost.sh 01:24:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QQG7 01:24:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:24:44 lf-activate-venv(): INFO: Adding /tmp/venv-QQG7/bin to PATH 01:24:44 INFO: No Stack... 01:24:44 INFO: Retrieving Pricing Info for: v3-standard-2 01:24:44 INFO: Archiving Costs [Pipeline] sh 01:24:44 + cut -d, -f6 01:24:44 + cat /w/workspace/device-gpio/4/archives/cost.csv [Pipeline] lock 01:24:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] 01:24:44 Resource [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] did not exist. Created. 01:24:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:24:45 + echo total: 0.05999999865889549 [Pipeline] stash 01:24:45 Stashed 1 file(s) [Pipeline] } 01:24:45 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:25:50 lf-activate-venv(): INFO: Adding /tmp/venv-NoMh/bin to PATH 01:25:50 INFO: No Stack... 01:25:50 INFO: Retrieving Pricing Info for: v2-standard-4 01:25:50 INFO: Archiving Costs [Pipeline] sh 01:25:51 + cut -d, -f6 01:25:51 + cat /w/workspace/device-gpio/4/archives/cost.csv [Pipeline] lock 01:25:51 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] 01:25:51 Resource [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] did not exist. Created. 01:25:51 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:25:51 /w/workspace/device-gpio/4@tmp/durable-c54de031/script.sh: 1: /w/workspace/device-gpio/4@tmp/durable-c54de031/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:25:52 + echo total: 0.18000000715255737 [Pipeline] stash 01:25:52 Warning: overwriting stash ‘stack-cost’ 01:25:52 Stashed 1 file(s) [Pipeline] } 01:25:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-3-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:25:55 provisioning config files... 01:25:55 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/config7593635686671258857tmp [Pipeline] { [Pipeline] sh 01:25:57 + set +x 01:25:57 + curl -s https://codecov.io/bash 01:25:57 + bash -s -- 01:25:57 01:25:57 _____ _ 01:25:57 / ____| | | 01:25:57 | | ___ __| | ___ ___ _____ __ 01:25:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:25:57 | |___| (_) | (_| | __/ (_| (_) \ V / 01:25:57 \_____\___/ \__,_|\___|\___\___/ \_/ 01:25:57 Bash-1.0.3 01:25:57 01:25:57 01:25:57 ==> git version 2.24.4 found 01:25:57 ==> 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 01:25:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:25:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:25:57 ==> Jenkins CI detected. 01:25:57 project root: . 01:25:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:25:57 ==> Running gcov in . (disable via -X gcov) 01:25:57 ==> Python coveragepy not found 01:25:57 ==> Searching for coverage reports in: 01:25:57 + . 01:25:57 -> Found 1 reports 01:25:57 ==> Detecting git/mercurial file structure 01:25:57 ==> Reading reports 01:25:57 + ./coverage.out bytes=10 01:25:57 ==> Appending adjustments 01:25:57 https://docs.codecov.io/docs/fixing-reports 01:25:57 + Found adjustments 01:25:57 ==> Gzipping contents 01:25:57 4.0K /tmp/codecov.KFySvz.gz 01:25:57 ==> Uploading reports 01:25:57 url: https://codecov.io 01:25:57 query: branch=PR-3&commit=8483645be9532d8b5b942e38b5c5450f8082ba09&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-3%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=3&job=&cmd_args= 01:25:57 -> Pinging Codecov 01:25:57 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-3&commit=8483645be9532d8b5b942e38b5c5450f8082ba09&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-3%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=3&job=&cmd_args= 01:25:57 {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} 01:25:57 404 01:25:57 ==> Uploading to Codecov 01:25:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:25:57 Dload Upload Total Spent Left Speed 01:25:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 791 100 169 100 622 829 3051 --:--:-- --:--:-- --:--:-- 3064 01:25:57 {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [Pipeline] } 01:25:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:26:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:26:04 ---> package-listing.sh 01:26:04 ++ facter osfamily 01:26:04 ++ tr '[:upper:]' '[:lower:]' 01:26:04 + OS_FAMILY=redhat 01:26:04 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-3 01:26:04 + START_PACKAGES=/tmp/packages_start.txt 01:26:04 + END_PACKAGES=/tmp/packages_end.txt 01:26:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:26:04 + PACKAGES=/tmp/packages_start.txt 01:26:04 + '[' /w/workspace/edgexfoundry_device-gpio_PR-3 ']' 01:26:04 + PACKAGES=/tmp/packages_end.txt 01:26:04 + case "${OS_FAMILY}" in 01:26:04 + rpm -qa 01:26:04 + sort 01:26:05 + '[' -f /tmp/packages_start.txt ']' 01:26:05 + '[' -f /tmp/packages_end.txt ']' 01:26:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:26:05 + '[' /w/workspace/edgexfoundry_device-gpio_PR-3 ']' 01:26:05 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-3/archives/ 01:26:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-3/archives/ [Pipeline] echo 01:26:05 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/edgexfoundry_device-gpio_PR-3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:26:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:26:06 01:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:26:08 alpine: Pulling from edgex-lftools-log-publisher 01:26:08 df20fa9351a1: Pulling fs layer 01:26:08 36b3adc4ff6f: Pulling fs layer 01:26:08 8ad3a11d3b57: Pulling fs layer 01:26:08 46f8f816bc3b: Pulling fs layer 01:26:08 93b61091891f: Pulling fs layer 01:26:08 93b9cdb0e59b: Pulling fs layer 01:26:08 5e14af77c1be: Pulling fs layer 01:26:08 01666e4c0597: Pulling fs layer 01:26:08 aa168da1d23b: Pulling fs layer 01:26:08 46f8f816bc3b: Waiting 01:26:08 93b61091891f: Waiting 01:26:08 93b9cdb0e59b: Waiting 01:26:08 5e14af77c1be: Waiting 01:26:08 01666e4c0597: Waiting 01:26:08 aa168da1d23b: Waiting 01:26:08 36b3adc4ff6f: Verifying Checksum 01:26:08 36b3adc4ff6f: Download complete 01:26:08 46f8f816bc3b: Verifying Checksum 01:26:08 46f8f816bc3b: Download complete 01:26:08 df20fa9351a1: Verifying Checksum 01:26:08 df20fa9351a1: Download complete 01:26:08 93b9cdb0e59b: Verifying Checksum 01:26:08 93b9cdb0e59b: Download complete 01:26:08 5e14af77c1be: Verifying Checksum 01:26:08 5e14af77c1be: Download complete 01:26:08 93b61091891f: Verifying Checksum 01:26:08 93b61091891f: Download complete 01:26:08 01666e4c0597: Verifying Checksum 01:26:08 01666e4c0597: Download complete 01:26:08 8ad3a11d3b57: Verifying Checksum 01:26:08 8ad3a11d3b57: Download complete 01:26:08 df20fa9351a1: Pull complete 01:26:08 36b3adc4ff6f: Pull complete 01:26:08 8ad3a11d3b57: Pull complete 01:26:08 46f8f816bc3b: Pull complete 01:26:08 93b61091891f: Pull complete 01:26:08 93b9cdb0e59b: Pull complete 01:26:08 5e14af77c1be: Pull complete 01:26:08 01666e4c0597: Pull complete 01:26:08 aa168da1d23b: Verifying Checksum 01:26:08 aa168da1d23b: Download complete 01:26:14 aa168da1d23b: Pull complete 01:26:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:26:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:26:14 prd-centos7-docker-4c-2g-2011 does not seem to be running inside a container 01:26:14 $ 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/edgexfoundry_device-gpio_PR-3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-3 -v /w/workspace/edgexfoundry_device-gpio_PR-3:/w/workspace/edgexfoundry_device-gpio_PR-3:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-3@tmp:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:26:18 $ docker top 3aa8c2561cb0e93bf66cfa5f72525de54b94dde371b71d0e26f5a64fc3d77dce -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:18 + touch /tmp/pre-build-complete [Pipeline] sh 01:26:20 + mkdir -p /var/log/sa [Pipeline] sh 01:26:21 + ls /var/log/sa-host 01:26:21 + sadf -c /var/log/sa-host/sa05 01:26:21 file_magic: OK 01:26:21 HZ: Using current value: 100 01:26:21 file_header: OK 01:26:21 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 01:26:21 Statistics: 01:26:21 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:26:21 File successfully converted to sysstat format version 12.2.1 01:26:21 + sadf -c /var/log/sa-host/sa17 01:26:21 file_magic: OK 01:26:21 HZ: Using current value: 100 01:26:21 file_header: OK 01:26:21 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 01:26:21 Statistics: 01:26:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:26:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:21 provisioning config files... 01:26:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/config2896358179646008334tmp [Pipeline] { [Pipeline] echo 01:26:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:26:23 ---> create-netrc.sh [Pipeline] } 01:26:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:26:24 ---> python-tools-install.sh [Pipeline] echo 01:26:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:26:24 ---> sudo-logs.sh 01:26:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:26:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:26:24 ---> job-cost.sh 01:26:24 lf-activate-venv: SKIPPING 01:26:24 DEBUG: total: 0.18000000715255737 01:26:24 INFO: Retrieving Stack Cost... 01:26:25 INFO: Retrieving Pricing Info for: v3-standard-2 01:26:28 INFO: Archiving Costs [Pipeline] echo 01:26:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:26:28 ---> logs-deploy.sh 01:26:28 lf-activate-venv: SKIPPING 01:26:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-3/4 01:26:28 INFO: archiving workspace using pattern(s): 01:26:31 Archives upload complete. 01:26:31 INFO: archiving logs to Nexus 01:26:31 ---> uname -a: 01:26:31 Linux prd-centos7-docker-4c-2g-2011.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 01:26:31 01:26:31 01:26:31 ---> lscpu: 01:26:31 Architecture: x86_64 01:26:31 CPU op-mode(s): 32-bit, 64-bit 01:26:31 Byte Order: Little Endian 01:26:31 Address sizes: 40 bits physical, 48 bits virtual 01:26:31 CPU(s): 2 01:26:31 On-line CPU(s) list: 0,1 01:26:31 Thread(s) per core: 1 01:26:31 Core(s) per socket: 1 01:26:31 Socket(s): 2 01:26:31 NUMA node(s): 1 01:26:31 Vendor ID: AuthenticAMD 01:26:31 CPU family: 23 01:26:31 Model: 49 01:26:31 Model name: AMD EPYC-Rome Processor 01:26:31 Stepping: 0 01:26:31 CPU MHz: 2800.000 01:26:31 BogoMIPS: 5600.00 01:26:31 Virtualization: AMD-V 01:26:31 Hypervisor vendor: KVM 01:26:31 Virtualization type: full 01:26:31 L1d cache: 64 KiB 01:26:31 L1i cache: 64 KiB 01:26:31 L2 cache: 1 MiB 01:26:31 L3 cache: 32 MiB 01:26:31 NUMA node0 CPU(s): 0,1 01:26:31 Vulnerability Itlb multihit: Not affected 01:26:31 Vulnerability L1tf: Not affected 01:26:31 Vulnerability Mds: Not affected 01:26:31 Vulnerability Meltdown: Not affected 01:26:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:26:31 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:26:31 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:26:31 Vulnerability Srbds: Not affected 01:26:31 Vulnerability Tsx async abort: Not affected 01:26:31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 01:26:31 01:26:31 01:26:31 ---> nproc: 01:26:31 2 01:26:31 01:26:31 01:26:31 ---> df -h: 01:26:31 Filesystem Size Used Available Use% Mounted on 01:26:31 overlay 40.0G 7.6G 32.4G 19% / 01:26:31 tmpfs 64.0M 0 64.0M 0% /dev 01:26:31 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 01:26:31 shm 64.0M 0 64.0M 0% /dev/shm 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-gpio_PR-3 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-gpio_PR-3@tmp 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 01:26:31 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 01:26:31 01:26:31 01:26:31 ---> free -m: 01:26:31 total used free shared buff/cache available 01:26:31 Mem: 7821 919 4803 0 2098 6724 01:26:31 Swap: 1023 0 1023 01:26:31 01:26:31 01:26:31 ---> ip addr: 01:26:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:26:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:26:31 inet 127.0.0.1/8 scope host lo 01:26:31 valid_lft forever preferred_lft forever 01:26:31 inet6 ::1/128 scope host 01:26:31 valid_lft forever preferred_lft forever 01:26:31 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:26:31 link/ether fa:16:3e:41:08:30 brd ff:ff:ff:ff:ff:ff 01:26:31 inet 10.30.122.92/23 brd 10.30.123.255 scope global dynamic eth0 01:26:31 valid_lft 85798sec preferred_lft 85798sec 01:26:31 inet6 fe80::f816:3eff:fe41:830/64 scope link 01:26:31 valid_lft forever preferred_lft forever 01:26:31 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:26:31 link/ether 02:42:0d:f2:b0:e1 brd ff:ff:ff:ff:ff:ff 01:26:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:26:31 valid_lft forever preferred_lft forever 01:26:31 inet6 fe80::42:dff:fef2:b0e1/64 scope link 01:26:31 valid_lft forever preferred_lft forever 01:26:31 01:26:31 01:26:31 ---> sar -b -r -n DEV: 01:26:31 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/17/21 _x86_64_ (2 CPU) 01:26:31 01:26:31 01:16:16 LINUX RESTART (2 CPU) 01:26:31 01:26:31 01:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:26:31 01:18:01 66.83 3.83 63.00 0.00 2485.25 1765.52 0.00 01:26:31 01:19:01 14.54 0.63 13.90 0.00 352.18 1837.15 0.00 01:26:31 01:20:01 0.35 0.00 0.35 0.00 0.00 5.26 0.00 01:26:31 01:21:01 0.35 0.00 0.35 0.00 0.00 4.91 0.00 01:26:31 01:22:01 0.17 0.00 0.17 0.00 0.00 2.47 0.00 01:26:31 01:23:01 0.33 0.00 0.33 0.00 0.00 4.68 0.00 01:26:31 01:24:01 0.25 0.00 0.25 0.00 0.00 2.88 0.00 01:26:31 01:25:01 0.23 0.00 0.23 0.00 0.00 3.46 0.00 01:26:31 01:26:01 0.32 0.03 0.28 0.00 3.73 4.38 0.00 01:26:31 Average: 9.27 0.50 8.77 0.00 315.77 403.52 0.00 01:26:31 01:26:31 01:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:26:31 01:18:01 5410908 0 870388 10.87 2620 1725024 1555068 17.17 637132 1561276 41576 01:26:31 01:19:01 5464004 0 801512 10.01 2620 1740804 1165000 12.86 568492 1578336 16 01:26:31 01:20:01 5478548 0 786964 9.83 2620 1740808 1067492 11.79 559092 1575500 8 01:26:31 01:21:01 5477452 0 788056 9.84 2620 1740812 1067492 11.79 557700 1577828 16 01:26:31 01:22:01 5477344 0 788156 9.84 2620 1740820 1067576 11.79 558428 1577828 8 01:26:31 01:23:01 5475092 0 790408 9.87 2620 1740820 1067660 11.79 554520 1583660 8 01:26:31 01:24:01 5467372 0 798120 9.97 2620 1740828 1067492 11.79 562068 1583660 8 01:26:31 01:25:01 5467500 0 797988 9.96 2620 1740832 1067492 11.79 564008 1581844 16 01:26:31 01:26:01 5456844 0 808520 10.10 2620 1740956 1156652 12.77 572140 1581900 16 01:26:31 Average: 5463896 0 803346 10.03 2620 1739078 1142436 12.61 570398 1577981 4630 01:26:31 01:26:31 01:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:26:31 01:18:01 eth0 345.97 246.19 754.63 55.24 0.00 0.00 0.00 0.00 01:26:31 01:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:19:01 eth0 26.49 17.78 26.51 7.89 0.00 0.00 0.00 0.00 01:26:31 01:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:19:01 docker0 0.52 0.52 0.07 0.08 0.00 0.00 0.00 0.00 01:26:31 01:20:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:21:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:26:31 01:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:22:01 eth0 0.83 0.23 0.19 0.07 0.00 0.00 0.00 0.00 01:26:31 01:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:23:01 eth0 0.50 0.28 0.27 0.20 0.00 0.00 0.00 0.00 01:26:31 01:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:24:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:26:31 01:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:25:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:26:31 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:26:01 eth0 5.20 7.79 3.54 22.02 0.00 0.00 0.00 0.00 01:26:31 01:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 Average: eth0 42.17 30.29 87.27 9.50 0.00 0.00 0.00 0.00 01:26:31 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:31 Average: docker0 0.06 0.06 0.01 0.01 0.00 0.00 0.00 0.00 01:26:31 01:26:31 01:26:31 ---> sar -P ALL: 01:26:31 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/17/21 _x86_64_ (2 CPU) 01:26:31 01:26:31 01:16:16 LINUX RESTART (2 CPU) 01:26:31 01:26:31 01:17:01 CPU %user %nice %system %iowait %steal %idle 01:26:31 01:18:01 all 6.40 0.00 1.90 2.09 0.03 89.58 01:26:31 01:18:01 0 6.11 0.00 1.97 0.90 0.03 90.99 01:26:31 01:18:01 1 6.69 0.00 1.83 3.27 0.03 88.17 01:26:31 01:19:01 all 1.56 0.00 0.98 0.53 0.05 96.87 01:26:31 01:19:01 0 1.50 0.00 0.94 0.22 0.05 97.29 01:26:31 01:19:01 1 1.63 0.00 1.02 0.84 0.05 96.46 01:26:31 01:20:01 all 0.12 0.00 0.05 0.00 0.03 99.81 01:26:31 01:20:01 0 0.18 0.00 0.05 0.00 0.02 99.75 01:26:31 01:20:01 1 0.05 0.00 0.05 0.00 0.03 99.87 01:26:31 01:21:01 all 0.16 0.00 0.09 0.00 0.03 99.72 01:26:31 01:21:01 0 0.25 0.00 0.07 0.00 0.02 99.67 01:26:31 01:21:01 1 0.07 0.00 0.12 0.00 0.03 99.78 01:26:31 01:22:01 all 0.11 0.00 0.04 0.00 0.03 99.82 01:26:31 01:22:01 0 0.17 0.00 0.03 0.00 0.02 99.78 01:26:31 01:22:01 1 0.05 0.00 0.05 0.00 0.03 99.87 01:26:31 01:23:01 all 0.10 0.00 0.08 0.00 0.03 99.79 01:26:31 01:23:01 0 0.07 0.00 0.03 0.00 0.03 99.87 01:26:31 01:23:01 1 0.13 0.00 0.12 0.00 0.03 99.72 01:26:31 01:24:01 all 0.03 0.00 0.03 0.00 0.03 99.90 01:26:31 01:24:01 0 0.03 0.00 0.02 0.00 0.03 99.92 01:26:31 01:24:01 1 0.03 0.00 0.05 0.00 0.03 99.88 01:26:31 01:25:01 all 0.03 0.00 0.03 0.00 0.02 99.92 01:26:31 01:25:01 0 0.03 0.00 0.03 0.00 0.03 99.90 01:26:31 01:25:01 1 0.03 0.00 0.03 0.00 0.00 99.93 01:26:31 01:26:01 all 0.50 0.00 0.30 0.00 0.03 99.17 01:26:31 01:26:01 0 0.59 0.00 0.40 0.00 0.03 98.98 01:26:31 01:26:01 1 0.42 0.00 0.20 0.00 0.02 99.37 01:26:31 Average: all 0.99 0.00 0.39 0.29 0.03 98.30 01:26:31 Average: 0 0.98 0.00 0.39 0.12 0.03 98.47 01:26:31 Average: 1 1.00 0.00 0.38 0.45 0.03 98.13 01:26:31 01:26:31 01:26:31