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 [2022-01-19T23:41:28.777Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-19T23:41:28.811Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-19T23:41:28.829Z] ========================================================= [2022-01-19T23:41:28.829Z] EdgeX Global Pipelines Version Info [2022-01-19T23:41:28.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:41:29.927Z] ------------------- [2022-01-19T23:41:29.927Z] stable info: [2022-01-19T23:41:29.927Z] ------------------- [2022-01-19T23:41:29.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-19T23:41:29.927Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T23:41:29.927Z] Message: update stable to v1.0.219 [2022-01-19T23:41:30.497Z] ------------------- [2022-01-19T23:41:30.497Z] experimental info: [2022-01-19T23:41:30.497Z] ------------------- [2022-01-19T23:41:30.497Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-19T23:41:30.497Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-19T23:41:30.497Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-19T23:41:30.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-01-19T23:41:30.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-01-19T23:41:30.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-19T23:41:30.666Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-19T23:41:30.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-19T23:41:30.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-19T23:41:30.700Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-19T23:41:30.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-19T23:41:30.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-19T23:41:30.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-19T23:41:30.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-19T23:41:30.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-01-19T23:41:30.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-19T23:41:30.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-19T23:41:30.791Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T23:41:30.799Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-19T23:41:30.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T23:41:30.817Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-19T23:41:30.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-19T23:41:30.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-19T23:41:30.852Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-19T23:41:30.867Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-19T23:41:30.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-19T23:41:30.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-19T23:41:30.911Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-19T23:41:30.924Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-19T23:41:30.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-15 [Pipeline] echo [2022-01-19T23:41:30.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-15 [Pipeline] echo [2022-01-19T23:41:30.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-15 [Pipeline] echo [2022-01-19T23:41:30.974Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo [2022-01-19T23:41:30.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4edcf21 [Pipeline] echo [2022-01-19T23:41:30.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:41:31.039Z] provisioning config files... [2022-01-19T23:41:31.051Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config5132458928012074795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:41:31.353Z] ---> docker-login.sh [2022-01-19T23:41:31.353Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:41:31.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:31.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:31.353Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:31.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:31.353Z] [2022-01-19T23:41:31.353Z] Login Succeeded [2022-01-19T23:41:31.353Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:41:31.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:31.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:31.619Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:31.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:31.619Z] [2022-01-19T23:41:31.619Z] Login Succeeded [2022-01-19T23:41:31.619Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:41:31.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:31.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:31.619Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:31.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:31.619Z] [2022-01-19T23:41:31.619Z] Login Succeeded [2022-01-19T23:41:31.619Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:41:31.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:31.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:31.880Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:31.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:31.880Z] [2022-01-19T23:41:31.880Z] Login Succeeded [2022-01-19T23:41:31.880Z] docker.io [2022-01-19T23:41:31.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:32.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:32.141Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:32.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:32.141Z] [2022-01-19T23:41:32.141Z] Login Succeeded [2022-01-19T23:41:32.141Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:41:32.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-19T23:41:32.530Z] + git rev-list -1 --merges 4edcf211a96cd0e61cab5319da0962f3c764ca0b~1..4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo [2022-01-19T23:41:32.563Z] -----------> git rev-list -1 --merges 4edcf211a96cd0e61cab5319da0962f3c764ca0b~1..4edcf211a96cd0e61cab5319da0962f3c764ca0b 4edcf211a96cd0e61cab5319da0962f3c764ca0b [false] [Pipeline] sh [2022-01-19T23:41:32.851Z] + git log --format=format:%s -1 4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo [2022-01-19T23:41:32.870Z] ========================================================= [2022-01-19T23:41:32.870Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-19T23:41:32.870Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T23:41:33.202Z] + git log --format=format:%s -1 4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] echo [2022-01-19T23:41:33.215Z] [semverPrep] GIT_COMMIT: 4edcf211a96cd0e61cab5319da0962f3c764ca0b, Commit Message: ci: Go 1.17 related changes [Pipeline] echo [2022-01-19T23:41:33.226Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-19T23:41:33.615Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-19T23:41:33.615Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-19T23:41:33.615Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-19T23:41:33.615Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-19T23:41:33.615Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-19T23:41:33.615Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-19T23:41:33.615Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:41:33.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:41:33.969Z] [2022-01-19T23:41:33.969Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:41:34.277Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:41:34.277Z] latest: Pulling from edgex-devops/git-semver [2022-01-19T23:41:34.277Z] a0d0a0d46f8b: Pulling fs layer [2022-01-19T23:41:34.277Z] 3e5f54012d9b: Pulling fs layer [2022-01-19T23:41:34.277Z] 4c7163046ea9: Pulling fs layer [2022-01-19T23:41:34.277Z] 0c2d73faf560: Pulling fs layer [2022-01-19T23:41:34.277Z] 0c2d73faf560: Waiting [2022-01-19T23:41:34.277Z] 3e5f54012d9b: Verifying Checksum [2022-01-19T23:41:34.277Z] 3e5f54012d9b: Download complete [2022-01-19T23:41:34.277Z] a0d0a0d46f8b: Verifying Checksum [2022-01-19T23:41:34.277Z] a0d0a0d46f8b: Download complete [2022-01-19T23:41:34.277Z] 0c2d73faf560: Verifying Checksum [2022-01-19T23:41:34.277Z] 0c2d73faf560: Download complete [2022-01-19T23:41:34.277Z] 4c7163046ea9: Verifying Checksum [2022-01-19T23:41:34.277Z] 4c7163046ea9: Download complete [2022-01-19T23:41:34.561Z] a0d0a0d46f8b: Pull complete [2022-01-19T23:41:34.561Z] 3e5f54012d9b: Pull complete [2022-01-19T23:41:34.820Z] 4c7163046ea9: Pull complete [2022-01-19T23:41:35.080Z] 0c2d73faf560: Pull complete [2022-01-19T23:41:35.080Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-19T23:41:35.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-19T23:41:35.080Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-19T23:41:35.147Z] prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container [2022-01-19T23:41:35.203Z] $ 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 [2022-01-19T23:41:35.696Z] $ docker top cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-19T23:41:35.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T23:41:35.789Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T23:41:35.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T23:41:35.882Z] $ docker exec cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent [2022-01-19T23:41:35.979Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpgljPM/agent.14 [2022-01-19T23:41:35.979Z] SSH_AGENT_PID=20 [2022-01-19T23:41:35.987Z] Running ssh-add (command line suppressed) [2022-01-19T23:41:36.076Z] 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) [2022-01-19T23:41:36.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T23:41:36.387Z] + git tag --points-at HEAD [Pipeline] } [2022-01-19T23:41:36.403Z] $ docker exec --env ******** --env ******** cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent -k [2022-01-19T23:41:36.498Z] unset SSH_AUTH_SOCK; [2022-01-19T23:41:36.498Z] unset SSH_AGENT_PID; [2022-01-19T23:41:36.498Z] echo Agent pid 20 killed; [2022-01-19T23:41:36.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-19T23:41:36.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-19T23:41:36.528Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-19T23:41:36.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-19T23:41:36.644Z] $ docker exec cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent [2022-01-19T23:41:36.761Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadPmnm/agent.53 [2022-01-19T23:41:36.761Z] SSH_AGENT_PID=59 [2022-01-19T23:41:36.766Z] Running ssh-add (command line suppressed) [2022-01-19T23:41:36.878Z] 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) [2022-01-19T23:41:36.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-19T23:41:37.191Z] + git semver init [2022-01-19T23:41:37.191Z] # -> Open(): unable to determine branch for HEAD [2022-01-19T23:41:37.191Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.git [2022-01-19T23:41:37.191Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-15 [2022-01-19T23:41:37.191Z] # $SEMVER_REMOTE_NAME = origin [2022-01-19T23:41:37.191Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-19T23:41:37.191Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-19T23:41:37.191Z] # $SEMVER_BRANCH = PR-15 [2022-01-19T23:41:37.191Z] # $SEMVER_TEMP = /tmp/semver-621188916 [2022-01-19T23:41:37.191Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-01-19T23:41:38.138Z] # '/tmp/semver-621188916' -> '/w/workspace/edgexfoundry_device-gpio_PR-15/.semver' [2022-01-19T23:41:38.138Z] # -> Force: false [2022-01-19T23:41:38.138Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-15/.semver [Pipeline] } [2022-01-19T23:41:38.146Z] $ docker exec --env ******** --env ******** cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 ssh-agent -k [2022-01-19T23:41:38.238Z] unset SSH_AUTH_SOCK; [2022-01-19T23:41:38.238Z] unset SSH_AGENT_PID; [2022-01-19T23:41:38.238Z] echo Agent pid 59 killed; [2022-01-19T23:41:38.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-19T23:41:38.557Z] + git semver [Pipeline] } [2022-01-19T23:41:38.572Z] $ docker stop --time=1 cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 [2022-01-19T23:41:39.791Z] $ docker rm -f cb4f6956a33bf64f963ee620ec98706155d00b01b5b26c5affe43ba234483ab9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T23:41:40.137Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-19T23:41:40.374Z] Stashed 1 file(s) [Pipeline] echo [2022-01-19T23:41:40.377Z] [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 [2022-01-19T23:41:40.534Z] provisioning config files... [2022-01-19T23:41:40.545Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config4769681915945981678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:41:40.700Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2154 in /w/workspace/edgexfoundry_device-gpio_PR-15 [Pipeline] { [Pipeline] ws [2022-01-19T23:41:40.714Z] Running in /w/workspace/device-gpio/5 [Pipeline] { [Pipeline] checkout [2022-01-19T23:41:40.856Z] ---> docker-login.sh [2022-01-19T23:41:40.856Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:41:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:40.856Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:40.856Z] [2022-01-19T23:41:40.856Z] Login Succeeded [2022-01-19T23:41:40.856Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:41:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:40.856Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:40.856Z] [2022-01-19T23:41:40.856Z] Login Succeeded [2022-01-19T23:41:40.856Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:41:40.919Z] The recommended git tool is: git [2022-01-19T23:41:41.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:41.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:41.115Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:41.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:41.115Z] [2022-01-19T23:41:41.115Z] Login Succeeded [2022-01-19T23:41:41.115Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:41:41.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:41.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:41.115Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:41.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:41.115Z] [2022-01-19T23:41:41.115Z] Login Succeeded [2022-01-19T23:41:41.115Z] docker.io [2022-01-19T23:41:41.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:41:41.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:41:41.681Z] Configure a credential helper to remove this warning. See [2022-01-19T23:41:41.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:41:41.681Z] [2022-01-19T23:41:41.681Z] Login Succeeded [2022-01-19T23:41:41.681Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:41:41.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T23:41:41.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T23:41:41.778Z] ========================================================= [2022-01-19T23:41:41.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-19T23:41:41.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:41:42.089Z] + 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 . [2022-01-19T23:41:42.089Z] Sending build context to Docker daemon 10.94MB [2022-01-19T23:41:42.089Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T23:41:42.089Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-19T23:41:42.089Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-19T23:41:42.089Z] 59bf1c3509f3: Pulling fs layer [2022-01-19T23:41:42.089Z] 666ba61612fd: Pulling fs layer [2022-01-19T23:41:42.089Z] 8ed8ca486205: Pulling fs layer [2022-01-19T23:41:42.089Z] 4fe6c5a15a65: Pulling fs layer [2022-01-19T23:41:42.089Z] 22a0e8bec74d: Pulling fs layer [2022-01-19T23:41:42.089Z] f965cba54748: Pulling fs layer [2022-01-19T23:41:42.089Z] 861ffc35075e: Pulling fs layer [2022-01-19T23:41:42.089Z] 4b385c91608e: Pulling fs layer [2022-01-19T23:41:42.089Z] 560528eb2ebb: Pulling fs layer [2022-01-19T23:41:42.089Z] 4fe6c5a15a65: Waiting [2022-01-19T23:41:42.089Z] 22a0e8bec74d: Waiting [2022-01-19T23:41:42.089Z] f965cba54748: Waiting [2022-01-19T23:41:42.089Z] 861ffc35075e: Waiting [2022-01-19T23:41:42.089Z] 4b385c91608e: Waiting [2022-01-19T23:41:42.089Z] 560528eb2ebb: Waiting [2022-01-19T23:41:42.352Z] 8ed8ca486205: Verifying Checksum [2022-01-19T23:41:42.352Z] 8ed8ca486205: Download complete [2022-01-19T23:41:42.352Z] 666ba61612fd: Verifying Checksum [2022-01-19T23:41:42.352Z] 666ba61612fd: Download complete [2022-01-19T23:41:42.352Z] 22a0e8bec74d: Verifying Checksum [2022-01-19T23:41:42.352Z] 22a0e8bec74d: Download complete [2022-01-19T23:41:42.352Z] f965cba54748: Verifying Checksum [2022-01-19T23:41:42.352Z] f965cba54748: Download complete [2022-01-19T23:41:42.352Z] 861ffc35075e: Verifying Checksum [2022-01-19T23:41:42.352Z] 861ffc35075e: Download complete [2022-01-19T23:41:42.352Z] 59bf1c3509f3: Verifying Checksum [2022-01-19T23:41:42.352Z] 59bf1c3509f3: Download complete [2022-01-19T23:41:42.352Z] 4b385c91608e: Verifying Checksum [2022-01-19T23:41:42.352Z] 4b385c91608e: Download complete [2022-01-19T23:41:42.930Z] 4fe6c5a15a65: Verifying Checksum [2022-01-19T23:41:42.930Z] 4fe6c5a15a65: Download complete [2022-01-19T23:41:42.930Z] 560528eb2ebb: Verifying Checksum [2022-01-19T23:41:42.930Z] 560528eb2ebb: Download complete [2022-01-19T23:41:42.930Z] 59bf1c3509f3: Pull complete [2022-01-19T23:41:42.930Z] 666ba61612fd: Pull complete [2022-01-19T23:41:42.930Z] 8ed8ca486205: Pull complete [2022-01-19T23:41:46.383Z] using credential edgex-jenkins-ssh [2022-01-19T23:41:46.402Z] Cloning the remote Git repository [2022-01-19T23:41:46.472Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-01-19T23:41:46.570Z] > git init /w/workspace/device-gpio/5 # timeout=10 [2022-01-19T23:41:46.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-01-19T23:41:46.682Z] > git --version # timeout=10 [2022-01-19T23:41:46.702Z] > git --version # 'git version 2.17.1' [2022-01-19T23:41:46.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:41:46.821Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T23:41:47.176Z] 4fe6c5a15a65: Pull complete [2022-01-19T23:41:47.176Z] 22a0e8bec74d: Pull complete [2022-01-19T23:41:47.176Z] f965cba54748: Pull complete [2022-01-19T23:41:47.176Z] 861ffc35075e: Pull complete [2022-01-19T23:41:47.176Z] 4b385c91608e: Pull complete [2022-01-19T23:41:48.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-01-19T23:41:48.182Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-19T23:41:48.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-01-19T23:41:48.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-01-19T23:41:48.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:41:48.290Z] > 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 [2022-01-19T23:41:48.888Z] Merging remotes/origin/main commit dc2975e542a944f4e8f45132f2113a92bb59edd1 into PR head commit 4edcf211a96cd0e61cab5319da0962f3c764ca0b [2022-01-19T23:41:49.111Z] 560528eb2ebb: Pull complete [2022-01-19T23:41:49.111Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-19T23:41:49.153Z] Merge succeeded, producing 4edcf211a96cd0e61cab5319da0962f3c764ca0b [2022-01-19T23:41:49.153Z] Checking out Revision 4edcf211a96cd0e61cab5319da0962f3c764ca0b (PR-15) [2022-01-19T23:41:49.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-19T23:41:49.373Z] ---> dd4a08f94e63 [2022-01-19T23:41:49.373Z] Step 3/11 : ARG MAKE='make build' [2022-01-19T23:41:48.915Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T23:41:48.941Z] > git checkout -f 4edcf211a96cd0e61cab5319da0962f3c764ca0b # timeout=10 [2022-01-19T23:41:49.035Z] > git remote # timeout=10 [2022-01-19T23:41:49.053Z] > git config --get remote.origin.url # timeout=10 [2022-01-19T23:41:49.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-19T23:41:49.091Z] > git merge dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 [2022-01-19T23:41:49.120Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-19T23:41:49.159Z] > git config core.sparsecheckout # timeout=10 [2022-01-19T23:41:49.175Z] > git checkout -f 4edcf211a96cd0e61cab5319da0962f3c764ca0b # timeout=10 [2022-01-19T23:41:51.293Z] ---> Running in 177b79a6c6e4 [2022-01-19T23:41:51.293Z] Removing intermediate container 177b79a6c6e4 [2022-01-19T23:41:51.293Z] ---> e2ce6c353141 [2022-01-19T23:41:51.293Z] Step 4/11 : WORKDIR /device-gpio [2022-01-19T23:41:51.293Z] ---> Running in d89872cba39c [2022-01-19T23:41:51.293Z] Removing intermediate container d89872cba39c [2022-01-19T23:41:51.293Z] ---> dcb8ddfca5f5 [2022-01-19T23:41:51.293Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:41:51.293Z] ---> Running in 79793c282733 [2022-01-19T23:41:51.293Z] Removing intermediate container 79793c282733 [2022-01-19T23:41:51.293Z] ---> 9e10e91d1582 [2022-01-19T23:41:51.293Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T23:41:51.293Z] ---> Running in 99effb0fef49 [2022-01-19T23:41:51.872Z] Removing intermediate container 99effb0fef49 [2022-01-19T23:41:51.872Z] ---> 87646d7a781c [2022-01-19T23:41:51.872Z] Step 7/11 : RUN apk add --update --no-cache make git [2022-01-19T23:41:51.872Z] ---> Running in 080454827be1 [2022-01-19T23:41:52.132Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T23:41:53.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T23:41:53.332Z] OK: 221 MiB in 52 packages [2022-01-19T23:41:53.593Z] Removing intermediate container 080454827be1 [2022-01-19T23:41:53.593Z] ---> ca73b9d0ff1a [2022-01-19T23:41:53.593Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-19T23:41:53.593Z] ---> ad89a0133528 [2022-01-19T23:41:53.593Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T23:41:53.593Z] ---> Running in 2ebc40d49139 [2022-01-19T23:41:53.648Z] Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T23:41:54.494Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-19T23:41:54.494Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T23:41:54.494Z] Dload Upload Total Spent Left Speed [2022-01-19T23:41:54.494Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh [2022-01-19T23:41:55.008Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-19T23:41:55.351Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-19T23:41:55.351Z] + sudo tee /etc/docker/daemon.new [2022-01-19T23:41:55.351Z] { [2022-01-19T23:41:55.351Z] "registry-mirrors": [ [2022-01-19T23:41:55.351Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-19T23:41:55.351Z] ], [2022-01-19T23:41:55.351Z] "bip": "10.250.0.254/24", [2022-01-19T23:41:55.351Z] "hosts": [ [2022-01-19T23:41:55.351Z] "tcp://0.0.0.0:5555", [2022-01-19T23:41:55.351Z] "unix:///var/run/docker.sock" [2022-01-19T23:41:55.351Z] ], [2022-01-19T23:41:55.351Z] "mtu": 1458, [2022-01-19T23:41:55.351Z] "selinux-enabled": true, [2022-01-19T23:41:55.351Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-19T23:41:55.351Z] } [Pipeline] sh [2022-01-19T23:41:55.708Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-19T23:41:56.064Z] + sudo service docker restart [2022-01-19T23:42:08.595Z] Removing intermediate container 2ebc40d49139 [2022-01-19T23:42:08.595Z] ---> de4ca89f9f25 [2022-01-19T23:42:08.595Z] Step 10/11 : COPY . . [2022-01-19T23:42:08.595Z] ---> 78d93945b798 [2022-01-19T23:42:08.595Z] Step 11/11 : RUN ${MAKE} [2022-01-19T23:42:08.595Z] ---> Running in f9195788da99 [2022-01-19T23:42:08.595Z] noop [2022-01-19T23:42:08.595Z] Removing intermediate container f9195788da99 [2022-01-19T23:42:08.595Z] ---> c22c70fb5013 [2022-01-19T23:42:08.595Z] Successfully built c22c70fb5013 [2022-01-19T23:42:08.595Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:42:08.900Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T23:42:08.900Z] . [Pipeline] withDockerContainer [2022-01-19T23:42:08.966Z] prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container [2022-01-19T23:42:08.997Z] $ 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 [2022-01-19T23:42:09.347Z] $ docker top f9ee2e6c4e8ab6f5f8827c7d9dd41608a44b77a8e8d231569e9a33e995a77c2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:42:09.699Z] + go version [2022-01-19T23:42:09.699Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-19T23:42:09.711Z] $ docker stop --time=1 f9ee2e6c4e8ab6f5f8827c7d9dd41608a44b77a8e8d231569e9a33e995a77c2d [2022-01-19T23:42:10.892Z] $ docker rm -f f9ee2e6c4e8ab6f5f8827c7d9dd41608a44b77a8e8d231569e9a33e995a77c2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:42:11.313Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-19T23:42:11.313Z] . [Pipeline] withDockerContainer [2022-01-19T23:42:11.367Z] prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container [2022-01-19T23:42:11.402Z] $ 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 [2022-01-19T23:42:11.699Z] $ docker top 15c50e9ec77b970763e13b1cabe05ad4263901c77a249a0d05fe0e339dd68bd9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:42:12.043Z] + make test [2022-01-19T23:42:12.043Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T23:42:12.322Z] ? github.com/edgexfoundry/device-gpio [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:42:14.377Z] provisioning config files... [2022-01-19T23:42:14.401Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/5@tmp/config297832510943050224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:42:14.761Z] ---> docker-login.sh [2022-01-19T23:42:14.761Z] nexus3.edgexfoundry.org:10001 [2022-01-19T23:42:15.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:42:15.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:42:15.628Z] Configure a credential helper to remove this warning. See [2022-01-19T23:42:15.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:42:15.628Z] [2022-01-19T23:42:15.628Z] Login Succeeded [2022-01-19T23:42:15.628Z] nexus3.edgexfoundry.org:10002 [2022-01-19T23:42:15.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:42:15.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:42:15.901Z] Configure a credential helper to remove this warning. See [2022-01-19T23:42:15.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:42:15.901Z] [2022-01-19T23:42:15.901Z] Login Succeeded [2022-01-19T23:42:15.901Z] nexus3.edgexfoundry.org:10003 [2022-01-19T23:42:16.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:42:16.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:42:16.495Z] Configure a credential helper to remove this warning. See [2022-01-19T23:42:16.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:42:16.495Z] [2022-01-19T23:42:16.495Z] Login Succeeded [2022-01-19T23:42:16.495Z] nexus3.edgexfoundry.org:10004 [2022-01-19T23:42:16.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:42:16.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:42:16.771Z] Configure a credential helper to remove this warning. See [2022-01-19T23:42:16.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:42:16.771Z] [2022-01-19T23:42:16.771Z] Login Succeeded [2022-01-19T23:42:16.771Z] docker.io [2022-01-19T23:42:17.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-19T23:42:17.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-19T23:42:17.635Z] Configure a credential helper to remove this warning. See [2022-01-19T23:42:17.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-19T23:42:17.635Z] [2022-01-19T23:42:17.635Z] Login Succeeded [2022-01-19T23:42:17.635Z] ---> docker-login.sh ends [Pipeline] } [2022-01-19T23:42:17.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-19T23:42:18.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-19T23:42:18.105Z] ========================================================= [2022-01-19T23:42:18.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-19T23:42:18.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:42:18.466Z] + 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 . [2022-01-19T23:42:18.738Z] Sending build context to Docker daemon 5.53MB [2022-01-19T23:42:18.738Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T23:42:18.738Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-19T23:42:19.009Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-19T23:42:19.009Z] 9b3977197b4f: Pulling fs layer [2022-01-19T23:42:19.009Z] 1a89e8eeedd5: Pulling fs layer [2022-01-19T23:42:19.009Z] 94645a83ff95: Pulling fs layer [2022-01-19T23:42:19.009Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-19T23:42:19.009Z] 0c92f367c5e7: Pulling fs layer [2022-01-19T23:42:19.009Z] 4b8299f9d1f4: Pulling fs layer [2022-01-19T23:42:19.009Z] 9a6b49a46696: Pulling fs layer [2022-01-19T23:42:19.009Z] cf05db05a679: Pulling fs layer [2022-01-19T23:42:19.009Z] 3f3a8bcf1eab: Waiting [2022-01-19T23:42:19.009Z] 0c92f367c5e7: Waiting [2022-01-19T23:42:19.009Z] 4b8299f9d1f4: Waiting [2022-01-19T23:42:19.009Z] 9a6b49a46696: Waiting [2022-01-19T23:42:19.009Z] cf05db05a679: Waiting [2022-01-19T23:42:19.009Z] 94645a83ff95: Verifying Checksum [2022-01-19T23:42:19.009Z] 94645a83ff95: Download complete [2022-01-19T23:42:19.009Z] 1a89e8eeedd5: Verifying Checksum [2022-01-19T23:42:19.009Z] 1a89e8eeedd5: Download complete [2022-01-19T23:42:19.009Z] 0c92f367c5e7: Verifying Checksum [2022-01-19T23:42:19.009Z] 0c92f367c5e7: Download complete [2022-01-19T23:42:19.009Z] 4b8299f9d1f4: Download complete [2022-01-19T23:42:19.009Z] 9b3977197b4f: Download complete [2022-01-19T23:42:19.009Z] 9a6b49a46696: Verifying Checksum [2022-01-19T23:42:19.009Z] 9a6b49a46696: Download complete [2022-01-19T23:42:19.985Z] 9b3977197b4f: Pull complete [2022-01-19T23:42:20.257Z] 1a89e8eeedd5: Pull complete [2022-01-19T23:42:20.853Z] 94645a83ff95: Pull complete [2022-01-19T23:42:20.853Z] cf05db05a679: Verifying Checksum [2022-01-19T23:42:20.853Z] cf05db05a679: Download complete [2022-01-19T23:42:21.449Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-19T23:42:21.449Z] 3f3a8bcf1eab: Download complete [2022-01-19T23:42:24.642Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-01-19T23:42:24.642Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-01-19T23:42:24.642Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-19T23:42:26.577Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T23:42:26.577Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T23:42:26.577Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T23:42:26.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T23:42:26.862Z] $ docker stop --time=1 15c50e9ec77b970763e13b1cabe05ad4263901c77a249a0d05fe0e339dd68bd9 [2022-01-19T23:42:28.457Z] $ docker rm -f 15c50e9ec77b970763e13b1cabe05ad4263901c77a249a0d05fe0e339dd68bd9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T23:42:28.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T23:42:28.923Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-19T23:42:29.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T23:42:29.822Z] + ls -al . [2022-01-19T23:42:29.822Z] total 108 [2022-01-19T23:42:29.822Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 19 23:42 . [2022-01-19T23:42:29.822Z] drwxrwxr-x. 4 jenkins jenkins 108 Jan 19 23:41 .. [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 5451 Jan 19 23:41 Attribution.txt [2022-01-19T23:42:29.822Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 19 23:41 bin [2022-01-19T23:42:29.822Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 23:41 cmd [2022-01-19T23:42:29.822Z] -rw-r--r--. 1 jenkins jenkins 10 Jan 19 23:42 coverage.out [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 1580 Jan 19 23:41 Dockerfile [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 120 Jan 19 23:41 .dockerignore [2022-01-19T23:42:29.822Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 23:41 .git [2022-01-19T23:42:29.822Z] drwxrwxr-x. 2 jenkins jenkins 81 Jan 19 23:41 .github [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 343 Jan 19 23:41 .gitignore [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 2235 Jan 19 23:41 go.mod [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 30244 Jan 19 23:41 go.sum [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 23:41 GOVERNANCE.md [2022-01-19T23:42:29.822Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 23:41 internal [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 657 Jan 19 23:41 Jenkinsfile [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 23:41 LICENSE [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 1001 Jan 19 23:41 Makefile [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 617 Jan 19 23:41 OWNERS.md [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 8048 Jan 19 23:41 README.md [2022-01-19T23:42:29.822Z] drwx------. 3 jenkins jenkins 43 Jan 19 23:41 .semver [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 23:41 VERSION [2022-01-19T23:42:29.822Z] -rw-rw-r--. 1 jenkins jenkins 209 Jan 19 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:42:30.128Z] + 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 . [2022-01-19T23:42:30.128Z] Sending build context to Docker daemon 10.94MB [2022-01-19T23:42:30.128Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T23:42:30.128Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-19T23:42:30.128Z] ---> c22c70fb5013 [2022-01-19T23:42:30.128Z] Step 3/24 : ARG MAKE='make build' [2022-01-19T23:42:30.128Z] ---> Running in 4ed72d352aee [2022-01-19T23:42:30.389Z] Removing intermediate container 4ed72d352aee [2022-01-19T23:42:30.389Z] ---> 745c55a5b55b [2022-01-19T23:42:30.389Z] Step 4/24 : WORKDIR /device-gpio [2022-01-19T23:42:30.389Z] ---> Running in f222beb6f344 [2022-01-19T23:42:30.389Z] Removing intermediate container f222beb6f344 [2022-01-19T23:42:30.389Z] ---> ea5a70c100b8 [2022-01-19T23:42:30.389Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:42:30.389Z] ---> Running in 3cb6321841a7 [2022-01-19T23:42:30.652Z] Removing intermediate container 3cb6321841a7 [2022-01-19T23:42:30.652Z] ---> 9c044c4b351e [2022-01-19T23:42:30.652Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T23:42:30.652Z] ---> Running in 0eaf8b0455fd [2022-01-19T23:42:30.917Z] Removing intermediate container 0eaf8b0455fd [2022-01-19T23:42:30.917Z] ---> a51d80b0084a [2022-01-19T23:42:30.917Z] Step 7/24 : RUN apk add --update --no-cache make git [2022-01-19T23:42:31.180Z] ---> Running in 2393ec78e171 [2022-01-19T23:42:31.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-19T23:42:32.115Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-19T23:42:32.377Z] OK: 221 MiB in 52 packages [2022-01-19T23:42:32.637Z] Removing intermediate container 2393ec78e171 [2022-01-19T23:42:32.637Z] ---> e6f49133ea19 [2022-01-19T23:42:32.637Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-19T23:42:32.902Z] ---> ad5a0a7ce268 [2022-01-19T23:42:32.902Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T23:42:32.902Z] ---> Running in 89819560cc10 [2022-01-19T23:42:33.477Z] Removing intermediate container 89819560cc10 [2022-01-19T23:42:33.477Z] ---> 6b2d59508c8a [2022-01-19T23:42:33.477Z] Step 10/24 : COPY . . [2022-01-19T23:42:33.745Z] ---> 2b13e0fe045d [2022-01-19T23:42:33.745Z] Step 11/24 : RUN ${MAKE} [2022-01-19T23:42:33.745Z] ---> Running in 4e1774fe94bb [2022-01-19T23:42:33.817Z] 3f3a8bcf1eab: Pull complete [2022-01-19T23:42:33.817Z] 0c92f367c5e7: Pull complete [2022-01-19T23:42:33.817Z] 4b8299f9d1f4: Pull complete [2022-01-19T23:42:33.817Z] 9a6b49a46696: Pull complete [2022-01-19T23:42:34.006Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2022-01-19T23:42:38.109Z] cf05db05a679: Pull complete [2022-01-19T23:42:38.109Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-19T23:42:38.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-19T23:42:38.109Z] ---> 0ccda1f7e2ee [2022-01-19T23:42:38.109Z] Step 3/11 : ARG MAKE='make build' [2022-01-19T23:42:39.108Z] ---> Running in 0ca7c4f38950 [2022-01-19T23:42:39.717Z] Removing intermediate container 0ca7c4f38950 [2022-01-19T23:42:39.717Z] ---> 283ed860143f [2022-01-19T23:42:39.717Z] Step 4/11 : WORKDIR /device-gpio [2022-01-19T23:42:39.717Z] ---> Running in 4df27d0b6b54 [2022-01-19T23:42:39.990Z] Removing intermediate container 4df27d0b6b54 [2022-01-19T23:42:39.990Z] ---> a97261c3b7d8 [2022-01-19T23:42:39.990Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:42:40.262Z] ---> Running in cc58a8e23b5d [2022-01-19T23:42:40.536Z] Removing intermediate container cc58a8e23b5d [2022-01-19T23:42:40.536Z] ---> 5092d726d2cc [2022-01-19T23:42:40.536Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T23:42:40.807Z] ---> Running in bb531bfb6a46 [2022-01-19T23:42:42.772Z] Removing intermediate container bb531bfb6a46 [2022-01-19T23:42:42.772Z] ---> ef8384887cdd [2022-01-19T23:42:42.772Z] Step 7/11 : RUN apk add --update --no-cache make git [2022-01-19T23:42:42.772Z] ---> Running in b1db30ae4658 [2022-01-19T23:42:43.744Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T23:42:44.101Z] Removing intermediate container 4e1774fe94bb [2022-01-19T23:42:44.101Z] ---> 20015e4319c2 [2022-01-19T23:42:44.101Z] Step 12/24 : FROM alpine:3.14 [2022-01-19T23:42:44.101Z] 3.14: Pulling from library/alpine [2022-01-19T23:42:44.101Z] 97518928ae5f: Pulling fs layer [2022-01-19T23:42:44.101Z] 97518928ae5f: Verifying Checksum [2022-01-19T23:42:44.101Z] 97518928ae5f: Download complete [2022-01-19T23:42:44.101Z] 97518928ae5f: Pull complete [2022-01-19T23:42:44.101Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T23:42:44.101Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T23:42:44.101Z] ---> 0a97eee8041e [2022-01-19T23:42:44.101Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:42:44.101Z] ---> Running in 9142da0d7568 [2022-01-19T23:42:44.361Z] Removing intermediate container 9142da0d7568 [2022-01-19T23:42:44.361Z] ---> 99dd5b5c22c2 [2022-01-19T23:42:44.361Z] Step 14/24 : ENV APP_PORT=49994 [2022-01-19T23:42:44.361Z] ---> Running in 70d934a2b0a9 [2022-01-19T23:42:44.361Z] Removing intermediate container 70d934a2b0a9 [2022-01-19T23:42:44.361Z] ---> 231ed2feb3ae [2022-01-19T23:42:44.361Z] Step 15/24 : EXPOSE $APP_PORT [2022-01-19T23:42:44.361Z] ---> Running in c9c6f442fb87 [2022-01-19T23:42:44.361Z] Removing intermediate container c9c6f442fb87 [2022-01-19T23:42:44.361Z] ---> 610a29d60c04 [2022-01-19T23:42:44.361Z] Step 16/24 : WORKDIR / [2022-01-19T23:42:44.620Z] ---> Running in 70c830bdaf73 [2022-01-19T23:42:44.620Z] Removing intermediate container 70c830bdaf73 [2022-01-19T23:42:44.620Z] ---> 92ecb14a24e2 [2022-01-19T23:42:44.620Z] Step 17/24 : COPY --from=builder /device-gpio/LICENSE / [2022-01-19T23:42:44.620Z] ---> 3a25e92505fc [2022-01-19T23:42:44.620Z] Step 18/24 : COPY --from=builder /device-gpio/Attribution.txt / [2022-01-19T23:42:44.714Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T23:42:44.880Z] ---> d9b69acf73b3 [2022-01-19T23:42:44.880Z] Step 19/24 : COPY --from=builder /device-gpio/cmd/ / [2022-01-19T23:42:45.142Z] ---> ffcb93f9ede7 [2022-01-19T23:42:45.142Z] Step 20/24 : ENTRYPOINT ["/device-gpio"] [2022-01-19T23:42:45.142Z] ---> Running in ada836282631 [2022-01-19T23:42:45.403Z] Removing intermediate container ada836282631 [2022-01-19T23:42:45.403Z] ---> d6356b06b851 [2022-01-19T23:42:45.403Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T23:42:45.403Z] ---> Running in 7e03c123ff30 [2022-01-19T23:42:45.403Z] Removing intermediate container 7e03c123ff30 [2022-01-19T23:42:45.403Z] ---> 5ae378f4bb1e [2022-01-19T23:42:45.403Z] Step 22/24 : LABEL arch=amd64 [2022-01-19T23:42:45.403Z] ---> Running in 5cf9b3b1b224 [2022-01-19T23:42:45.403Z] Removing intermediate container 5cf9b3b1b224 [2022-01-19T23:42:45.403Z] ---> 50dd29de9978 [2022-01-19T23:42:45.403Z] Step 23/24 : LABEL git_sha=4edcf211a96cd0e61cab5319da0962f3c764ca0b [2022-01-19T23:42:45.403Z] ---> Running in d5f099b0935c [2022-01-19T23:42:45.663Z] Removing intermediate container d5f099b0935c [2022-01-19T23:42:45.663Z] ---> 93f2d609df67 [2022-01-19T23:42:45.663Z] Step 24/24 : LABEL version=0.0.0 [2022-01-19T23:42:45.663Z] ---> Running in 8ab0262ecb4e [2022-01-19T23:42:45.663Z] Removing intermediate container 8ab0262ecb4e [2022-01-19T23:42:45.663Z] ---> d53eee415514 [2022-01-19T23:42:45.663Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T23:42:45.663Z] Successfully built d53eee415514 [2022-01-19T23:42:45.663Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [2022-01-19T23:42:45.689Z] 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 [2022-01-19T23:42:46.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:42:46.072Z] [2022-01-19T23:42:46.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:42:46.287Z] Removing intermediate container b1db30ae4658 [2022-01-19T23:42:46.287Z] ---> 196776b6a40e [2022-01-19T23:42:46.287Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-19T23:42:46.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:42:46.380Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-19T23:42:46.380Z] b4d181a07f80: Pulling fs layer [2022-01-19T23:42:46.380Z] a1111a8f2ec3: Pulling fs layer [2022-01-19T23:42:46.380Z] ed53099fbce6: Pulling fs layer [2022-01-19T23:42:46.380Z] dc539afda2c1: Pulling fs layer [2022-01-19T23:42:46.380Z] 77bc0d833cb6: Pulling fs layer [2022-01-19T23:42:46.380Z] 9065ff56babe: Pulling fs layer [2022-01-19T23:42:46.380Z] d287ab97295c: Pulling fs layer [2022-01-19T23:42:46.380Z] dc539afda2c1: Waiting [2022-01-19T23:42:46.380Z] 77bc0d833cb6: Waiting [2022-01-19T23:42:46.380Z] 9065ff56babe: Waiting [2022-01-19T23:42:46.380Z] d287ab97295c: Waiting [2022-01-19T23:42:46.380Z] a1111a8f2ec3: Verifying Checksum [2022-01-19T23:42:46.380Z] a1111a8f2ec3: Download complete [2022-01-19T23:42:46.380Z] dc539afda2c1: Verifying Checksum [2022-01-19T23:42:46.380Z] dc539afda2c1: Download complete [2022-01-19T23:42:46.380Z] ed53099fbce6: Verifying Checksum [2022-01-19T23:42:46.380Z] ed53099fbce6: Download complete [2022-01-19T23:42:46.380Z] 9065ff56babe: Verifying Checksum [2022-01-19T23:42:46.380Z] 9065ff56babe: Download complete [2022-01-19T23:42:46.640Z] 77bc0d833cb6: Verifying Checksum [2022-01-19T23:42:46.640Z] 77bc0d833cb6: Download complete [2022-01-19T23:42:46.640Z] b4d181a07f80: Verifying Checksum [2022-01-19T23:42:46.640Z] b4d181a07f80: Download complete [2022-01-19T23:42:46.880Z] ---> 67b7ff006510 [2022-01-19T23:42:46.880Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T23:42:47.158Z] ---> Running in a8608a46efa2 [2022-01-19T23:42:47.217Z] d287ab97295c: Verifying Checksum [2022-01-19T23:42:47.217Z] d287ab97295c: Download complete [2022-01-19T23:42:47.791Z] b4d181a07f80: Pull complete [2022-01-19T23:42:48.050Z] a1111a8f2ec3: Pull complete [2022-01-19T23:42:48.623Z] ed53099fbce6: Pull complete [2022-01-19T23:42:48.623Z] dc539afda2c1: Pull complete [2022-01-19T23:42:48.890Z] 77bc0d833cb6: Pull complete [2022-01-19T23:42:49.154Z] 9065ff56babe: Pull complete [2022-01-19T23:42:54.494Z] d287ab97295c: Pull complete [2022-01-19T23:42:54.494Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-19T23:42:54.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:42:54.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-19T23:42:54.564Z] prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container [2022-01-19T23:42:54.597Z] $ 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 [2022-01-19T23:42:56.856Z] $ docker top bc11af280f5c907fb3904a4dcda650e9d11f124b64d1c34f36e336318fbdfe39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:42:57.260Z] ---> job-cost.sh [2022-01-19T23:42:57.260Z] lf-activate-venv: SKIPPING [2022-01-19T23:42:57.260Z] INFO: No Stack... [2022-01-19T23:42:57.519Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T23:42:57.779Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T23:42:58.078Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-15/archives/cost.csv [2022-01-19T23:42:58.078Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T23:42:58.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [2022-01-19T23:42:58.103Z] Resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] did not exist. Created. [2022-01-19T23:42:58.103Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T23:42:58.408Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-19T23:42:58.441Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T23:42:58.450Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T23:42:58.469Z] $ docker stop --time=1 bc11af280f5c907fb3904a4dcda650e9d11f124b64d1c34f36e336318fbdfe39 [2022-01-19T23:42:59.604Z] $ docker rm -f bc11af280f5c907fb3904a4dcda650e9d11f124b64d1c34f36e336318fbdfe39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-19T23:43:34.138Z] Removing intermediate container a8608a46efa2 [2022-01-19T23:43:34.139Z] ---> 9f21606fce0e [2022-01-19T23:43:34.139Z] Step 10/11 : COPY . . [2022-01-19T23:43:34.139Z] ---> 7bd03e1fe924 [2022-01-19T23:43:34.139Z] Step 11/11 : RUN ${MAKE} [2022-01-19T23:43:34.139Z] ---> Running in d94d5b3d2034 [2022-01-19T23:43:34.139Z] noop [2022-01-19T23:43:34.139Z] Removing intermediate container d94d5b3d2034 [2022-01-19T23:43:34.139Z] ---> 37b476da1a8b [2022-01-19T23:43:34.139Z] Successfully built 37b476da1a8b [2022-01-19T23:43:34.139Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:43:34.489Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T23:43:34.489Z] . [Pipeline] withDockerContainer [2022-01-19T23:43:34.747Z] prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2022-01-19T23:43:34.835Z] $ 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 [2022-01-19T23:43:36.366Z] $ docker top 36c6dcfd07e570438cb69c42185961f74bcc3877ce5ce5494a21cc68762b4cf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:43:37.326Z] + go version [2022-01-19T23:43:37.326Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-19T23:43:37.350Z] $ docker stop --time=1 36c6dcfd07e570438cb69c42185961f74bcc3877ce5ce5494a21cc68762b4cf0 [2022-01-19T23:43:39.086Z] $ docker rm -f 36c6dcfd07e570438cb69c42185961f74bcc3877ce5ce5494a21cc68762b4cf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:43:39.731Z] + docker inspect -f . ci-base-image-arm64 [2022-01-19T23:43:39.731Z] . [Pipeline] withDockerContainer [2022-01-19T23:43:39.977Z] prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2022-01-19T23:43:40.070Z] $ 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 [2022-01-19T23:43:41.548Z] $ docker top e88f1b96ac081eb024a3d856b3b15efe2f34b22f3d7c52b4a812321d1d167df0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-19T23:43:42.538Z] + make test [2022-01-19T23:43:42.538Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-19T23:43:43.977Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-01-19T23:44:31.023Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-01-19T23:44:31.023Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-01-19T23:44:31.023Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-19T23:44:49.343Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-19T23:44:49.343Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-19T23:44:49.343Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-19T23:44:49.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-19T23:44:49.378Z] $ docker stop --time=1 e88f1b96ac081eb024a3d856b3b15efe2f34b22f3d7c52b4a812321d1d167df0 [2022-01-19T23:44:51.154Z] $ docker rm -f e88f1b96ac081eb024a3d856b3b15efe2f34b22f3d7c52b4a812321d1d167df0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-19T23:44:51.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-19T23:44:51.970Z] Warning: overwriting stash ‘coverage-report’ [2022-01-19T23:44:52.423Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-19T23:44:52.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-19T23:44:53.161Z] + ls -al . [2022-01-19T23:44:53.161Z] total 132 [2022-01-19T23:44:53.161Z] drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 23:44 . [2022-01-19T23:44:53.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 23:41 .. [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 19 23:41 .dockerignore [2022-01-19T23:44:53.161Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 23:41 .git [2022-01-19T23:44:53.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 23:41 .github [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 19 23:41 .gitignore [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 5451 Jan 19 23:41 Attribution.txt [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 1580 Jan 19 23:41 Dockerfile [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 23:41 GOVERNANCE.md [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 19 23:41 Jenkinsfile [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 23:41 LICENSE [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 1001 Jan 19 23:41 Makefile [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 23:41 OWNERS.md [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 8048 Jan 19 23:41 README.md [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 23:41 VERSION [2022-01-19T23:44:53.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 23:41 bin [2022-01-19T23:44:53.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 23:41 cmd [2022-01-19T23:44:53.161Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 19 23:43 coverage.out [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 2235 Jan 19 23:41 go.mod [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 30244 Jan 19 23:41 go.sum [2022-01-19T23:44:53.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 23:41 internal [2022-01-19T23:44:53.161Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 19 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:44:53.502Z] + 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 . [2022-01-19T23:44:53.772Z] Sending build context to Docker daemon 5.531MB [2022-01-19T23:44:53.772Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-19T23:44:53.772Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-19T23:44:53.773Z] ---> 37b476da1a8b [2022-01-19T23:44:53.773Z] Step 3/24 : ARG MAKE='make build' [2022-01-19T23:44:54.043Z] ---> Running in 52b3d4161943 [2022-01-19T23:44:54.315Z] Removing intermediate container 52b3d4161943 [2022-01-19T23:44:54.315Z] ---> ff4e662a9df4 [2022-01-19T23:44:54.315Z] Step 4/24 : WORKDIR /device-gpio [2022-01-19T23:44:54.590Z] ---> Running in 17a678bc9f4e [2022-01-19T23:44:54.864Z] Removing intermediate container 17a678bc9f4e [2022-01-19T23:44:54.864Z] ---> aa159fa83da6 [2022-01-19T23:44:54.864Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:44:54.864Z] ---> Running in c1b0daf96184 [2022-01-19T23:44:55.136Z] Removing intermediate container c1b0daf96184 [2022-01-19T23:44:55.136Z] ---> 32c9529b1ded [2022-01-19T23:44:55.136Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-19T23:44:55.408Z] ---> Running in aca2ba92faef [2022-01-19T23:44:57.375Z] Removing intermediate container aca2ba92faef [2022-01-19T23:44:57.375Z] ---> e6b629c18673 [2022-01-19T23:44:57.375Z] Step 7/24 : RUN apk add --update --no-cache make git [2022-01-19T23:44:57.375Z] ---> Running in f283a142e456 [2022-01-19T23:44:58.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-19T23:44:58.942Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-19T23:44:59.918Z] OK: 220 MiB in 52 packages [2022-01-19T23:45:00.890Z] Removing intermediate container f283a142e456 [2022-01-19T23:45:00.890Z] ---> f6c10804a48f [2022-01-19T23:45:00.890Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-19T23:45:01.538Z] ---> f6f7a4feccae [2022-01-19T23:45:01.538Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-19T23:45:01.538Z] ---> Running in d114ff1e1318 [2022-01-19T23:45:04.230Z] Removing intermediate container d114ff1e1318 [2022-01-19T23:45:04.230Z] ---> c717195bb760 [2022-01-19T23:45:04.230Z] Step 10/24 : COPY . . [2022-01-19T23:45:04.826Z] ---> ba9837762f10 [2022-01-19T23:45:04.826Z] Step 11/24 : RUN ${MAKE} [2022-01-19T23:45:04.826Z] ---> Running in 4641fce08b5f [2022-01-19T23:45:05.805Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2022-01-19T23:45:44.813Z] Removing intermediate container 4641fce08b5f [2022-01-19T23:45:44.813Z] ---> 02419c5f26dc [2022-01-19T23:45:44.813Z] Step 12/24 : FROM alpine:3.14 [2022-01-19T23:45:44.813Z] 3.14: Pulling from library/alpine [2022-01-19T23:45:44.813Z] be307f383ecc: Pulling fs layer [2022-01-19T23:45:44.813Z] be307f383ecc: Verifying Checksum [2022-01-19T23:45:44.813Z] be307f383ecc: Download complete [2022-01-19T23:45:44.813Z] be307f383ecc: Pull complete [2022-01-19T23:45:44.813Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-19T23:45:44.813Z] Status: Downloaded newer image for alpine:3.14 [2022-01-19T23:45:44.813Z] ---> 5b8b7b635229 [2022-01-19T23:45:44.813Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-01-19T23:45:44.813Z] ---> Running in 86e8ee78014b [2022-01-19T23:45:44.813Z] Removing intermediate container 86e8ee78014b [2022-01-19T23:45:44.813Z] ---> 433a64991301 [2022-01-19T23:45:44.813Z] Step 14/24 : ENV APP_PORT=49994 [2022-01-19T23:45:44.813Z] ---> Running in 95081ba55078 [2022-01-19T23:45:44.813Z] Removing intermediate container 95081ba55078 [2022-01-19T23:45:44.813Z] ---> 3e77f447e23e [2022-01-19T23:45:44.813Z] Step 15/24 : EXPOSE $APP_PORT [2022-01-19T23:45:44.813Z] ---> Running in c77c4bb39033 [2022-01-19T23:45:44.813Z] Removing intermediate container c77c4bb39033 [2022-01-19T23:45:44.813Z] ---> 474d32c37063 [2022-01-19T23:45:44.813Z] Step 16/24 : WORKDIR / [2022-01-19T23:45:44.813Z] ---> Running in 81acee2ac207 [2022-01-19T23:45:44.813Z] Removing intermediate container 81acee2ac207 [2022-01-19T23:45:44.813Z] ---> 3951e7be2177 [2022-01-19T23:45:44.813Z] Step 17/24 : COPY --from=builder /device-gpio/LICENSE / [2022-01-19T23:45:44.813Z] ---> 54136d26157a [2022-01-19T23:45:44.813Z] Step 18/24 : COPY --from=builder /device-gpio/Attribution.txt / [2022-01-19T23:45:44.813Z] ---> 8390ee9d09a5 [2022-01-19T23:45:44.813Z] Step 19/24 : COPY --from=builder /device-gpio/cmd/ / [2022-01-19T23:45:45.778Z] ---> 866dd8e28078 [2022-01-19T23:45:45.778Z] Step 20/24 : ENTRYPOINT ["/device-gpio"] [2022-01-19T23:45:45.778Z] ---> Running in 3dc90689c53b [2022-01-19T23:45:46.054Z] Removing intermediate container 3dc90689c53b [2022-01-19T23:45:46.054Z] ---> eef3ed66a7d1 [2022-01-19T23:45:46.054Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-19T23:45:46.054Z] ---> Running in 0487928190db [2022-01-19T23:45:46.644Z] Removing intermediate container 0487928190db [2022-01-19T23:45:46.644Z] ---> 0e9051795965 [2022-01-19T23:45:46.644Z] Step 22/24 : LABEL arch=arm64 [2022-01-19T23:45:46.644Z] ---> Running in 71eef7a277ba [2022-01-19T23:45:46.913Z] Removing intermediate container 71eef7a277ba [2022-01-19T23:45:46.913Z] ---> db542c761a46 [2022-01-19T23:45:46.913Z] Step 23/24 : LABEL git_sha=4edcf211a96cd0e61cab5319da0962f3c764ca0b [2022-01-19T23:45:46.913Z] ---> Running in 20b6f66edb52 [2022-01-19T23:45:47.182Z] Removing intermediate container 20b6f66edb52 [2022-01-19T23:45:47.182Z] ---> e15dac115ee9 [2022-01-19T23:45:47.182Z] Step 24/24 : LABEL version=0.0.0 [2022-01-19T23:45:47.450Z] ---> Running in 337798e168db [2022-01-19T23:45:47.718Z] Removing intermediate container 337798e168db [2022-01-19T23:45:47.718Z] ---> 8db7572e5ba7 [2022-01-19T23:45:47.718Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-19T23:45:47.718Z] Successfully built 8db7572e5ba7 [2022-01-19T23:45:47.718Z] 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 [2022-01-19T23:45:48.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:45:48.129Z] [2022-01-19T23:45:48.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:45:48.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:45:48.461Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-19T23:45:48.461Z] 448f6bf000e3: Pulling fs layer [2022-01-19T23:45:48.461Z] f757da607395: Pulling fs layer [2022-01-19T23:45:48.461Z] 05883995daec: Pulling fs layer [2022-01-19T23:45:48.461Z] 8603b9c90790: Pulling fs layer [2022-01-19T23:45:48.462Z] 1560dd03e051: Pulling fs layer [2022-01-19T23:45:48.462Z] 27f5ce0e4adf: Pulling fs layer [2022-01-19T23:45:48.462Z] c2d8d7efcc4b: Pulling fs layer [2022-01-19T23:45:48.462Z] 8603b9c90790: Waiting [2022-01-19T23:45:48.462Z] 1560dd03e051: Waiting [2022-01-19T23:45:48.462Z] 27f5ce0e4adf: Waiting [2022-01-19T23:45:48.462Z] c2d8d7efcc4b: Waiting [2022-01-19T23:45:48.732Z] f757da607395: Verifying Checksum [2022-01-19T23:45:48.732Z] f757da607395: Download complete [2022-01-19T23:45:48.732Z] 8603b9c90790: Verifying Checksum [2022-01-19T23:45:48.732Z] 8603b9c90790: Download complete [2022-01-19T23:45:48.732Z] 1560dd03e051: Verifying Checksum [2022-01-19T23:45:48.732Z] 1560dd03e051: Download complete [2022-01-19T23:45:48.732Z] 27f5ce0e4adf: Verifying Checksum [2022-01-19T23:45:48.732Z] 27f5ce0e4adf: Download complete [2022-01-19T23:45:48.732Z] 05883995daec: Verifying Checksum [2022-01-19T23:45:48.732Z] 05883995daec: Download complete [2022-01-19T23:45:49.003Z] 448f6bf000e3: Verifying Checksum [2022-01-19T23:45:49.003Z] 448f6bf000e3: Download complete [2022-01-19T23:45:51.606Z] c2d8d7efcc4b: Verifying Checksum [2022-01-19T23:45:51.606Z] c2d8d7efcc4b: Download complete [2022-01-19T23:45:52.204Z] 448f6bf000e3: Pull complete [2022-01-19T23:45:52.798Z] f757da607395: Pull complete [2022-01-19T23:45:54.231Z] 05883995daec: Pull complete [2022-01-19T23:45:54.501Z] 8603b9c90790: Pull complete [2022-01-19T23:45:55.481Z] 1560dd03e051: Pull complete [2022-01-19T23:45:55.751Z] 27f5ce0e4adf: Pull complete [2022-01-19T23:46:10.802Z] c2d8d7efcc4b: Pull complete [2022-01-19T23:46:10.802Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-19T23:46:10.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-19T23:46:10.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-19T23:46:11.018Z] prd-ubuntu18.04-docker-arm64-4c-16g-2154 does not seem to be running inside a container [2022-01-19T23:46:11.088Z] $ 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 [2022-01-19T23:46:13.961Z] $ docker top e4041553dfaca5eb2f7e7cc4a04b45290aaa8f906a99ae9cb7af42e5fed268ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:14.849Z] ---> job-cost.sh [2022-01-19T23:46:14.849Z] lf-activate-venv: SKIPPING [2022-01-19T23:46:14.849Z] INFO: No Stack... [2022-01-19T23:46:15.117Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-19T23:46:15.717Z] INFO: Archiving Costs [Pipeline] sh [2022-01-19T23:46:16.372Z] + cat /w/workspace/device-gpio/5/archives/cost.csv [2022-01-19T23:46:16.372Z] + cut -d, -f6 [Pipeline] lock [2022-01-19T23:46:16.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [2022-01-19T23:46:16.439Z] Resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] did not exist. Created. [2022-01-19T23:46:16.439Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-19T23:46:17.108Z] /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 [2022-01-19T23:46:17.772Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-19T23:46:17.791Z] Warning: overwriting stash ‘stack-cost’ [2022-01-19T23:46:17.825Z] Stashed 1 file(s) [Pipeline] } [2022-01-19T23:46:17.832Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-15-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-19T23:46:17.849Z] $ docker stop --time=1 e4041553dfaca5eb2f7e7cc4a04b45290aaa8f906a99ae9cb7af42e5fed268ea [2022-01-19T23:46:19.349Z] $ 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 [2022-01-19T23:46:19.807Z] provisioning config files... [2022-01-19T23:46:19.815Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config6103673975463083027tmp [Pipeline] { [Pipeline] sh [2022-01-19T23:46:20.120Z] + set +x [2022-01-19T23:46:20.120Z] + bash -s -- [2022-01-19T23:46:20.120Z] + curl -s https://codecov.io/bash [2022-01-19T23:46:20.120Z] [2022-01-19T23:46:20.120Z] _____ _ [2022-01-19T23:46:20.120Z] / ____| | | [2022-01-19T23:46:20.120Z] | | ___ __| | ___ ___ _____ __ [2022-01-19T23:46:20.120Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-19T23:46:20.120Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-19T23:46:20.120Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-19T23:46:20.120Z] Bash-1.0.6 [2022-01-19T23:46:20.120Z] [2022-01-19T23:46:20.120Z] [2022-01-19T23:46:20.120Z] ==> git version 2.24.4 found [2022-01-19T23:46:20.120Z] ==> 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 [2022-01-19T23:46:20.120Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-19T23:46:20.120Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-19T23:46:20.120Z] ==> Jenkins CI detected. [2022-01-19T23:46:20.120Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-15 [2022-01-19T23:46:20.120Z] project root: . [2022-01-19T23:46:20.120Z] --> token set from env [2022-01-19T23:46:20.120Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-19T23:46:20.120Z] ==> Running gcov in . (disable via -X gcov) [2022-01-19T23:46:20.120Z] ==> Python coveragepy not found [2022-01-19T23:46:20.120Z] ==> Searching for coverage reports in: [2022-01-19T23:46:20.120Z] + . [2022-01-19T23:46:20.120Z] -> Found 1 reports [2022-01-19T23:46:20.120Z] ==> Detecting git/mercurial file structure [2022-01-19T23:46:20.120Z] ==> Reading reports [2022-01-19T23:46:20.120Z] + ./coverage.out bytes=10 [2022-01-19T23:46:20.120Z] ==> Appending adjustments [2022-01-19T23:46:20.120Z] https://docs.codecov.io/docs/fixing-reports [2022-01-19T23:46:20.120Z] + Found adjustments [2022-01-19T23:46:20.380Z] ==> Gzipping contents [2022-01-19T23:46:20.380Z] 4.0K /tmp/codecov.HUxQv3.gz [2022-01-19T23:46:20.380Z] ==> Uploading reports [2022-01-19T23:46:20.380Z] url: https://codecov.io [2022-01-19T23:46:20.380Z] 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= [2022-01-19T23:46:20.380Z] -> Pinging Codecov [2022-01-19T23:46:20.380Z] 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= [2022-01-19T23:46:20.639Z] -> Uploading to [2022-01-19T23:46:20.639Z] 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 [2022-01-19T23:46:20.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-19T23:46:20.639Z] Dload Upload Total Spent Left Speed [2022-01-19T23:46:20.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 570 0 0 100 570 0 1753 --:--:-- --:--:-- --:--:-- 1759 [2022-01-19T23:46:20.900Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/4edcf211a96cd0e61cab5319da0962f3c764ca0b [Pipeline] } [2022-01-19T23:46:20.971Z] 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 [2022-01-19T23:46:21.842Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-15/archives ']' [2022-01-19T23:46:21.843Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives [2022-01-19T23:46:21.843Z] total 8 [2022-01-19T23:46:21.843Z] drwxr-xr-x. 3 root root 34 Jan 19 23:42 . [2022-01-19T23:46:21.843Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:42 .. [2022-01-19T23:46:21.843Z] drwxr-xr-x. 2 root root 6 Jan 19 23:42 cost [2022-01-19T23:46:21.843Z] -rw-r--r--. 1 root root 81 Jan 19 23:42 cost.csv [2022-01-19T23:46:21.843Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-15/archives [2022-01-19T23:46:21.843Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-15/archives [2022-01-19T23:46:21.843Z] total 8 [2022-01-19T23:46:21.843Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 23:42 . [2022-01-19T23:46:21.843Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 23:42 .. [2022-01-19T23:46:21.843Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 23:42 cost [2022-01-19T23:46:21.843Z] -rw-r--r--. 1 jenkins jenkins 81 Jan 19 23:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:22.187Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:22.823Z] ---> package-listing.sh [2022-01-19T23:46:22.823Z] ++ facter osfamily [2022-01-19T23:46:22.823Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-19T23:46:22.823Z] + OS_FAMILY=redhat [2022-01-19T23:46:22.823Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-15 [2022-01-19T23:46:22.823Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-19T23:46:22.823Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-19T23:46:22.823Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-19T23:46:22.823Z] + PACKAGES=/tmp/packages_start.txt [2022-01-19T23:46:22.823Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' [2022-01-19T23:46:22.823Z] + PACKAGES=/tmp/packages_end.txt [2022-01-19T23:46:22.823Z] + case "${OS_FAMILY}" in [2022-01-19T23:46:22.823Z] + sort [2022-01-19T23:46:22.823Z] + rpm -qa [2022-01-19T23:46:23.763Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-19T23:46:23.763Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-19T23:46:23.763Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-19T23:46:23.763Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-15 ']' [2022-01-19T23:46:23.763Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ [2022-01-19T23:46:23.763Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-15/archives/ [Pipeline] echo [2022-01-19T23:46:23.777Z] 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 [2022-01-19T23:46:24.061Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-19T23:46:24.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-19T23:46:24.622Z] . [Pipeline] withDockerContainer [2022-01-19T23:46:24.683Z] prd-centos7-docker-4c-2g-2156 does not seem to be running inside a container [2022-01-19T23:46:24.718Z] $ 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 [2022-01-19T23:46:24.910Z] $ docker top 4aee2b6a82361e660479318db9ae6fe41ac1fcced4edb924bcdcb6939f9ec152 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-19T23:46:25.273Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-19T23:46:25.567Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-19T23:46:25.860Z] + ls /var/log/sa-host [2022-01-19T23:46:25.860Z] + sadf -c /var/log/sa-host/sa17 [2022-01-19T23:46:25.860Z] file_magic: OK [2022-01-19T23:46:25.860Z] HZ: Using current value: 100 [2022-01-19T23:46:25.860Z] file_header: OK [2022-01-19T23:46:25.860Z] 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 [2022-01-19T23:46:25.860Z] Statistics: [2022-01-19T23:46:25.860Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T23:46:25.860Z] File successfully converted to sysstat format version 12.0.3 [2022-01-19T23:46:25.860Z] + sadf -c /var/log/sa-host/sa19 [2022-01-19T23:46:25.860Z] file_magic: OK [2022-01-19T23:46:25.860Z] HZ: Using current value: 100 [2022-01-19T23:46:25.860Z] file_header: OK [2022-01-19T23:46:25.860Z] 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 [2022-01-19T23:46:25.860Z] Statistics: [2022-01-19T23:46:25.860Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-19T23:46:25.860Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-19T23:46:25.969Z] provisioning config files... [2022-01-19T23:46:25.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-15@tmp/config5050168219374713552tmp [Pipeline] { [Pipeline] echo [2022-01-19T23:46:25.997Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:26.285Z] ---> create-netrc.sh [Pipeline] } [2022-01-19T23:46:26.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:26.633Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-19T23:46:26.644Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:26.936Z] ---> sudo-logs.sh [2022-01-19T23:46:26.936Z] Archiving 'sudo' log.. [2022-01-19T23:46:26.936Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2156.novalocal: Name or service not known [2022-01-19T23:46:26.936Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2156.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-19T23:46:26.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:27.250Z] ---> job-cost.sh [2022-01-19T23:46:27.250Z] lf-activate-venv: SKIPPING [2022-01-19T23:46:27.250Z] DEBUG: total: 0.05999999865889549 [2022-01-19T23:46:27.250Z] INFO: Retrieving Stack Cost... [2022-01-19T23:46:27.823Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-19T23:46:28.087Z] INFO: Archiving Costs [Pipeline] echo [2022-01-19T23:46:28.101Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-19T23:46:28.404Z] ---> logs-deploy.sh [2022-01-19T23:46:28.404Z] lf-activate-venv: SKIPPING [2022-01-19T23:46:28.404Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-15/5 [2022-01-19T23:46:28.404Z] INFO: archiving workspace using pattern(s): [2022-01-19T23:46:28.977Z] Archives upload complete. [2022-01-19T23:46:29.245Z] INFO: archiving logs to Nexus