Pull request #15 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-gpio Obtained Jenkinsfile from 4edcf211a96cd0e61cab5319da0962f3c764ca0b+dc2975e542a944f4e8f45132f2113a92bb59edd1 (c2ffd323f1a0020a68ccb7372f6ecd18cd569827) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9424808784154266010.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16229437351178335183.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-15/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-15/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4770947828894767648.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6736278584786600992.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-15/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-15/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12125782211440465785.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-2156 in /w/workspace/edgexfoundry_device-gpio_PR-15 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-15 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/jenkins-gitclient-ssh3823605223310774811.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc2975e542a944f4e8f45132f2113a92bb59edd1 into PR head commit 4edcf211a96cd0e61cab5319da0962f3c764ca0b Merge succeeded, producing 4edcf211a96cd0e61cab5319da0962f3c764ca0b Checking out Revision 4edcf211a96cd0e61cab5319da0962f3c764ca0b (PR-15) > 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 > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/jenkins-gitclient-ssh8964521930796302650.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4edcf211a96cd0e61cab5319da0962f3c764ca0b # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/jenkins-gitclient-ssh6635174260145126547.key > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4edcf211a96cd0e61cab5319da0962f3c764ca0b # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. > git rev-list --no-walk c2023a1e29f4fda9801be29a1ec0d842d0d32f4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:41:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:41:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:41:28 ========================================================= 23:41:28 EdgeX Global Pipelines Version Info 23:41:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:41:29 ------------------- 23:41:29 stable info: 23:41:29 ------------------- 23:41:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:41:29 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:41:29 Message: update stable to v1.0.219 23:41:30 ------------------- 23:41:30 experimental info: 23:41:30 ------------------- 23:41:30 Commited By: **** collab-it+edgex@linuxfoundation.org 23:41:30 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:41:30 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-15 [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-15 [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-15 [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4edcf21 [Pipeline] echo 23:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:31 provisioning config files... 23:41:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config5132458928012074795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> docker-login.sh 23:41:31 nexus3.edgexfoundry.org:10001 23:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:31 Configure a credential helper to remove this warning. See 23:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:31 23:41:31 Login Succeeded 23:41:31 nexus3.edgexfoundry.org:10002 23:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:31 Configure a credential helper to remove this warning. See 23:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:31 23:41:31 Login Succeeded 23:41:31 nexus3.edgexfoundry.org:10003 23:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:31 Configure a credential helper to remove this warning. See 23:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:31 23:41:31 Login Succeeded 23:41:31 nexus3.edgexfoundry.org:10004 23:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:31 Configure a credential helper to remove this warning. See 23:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:31 23:41:31 Login Succeeded 23:41:31 docker.io 23:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:32 Configure a credential helper to remove this warning. See 23:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:32 23:41:32 Login Succeeded 23:41:32 ---> docker-login.sh ends [Pipeline] } 23:41:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:41:32 + git rev-list -1 --merges 4edcf211a96cd0e61cab5319da0962f3c764ca0b~1..4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo 23:41:32 -----------> git rev-list -1 --merges 4edcf211a96cd0e61cab5319da0962f3c764ca0b~1..4edcf211a96cd0e61cab5319da0962f3c764ca0b 4edcf211a96cd0e61cab5319da0962f3c764ca0b [false] [Pipeline] sh 23:41:32 + git log --format=format:%s -1 4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo 23:41:32 ========================================================= 23:41:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:41:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:33 + git log --format=format:%s -1 4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo 23:41:33 [semverPrep] GIT_COMMIT: 4edcf211a96cd0e61cab5319da0962f3c764ca0b, Commit Message: ci: Go 1.17 related changes [Pipeline] echo 23:41:33 [semverPrep] This is not a build commit. [Pipeline] sh 23:41:33 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 23:41:33 + grep -v github /etc/ssh/ssh_known_hosts 23:41:33 + '[' -e /tmp/ssh_known_hosts ']' 23:41:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:41:33 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 23:41:33 + sudo tee -a /etc/ssh/ssh_known_hosts 23:41:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:33 23:41:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:41:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:34 latest: Pulling from edgex-devops/git-semver 23:41:34 a0d0a0d46f8b: Pulling fs layer 23:41:34 3e5f54012d9b: Pulling fs layer 23:41:34 4c7163046ea9: Pulling fs layer 23:41:34 0c2d73faf560: Pulling fs layer 23:41:34 0c2d73faf560: Waiting 23:41:34 3e5f54012d9b: Verifying Checksum 23:41:34 3e5f54012d9b: Download complete 23:41:34 a0d0a0d46f8b: Verifying Checksum 23:41:34 a0d0a0d46f8b: Download complete 23:41:34 0c2d73faf560: Verifying Checksum 23:41:34 0c2d73faf560: Download complete 23:41:34 4c7163046ea9: Verifying Checksum 23:41:34 4c7163046ea9: Download complete 23:41:34 a0d0a0d46f8b: Pull complete 23:41:34 3e5f54012d9b: Pull complete 23:41:34 4c7163046ea9: Pull complete 23:41:35 0c2d73faf560: Pull complete 23:41:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:41:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:41:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:41:35 prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container 23:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:41:35 $ docker top cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:35 [ssh-agent] Looking for ssh-agent implementation... 23:41:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:35 $ docker exec cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent 23:41:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpgljPM/agent.14 23:41:35 SSH_AGENT_PID=20 23:41:35 Running ssh-add (command line suppressed) 23:41:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_7417525504906567200.key (/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_7417525504906567200.key) 23:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:36 + git tag --points-at HEAD [Pipeline] } 23:41:36 $ docker exec --env ******** --env ******** cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent -k 23:41:36 unset SSH_AUTH_SOCK; 23:41:36 unset SSH_AGENT_PID; 23:41:36 echo Agent pid 20 killed; 23:41:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:41:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:36 [ssh-agent] Looking for ssh-agent implementation... 23:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:36 $ docker exec cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent 23:41:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadPmnm/agent.53 23:41:36 SSH_AGENT_PID=59 23:41:36 Running ssh-add (command line suppressed) 23:41:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_4303538142546827339.key (/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/private_key_4303538142546827339.key) 23:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:37 + git semver init 23:41:37 # -> Open(): unable to determine branch for HEAD 23:41:37 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.git 23:41:37 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-15 23:41:37 # $SEMVER_REMOTE_NAME = origin 23:41:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:41:37 # $SEMVER_USER_NAME = edgex-jenkins 23:41:37 # $SEMVER_BRANCH = PR-15 23:41:37 # $SEMVER_TEMP = /tmp/semver-621188916 23:41:37 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 23:41:38 # '/tmp/semver-621188916' -> '/w/workspace/edgexfoundry_device-gpio_PR-15/.semver' 23:41:38 # -> Force: false 23:41:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.semver [Pipeline] } 23:41:38 $ docker exec --env ******** --env ******** cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent -k 23:41:38 unset SSH_AUTH_SOCK; 23:41:38 unset SSH_AGENT_PID; 23:41:38 echo Agent pid 59 killed; 23:41:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:38 + git semver [Pipeline] } 23:41:38 $ docker stop --time=1 cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 23:41:39 $ docker rm -f cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:41:40 Stashed 1 file(s) [Pipeline] echo 23:41:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:40 provisioning config files... 23:41:40 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config4769681915945981678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2154 in /w/workspace/edgexfoundry_device-gpio_PR-15 [Pipeline] { [Pipeline] ws 23:41:40 Running in /w/workspace/device-gpio/5 [Pipeline] { [Pipeline] checkout 23:41:40 ---> docker-login.sh 23:41:40 nexus3.edgexfoundry.org:10001 23:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:40 Configure a credential helper to remove this warning. See 23:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:40 23:41:40 Login Succeeded 23:41:40 nexus3.edgexfoundry.org:10002 23:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:40 Configure a credential helper to remove this warning. See 23:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:40 23:41:40 Login Succeeded 23:41:40 nexus3.edgexfoundry.org:10003 23:41:40 The recommended git tool is: git 23:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:41 Configure a credential helper to remove this warning. See 23:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:41 23:41:41 Login Succeeded 23:41:41 nexus3.edgexfoundry.org:10004 23:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:41 Configure a credential helper to remove this warning. See 23:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:41 23:41:41 Login Succeeded 23:41:41 docker.io 23:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:41 Configure a credential helper to remove this warning. See 23:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:41 23:41:41 Login Succeeded 23:41:41 ---> docker-login.sh ends [Pipeline] } 23:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:41 ========================================================= 23:41:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:41:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:41:42 Sending build context to Docker daemon 10.94MB 23:41:42 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:41:42 Step 2/11 : FROM ${BASE} AS builder 23:41:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:42 59bf1c3509f3: Pulling fs layer 23:41:42 666ba61612fd: Pulling fs layer 23:41:42 8ed8ca486205: Pulling fs layer 23:41:42 4fe6c5a15a65: Pulling fs layer 23:41:42 22a0e8bec74d: Pulling fs layer 23:41:42 f965cba54748: Pulling fs layer 23:41:42 861ffc35075e: Pulling fs layer 23:41:42 4b385c91608e: Pulling fs layer 23:41:42 560528eb2ebb: Pulling fs layer 23:41:42 4fe6c5a15a65: Waiting 23:41:42 22a0e8bec74d: Waiting 23:41:42 f965cba54748: Waiting 23:41:42 861ffc35075e: Waiting 23:41:42 4b385c91608e: Waiting 23:41:42 560528eb2ebb: Waiting 23:41:42 8ed8ca486205: Verifying Checksum 23:41:42 8ed8ca486205: Download complete 23:41:42 666ba61612fd: Verifying Checksum 23:41:42 666ba61612fd: Download complete 23:41:42 22a0e8bec74d: Verifying Checksum 23:41:42 22a0e8bec74d: Download complete 23:41:42 f965cba54748: Verifying Checksum 23:41:42 f965cba54748: Download complete 23:41:42 861ffc35075e: Verifying Checksum 23:41:42 861ffc35075e: Download complete 23:41:42 59bf1c3509f3: Verifying Checksum 23:41:42 59bf1c3509f3: Download complete 23:41:42 4b385c91608e: Verifying Checksum 23:41:42 4b385c91608e: Download complete 23:41:42 4fe6c5a15a65: Verifying Checksum 23:41:42 4fe6c5a15a65: Download complete 23:41:42 560528eb2ebb: Verifying Checksum 23:41:42 560528eb2ebb: Download complete 23:41:42 59bf1c3509f3: Pull complete 23:41:42 666ba61612fd: Pull complete 23:41:42 8ed8ca486205: Pull complete 23:41:46 using credential edgex-jenkins-ssh 23:41:46 Cloning the remote Git repository 23:41:46 Cloning repository git@github.com:edgexfoundry/device-gpio.git 23:41:46 > git init /w/workspace/device-gpio/5 # timeout=10 23:41:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:41:46 > git --version # timeout=10 23:41:46 > git --version # 'git version 2.17.1' 23:41:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:47 4fe6c5a15a65: Pull complete 23:41:47 22a0e8bec74d: Pull complete 23:41:47 f965cba54748: Pull complete 23:41:47 861ffc35075e: Pull complete 23:41:47 4b385c91608e: Pull complete 23:41:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:41:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:41:48 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:41:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:41:48 Merging remotes/origin/main commit dc2975e542a944f4e8f45132f2113a92bb59edd1 into PR head commit 4edcf211a96cd0e61cab5319da0962f3c764ca0b 23:41:49 560528eb2ebb: Pull complete 23:41:49 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 23:41:49 Merge succeeded, producing 4edcf211a96cd0e61cab5319da0962f3c764ca0b 23:41:49 Checking out Revision 4edcf211a96cd0e61cab5319da0962f3c764ca0b (PR-15) 23:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:41:49 ---> dd4a08f94e63 23:41:49 Step 3/11 : ARG MAKE='make build' 23:41:48 > git config core.sparsecheckout # timeout=10 23:41:48 > git checkout -f 4edcf211a96cd0e61cab5319da0962f3c764ca0b # timeout=10 23:41:49 > git remote # timeout=10 23:41:49 > git config --get remote.origin.url # timeout=10 23:41:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:49 > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 23:41:49 > git rev-parse HEAD^{commit} # timeout=10 23:41:49 > git config core.sparsecheckout # timeout=10 23:41:49 > git checkout -f 4edcf211a96cd0e61cab5319da0962f3c764ca0b # timeout=10 23:41:51 ---> Running in 177b79a6c6e4 23:41:51 Removing intermediate container 177b79a6c6e4 23:41:51 ---> e2ce6c353141 23:41:51 Step 4/11 : WORKDIR /device-gpio 23:41:51 ---> Running in d89872cba39c 23:41:51 Removing intermediate container d89872cba39c 23:41:51 ---> dcb8ddfca5f5 23:41:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:41:51 ---> Running in 79793c282733 23:41:51 Removing intermediate container 79793c282733 23:41:51 ---> 9e10e91d1582 23:41:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:51 ---> Running in 99effb0fef49 23:41:51 Removing intermediate container 99effb0fef49 23:41:51 ---> 87646d7a781c 23:41:51 Step 7/11 : RUN apk add --update --no-cache make git 23:41:51 ---> Running in 080454827be1 23:41:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:41:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:41:53 OK: 221 MiB in 52 packages 23:41:53 Removing intermediate container 080454827be1 23:41:53 ---> ca73b9d0ff1a 23:41:53 Step 8/11 : COPY go.mod vendor* ./ 23:41:53 ---> ad89a0133528 23:41:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:53 ---> Running in 2ebc40d49139 23:41:53 Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:41:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:41:54 Dload Upload Total Spent Left Speed 23:41:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh 23:41:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:41:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:41:55 + sudo tee /etc/docker/daemon.new 23:41:55 { 23:41:55 "registry-mirrors": [ 23:41:55 "https://nexus3.edgexfoundry.org:10001" 23:41:55 ], 23:41:55 "bip": "10.250.0.254/24", 23:41:55 "hosts": [ 23:41:55 "tcp://0.0.0.0:5555", 23:41:55 "unix:///var/run/docker.sock" 23:41:55 ], 23:41:55 "mtu": 1458, 23:41:55 "selinux-enabled": true, 23:41:55 "seccomp-profile": "/etc/docker/seccomp.json" 23:41:55 } [Pipeline] sh 23:41:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:41:56 + sudo service docker restart 23:42:08 Removing intermediate container 2ebc40d49139 23:42:08 ---> de4ca89f9f25 23:42:08 Step 10/11 : COPY . . 23:42:08 ---> 78d93945b798 23:42:08 Step 11/11 : RUN ${MAKE} 23:42:08 ---> Running in f9195788da99 23:42:08 noop 23:42:08 Removing intermediate container f9195788da99 23:42:08 ---> c22c70fb5013 23:42:08 Successfully built c22c70fb5013 23:42:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:42:08 + docker inspect -f . ci-base-image-x86_64 23:42:08 . [Pipeline] withDockerContainer 23:42:08 prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container 23:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@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 23:42:09 $ docker top f9ee2e6c4e8ab6f5f8827c7d9dd41608a44b77a8e8d231569e9a33e995a77c2d -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:09 + go version 23:42:09 go version go1.17.6 linux/amd64 [Pipeline] } 23:42:09 $ docker stop --time=1 f9ee2e6c4e8ab6f5f8827c7d9dd41608a44b77a8e8d231569e9a33e995a77c2d 23:42:10 $ docker rm -f f9ee2e6c4e8ab6f5f8827c7d9dd41608a44b77a8e8d231569e9a33e995a77c2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:11 + docker inspect -f . ci-base-image-x86_64 23:42:11 . [Pipeline] withDockerContainer 23:42:11 prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container 23:42:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@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 23:42:11 $ docker top 15c50e9ec77b970763e13b1cabe05ad4263901c77a249a0d05fe0e339dd68bd9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:42:12 + make test 23:42:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:42:12 ? github.com/edgexfoundry/device-gpio [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:14 provisioning config files... 23:42:14 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/5@tmp/config297832510943050224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:14 ---> docker-login.sh 23:42:14 nexus3.edgexfoundry.org:10001 23:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:15 Configure a credential helper to remove this warning. See 23:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:15 23:42:15 Login Succeeded 23:42:15 nexus3.edgexfoundry.org:10002 23:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:15 Configure a credential helper to remove this warning. See 23:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:15 23:42:15 Login Succeeded 23:42:15 nexus3.edgexfoundry.org:10003 23:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:16 Configure a credential helper to remove this warning. See 23:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:16 23:42:16 Login Succeeded 23:42:16 nexus3.edgexfoundry.org:10004 23:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:16 Configure a credential helper to remove this warning. See 23:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:16 23:42:16 Login Succeeded 23:42:16 docker.io 23:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:17 Configure a credential helper to remove this warning. See 23:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:17 23:42:17 Login Succeeded 23:42:17 ---> docker-login.sh ends [Pipeline] } 23:42:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:42:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:18 ========================================================= 23:42:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:42:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:42:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:42:18 Sending build context to Docker daemon 5.53MB 23:42:18 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:42:18 Step 2/11 : FROM ${BASE} AS builder 23:42:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:42:19 9b3977197b4f: Pulling fs layer 23:42:19 1a89e8eeedd5: Pulling fs layer 23:42:19 94645a83ff95: Pulling fs layer 23:42:19 3f3a8bcf1eab: Pulling fs layer 23:42:19 0c92f367c5e7: Pulling fs layer 23:42:19 4b8299f9d1f4: Pulling fs layer 23:42:19 9a6b49a46696: Pulling fs layer 23:42:19 cf05db05a679: Pulling fs layer 23:42:19 3f3a8bcf1eab: Waiting 23:42:19 0c92f367c5e7: Waiting 23:42:19 4b8299f9d1f4: Waiting 23:42:19 9a6b49a46696: Waiting 23:42:19 cf05db05a679: Waiting 23:42:19 94645a83ff95: Verifying Checksum 23:42:19 94645a83ff95: Download complete 23:42:19 1a89e8eeedd5: Verifying Checksum 23:42:19 1a89e8eeedd5: Download complete 23:42:19 0c92f367c5e7: Verifying Checksum 23:42:19 0c92f367c5e7: Download complete 23:42:19 4b8299f9d1f4: Download complete 23:42:19 9b3977197b4f: Download complete 23:42:19 9a6b49a46696: Verifying Checksum 23:42:19 9a6b49a46696: Download complete 23:42:19 9b3977197b4f: Pull complete 23:42:20 1a89e8eeedd5: Pull complete 23:42:20 94645a83ff95: Pull complete 23:42:20 cf05db05a679: Verifying Checksum 23:42:20 cf05db05a679: Download complete 23:42:21 3f3a8bcf1eab: Verifying Checksum 23:42:21 3f3a8bcf1eab: Download complete 23:42:24 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:42:24 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:42:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:42:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:42:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:42:26 ./bin/test-attribution-txt.sh [Pipeline] echo 23:42:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:42:26 $ docker stop --time=1 15c50e9ec77b970763e13b1cabe05ad4263901c77a249a0d05fe0e339dd68bd9 23:42:28 $ docker rm -f 15c50e9ec77b970763e13b1cabe05ad4263901c77a249a0d05fe0e339dd68bd9 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:42:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:29 + ls -al . 23:42:29 total 108 23:42:29 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 19 23:42 . 23:42:29 drwxrwxr-x. 4 jenkins jenkins 108 Jan 19 23:41 .. 23:42:29 -rw-rw-r--. 1 jenkins jenkins 5451 Jan 19 23:41 Attribution.txt 23:42:29 drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 23:41 bin 23:42:29 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 23:41 cmd 23:42:29 -rw-r--r--. 1 jenkins jenkins 10 Jan 19 23:42 coverage.out 23:42:29 -rw-rw-r--. 1 jenkins jenkins 1580 Jan 19 23:41 Dockerfile 23:42:29 -rw-rw-r--. 1 jenkins jenkins 120 Jan 19 23:41 .dockerignore 23:42:29 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 23:41 .git 23:42:29 drwxrwxr-x. 2 jenkins jenkins 81 Jan 19 23:41 .github 23:42:29 -rw-rw-r--. 1 jenkins jenkins 343 Jan 19 23:41 .gitignore 23:42:29 -rw-rw-r--. 1 jenkins jenkins 2235 Jan 19 23:41 go.mod 23:42:29 -rw-rw-r--. 1 jenkins jenkins 30244 Jan 19 23:41 go.sum 23:42:29 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 23:41 GOVERNANCE.md 23:42:29 drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 23:41 internal 23:42:29 -rw-rw-r--. 1 jenkins jenkins 657 Jan 19 23:41 Jenkinsfile 23:42:29 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 23:41 LICENSE 23:42:29 -rw-rw-r--. 1 jenkins jenkins 1001 Jan 19 23:41 Makefile 23:42:29 -rw-rw-r--. 1 jenkins jenkins 617 Jan 19 23:41 OWNERS.md 23:42:29 -rw-rw-r--. 1 jenkins jenkins 8048 Jan 19 23:41 README.md 23:42:29 drwx------. 3 jenkins jenkins 43 Jan 19 23:41 .semver 23:42:29 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 23:41 VERSION 23:42:29 -rw-rw-r--. 1 jenkins jenkins 209 Jan 19 23:41 version.go [Pipeline] isUnix [Pipeline] sh 23:42:30 + 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=4edcf211a96cd0e61cab5319da0962f3c764ca0b --label arch=amd64 --label version=0.0.0 . 23:42:30 Sending build context to Docker daemon 10.94MB 23:42:30 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:42:30 Step 2/24 : FROM ${BASE} AS builder 23:42:30 ---> c22c70fb5013 23:42:30 Step 3/24 : ARG MAKE='make build' 23:42:30 ---> Running in 4ed72d352aee 23:42:30 Removing intermediate container 4ed72d352aee 23:42:30 ---> 745c55a5b55b 23:42:30 Step 4/24 : WORKDIR /device-gpio 23:42:30 ---> Running in f222beb6f344 23:42:30 Removing intermediate container f222beb6f344 23:42:30 ---> ea5a70c100b8 23:42:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:42:30 ---> Running in 3cb6321841a7 23:42:30 Removing intermediate container 3cb6321841a7 23:42:30 ---> 9c044c4b351e 23:42:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:30 ---> Running in 0eaf8b0455fd 23:42:30 Removing intermediate container 0eaf8b0455fd 23:42:30 ---> a51d80b0084a 23:42:30 Step 7/24 : RUN apk add --update --no-cache make git 23:42:31 ---> Running in 2393ec78e171 23:42:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:42:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:42:32 OK: 221 MiB in 52 packages 23:42:32 Removing intermediate container 2393ec78e171 23:42:32 ---> e6f49133ea19 23:42:32 Step 8/24 : COPY go.mod vendor* ./ 23:42:32 ---> ad5a0a7ce268 23:42:32 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:32 ---> Running in 89819560cc10 23:42:33 Removing intermediate container 89819560cc10 23:42:33 ---> 6b2d59508c8a 23:42:33 Step 10/24 : COPY . . 23:42:33 ---> 2b13e0fe045d 23:42:33 Step 11/24 : RUN ${MAKE} 23:42:33 ---> Running in 4e1774fe94bb 23:42:33 3f3a8bcf1eab: Pull complete 23:42:33 0c92f367c5e7: Pull complete 23:42:33 4b8299f9d1f4: Pull complete 23:42:33 9a6b49a46696: Pull complete 23:42:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 23:42:38 cf05db05a679: Pull complete 23:42:38 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 23:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:42:38 ---> 0ccda1f7e2ee 23:42:38 Step 3/11 : ARG MAKE='make build' 23:42:39 ---> Running in 0ca7c4f38950 23:42:39 Removing intermediate container 0ca7c4f38950 23:42:39 ---> 283ed860143f 23:42:39 Step 4/11 : WORKDIR /device-gpio 23:42:39 ---> Running in 4df27d0b6b54 23:42:39 Removing intermediate container 4df27d0b6b54 23:42:39 ---> a97261c3b7d8 23:42:39 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:42:40 ---> Running in cc58a8e23b5d 23:42:40 Removing intermediate container cc58a8e23b5d 23:42:40 ---> 5092d726d2cc 23:42:40 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:40 ---> Running in bb531bfb6a46 23:42:42 Removing intermediate container bb531bfb6a46 23:42:42 ---> ef8384887cdd 23:42:42 Step 7/11 : RUN apk add --update --no-cache make git 23:42:42 ---> Running in b1db30ae4658 23:42:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:42:44 Removing intermediate container 4e1774fe94bb 23:42:44 ---> 20015e4319c2 23:42:44 Step 12/24 : FROM alpine:3.14 23:42:44 3.14: Pulling from library/alpine 23:42:44 97518928ae5f: Pulling fs layer 23:42:44 97518928ae5f: Verifying Checksum 23:42:44 97518928ae5f: Download complete 23:42:44 97518928ae5f: Pull complete 23:42:44 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:42:44 Status: Downloaded newer image for alpine:3.14 23:42:44 ---> 0a97eee8041e 23:42:44 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:42:44 ---> Running in 9142da0d7568 23:42:44 Removing intermediate container 9142da0d7568 23:42:44 ---> 99dd5b5c22c2 23:42:44 Step 14/24 : ENV APP_PORT=49994 23:42:44 ---> Running in 70d934a2b0a9 23:42:44 Removing intermediate container 70d934a2b0a9 23:42:44 ---> 231ed2feb3ae 23:42:44 Step 15/24 : EXPOSE $APP_PORT 23:42:44 ---> Running in c9c6f442fb87 23:42:44 Removing intermediate container c9c6f442fb87 23:42:44 ---> 610a29d60c04 23:42:44 Step 16/24 : WORKDIR / 23:42:44 ---> Running in 70c830bdaf73 23:42:44 Removing intermediate container 70c830bdaf73 23:42:44 ---> 92ecb14a24e2 23:42:44 Step 17/24 : COPY --from=builder /device-gpio/LICENSE / 23:42:44 ---> 3a25e92505fc 23:42:44 Step 18/24 : COPY --from=builder /device-gpio/Attribution.txt / 23:42:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:42:44 ---> d9b69acf73b3 23:42:44 Step 19/24 : COPY --from=builder /device-gpio/cmd/ / 23:42:45 ---> ffcb93f9ede7 23:42:45 Step 20/24 : ENTRYPOINT ["/device-gpio"] 23:42:45 ---> Running in ada836282631 23:42:45 Removing intermediate container ada836282631 23:42:45 ---> d6356b06b851 23:42:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:42:45 ---> Running in 7e03c123ff30 23:42:45 Removing intermediate container 7e03c123ff30 23:42:45 ---> 5ae378f4bb1e 23:42:45 Step 22/24 : LABEL arch=amd64 23:42:45 ---> Running in 5cf9b3b1b224 23:42:45 Removing intermediate container 5cf9b3b1b224 23:42:45 ---> 50dd29de9978 23:42:45 Step 23/24 : LABEL git_sha=4edcf211a96cd0e61cab5319da0962f3c764ca0b 23:42:45 ---> Running in d5f099b0935c 23:42:45 Removing intermediate container d5f099b0935c 23:42:45 ---> 93f2d609df67 23:42:45 Step 24/24 : LABEL version=0.0.0 23:42:45 ---> Running in 8ab0262ecb4e 23:42:45 Removing intermediate container 8ab0262ecb4e 23:42:45 ---> d53eee415514 23:42:45 [Warning] One or more build-args [ARCH] were not consumed 23:42:45 Successfully built d53eee415514 23:42:45 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage 23:42:45 OK: 220 MiB in 52 packages [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:46 23:42:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:42:46 Removing intermediate container b1db30ae4658 23:42:46 ---> 196776b6a40e 23:42:46 Step 8/11 : COPY go.mod vendor* ./ 23:42:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:46 latest: Pulling from edgex-lftools-log-publisher 23:42:46 b4d181a07f80: Pulling fs layer 23:42:46 a1111a8f2ec3: Pulling fs layer 23:42:46 ed53099fbce6: Pulling fs layer 23:42:46 dc539afda2c1: Pulling fs layer 23:42:46 77bc0d833cb6: Pulling fs layer 23:42:46 9065ff56babe: Pulling fs layer 23:42:46 d287ab97295c: Pulling fs layer 23:42:46 dc539afda2c1: Waiting 23:42:46 77bc0d833cb6: Waiting 23:42:46 9065ff56babe: Waiting 23:42:46 d287ab97295c: Waiting 23:42:46 a1111a8f2ec3: Verifying Checksum 23:42:46 a1111a8f2ec3: Download complete 23:42:46 dc539afda2c1: Verifying Checksum 23:42:46 dc539afda2c1: Download complete 23:42:46 ed53099fbce6: Verifying Checksum 23:42:46 ed53099fbce6: Download complete 23:42:46 9065ff56babe: Verifying Checksum 23:42:46 9065ff56babe: Download complete 23:42:46 77bc0d833cb6: Verifying Checksum 23:42:46 77bc0d833cb6: Download complete 23:42:46 b4d181a07f80: Verifying Checksum 23:42:46 b4d181a07f80: Download complete 23:42:46 ---> 67b7ff006510 23:42:46 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:47 ---> Running in a8608a46efa2 23:42:47 d287ab97295c: Verifying Checksum 23:42:47 d287ab97295c: Download complete 23:42:47 b4d181a07f80: Pull complete 23:42:48 a1111a8f2ec3: Pull complete 23:42:48 ed53099fbce6: Pull complete 23:42:48 dc539afda2c1: Pull complete 23:42:48 77bc0d833cb6: Pull complete 23:42:49 9065ff56babe: Pull complete 23:42:54 d287ab97295c: Pull complete 23:42:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:42:54 prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container 23:42:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:42:56 $ docker top bc11af280f5c907fb3904a4dcda650e9d11f124b64d1c34f36e336318fbdfe39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:57 ---> job-cost.sh 23:42:57 lf-activate-venv: SKIPPING 23:42:57 INFO: No Stack... 23:42:57 INFO: Retrieving Pricing Info for: v3-standard-2 23:42:57 INFO: Archiving Costs [Pipeline] sh 23:42:58 + cat /w/workspace/edgexfoundry_device-gpio_PR-15/archives/cost.csv 23:42:58 + cut -d, -f6 [Pipeline] lock 23:42:58 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] 23:42:58 Resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] did not exist. Created. 23:42:58 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:58 + echo total: 0.05999999865889549 [Pipeline] stash 23:42:58 Stashed 1 file(s) [Pipeline] } 23:42:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:58 $ docker stop --time=1 bc11af280f5c907fb3904a4dcda650e9d11f124b64d1c34f36e336318fbdfe39 23:42:59 $ docker rm -f bc11af280f5c907fb3904a4dcda650e9d11f124b64d1c34f36e336318fbdfe39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:43:34 Removing intermediate container a8608a46efa2 23:43:34 ---> 9f21606fce0e 23:43:34 Step 10/11 : COPY . . 23:43:34 ---> 7bd03e1fe924 23:43:34 Step 11/11 : RUN ${MAKE} 23:43:34 ---> Running in d94d5b3d2034 23:43:34 noop 23:43:34 Removing intermediate container d94d5b3d2034 23:43:34 ---> 37b476da1a8b 23:43:34 Successfully built 37b476da1a8b 23:43:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:43:34 + docker inspect -f . ci-base-image-arm64 23:43:34 . [Pipeline] withDockerContainer 23:43:34 prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container 23:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/5 -v /w/workspace/device-gpio/5:/w/workspace/device-gpio/5:rw,z -v /w/workspace/device-gpio/5@tmp:/w/workspace/device-gpio/5@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 23:43:36 $ docker top 36c6dcfd07e570438cb69c42185961f74bcc3877ce5ce5494a21cc68762b4cf0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:37 + go version 23:43:37 go version go1.17.6 linux/arm64 [Pipeline] } 23:43:37 $ docker stop --time=1 36c6dcfd07e570438cb69c42185961f74bcc3877ce5ce5494a21cc68762b4cf0 23:43:39 $ docker rm -f 36c6dcfd07e570438cb69c42185961f74bcc3877ce5ce5494a21cc68762b4cf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:43:39 + docker inspect -f . ci-base-image-arm64 23:43:39 . [Pipeline] withDockerContainer 23:43:39 prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container 23:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/5 -v /w/workspace/device-gpio/5:/w/workspace/device-gpio/5:rw,z -v /w/workspace/device-gpio/5@tmp:/w/workspace/device-gpio/5@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 23:43:41 $ docker top e88f1b96ac081eb024a3d856b3b15efe2f34b22f3d7c52b4a812321d1d167df0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:43:42 + make test 23:43:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:43:43 ? github.com/edgexfoundry/device-gpio [no test files] 23:44:31 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:44:31 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:44:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:44:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:44:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:44:49 ./bin/test-attribution-txt.sh [Pipeline] echo 23:44:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:44:49 $ docker stop --time=1 e88f1b96ac081eb024a3d856b3b15efe2f34b22f3d7c52b4a812321d1d167df0 23:44:51 $ docker rm -f e88f1b96ac081eb024a3d856b3b15efe2f34b22f3d7c52b4a812321d1d167df0 [Pipeline] // withDockerContainer [Pipeline] sh 23:44:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:44:51 Warning: overwriting stash ‘coverage-report’ 23:44:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:44:53 + ls -al . 23:44:53 total 132 23:44:53 drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 23:44 . 23:44:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 23:41 .. 23:44:53 -rw-rw-r-- 1 jenkins jenkins 120 Jan 19 23:41 .dockerignore 23:44:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 23:41 .git 23:44:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 23:41 .github 23:44:53 -rw-rw-r-- 1 jenkins jenkins 343 Jan 19 23:41 .gitignore 23:44:53 -rw-rw-r-- 1 jenkins jenkins 5451 Jan 19 23:41 Attribution.txt 23:44:53 -rw-rw-r-- 1 jenkins jenkins 1580 Jan 19 23:41 Dockerfile 23:44:53 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 23:41 GOVERNANCE.md 23:44:53 -rw-rw-r-- 1 jenkins jenkins 657 Jan 19 23:41 Jenkinsfile 23:44:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 23:41 LICENSE 23:44:53 -rw-rw-r-- 1 jenkins jenkins 1001 Jan 19 23:41 Makefile 23:44:53 -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 23:41 OWNERS.md 23:44:53 -rw-rw-r-- 1 jenkins jenkins 8048 Jan 19 23:41 README.md 23:44:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 23:41 VERSION 23:44:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 23:41 bin 23:44:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 23:41 cmd 23:44:53 -rw-r--r-- 1 jenkins jenkins 10 Jan 19 23:43 coverage.out 23:44:53 -rw-rw-r-- 1 jenkins jenkins 2235 Jan 19 23:41 go.mod 23:44:53 -rw-rw-r-- 1 jenkins jenkins 30244 Jan 19 23:41 go.sum 23:44:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 23:41 internal 23:44:53 -rw-rw-r-- 1 jenkins jenkins 209 Jan 19 23:41 version.go [Pipeline] isUnix [Pipeline] sh 23:44:53 + 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=4edcf211a96cd0e61cab5319da0962f3c764ca0b --label arch=arm64 --label version=0.0.0 . 23:44:53 Sending build context to Docker daemon 5.531MB 23:44:53 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:44:53 Step 2/24 : FROM ${BASE} AS builder 23:44:53 ---> 37b476da1a8b 23:44:53 Step 3/24 : ARG MAKE='make build' 23:44:54 ---> Running in 52b3d4161943 23:44:54 Removing intermediate container 52b3d4161943 23:44:54 ---> ff4e662a9df4 23:44:54 Step 4/24 : WORKDIR /device-gpio 23:44:54 ---> Running in 17a678bc9f4e 23:44:54 Removing intermediate container 17a678bc9f4e 23:44:54 ---> aa159fa83da6 23:44:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:44:54 ---> Running in c1b0daf96184 23:44:55 Removing intermediate container c1b0daf96184 23:44:55 ---> 32c9529b1ded 23:44:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:44:55 ---> Running in aca2ba92faef 23:44:57 Removing intermediate container aca2ba92faef 23:44:57 ---> e6b629c18673 23:44:57 Step 7/24 : RUN apk add --update --no-cache make git 23:44:57 ---> Running in f283a142e456 23:44:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:44:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:44:59 OK: 220 MiB in 52 packages 23:45:00 Removing intermediate container f283a142e456 23:45:00 ---> f6c10804a48f 23:45:00 Step 8/24 : COPY go.mod vendor* ./ 23:45:01 ---> f6f7a4feccae 23:45:01 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:01 ---> Running in d114ff1e1318 23:45:04 Removing intermediate container d114ff1e1318 23:45:04 ---> c717195bb760 23:45:04 Step 10/24 : COPY . . 23:45:04 ---> ba9837762f10 23:45:04 Step 11/24 : RUN ${MAKE} 23:45:04 ---> Running in 4641fce08b5f 23:45:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 23:45:44 Removing intermediate container 4641fce08b5f 23:45:44 ---> 02419c5f26dc 23:45:44 Step 12/24 : FROM alpine:3.14 23:45:44 3.14: Pulling from library/alpine 23:45:44 be307f383ecc: Pulling fs layer 23:45:44 be307f383ecc: Verifying Checksum 23:45:44 be307f383ecc: Download complete 23:45:44 be307f383ecc: Pull complete 23:45:44 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:45:44 Status: Downloaded newer image for alpine:3.14 23:45:44 ---> 5b8b7b635229 23:45:44 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:45:44 ---> Running in 86e8ee78014b 23:45:44 Removing intermediate container 86e8ee78014b 23:45:44 ---> 433a64991301 23:45:44 Step 14/24 : ENV APP_PORT=49994 23:45:44 ---> Running in 95081ba55078 23:45:44 Removing intermediate container 95081ba55078 23:45:44 ---> 3e77f447e23e 23:45:44 Step 15/24 : EXPOSE $APP_PORT 23:45:44 ---> Running in c77c4bb39033 23:45:44 Removing intermediate container c77c4bb39033 23:45:44 ---> 474d32c37063 23:45:44 Step 16/24 : WORKDIR / 23:45:44 ---> Running in 81acee2ac207 23:45:44 Removing intermediate container 81acee2ac207 23:45:44 ---> 3951e7be2177 23:45:44 Step 17/24 : COPY --from=builder /device-gpio/LICENSE / 23:45:44 ---> 54136d26157a 23:45:44 Step 18/24 : COPY --from=builder /device-gpio/Attribution.txt / 23:45:44 ---> 8390ee9d09a5 23:45:44 Step 19/24 : COPY --from=builder /device-gpio/cmd/ / 23:45:45 ---> 866dd8e28078 23:45:45 Step 20/24 : ENTRYPOINT ["/device-gpio"] 23:45:45 ---> Running in 3dc90689c53b 23:45:46 Removing intermediate container 3dc90689c53b 23:45:46 ---> eef3ed66a7d1 23:45:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:45:46 ---> Running in 0487928190db 23:45:46 Removing intermediate container 0487928190db 23:45:46 ---> 0e9051795965 23:45:46 Step 22/24 : LABEL arch=arm64 23:45:46 ---> Running in 71eef7a277ba 23:45:46 Removing intermediate container 71eef7a277ba 23:45:46 ---> db542c761a46 23:45:46 Step 23/24 : LABEL git_sha=4edcf211a96cd0e61cab5319da0962f3c764ca0b 23:45:46 ---> Running in 20b6f66edb52 23:45:47 Removing intermediate container 20b6f66edb52 23:45:47 ---> e15dac115ee9 23:45:47 Step 24/24 : LABEL version=0.0.0 23:45:47 ---> Running in 337798e168db 23:45:47 Removing intermediate container 337798e168db 23:45:47 ---> 8db7572e5ba7 23:45:47 [Warning] One or more build-args [ARCH] were not consumed 23:45:47 Successfully built 8db7572e5ba7 23:45:47 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:48 23:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:45:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:48 arm64: Pulling from edgex-lftools-log-publisher 23:45:48 448f6bf000e3: Pulling fs layer 23:45:48 f757da607395: Pulling fs layer 23:45:48 05883995daec: Pulling fs layer 23:45:48 8603b9c90790: Pulling fs layer 23:45:48 1560dd03e051: Pulling fs layer 23:45:48 27f5ce0e4adf: Pulling fs layer 23:45:48 c2d8d7efcc4b: Pulling fs layer 23:45:48 8603b9c90790: Waiting 23:45:48 1560dd03e051: Waiting 23:45:48 27f5ce0e4adf: Waiting 23:45:48 c2d8d7efcc4b: Waiting 23:45:48 f757da607395: Verifying Checksum 23:45:48 f757da607395: Download complete 23:45:48 8603b9c90790: Verifying Checksum 23:45:48 8603b9c90790: Download complete 23:45:48 1560dd03e051: Verifying Checksum 23:45:48 1560dd03e051: Download complete 23:45:48 27f5ce0e4adf: Verifying Checksum 23:45:48 27f5ce0e4adf: Download complete 23:45:48 05883995daec: Verifying Checksum 23:45:48 05883995daec: Download complete 23:45:49 448f6bf000e3: Verifying Checksum 23:45:49 448f6bf000e3: Download complete 23:45:51 c2d8d7efcc4b: Verifying Checksum 23:45:51 c2d8d7efcc4b: Download complete 23:45:52 448f6bf000e3: Pull complete 23:45:52 f757da607395: Pull complete 23:45:54 05883995daec: Pull complete 23:45:54 8603b9c90790: Pull complete 23:45:55 1560dd03e051: Pull complete 23:45:55 27f5ce0e4adf: Pull complete 23:46:10 c2d8d7efcc4b: Pull complete 23:46:10 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:46:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:46:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:46:11 prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container 23:46:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/5 -v /w/workspace/device-gpio/5:/w/workspace/device-gpio/5:rw,z -v /w/workspace/device-gpio/5@tmp:/w/workspace/device-gpio/5@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:arm64 cat 23:46:13 $ docker top e4041553dfaca5eb2f7e7cc4a04b45290aaa8f906a99ae9cb7af42e5fed268ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:14 ---> job-cost.sh 23:46:14 lf-activate-venv: SKIPPING 23:46:14 INFO: No Stack... 23:46:15 INFO: Retrieving Pricing Info for: v3-standard-4 23:46:15 INFO: Archiving Costs [Pipeline] sh 23:46:16 + cat /w/workspace/device-gpio/5/archives/cost.csv 23:46:16 + cut -d, -f6 [Pipeline] lock 23:46:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] 23:46:16 Resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] did not exist. Created. 23:46:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:46:17 /w/workspace/device-gpio/5@tmp/durable-64aa7553/script.sh: 1: /w/workspace/device-gpio/5@tmp/durable-64aa7553/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:46:17 + echo total: 0.10999999940395355 [Pipeline] stash 23:46:17 Warning: overwriting stash ‘stack-cost’ 23:46:17 Stashed 1 file(s) [Pipeline] } 23:46:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:46:17 $ docker stop --time=1 e4041553dfaca5eb2f7e7cc4a04b45290aaa8f906a99ae9cb7af42e5fed268ea 23:46:19 $ docker rm -f e4041553dfaca5eb2f7e7cc4a04b45290aaa8f906a99ae9cb7af42e5fed268ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:46:19 provisioning config files... 23:46:19 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config6103673975463083027tmp [Pipeline] { [Pipeline] sh 23:46:20 + set +x 23:46:20 + bash -s -- 23:46:20 + curl -s https://codecov.io/bash 23:46:20 23:46:20 _____ _ 23:46:20 / ____| | | 23:46:20 | | ___ __| | ___ ___ _____ __ 23:46:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:46:20 | |___| (_) | (_| | __/ (_| (_) \ V / 23:46:20 \_____\___/ \__,_|\___|\___\___/ \_/ 23:46:20 Bash-1.0.6 23:46:20 23:46:20 23:46:20 ==> git version 2.24.4 found 23:46:20 ==> 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 23:46:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:46:20 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:46:20 ==> Jenkins CI detected. 23:46:20 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-15 23:46:20 project root: . 23:46:20 --> token set from env 23:46:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:46:20 ==> Running gcov in . (disable via -X gcov) 23:46:20 ==> Python coveragepy not found 23:46:20 ==> Searching for coverage reports in: 23:46:20 + . 23:46:20 -> Found 1 reports 23:46:20 ==> Detecting git/mercurial file structure 23:46:20 ==> Reading reports 23:46:20 + ./coverage.out bytes=10 23:46:20 ==> Appending adjustments 23:46:20 https://docs.codecov.io/docs/fixing-reports 23:46:20 + Found adjustments 23:46:20 ==> Gzipping contents 23:46:20 4.0K /tmp/codecov.HUxQv3.gz 23:46:20 ==> Uploading reports 23:46:20 url: https://codecov.io 23:46:20 query: branch=PR-15&commit=4edcf211a96cd0e61cab5319da0962f3c764ca0b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-15%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=15&job=&cmd_args= 23:46:20 -> Pinging Codecov 23:46:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-15&commit=4edcf211a96cd0e61cab5319da0962f3c764ca0b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-15%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=15&job=&cmd_args= 23:46:20 -> Uploading to 23:46:20 https://storage.googleapis.com/codecov/v4/raw/2022-01-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/4edcf211a96cd0e61cab5319da0962f3c764ca0b/ccc587ec-e4ff-4965-9167-8df694408c20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T234620Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fdcd4391e554f4681a3322e85c7544098b49ef3dcbf394d161d50a7989ac387f 23:46:20 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:20 Dload Upload Total Spent Left Speed 23:46:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 570 0 0 100 570 0 1753 --:--:-- --:--:-- --:--:-- 1759 23:46:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] } 23:46:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:46:21 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-15/archives ']' 23:46:21 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives 23:46:21 total 8 23:46:21 drwxr-xr-x. 3 root root 34 Jan 19 23:42 . 23:46:21 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:42 .. 23:46:21 drwxr-xr-x. 2 root root 6 Jan 19 23:42 cost 23:46:21 -rw-r--r--. 1 root root 81 Jan 19 23:42 cost.csv 23:46:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-15/archives 23:46:21 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives 23:46:21 total 8 23:46:21 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 23:42 . 23:46:21 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:42 .. 23:46:21 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 23:42 cost 23:46:21 -rw-r--r--. 1 jenkins jenkins 81 Jan 19 23:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:46:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:46:22 ---> package-listing.sh 23:46:22 ++ facter osfamily 23:46:22 ++ tr '[:upper:]' '[:lower:]' 23:46:22 + OS_FAMILY=redhat 23:46:22 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-15 23:46:22 + START_PACKAGES=/tmp/packages_start.txt 23:46:22 + END_PACKAGES=/tmp/packages_end.txt 23:46:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:46:22 + PACKAGES=/tmp/packages_start.txt 23:46:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' 23:46:22 + PACKAGES=/tmp/packages_end.txt 23:46:22 + case "${OS_FAMILY}" in 23:46:22 + sort 23:46:22 + rpm -qa 23:46:23 + '[' -f /tmp/packages_start.txt ']' 23:46:23 + '[' -f /tmp/packages_end.txt ']' 23:46:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:46:23 + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' 23:46:23 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ 23:46:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ [Pipeline] echo 23:46:23 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-15/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:46:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:46:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:46:24 . [Pipeline] withDockerContainer 23:46:24 prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container 23:46:24 $ 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-15/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-15 -v /w/workspace/edgexfoundry_device-gpio_PR-15:/w/workspace/edgexfoundry_device-gpio_PR-15:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-15@tmp:/w/workspace/edgexfoundry_device-gpio_PR-15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:46:24 $ docker top 4aee2b6a82361e660479318db9ae6fe41ac1fcced4edb924bcdcb6939f9ec152 -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:25 + touch /tmp/pre-build-complete [Pipeline] sh 23:46:25 + mkdir -p /var/log/sysstat [Pipeline] sh 23:46:25 + ls /var/log/sa-host 23:46:25 + sadf -c /var/log/sa-host/sa17 23:46:25 file_magic: OK 23:46:25 HZ: Using current value: 100 23:46:25 file_header: OK 23:46:25 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 23:46:25 Statistics: 23:46:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:46:25 File successfully converted to sysstat format version 12.0.3 23:46:25 + sadf -c /var/log/sa-host/sa19 23:46:25 file_magic: OK 23:46:25 HZ: Using current value: 100 23:46:25 file_header: OK 23:46:25 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 23:46:25 Statistics: 23:46:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:46:25 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:25 provisioning config files... 23:46:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config5050168219374713552tmp [Pipeline] { [Pipeline] echo 23:46:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:46:26 ---> create-netrc.sh [Pipeline] } 23:46:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:46:26 ---> python-tools-install.sh [Pipeline] echo 23:46:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:46:26 ---> sudo-logs.sh 23:46:26 Archiving 'sudo' log.. 23:46:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-2156.novalocal: Name or service not known 23:46:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-2156.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:46:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:46:27 ---> job-cost.sh 23:46:27 lf-activate-venv: SKIPPING 23:46:27 DEBUG: total: 0.05999999865889549 23:46:27 INFO: Retrieving Stack Cost... 23:46:27 INFO: Retrieving Pricing Info for: v3-standard-2 23:46:28 INFO: Archiving Costs [Pipeline] echo 23:46:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:46:28 ---> logs-deploy.sh 23:46:28 lf-activate-venv: SKIPPING 23:46:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-15/5 23:46:28 INFO: archiving workspace using pattern(s): 23:46:28 Archives upload complete. 23:46:29 INFO: archiving logs to Nexus 23:46:29 ---> uname -a: 23:46:29 Linux prd-centos7-docker-4c-2g-2156.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 23:46:29 23:46:29 23:46:29 ---> lscpu: 23:46:29 Architecture: x86_64 23:46:29 CPU op-mode(s): 32-bit, 64-bit 23:46:29 Byte Order: Little Endian 23:46:29 Address sizes: 40 bits physical, 48 bits virtual 23:46:29 CPU(s): 2 23:46:29 On-line CPU(s) list: 0,1 23:46:29 Thread(s) per core: 1 23:46:29 Core(s) per socket: 1 23:46:29 Socket(s): 2 23:46:29 NUMA node(s): 1 23:46:29 Vendor ID: AuthenticAMD 23:46:29 CPU family: 23 23:46:29 Model: 49 23:46:29 Model name: AMD EPYC-Rome Processor 23:46:29 Stepping: 0 23:46:29 CPU MHz: 2799.998 23:46:29 BogoMIPS: 5599.99 23:46:29 Virtualization: AMD-V 23:46:29 Hypervisor vendor: KVM 23:46:29 Virtualization type: full 23:46:29 L1d cache: 32K 23:46:29 L1i cache: 32K 23:46:29 L2 cache: 512K 23:46:29 L3 cache: 16384K 23:46:29 NUMA node0 CPU(s): 0,1 23:46:29 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:46:29 23:46:29 23:46:29 ---> nproc: 23:46:29 2 23:46:29 23:46:29 23:46:29 ---> df -h: 23:46:29 Filesystem Size Used Avail Use% Mounted on 23:46:29 overlay 40G 8.7G 32G 22% / 23:46:29 tmpfs 64M 0 64M 0% /dev 23:46:29 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:46:29 shm 64M 0 64M 0% /dev/shm 23:46:29 /dev/vda1 40G 8.7G 32G 22% /facter-os 23:46:29 23:46:29 23:46:29 ---> sar -b -r -n DEV: 23:46:29 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/19/22 _x86_64_ (2 CPU) 23:46:29 23:46:29 23:40:58 LINUX RESTART (2 CPU) 23:46:29 23:46:29 23:42:01 tps rtps wtps bread/s bwrtn/s 23:46:29 23:43:01 216.87 0.05 216.82 1.07 39535.98 23:46:29 23:44:01 1.58 0.00 1.58 0.00 30.51 23:46:29 23:45:01 0.25 0.00 0.25 0.00 3.60 23:46:29 23:46:01 0.20 0.00 0.20 0.00 2.83 23:46:29 Average: 54.74 0.01 54.73 0.27 9896.52 23:46:29 23:46:29 23:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:46:29 23:43:01 3864548 0 968860 12.10 2620 3172912 1268772 14.01 918048 2751832 16 23:46:29 23:44:01 3865508 0 967892 12.09 2620 3172920 1195352 13.20 918988 2751796 8 23:46:29 23:45:01 3861280 0 972120 12.14 2620 3172920 1179420 13.02 926028 2751796 8 23:46:29 23:46:01 3866444 0 966952 12.07 2620 3172924 1176912 12.99 921120 2751796 8 23:46:29 Average: 3864445 0 968956 12.10 2620 3172919 1205114 13.31 921046 2751805 10 23:46:29 23:46:29 23:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:46:29 23:43:01 eth0 168.25 103.60 2729.57 26.46 0.00 0.00 0.00 0.00 23:46:29 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 23:43:01 docker0 7.68 9.36 0.43 38.09 0.00 0.00 0.00 0.00 23:46:29 23:44:01 eth0 0.63 0.17 0.06 0.08 0.00 0.00 0.00 0.00 23:46:29 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 23:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 23:45:01 eth0 1.38 0.83 2.12 0.23 0.00 0.00 0.00 0.00 23:46:29 23:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 23:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 23:46:01 eth0 1.20 0.10 0.11 0.01 0.00 0.00 0.00 0.00 23:46:29 23:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 23:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 Average: eth0 42.88 26.18 683.19 6.70 0.00 0.00 0.00 0.00 23:46:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:46:29 Average: docker0 1.92 2.34 0.11 9.53 0.00 0.00 0.00 0.00 23:46:29 23:46:29 23:46:29 ---> sar -P ALL: 23:46:29 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/19/22 _x86_64_ (2 CPU) 23:46:29 23:46:29 23:40:58 LINUX RESTART (2 CPU) 23:46:29 23:46:29 23:42:01 CPU %user %nice %system %iowait %steal %idle 23:46:29 23:43:01 all 45.46 0.00 11.19 2.35 0.10 40.91 23:46:29 23:43:01 0 45.99 0.00 11.95 2.35 0.09 39.62 23:46:29 23:43:01 1 44.92 0.00 10.43 2.35 0.11 42.19 23:46:29 23:44:01 all 0.13 0.00 0.06 0.00 0.04 99.77 23:46:29 23:44:01 0 0.03 0.00 0.03 0.00 0.05 99.88 23:46:29 23:44:01 1 0.22 0.00 0.08 0.00 0.03 99.67 23:46:29 23:45:01 all 0.06 0.00 0.08 0.00 0.02 99.84 23:46:29 23:45:01 0 0.07 0.00 0.12 0.00 0.02 99.80 23:46:29 23:45:01 1 0.05 0.00 0.05 0.00 0.02 99.88 23:46:29 23:46:01 all 0.20 0.00 0.04 0.00 0.03 99.73 23:46:29 23:46:01 0 0.05 0.00 0.03 0.00 0.02 99.90 23:46:29 23:46:01 1 0.35 0.00 0.05 0.00 0.03 99.57 23:46:29 Average: all 10.81 0.00 2.68 0.55 0.04 85.90 23:46:29 Average: 0 10.88 0.00 2.86 0.55 0.04 85.66 23:46:29 Average: 1 10.75 0.00 2.51 0.55 0.05 86.14 23:46:29 23:46:29 23:46:29