Pull request #24 opened 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 jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f+156d9434ec3cf788140140116a7d431d8c0fe3ea (4baf8623642841816ad95324a4b9ec3634d78cda) 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-ssh11623479528497909395.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9912352999562356433.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-24/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11797509923855504733.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13434564532101959657.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8248851971292669100.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-24/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-24/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6997818221659553449.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11745 in /w/workspace/edgexfoundry_device-gpio_PR-24 [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-24 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f Merge succeeded, producing 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f Checking out Revision 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f (PR-24) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 Commit message: "fix: remove set of direction of a get GPIO or read" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T03:15:10.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T03:15:10.526Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T03:15:10.627Z] ========================================================= [2022-04-10T03:15:10.627Z] EdgeX Global Pipelines Version Info [2022-04-10T03:15:10.627Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:15:11.424Z] ------------------- [2022-04-10T03:15:11.425Z] stable info: [2022-04-10T03:15:11.425Z] ------------------- [2022-04-10T03:15:11.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T03:15:11.425Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T03:15:11.425Z] Message: update stable to v1.0.221 [2022-04-10T03:15:11.995Z] ------------------- [2022-04-10T03:15:11.995Z] experimental info: [2022-04-10T03:15:11.995Z] ------------------- [2022-04-10T03:15:11.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T03:15:11.995Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T03:15:11.995Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T03:15:12.303Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-10T03:15:12.350Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-10T03:15:12.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T03:15:12.438Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T03:15:12.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T03:15:12.526Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T03:15:12.569Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T03:15:12.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T03:15:12.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T03:15:12.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T03:15:12.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T03:15:12.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-10T03:15:12.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T03:15:12.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T03:15:12.907Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T03:15:12.948Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T03:15:12.996Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T03:15:13.041Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T03:15:13.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T03:15:13.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T03:15:13.170Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T03:15:13.210Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T03:15:13.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T03:15:13.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T03:15:13.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T03:15:13.385Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T03:15:13.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo [2022-04-10T03:15:13.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo [2022-04-10T03:15:13.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo [2022-04-10T03:15:13.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo [2022-04-10T03:15:13.608Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 784cbdb [Pipeline] echo [2022-04-10T03:15:13.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T03:15:13.785Z] provisioning config files... [2022-04-10T03:15:13.801Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config8914123341078403743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:15:14.192Z] ---> docker-login.sh [2022-04-10T03:15:14.192Z] nexus3.edgexfoundry.org:10001 [2022-04-10T03:15:14.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:14.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:14.453Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:14.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:14.453Z] [2022-04-10T03:15:14.453Z] Login Succeeded [2022-04-10T03:15:14.453Z] nexus3.edgexfoundry.org:10002 [2022-04-10T03:15:14.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:14.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:14.717Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:14.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:14.717Z] [2022-04-10T03:15:14.717Z] Login Succeeded [2022-04-10T03:15:14.717Z] nexus3.edgexfoundry.org:10003 [2022-04-10T03:15:14.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:14.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:14.717Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:14.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:14.717Z] [2022-04-10T03:15:14.717Z] Login Succeeded [2022-04-10T03:15:14.980Z] nexus3.edgexfoundry.org:10004 [2022-04-10T03:15:14.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:14.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:14.980Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:14.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:14.980Z] [2022-04-10T03:15:14.980Z] Login Succeeded [2022-04-10T03:15:14.980Z] docker.io [2022-04-10T03:15:14.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:15.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:15.556Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:15.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:15.556Z] [2022-04-10T03:15:15.556Z] Login Succeeded [2022-04-10T03:15:15.556Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T03:15:15.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T03:15:16.246Z] + git rev-list -1 --merges 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f~1..784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo [2022-04-10T03:15:16.384Z] -----------> git rev-list -1 --merges 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f~1..784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [false] [Pipeline] sh [2022-04-10T03:15:16.698Z] + git log --format=format:%s -1 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo [2022-04-10T03:15:16.741Z] ========================================================= [2022-04-10T03:15:16.741Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T03:15:16.741Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T03:15:17.195Z] + git log --format=format:%s -1 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] echo [2022-04-10T03:15:17.228Z] [semverPrep] GIT_COMMIT: 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f, Commit Message: fix: remove set of direction of a get GPIO or read [Pipeline] echo [2022-04-10T03:15:17.257Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T03:15:17.765Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T03:15:17.765Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T03:15:17.765Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T03:15:17.765Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T03:15:17.765Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T03:15:17.765Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T03:15:17.765Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:15:18.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T03:15:18.174Z] [2022-04-10T03:15:18.174Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:15:18.527Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T03:15:18.527Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T03:15:18.527Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T03:15:18.527Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T03:15:18.527Z] 4c7163046ea9: Pulling fs layer [2022-04-10T03:15:18.527Z] 0c2d73faf560: Pulling fs layer [2022-04-10T03:15:18.527Z] 0c2d73faf560: Waiting [2022-04-10T03:15:18.527Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T03:15:18.527Z] 3e5f54012d9b: Download complete [2022-04-10T03:15:18.527Z] a0d0a0d46f8b: Download complete [2022-04-10T03:15:18.527Z] 0c2d73faf560: Verifying Checksum [2022-04-10T03:15:18.527Z] 0c2d73faf560: Download complete [2022-04-10T03:15:18.527Z] 4c7163046ea9: Verifying Checksum [2022-04-10T03:15:18.527Z] 4c7163046ea9: Download complete [2022-04-10T03:15:18.789Z] a0d0a0d46f8b: Pull complete [2022-04-10T03:15:18.789Z] 3e5f54012d9b: Pull complete [2022-04-10T03:15:19.050Z] 4c7163046ea9: Pull complete [2022-04-10T03:15:19.313Z] 0c2d73faf560: Pull complete [2022-04-10T03:15:19.313Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T03:15:19.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T03:15:19.313Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T03:15:19.416Z] prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container [2022-04-10T03:15:19.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T03:15:20.128Z] $ docker top c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T03:15:20.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T03:15:20.343Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T03:15:20.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T03:15:20.489Z] $ docker exec c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent [2022-04-10T03:15:20.614Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgJbIFh/agent.14 [2022-04-10T03:15:20.614Z] SSH_AGENT_PID=20 [2022-04-10T03:15:20.624Z] Running ssh-add (command line suppressed) [2022-04-10T03:15:20.746Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3138860899527705465.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3138860899527705465.key) [2022-04-10T03:15:20.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T03:15:21.115Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T03:15:21.145Z] $ docker exec --env ******** --env ******** c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent -k [2022-04-10T03:15:21.254Z] unset SSH_AUTH_SOCK; [2022-04-10T03:15:21.255Z] unset SSH_AGENT_PID; [2022-04-10T03:15:21.255Z] echo Agent pid 20 killed; [2022-04-10T03:15:21.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T03:15:21.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T03:15:21.345Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T03:15:21.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T03:15:21.488Z] $ docker exec c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent [2022-04-10T03:15:21.630Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDbINja/agent.53 [2022-04-10T03:15:21.630Z] SSH_AGENT_PID=59 [2022-04-10T03:15:21.636Z] Running ssh-add (command line suppressed) [2022-04-10T03:15:21.764Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3314036793809239658.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_3314036793809239658.key) [2022-04-10T03:15:21.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T03:15:22.111Z] + git semver init [2022-04-10T03:15:22.111Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T03:15:22.111Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.git [2022-04-10T03:15:22.111Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-24 [2022-04-10T03:15:22.111Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T03:15:22.111Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T03:15:22.111Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T03:15:22.111Z] # $SEMVER_BRANCH = PR-24 [2022-04-10T03:15:22.111Z] # $SEMVER_TEMP = /tmp/semver-161836297 [2022-04-10T03:15:22.111Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-10T03:15:23.056Z] # '/tmp/semver-161836297' -> '/w/workspace/edgexfoundry_device-gpio_PR-24/.semver' [2022-04-10T03:15:23.056Z] # -> Force: false [2022-04-10T03:15:23.056Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.semver [Pipeline] } [2022-04-10T03:15:23.087Z] $ docker exec --env ******** --env ******** c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 ssh-agent -k [2022-04-10T03:15:23.212Z] unset SSH_AUTH_SOCK; [2022-04-10T03:15:23.212Z] unset SSH_AGENT_PID; [2022-04-10T03:15:23.212Z] echo Agent pid 59 killed; [2022-04-10T03:15:23.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T03:15:23.643Z] + git semver [Pipeline] } [2022-04-10T03:15:23.679Z] $ docker stop --time=1 c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 [2022-04-10T03:15:25.035Z] $ docker rm -f c574696f2f7703a8f136904e6074049be39ffcc282ba8848f241ec1277135009 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T03:15:25.450Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T03:15:25.770Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T03:15:25.790Z] [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-04-10T03:15:26.422Z] provisioning config files... [2022-04-10T03:15:26.437Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config4719202250522312287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:15:26.796Z] ---> docker-login.sh [2022-04-10T03:15:26.796Z] nexus3.edgexfoundry.org:10001 [2022-04-10T03:15:26.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:26.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:26.796Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:26.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:26.796Z] [2022-04-10T03:15:26.796Z] Login Succeeded [2022-04-10T03:15:26.796Z] nexus3.edgexfoundry.org:10002 [2022-04-10T03:15:26.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:27.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:27.056Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:27.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:27.056Z] [2022-04-10T03:15:27.056Z] Login Succeeded [2022-04-10T03:15:27.056Z] nexus3.edgexfoundry.org:10003 [2022-04-10T03:15:27.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:27.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:27.056Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:27.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:27.056Z] [2022-04-10T03:15:27.056Z] Login Succeeded [2022-04-10T03:15:27.056Z] nexus3.edgexfoundry.org:10004 [2022-04-10T03:15:27.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:27.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:27.317Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:27.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:27.317Z] [2022-04-10T03:15:27.317Z] Login Succeeded [2022-04-10T03:15:27.317Z] docker.io [2022-04-10T03:15:27.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:15:27.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:15:27.892Z] Configure a credential helper to remove this warning. See [2022-04-10T03:15:27.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:15:27.892Z] [2022-04-10T03:15:27.892Z] Login Succeeded [2022-04-10T03:15:27.892Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T03:15:27.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T03:15:28.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T03:15:28.161Z] ========================================================= [2022-04-10T03:15:28.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T03:15:28.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:15:28.573Z] + 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-04-10T03:15:28.573Z] Sending build context to Docker daemon 11.09MB [2022-04-10T03:15:28.573Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T03:15:28.573Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T03:15:28.573Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T03:15:28.573Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T03:15:28.573Z] 666ba61612fd: Pulling fs layer [2022-04-10T03:15:28.573Z] 8ed8ca486205: Pulling fs layer [2022-04-10T03:15:28.573Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T03:15:28.573Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T03:15:28.573Z] 640e595b4fbd: Pulling fs layer [2022-04-10T03:15:28.573Z] 763cafe07f6e: Pulling fs layer [2022-04-10T03:15:28.573Z] 0c0b528cf693: Pulling fs layer [2022-04-10T03:15:28.573Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T03:15:28.573Z] 763cafe07f6e: Waiting [2022-04-10T03:15:28.573Z] 22a0e8bec74d: Waiting [2022-04-10T03:15:28.573Z] 640e595b4fbd: Waiting [2022-04-10T03:15:28.573Z] 10935f4eaf8b: Waiting [2022-04-10T03:15:28.573Z] 4fe6c5a15a65: Waiting [2022-04-10T03:15:28.840Z] 8ed8ca486205: Download complete [2022-04-10T03:15:28.840Z] 666ba61612fd: Download complete [2022-04-10T03:15:28.840Z] 22a0e8bec74d: Download complete [2022-04-10T03:15:28.840Z] 59bf1c3509f3: Download complete [2022-04-10T03:15:28.840Z] 640e595b4fbd: Verifying Checksum [2022-04-10T03:15:28.840Z] 640e595b4fbd: Download complete [2022-04-10T03:15:28.840Z] 763cafe07f6e: Verifying Checksum [2022-04-10T03:15:28.840Z] 763cafe07f6e: Download complete [2022-04-10T03:15:28.840Z] 0c0b528cf693: Verifying Checksum [2022-04-10T03:15:28.840Z] 0c0b528cf693: Download complete [2022-04-10T03:15:28.840Z] 59bf1c3509f3: Pull complete [2022-04-10T03:15:29.103Z] 666ba61612fd: Pull complete [2022-04-10T03:15:29.103Z] 8ed8ca486205: Pull complete [2022-04-10T03:15:29.364Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T03:15:29.364Z] 10935f4eaf8b: Download complete [2022-04-10T03:15:29.625Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T03:15:29.625Z] 4fe6c5a15a65: Download complete [2022-04-10T03:15:33.822Z] 4fe6c5a15a65: Pull complete [2022-04-10T03:15:33.822Z] 22a0e8bec74d: Pull complete [2022-04-10T03:15:33.822Z] 640e595b4fbd: Pull complete [2022-04-10T03:15:33.822Z] 763cafe07f6e: Pull complete [2022-04-10T03:15:33.822Z] 0c0b528cf693: Pull complete [2022-04-10T03:15:36.356Z] 10935f4eaf8b: Pull complete [2022-04-10T03:15:36.357Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T03:15:36.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T03:15:36.357Z] ---> 99d49a6021b9 [2022-04-10T03:15:36.357Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T03:15:37.742Z] ---> Running in 25469e248c75 [2022-04-10T03:15:37.742Z] Removing intermediate container 25469e248c75 [2022-04-10T03:15:37.742Z] ---> cbba4ee669dd [2022-04-10T03:15:37.742Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T03:15:37.742Z] ---> Running in 6a8ef6abff9c [2022-04-10T03:15:37.742Z] Removing intermediate container 6a8ef6abff9c [2022-04-10T03:15:37.742Z] ---> 063d6ff07625 [2022-04-10T03:15:37.742Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T03:15:37.742Z] ---> Running in bd5887683173 [2022-04-10T03:15:37.742Z] Removing intermediate container bd5887683173 [2022-04-10T03:15:37.742Z] ---> 7fb7626d1105 [2022-04-10T03:15:37.742Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T03:15:37.742Z] ---> Running in d23720772c43 [2022-04-10T03:15:38.685Z] Removing intermediate container d23720772c43 [2022-04-10T03:15:38.686Z] ---> 281333fb8338 [2022-04-10T03:15:38.686Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T03:15:38.686Z] ---> Running in afabd2e7fe25 [2022-04-10T03:15:38.686Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T03:15:39.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T03:15:40.203Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T03:15:40.203Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T03:15:40.203Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T03:15:40.466Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T03:15:40.466Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T03:15:40.466Z] OK: 224 MiB in 56 packages [2022-04-10T03:15:41.041Z] Removing intermediate container afabd2e7fe25 [2022-04-10T03:15:41.041Z] ---> ebb07b7e867e [2022-04-10T03:15:41.041Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T03:15:41.042Z] ---> 45c498633787 [2022-04-10T03:15:41.042Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T03:15:41.042Z] ---> Running in a4974ac8b63b [2022-04-10T03:15:41.236Z] Still waiting to schedule task [2022-04-10T03:15:41.236Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-10T03:16:13.176Z] Removing intermediate container a4974ac8b63b [2022-04-10T03:16:13.176Z] ---> 16ef0fb5be61 [2022-04-10T03:16:13.176Z] Step 10/11 : COPY . . [2022-04-10T03:16:13.176Z] ---> d0996be66601 [2022-04-10T03:16:13.176Z] Step 11/11 : RUN ${MAKE} [2022-04-10T03:16:13.176Z] ---> Running in c4cce86a6ffa [2022-04-10T03:16:13.176Z] Removing intermediate container c4cce86a6ffa [2022-04-10T03:16:13.176Z] ---> 5d14f96cde7c [2022-04-10T03:16:13.176Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T03:16:13.176Z] Successfully built 5d14f96cde7c [2022-04-10T03:16:13.176Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:16:13.533Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T03:16:13.534Z] . [Pipeline] withDockerContainer [2022-04-10T03:16:13.623Z] prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container [2022-04-10T03:16:13.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 ******** ci-base-image-x86_64 cat [2022-04-10T03:16:14.030Z] $ docker top 8b12a1bd9a3a0eb8abc2dd4f878bf289cae1f25725731353fa6d8aac0e552b3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T03:16:14.432Z] + go version [2022-04-10T03:16:14.432Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T03:16:14.465Z] $ docker stop --time=1 8b12a1bd9a3a0eb8abc2dd4f878bf289cae1f25725731353fa6d8aac0e552b3e [2022-04-10T03:16:15.734Z] $ docker rm -f 8b12a1bd9a3a0eb8abc2dd4f878bf289cae1f25725731353fa6d8aac0e552b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:16:16.401Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T03:16:16.401Z] . [Pipeline] withDockerContainer [2022-04-10T03:16:16.491Z] prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container [2022-04-10T03:16:16.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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 ******** ci-base-image-x86_64 cat [2022-04-10T03:16:16.934Z] $ docker top 14341512fd26d3605fca93abe47b3cbf82d8a40985d89bf4b7ef2f516c5646af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T03:16:17.386Z] + make test [2022-04-10T03:16:17.386Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T03:16:17.647Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T03:16:24.277Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T03:16:24.277Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T03:16:28.535Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T03:16:31.079Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T03:16:31.079Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T03:16:31.079Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T03:16:31.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T03:16:31.403Z] $ docker stop --time=1 14341512fd26d3605fca93abe47b3cbf82d8a40985d89bf4b7ef2f516c5646af [2022-04-10T03:16:33.060Z] $ docker rm -f 14341512fd26d3605fca93abe47b3cbf82d8a40985d89bf4b7ef2f516c5646af [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T03:16:33.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T03:16:33.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T03:16:34.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T03:16:35.096Z] + ls -al . [2022-04-10T03:16:35.096Z] total 188 [2022-04-10T03:16:35.096Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 03:16 . [2022-04-10T03:16:35.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:15 .. [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 03:15 .dockerignore [2022-04-10T03:16:35.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:15 .git [2022-04-10T03:16:35.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:15 .github [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 03:15 .gitignore [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 03:15 .golangci.yml [2022-04-10T03:16:35.096Z] drwx------ 3 jenkins jenkins 4096 Apr 10 03:15 .semver [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 03:15 Attribution.txt [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 03:15 Dockerfile [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 03:15 GOVERNANCE.md [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 03:15 Jenkinsfile [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 03:15 LICENSE [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 1492 Apr 10 03:15 Makefile [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 03:15 OWNERS.md [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 03:15 README.md [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 03:15 VERSION [2022-04-10T03:16:35.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:15 bin [2022-04-10T03:16:35.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:15 cmd [2022-04-10T03:16:35.096Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 03:16 coverage.out [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 03:15 go.mod [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 03:15 go.sum [2022-04-10T03:16:35.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:15 internal [2022-04-10T03:16:35.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:15 snap [2022-04-10T03:16:35.096Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 03:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:16:35.431Z] + 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=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f --label arch=amd64 --label version=0.0.0 . [2022-04-10T03:16:35.432Z] Sending build context to Docker daemon 11.09MB [2022-04-10T03:16:35.432Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T03:16:35.432Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T03:16:35.432Z] ---> 5d14f96cde7c [2022-04-10T03:16:35.432Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T03:16:35.432Z] ---> Running in 7d8bf023bc80 [2022-04-10T03:16:35.694Z] Removing intermediate container 7d8bf023bc80 [2022-04-10T03:16:35.694Z] ---> fe21e8669329 [2022-04-10T03:16:35.694Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T03:16:35.694Z] ---> Running in a453721853a7 [2022-04-10T03:16:35.694Z] Removing intermediate container a453721853a7 [2022-04-10T03:16:35.694Z] ---> 7fbeb67ec7ed [2022-04-10T03:16:35.694Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T03:16:35.694Z] ---> Running in 6ecc930b8a5f [2022-04-10T03:16:35.956Z] Removing intermediate container 6ecc930b8a5f [2022-04-10T03:16:35.956Z] ---> f9cbd493a01c [2022-04-10T03:16:35.956Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T03:16:35.956Z] ---> Running in 4ef67a898f07 [2022-04-10T03:16:36.526Z] Removing intermediate container 4ef67a898f07 [2022-04-10T03:16:36.526Z] ---> f0825e4d96df [2022-04-10T03:16:36.526Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T03:16:36.526Z] ---> Running in 4661f831e6e2 [2022-04-10T03:16:36.785Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T03:16:37.733Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T03:16:37.998Z] OK: 224 MiB in 56 packages [2022-04-10T03:16:38.261Z] Removing intermediate container 4661f831e6e2 [2022-04-10T03:16:38.261Z] ---> a7e3e6cbaf4e [2022-04-10T03:16:38.261Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T03:16:38.261Z] ---> 7d4a913815e8 [2022-04-10T03:16:38.261Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T03:16:38.522Z] ---> Running in 7d6f18df4bb7 [2022-04-10T03:16:39.091Z] Removing intermediate container 7d6f18df4bb7 [2022-04-10T03:16:39.091Z] ---> 14cfe2cb011e [2022-04-10T03:16:39.091Z] Step 10/25 : COPY . . [2022-04-10T03:16:39.353Z] ---> 7fa8d5e7a10b [2022-04-10T03:16:39.353Z] Step 11/25 : RUN ${MAKE} [2022-04-10T03:16:39.353Z] ---> Running in 5fc8fa9961d1 [2022-04-10T03:16:39.921Z] Removing intermediate container 5fc8fa9961d1 [2022-04-10T03:16:39.921Z] ---> c5f86549e932 [2022-04-10T03:16:39.921Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T03:16:40.491Z] 3.15: Pulling from library/alpine [2022-04-10T03:16:40.750Z] df9b9388f04a: Pulling fs layer [2022-04-10T03:16:41.009Z] df9b9388f04a: Verifying Checksum [2022-04-10T03:16:41.009Z] df9b9388f04a: Download complete [2022-04-10T03:16:41.009Z] df9b9388f04a: Pull complete [2022-04-10T03:16:41.009Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T03:16:41.009Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T03:16:41.009Z] ---> 0ac33e5f5afa [2022-04-10T03:16:41.009Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T03:16:41.269Z] ---> Running in b5cb334ae6d0 [2022-04-10T03:16:41.269Z] Removing intermediate container b5cb334ae6d0 [2022-04-10T03:16:41.269Z] ---> 53e001474c16 [2022-04-10T03:16:41.269Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T03:16:41.269Z] ---> Running in 73d362c587cb [2022-04-10T03:16:41.837Z] Removing intermediate container 73d362c587cb [2022-04-10T03:16:41.837Z] ---> 29f8507829eb [2022-04-10T03:16:41.837Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T03:16:41.837Z] ---> Running in 78ef259a2a42 [2022-04-10T03:16:42.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T03:16:43.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T03:16:43.295Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T03:16:43.295Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T03:16:43.558Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T03:16:43.558Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T03:16:43.821Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T03:16:43.821Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T03:16:43.821Z] OK: 8 MiB in 19 packages [2022-04-10T03:16:44.397Z] Removing intermediate container 78ef259a2a42 [2022-04-10T03:16:44.397Z] ---> 2bfde4c3a993 [2022-04-10T03:16:44.397Z] Step 16/25 : WORKDIR / [2022-04-10T03:16:44.397Z] ---> Running in 688fdacfe5c7 [2022-04-10T03:16:44.397Z] Removing intermediate container 688fdacfe5c7 [2022-04-10T03:16:44.397Z] ---> 1f6d46f5b59c [2022-04-10T03:16:44.397Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T03:16:44.659Z] ---> 975cb19f5f19 [2022-04-10T03:16:44.659Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T03:16:44.659Z] ---> de0c4dec6a5f [2022-04-10T03:16:44.659Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T03:16:44.922Z] ---> c04d7e13e3da [2022-04-10T03:16:44.922Z] Step 20/25 : EXPOSE 59910 [2022-04-10T03:16:44.922Z] ---> Running in 4ff0823bf51a [2022-04-10T03:16:44.922Z] Removing intermediate container 4ff0823bf51a [2022-04-10T03:16:44.922Z] ---> 0c7b27a6b51b [2022-04-10T03:16:44.922Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T03:16:44.922Z] ---> Running in bd233eba00a9 [2022-04-10T03:16:45.182Z] Removing intermediate container bd233eba00a9 [2022-04-10T03:16:45.182Z] ---> c9728e757ab8 [2022-04-10T03:16:45.182Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T03:16:45.182Z] ---> Running in 18aadb72646d [2022-04-10T03:16:45.182Z] Removing intermediate container 18aadb72646d [2022-04-10T03:16:45.182Z] ---> ca3b3637dfc0 [2022-04-10T03:16:45.182Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T03:16:45.182Z] ---> Running in 1eeeb26aceeb [2022-04-10T03:16:45.443Z] Removing intermediate container 1eeeb26aceeb [2022-04-10T03:16:45.443Z] ---> 25e2d1ed98e4 [2022-04-10T03:16:45.443Z] Step 24/25 : LABEL git_sha=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [2022-04-10T03:16:45.443Z] ---> Running in 86202ba3887c [2022-04-10T03:16:45.443Z] Removing intermediate container 86202ba3887c [2022-04-10T03:16:45.443Z] ---> 0069184e47d8 [2022-04-10T03:16:45.443Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T03:16:45.443Z] ---> Running in a1cc20d6f8a4 [2022-04-10T03:16:45.703Z] Removing intermediate container a1cc20d6f8a4 [2022-04-10T03:16:45.703Z] ---> 2ee5b2505ddb [2022-04-10T03:16:45.703Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-10T03:16:45.703Z] Successfully built 2ee5b2505ddb [2022-04-10T03:16:45.703Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:16:46.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T03:16:46.483Z] [2022-04-10T03:16:46.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:16:46.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T03:16:46.826Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T03:16:46.826Z] 5eb5b503b376: Pulling fs layer [2022-04-10T03:16:46.826Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T03:16:46.826Z] ec43610c2a17: Pulling fs layer [2022-04-10T03:16:46.826Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T03:16:46.826Z] 33b1e0a273af: Pulling fs layer [2022-04-10T03:16:46.826Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T03:16:46.826Z] 2f39f015ded8: Pulling fs layer [2022-04-10T03:16:46.826Z] 3a2ae6a8a46f: Waiting [2022-04-10T03:16:46.826Z] 33b1e0a273af: Waiting [2022-04-10T03:16:46.826Z] 5d3b04190fa2: Waiting [2022-04-10T03:16:46.826Z] 2f39f015ded8: Waiting [2022-04-10T03:16:46.826Z] 5c69ac0246d0: Download complete [2022-04-10T03:16:46.826Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T03:16:46.826Z] 3a2ae6a8a46f: Download complete [2022-04-10T03:16:46.826Z] 33b1e0a273af: Verifying Checksum [2022-04-10T03:16:46.826Z] 33b1e0a273af: Download complete [2022-04-10T03:16:46.826Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T03:16:46.826Z] 5d3b04190fa2: Download complete [2022-04-10T03:16:46.826Z] ec43610c2a17: Verifying Checksum [2022-04-10T03:16:46.826Z] ec43610c2a17: Download complete [2022-04-10T03:16:47.086Z] 5eb5b503b376: Verifying Checksum [2022-04-10T03:16:47.086Z] 5eb5b503b376: Download complete [2022-04-10T03:16:47.651Z] 2f39f015ded8: Download complete [2022-04-10T03:16:48.224Z] 5eb5b503b376: Pull complete [2022-04-10T03:16:48.224Z] 5c69ac0246d0: Pull complete [2022-04-10T03:16:48.795Z] ec43610c2a17: Pull complete [2022-04-10T03:16:48.795Z] 3a2ae6a8a46f: Pull complete [2022-04-10T03:16:49.057Z] 33b1e0a273af: Pull complete [2022-04-10T03:16:49.057Z] 5d3b04190fa2: Pull complete [2022-04-10T03:16:53.253Z] 2f39f015ded8: Pull complete [2022-04-10T03:16:53.253Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T03:16:53.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T03:16:53.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T03:16:53.357Z] prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container [2022-04-10T03:16:53.396Z] $ 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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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-04-10T03:16:55.144Z] $ docker top bbe194b15bc826285d8f4380f6fcfcdfbd0b6657c17a78a1982d3c3cfa5ba024 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:16:55.645Z] ---> job-cost.sh [2022-04-10T03:16:55.645Z] lf-activate-venv: SKIPPING [2022-04-10T03:16:55.645Z] INFO: No Stack... [2022-04-10T03:16:55.908Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T03:16:56.481Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T03:16:56.816Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-24/archives/cost.csv [2022-04-10T03:16:56.816Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T03:16:56.863Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [2022-04-10T03:16:56.868Z] Resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] did not exist. Created. [2022-04-10T03:16:56.868Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T03:16:57.279Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T03:16:57.332Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T03:16:57.358Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T03:16:57.444Z] $ docker stop --time=1 bbe194b15bc826285d8f4380f6fcfcdfbd0b6657c17a78a1982d3c3cfa5ba024 [2022-04-10T03:16:58.614Z] $ docker rm -f bbe194b15bc826285d8f4380f6fcfcdfbd0b6657c17a78a1982d3c3cfa5ba024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T03:17:23.633Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11746 in /w/workspace/edgexfoundry_device-gpio_PR-24 [Pipeline] { [Pipeline] ws [2022-04-10T03:17:23.681Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-04-10T03:17:24.038Z] The recommended git tool is: git [2022-04-10T03:17:30.502Z] using credential edgex-jenkins-ssh [2022-04-10T03:17:30.526Z] Cloning the remote Git repository [2022-04-10T03:17:30.620Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-10T03:17:30.699Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-04-10T03:17:30.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T03:17:30.797Z] > git --version # timeout=10 [2022-04-10T03:17:30.816Z] > git --version # 'git version 2.25.1' [2022-04-10T03:17:30.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T03:17:30.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T03:17:32.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T03:17:32.072Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T03:17:32.099Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T03:17:32.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T03:17:32.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T03:17:32.152Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-10T03:17:32.674Z] Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [2022-04-10T03:17:32.892Z] Merge succeeded, producing 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [2022-04-10T03:17:32.893Z] Checking out Revision 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f (PR-24) [2022-04-10T03:17:32.693Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T03:17:32.719Z] > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [2022-04-10T03:17:32.800Z] > git remote # timeout=10 [2022-04-10T03:17:32.822Z] > git config --get remote.origin.url # timeout=10 [2022-04-10T03:17:32.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T03:17:32.851Z] > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 [2022-04-10T03:17:32.874Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-10T03:17:32.899Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T03:17:32.915Z] > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [2022-04-10T03:17:37.056Z] Commit message: "fix: remove set of direction of a get GPIO or read" [2022-04-10T03:17:37.107Z] > git --version # timeout=10 [2022-04-10T03:17:37.117Z] > git --version # 'git version 2.25.1' [2022-04-10T03:17:37.133Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T03:17:38.115Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T03:17:38.115Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T03:17:38.115Z] Dload Upload Total Spent Left Speed [2022-04-10T03:17:38.115Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49760 0 --:--:-- --:--:-- --:--:-- 49760 [Pipeline] sh [2022-04-10T03:17:38.649Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T03:17:39.007Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T03:17:39.007Z] + sudo tee /etc/docker/daemon.new [2022-04-10T03:17:39.007Z] { [2022-04-10T03:17:39.007Z] "registry-mirrors": [ [2022-04-10T03:17:39.007Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T03:17:39.007Z] ], [2022-04-10T03:17:39.007Z] "bip": "10.250.0.254/24", [2022-04-10T03:17:39.007Z] "hosts": [ [2022-04-10T03:17:39.007Z] "tcp://0.0.0.0:5555", [2022-04-10T03:17:39.007Z] "unix:///var/run/docker.sock" [2022-04-10T03:17:39.007Z] ], [2022-04-10T03:17:39.007Z] "mtu": 1458, [2022-04-10T03:17:39.007Z] "selinux-enabled": true, [2022-04-10T03:17:39.007Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T03:17:39.007Z] } [Pipeline] sh [2022-04-10T03:17:39.434Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T03:17:39.796Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T03:17:58.210Z] provisioning config files... [2022-04-10T03:17:58.233Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4530623411703801129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:17:58.775Z] ---> docker-login.sh [2022-04-10T03:17:58.775Z] nexus3.edgexfoundry.org:10001 [2022-04-10T03:17:59.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:17:59.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:17:59.642Z] Configure a credential helper to remove this warning. See [2022-04-10T03:17:59.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:17:59.642Z] [2022-04-10T03:17:59.642Z] Login Succeeded [2022-04-10T03:17:59.642Z] nexus3.edgexfoundry.org:10002 [2022-04-10T03:17:59.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:17:59.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:17:59.915Z] Configure a credential helper to remove this warning. See [2022-04-10T03:17:59.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:17:59.915Z] [2022-04-10T03:17:59.915Z] Login Succeeded [2022-04-10T03:17:59.915Z] nexus3.edgexfoundry.org:10003 [2022-04-10T03:18:00.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:18:00.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:18:00.467Z] Configure a credential helper to remove this warning. See [2022-04-10T03:18:00.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:18:00.467Z] [2022-04-10T03:18:00.467Z] Login Succeeded [2022-04-10T03:18:00.467Z] nexus3.edgexfoundry.org:10004 [2022-04-10T03:18:00.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:18:00.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:18:00.743Z] Configure a credential helper to remove this warning. See [2022-04-10T03:18:00.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:18:00.743Z] [2022-04-10T03:18:00.743Z] Login Succeeded [2022-04-10T03:18:00.743Z] docker.io [2022-04-10T03:18:01.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T03:18:01.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T03:18:01.606Z] Configure a credential helper to remove this warning. See [2022-04-10T03:18:01.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T03:18:01.606Z] [2022-04-10T03:18:01.606Z] Login Succeeded [2022-04-10T03:18:01.606Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T03:18:01.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T03:18:02.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T03:18:02.075Z] ========================================================= [2022-04-10T03:18:02.075Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T03:18:02.075Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:18:02.509Z] + 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-04-10T03:18:02.781Z] Sending build context to Docker daemon 5.621MB [2022-04-10T03:18:02.781Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T03:18:02.781Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T03:18:03.057Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T03:18:03.057Z] 9b3977197b4f: Pulling fs layer [2022-04-10T03:18:03.057Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T03:18:03.057Z] 94645a83ff95: Pulling fs layer [2022-04-10T03:18:03.057Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T03:18:03.057Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T03:18:03.057Z] f7c0051592d6: Pulling fs layer [2022-04-10T03:18:03.057Z] a227ed2f7395: Pulling fs layer [2022-04-10T03:18:03.057Z] 7b1c46037f91: Pulling fs layer [2022-04-10T03:18:03.057Z] f7c0051592d6: Waiting [2022-04-10T03:18:03.057Z] a227ed2f7395: Waiting [2022-04-10T03:18:03.057Z] 7b1c46037f91: Waiting [2022-04-10T03:18:03.057Z] 3f3a8bcf1eab: Waiting [2022-04-10T03:18:03.057Z] 0c92f367c5e7: Waiting [2022-04-10T03:18:03.057Z] 94645a83ff95: Verifying Checksum [2022-04-10T03:18:03.057Z] 94645a83ff95: Download complete [2022-04-10T03:18:03.057Z] 1a89e8eeedd5: Download complete [2022-04-10T03:18:03.057Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T03:18:03.057Z] 0c92f367c5e7: Download complete [2022-04-10T03:18:03.057Z] f7c0051592d6: Verifying Checksum [2022-04-10T03:18:03.057Z] f7c0051592d6: Download complete [2022-04-10T03:18:03.057Z] 9b3977197b4f: Verifying Checksum [2022-04-10T03:18:03.057Z] a227ed2f7395: Verifying Checksum [2022-04-10T03:18:03.057Z] a227ed2f7395: Download complete [2022-04-10T03:18:03.660Z] 9b3977197b4f: Pull complete [2022-04-10T03:18:04.268Z] 1a89e8eeedd5: Pull complete [2022-04-10T03:18:04.548Z] 94645a83ff95: Pull complete [2022-04-10T03:18:05.156Z] 7b1c46037f91: Verifying Checksum [2022-04-10T03:18:05.156Z] 7b1c46037f91: Download complete [2022-04-10T03:18:05.756Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T03:18:05.756Z] 3f3a8bcf1eab: Download complete [2022-04-10T03:18:18.188Z] 3f3a8bcf1eab: Pull complete [2022-04-10T03:18:18.188Z] 0c92f367c5e7: Pull complete [2022-04-10T03:18:18.188Z] f7c0051592d6: Pull complete [2022-04-10T03:18:18.188Z] a227ed2f7395: Pull complete [2022-04-10T03:18:25.067Z] 7b1c46037f91: Pull complete [2022-04-10T03:18:25.067Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T03:18:25.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T03:18:25.067Z] ---> f79e39bc4007 [2022-04-10T03:18:25.067Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T03:18:26.047Z] ---> Running in ed18d56c9e72 [2022-04-10T03:18:26.321Z] Removing intermediate container ed18d56c9e72 [2022-04-10T03:18:26.322Z] ---> 7c961ca562a0 [2022-04-10T03:18:26.322Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T03:18:26.322Z] ---> Running in 50f90be833a7 [2022-04-10T03:18:26.598Z] Removing intermediate container 50f90be833a7 [2022-04-10T03:18:26.598Z] ---> fa239089bc32 [2022-04-10T03:18:26.598Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T03:18:26.598Z] ---> Running in a64a495c2103 [2022-04-10T03:18:26.883Z] Removing intermediate container a64a495c2103 [2022-04-10T03:18:26.883Z] ---> b594e1d241c4 [2022-04-10T03:18:26.883Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T03:18:26.883Z] ---> Running in 947a1249f475 [2022-04-10T03:18:28.861Z] Removing intermediate container 947a1249f475 [2022-04-10T03:18:28.861Z] ---> 0383195ed3c0 [2022-04-10T03:18:28.861Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T03:18:28.861Z] ---> Running in cb796d4898df [2022-04-10T03:18:29.854Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T03:18:30.829Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T03:18:31.425Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T03:18:31.696Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T03:18:31.696Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T03:18:31.982Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T03:18:31.982Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T03:18:31.982Z] OK: 224 MiB in 56 packages [2022-04-10T03:18:33.432Z] Removing intermediate container cb796d4898df [2022-04-10T03:18:33.432Z] ---> 694acdf54803 [2022-04-10T03:18:33.432Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T03:18:34.872Z] ---> 8e61dcbed56c [2022-04-10T03:18:34.872Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T03:18:34.872Z] ---> Running in 999e93f1feea [2022-04-10T03:19:56.670Z] Removing intermediate container 999e93f1feea [2022-04-10T03:19:56.670Z] ---> ad633e5b1528 [2022-04-10T03:19:56.670Z] Step 10/11 : COPY . . [2022-04-10T03:19:56.670Z] ---> 0165191e18d8 [2022-04-10T03:19:56.670Z] Step 11/11 : RUN ${MAKE} [2022-04-10T03:19:56.670Z] ---> Running in 34a855c17a8a [2022-04-10T03:19:56.670Z] Removing intermediate container 34a855c17a8a [2022-04-10T03:19:56.670Z] ---> 6a267df6e2f4 [2022-04-10T03:19:56.670Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T03:19:56.670Z] Successfully built 6a267df6e2f4 [2022-04-10T03:19:56.670Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:19:57.041Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T03:19:57.041Z] . [Pipeline] withDockerContainer [2022-04-10T03:19:57.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-11746 does not seem to be running inside a container [2022-04-10T03:19:57.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T03:19:58.750Z] $ docker top a179c1e4545b1fc0bbd60474a30316f06e436e7095240596bdd3c63c1c55f583 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T03:19:59.730Z] + go version [2022-04-10T03:19:59.730Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T03:19:59.760Z] $ docker stop --time=1 a179c1e4545b1fc0bbd60474a30316f06e436e7095240596bdd3c63c1c55f583 [2022-04-10T03:20:01.434Z] $ docker rm -f a179c1e4545b1fc0bbd60474a30316f06e436e7095240596bdd3c63c1c55f583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:20:02.282Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T03:20:02.282Z] . [Pipeline] withDockerContainer [2022-04-10T03:20:02.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-11746 does not seem to be running inside a container [2022-04-10T03:20:02.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T03:20:03.901Z] $ docker top 64cd9be3a59b559815928d85e3f38cb357704056dd5b15b1c08e1c810c102ec5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T03:20:04.926Z] + make test [2022-04-10T03:20:04.926Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T03:20:05.914Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T03:20:52.988Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T03:20:52.988Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T03:20:52.988Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T03:20:52.988Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T03:21:11.340Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T03:21:11.340Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T03:21:11.340Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T03:21:12.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T03:21:12.396Z] $ docker stop --time=1 64cd9be3a59b559815928d85e3f38cb357704056dd5b15b1c08e1c810c102ec5 [2022-04-10T03:21:14.201Z] $ docker rm -f 64cd9be3a59b559815928d85e3f38cb357704056dd5b15b1c08e1c810c102ec5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T03:21:15.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T03:21:15.164Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T03:21:15.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T03:21:16.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T03:21:16.667Z] + ls -al . [2022-04-10T03:21:16.667Z] total 184 [2022-04-10T03:21:16.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:21 . [2022-04-10T03:21:16.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 03:17 .. [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 03:17 .dockerignore [2022-04-10T03:21:16.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 03:17 .git [2022-04-10T03:21:16.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:17 .github [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 03:17 .gitignore [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 03:17 .golangci.yml [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 03:17 Attribution.txt [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 03:17 Dockerfile [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 03:17 GOVERNANCE.md [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 03:17 Jenkinsfile [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 03:17 LICENSE [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 1492 Apr 10 03:17 Makefile [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 03:17 OWNERS.md [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 03:17 README.md [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 03:15 VERSION [2022-04-10T03:21:16.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 03:17 bin [2022-04-10T03:21:16.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:17 cmd [2022-04-10T03:21:16.667Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 03:20 coverage.out [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 03:17 go.mod [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 03:17 go.sum [2022-04-10T03:21:16.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:17 internal [2022-04-10T03:21:16.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 03:17 snap [2022-04-10T03:21:16.667Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 03:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:21:17.042Z] + 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=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f --label arch=arm64 --label version=0.0.0 . [2022-04-10T03:21:17.333Z] Sending build context to Docker daemon 5.622MB [2022-04-10T03:21:17.333Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T03:21:17.333Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T03:21:17.333Z] ---> 6a267df6e2f4 [2022-04-10T03:21:17.333Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T03:21:17.624Z] ---> Running in 2cadecf05f6a [2022-04-10T03:21:17.903Z] Removing intermediate container 2cadecf05f6a [2022-04-10T03:21:17.903Z] ---> e0c4d1341c51 [2022-04-10T03:21:17.903Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T03:21:17.903Z] ---> Running in da9e8e0121a1 [2022-04-10T03:21:18.503Z] Removing intermediate container da9e8e0121a1 [2022-04-10T03:21:18.503Z] ---> 1e75ce5cd8fc [2022-04-10T03:21:18.503Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T03:21:18.503Z] ---> Running in 2328caba0abe [2022-04-10T03:21:18.779Z] Removing intermediate container 2328caba0abe [2022-04-10T03:21:18.779Z] ---> 91fc0747afab [2022-04-10T03:21:18.779Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T03:21:19.063Z] ---> Running in 048b07654022 [2022-04-10T03:21:20.516Z] Removing intermediate container 048b07654022 [2022-04-10T03:21:20.516Z] ---> 0fbcda97fc5e [2022-04-10T03:21:20.516Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T03:21:20.516Z] ---> Running in b79fe5ff57f9 [2022-04-10T03:21:21.497Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T03:21:22.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T03:21:23.456Z] OK: 224 MiB in 56 packages [2022-04-10T03:21:24.066Z] Removing intermediate container b79fe5ff57f9 [2022-04-10T03:21:24.066Z] ---> 61daf7a673e2 [2022-04-10T03:21:24.066Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T03:21:24.670Z] ---> b4928ae94322 [2022-04-10T03:21:24.670Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T03:21:24.953Z] ---> Running in 4efd81238f81 [2022-04-10T03:21:26.948Z] Removing intermediate container 4efd81238f81 [2022-04-10T03:21:26.948Z] ---> 484acaa43a91 [2022-04-10T03:21:26.948Z] Step 10/25 : COPY . . [2022-04-10T03:21:27.940Z] ---> d38d089b58d7 [2022-04-10T03:21:27.940Z] Step 11/25 : RUN ${MAKE} [2022-04-10T03:21:27.940Z] ---> Running in f4a99a320992 [2022-04-10T03:21:29.395Z] Removing intermediate container f4a99a320992 [2022-04-10T03:21:29.395Z] ---> 5e700ec00a34 [2022-04-10T03:21:29.395Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T03:21:30.376Z] 3.15: Pulling from library/alpine [2022-04-10T03:21:30.376Z] 9981e73032c8: Pulling fs layer [2022-04-10T03:21:30.654Z] 9981e73032c8: Download complete [2022-04-10T03:21:31.256Z] 9981e73032c8: Pull complete [2022-04-10T03:21:31.256Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T03:21:31.256Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T03:21:31.256Z] ---> 3fb3c9af89a9 [2022-04-10T03:21:31.256Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T03:21:31.256Z] ---> Running in 44d9110d2122 [2022-04-10T03:21:31.538Z] Removing intermediate container 44d9110d2122 [2022-04-10T03:21:31.538Z] ---> d740bb64b0db [2022-04-10T03:21:31.538Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T03:21:31.538Z] ---> Running in b399a6301228 [2022-04-10T03:21:33.533Z] Removing intermediate container b399a6301228 [2022-04-10T03:21:33.533Z] ---> 4162c438f101 [2022-04-10T03:21:33.533Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T03:21:33.533Z] ---> Running in bb9933d0aeac [2022-04-10T03:21:34.518Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T03:21:35.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T03:21:36.489Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T03:21:36.489Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T03:21:36.489Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T03:21:36.489Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T03:21:36.765Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T03:21:36.765Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T03:21:36.765Z] OK: 8 MiB in 19 packages [2022-04-10T03:21:37.752Z] Removing intermediate container bb9933d0aeac [2022-04-10T03:21:37.752Z] ---> 755fd8ba3c02 [2022-04-10T03:21:37.752Z] Step 16/25 : WORKDIR / [2022-04-10T03:21:37.752Z] ---> Running in 35ded41c6993 [2022-04-10T03:21:38.029Z] Removing intermediate container 35ded41c6993 [2022-04-10T03:21:38.029Z] ---> 04708ab9c08f [2022-04-10T03:21:38.029Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T03:21:38.629Z] ---> 24a60800429b [2022-04-10T03:21:38.629Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T03:21:39.232Z] ---> 5b615d0b6ac7 [2022-04-10T03:21:39.232Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T03:21:39.834Z] ---> 0b732c9e823b [2022-04-10T03:21:39.834Z] Step 20/25 : EXPOSE 59910 [2022-04-10T03:21:39.834Z] ---> Running in f7070a13a7ef [2022-04-10T03:21:40.432Z] Removing intermediate container f7070a13a7ef [2022-04-10T03:21:40.432Z] ---> 122df57fc3bc [2022-04-10T03:21:40.432Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T03:21:40.432Z] ---> Running in 9dbb12a2af8b [2022-04-10T03:21:40.707Z] Removing intermediate container 9dbb12a2af8b [2022-04-10T03:21:40.707Z] ---> 8268a2a69bc2 [2022-04-10T03:21:40.707Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T03:21:40.707Z] ---> Running in 6b9c7b3559e5 [2022-04-10T03:21:40.986Z] Removing intermediate container 6b9c7b3559e5 [2022-04-10T03:21:40.986Z] ---> 859d17507c5a [2022-04-10T03:21:40.986Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T03:21:41.262Z] ---> Running in 267e1be31517 [2022-04-10T03:21:41.536Z] Removing intermediate container 267e1be31517 [2022-04-10T03:21:41.536Z] ---> 34d3101b6f12 [2022-04-10T03:21:41.536Z] Step 24/25 : LABEL git_sha=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [2022-04-10T03:21:41.536Z] ---> Running in 50276fd9cf61 [2022-04-10T03:21:41.812Z] Removing intermediate container 50276fd9cf61 [2022-04-10T03:21:41.812Z] ---> f9ca72510661 [2022-04-10T03:21:41.812Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T03:21:41.812Z] ---> Running in 707dcaf33efd [2022-04-10T03:21:42.416Z] Removing intermediate container 707dcaf33efd [2022-04-10T03:21:42.416Z] ---> e0834292a3df [2022-04-10T03:21:42.416Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-10T03:21:42.416Z] Successfully built e0834292a3df [2022-04-10T03:21:42.416Z] 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-04-10T03:21:43.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T03:21:43.111Z] [2022-04-10T03:21:43.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:21:43.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T03:21:43.781Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T03:21:43.781Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T03:21:43.781Z] 04944245beec: Pulling fs layer [2022-04-10T03:21:43.781Z] 699f458cf7ca: Pulling fs layer [2022-04-10T03:21:43.781Z] 765212b225bb: Pulling fs layer [2022-04-10T03:21:43.781Z] f23df028b6ca: Pulling fs layer [2022-04-10T03:21:43.781Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T03:21:43.781Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T03:21:43.781Z] 765212b225bb: Waiting [2022-04-10T03:21:43.781Z] f23df028b6ca: Waiting [2022-04-10T03:21:43.781Z] d65c8cfc05b1: Waiting [2022-04-10T03:21:43.781Z] 2437ff75d9bd: Waiting [2022-04-10T03:21:43.781Z] 04944245beec: Verifying Checksum [2022-04-10T03:21:43.781Z] 04944245beec: Download complete [2022-04-10T03:21:43.781Z] 765212b225bb: Verifying Checksum [2022-04-10T03:21:43.781Z] 765212b225bb: Download complete [2022-04-10T03:21:43.781Z] f23df028b6ca: Verifying Checksum [2022-04-10T03:21:43.781Z] f23df028b6ca: Download complete [2022-04-10T03:21:43.781Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T03:21:43.781Z] d65c8cfc05b1: Download complete [2022-04-10T03:21:44.055Z] 699f458cf7ca: Verifying Checksum [2022-04-10T03:21:44.055Z] 699f458cf7ca: Download complete [2022-04-10T03:21:44.336Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T03:21:44.337Z] 8998bd30e6a1: Download complete [2022-04-10T03:21:46.969Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T03:21:46.969Z] 2437ff75d9bd: Download complete [2022-04-10T03:21:48.944Z] 8998bd30e6a1: Pull complete [2022-04-10T03:21:49.220Z] 04944245beec: Pull complete [2022-04-10T03:21:50.658Z] 699f458cf7ca: Pull complete [2022-04-10T03:21:50.936Z] 765212b225bb: Pull complete [2022-04-10T03:21:51.535Z] f23df028b6ca: Pull complete [2022-04-10T03:21:51.812Z] d65c8cfc05b1: Pull complete [2022-04-10T03:22:06.919Z] 2437ff75d9bd: Pull complete [2022-04-10T03:22:06.919Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T03:22:06.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T03:22:06.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T03:22:07.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-11746 does not seem to be running inside a container [2022-04-10T03:22:07.274Z] $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T03:22:10.819Z] $ docker top f02be502a67b1aaff14a3ec56cb3bdc8183017d68f970a04efd638ef911ff7c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:11.820Z] ---> job-cost.sh [2022-04-10T03:22:11.820Z] lf-activate-venv: SKIPPING [2022-04-10T03:22:11.820Z] INFO: No Stack... [2022-04-10T03:22:12.093Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T03:22:13.090Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T03:22:13.782Z] + cut -d, -f6 [2022-04-10T03:22:13.782Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2022-04-10T03:22:13.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [2022-04-10T03:22:13.874Z] Resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] did not exist. Created. [2022-04-10T03:22:13.874Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T03:22:14.629Z] /w/workspace/device-gpio/1@tmp/durable-d6f19ad1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T03:22:15.349Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T03:22:15.389Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T03:22:15.440Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T03:22:15.455Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T03:22:15.545Z] $ docker stop --time=1 f02be502a67b1aaff14a3ec56cb3bdc8183017d68f970a04efd638ef911ff7c4 [2022-04-10T03:22:17.124Z] $ docker rm -f f02be502a67b1aaff14a3ec56cb3bdc8183017d68f970a04efd638ef911ff7c4 [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-04-10T03:22:18.224Z] provisioning config files... [2022-04-10T03:22:18.238Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config657959271964192482tmp [Pipeline] { [Pipeline] sh [2022-04-10T03:22:18.567Z] + set +x [2022-04-10T03:22:18.567Z] + curl -s https://codecov.io/bash [2022-04-10T03:22:18.567Z] + bash -s -- [2022-04-10T03:22:18.567Z] [2022-04-10T03:22:18.567Z] _____ _ [2022-04-10T03:22:18.567Z] / ____| | | [2022-04-10T03:22:18.567Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T03:22:18.567Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T03:22:18.567Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T03:22:18.567Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T03:22:18.567Z] Bash-1.0.6 [2022-04-10T03:22:18.567Z] [2022-04-10T03:22:18.567Z] [2022-04-10T03:22:18.567Z] ==> git version 2.25.1 found [2022-04-10T03:22:18.567Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-10T03:22:18.567Z] Release-Date: 2020-01-08 [2022-04-10T03:22:18.567Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-10T03:22:18.567Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T03:22:18.567Z] ==> Jenkins CI detected. [2022-04-10T03:22:18.567Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-24 [2022-04-10T03:22:18.567Z] project root: . [2022-04-10T03:22:18.567Z] --> token set from env [2022-04-10T03:22:18.567Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T03:22:18.567Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T03:22:18.567Z] ==> Python coveragepy not found [2022-04-10T03:22:18.567Z] ==> Searching for coverage reports in: [2022-04-10T03:22:18.567Z] + . [2022-04-10T03:22:18.567Z] -> Found 1 reports [2022-04-10T03:22:18.567Z] ==> Detecting git/mercurial file structure [2022-04-10T03:22:18.567Z] ==> Reading reports [2022-04-10T03:22:18.567Z] + ./coverage.out bytes=10 [2022-04-10T03:22:18.567Z] ==> Appending adjustments [2022-04-10T03:22:18.567Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T03:22:18.903Z] + Found adjustments [2022-04-10T03:22:18.903Z] ==> Gzipping contents [2022-04-10T03:22:18.903Z] 4.0K /tmp/codecov.6nvvSO.gz [2022-04-10T03:22:18.903Z] ==> Uploading reports [2022-04-10T03:22:18.903Z] url: https://codecov.io [2022-04-10T03:22:18.903Z] query: branch=PR-24&commit=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= [2022-04-10T03:22:18.903Z] -> Pinging Codecov [2022-04-10T03:22:18.903Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-24&commit=784cbdb0aaef5f7a73cfa124054e922ab6b6a43f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= [2022-04-10T03:22:18.903Z] -> Uploading to [2022-04-10T03:22:18.903Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/784cbdb0aaef5f7a73cfa124054e922ab6b6a43f/b0137d5a-7be0-4909-9318-0c5a2e576822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T032218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d3b6ba6195c656d791e9a46b56a1aa27288631a72256772a878700ddd3ae4cc [2022-04-10T03:22:19.177Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T03:22:19.177Z] Dload Upload Total Spent Left Speed [2022-04-10T03:22:19.177Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 813 0 0 100 813 0 3079 --:--:-- --:--:-- --:--:-- 3079 [2022-04-10T03:22:19.177Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/784cbdb0aaef5f7a73cfa124054e922ab6b6a43f [Pipeline] } [2022-04-10T03:22:19.203Z] 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-04-10T03:22:21.041Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-24/archives ] [2022-04-10T03:22:21.041Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives [2022-04-10T03:22:21.041Z] total 16 [2022-04-10T03:22:21.041Z] drwxr-xr-x 3 root root 4096 Apr 10 03:16 . [2022-04-10T03:22:21.041Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 03:16 .. [2022-04-10T03:22:21.041Z] drwxr-xr-x 2 root root 4096 Apr 10 03:16 cost [2022-04-10T03:22:21.041Z] -rw-r--r-- 1 root root 81 Apr 10 03:16 cost.csv [2022-04-10T03:22:21.041Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-24/archives [2022-04-10T03:22:21.041Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives [2022-04-10T03:22:21.041Z] total 16 [2022-04-10T03:22:21.041Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 03:16 . [2022-04-10T03:22:21.041Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 03:16 .. [2022-04-10T03:22:21.041Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 03:16 cost [2022-04-10T03:22:21.041Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 10 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:21.482Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:22.377Z] ---> package-listing.sh [2022-04-10T03:22:22.377Z] ++ facter osfamily [2022-04-10T03:22:22.377Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T03:22:22.637Z] + OS_FAMILY=debian [2022-04-10T03:22:22.637Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-24 [2022-04-10T03:22:22.637Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T03:22:22.637Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T03:22:22.637Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T03:22:22.637Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T03:22:22.637Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' [2022-04-10T03:22:22.637Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T03:22:22.637Z] + case "${OS_FAMILY}" in [2022-04-10T03:22:22.637Z] + dpkg -l [2022-04-10T03:22:22.637Z] + grep '^ii' [2022-04-10T03:22:22.637Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T03:22:22.637Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T03:22:22.637Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T03:22:22.637Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' [2022-04-10T03:22:22.637Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [2022-04-10T03:22:22.637Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [Pipeline] echo [2022-04-10T03:22:22.671Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T03:22:22.966Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T03:22:23.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T03:22:23.548Z] . [Pipeline] withDockerContainer [2022-04-10T03:22:23.644Z] prd-ubuntu20.04-docker-8c-8g-11745 does not seem to be running inside a container [2022-04-10T03:22:23.690Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-24/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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T03:22:23.950Z] $ docker top 1dbbe508a6a8f219a60097888280ae85a89b95fa2fae3409cd7781469773d78a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T03:22:24.577Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T03:22:24.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T03:22:25.223Z] + ls /var/log/sa-host [2022-04-10T03:22:25.223Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T03:22:25.509Z] provisioning config files... [2022-04-10T03:22:25.523Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config2912427877781545549tmp [Pipeline] { [Pipeline] echo [2022-04-10T03:22:25.583Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:25.897Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T03:22:25.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:26.339Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T03:22:26.451Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:26.769Z] ---> sudo-logs.sh [2022-04-10T03:22:26.769Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T03:22:26.848Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:27.163Z] ---> job-cost.sh [2022-04-10T03:22:27.164Z] lf-activate-venv: SKIPPING [2022-04-10T03:22:27.164Z] DEBUG: total: 0.2199999988079071 [2022-04-10T03:22:27.164Z] INFO: Retrieving Stack Cost... [2022-04-10T03:22:27.424Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T03:22:27.999Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T03:22:28.033Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T03:22:28.350Z] ---> logs-deploy.sh [2022-04-10T03:22:28.350Z] lf-activate-venv: SKIPPING [2022-04-10T03:22:28.350Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-24/1 [2022-04-10T03:22:28.350Z] INFO: archiving workspace using pattern(s): [2022-04-10T03:22:29.291Z] Archives upload complete. [2022-04-10T03:22:29.291Z] INFO: archiving logs to Nexus