Pull request #13 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-gpio Loading trusted files from base branch main at d550a7515acedfb5a6817696fd12096f388c1d1e rather than e2484954b570027d36607595cc1223b9234b777e Obtained Jenkinsfile from d550a7515acedfb5a6817696fd12096f388c1d1e 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-ssh17425505364408468215.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-ssh8388812934066911358.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5641042799057256936.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 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-ssh13643778038100177295.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-13/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh175546469145986521.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-7984 in /w/workspace/edgexfoundry_device-gpio_PR-13 [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-13 # 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 d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit e2484954b570027d36607595cc1223b9234b777e Merge succeeded, producing fe3749473b0e6da845fd922ee7fc7fd33e28161d Checking out Revision fe3749473b0e6da845fd922ee7fc7fd33e28161d (PR-13) > 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/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2484954b570027d36607595cc1223b9234b777e # 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 d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe3749473b0e6da845fd922ee7fc7fd33e28161d # timeout=10 Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-18T17:35:28.349Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-18T17:35:28.400Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-18T17:35:28.415Z] ========================================================= [2022-03-18T17:35:28.415Z] EdgeX Global Pipelines Version Info [2022-03-18T17:35:28.415Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a008ce7c49345528172ccb0eab764cfc946441f7 # timeout=10 [2022-03-18T17:35:29.178Z] ------------------- [2022-03-18T17:35:29.178Z] stable info: [2022-03-18T17:35:29.178Z] ------------------- [2022-03-18T17:35:29.178Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-18T17:35:29.178Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T17:35:29.178Z] Message: update stable to v1.0.221 [2022-03-18T17:35:29.752Z] ------------------- [2022-03-18T17:35:29.752Z] experimental info: [2022-03-18T17:35:29.752Z] ------------------- [2022-03-18T17:35:29.752Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-18T17:35:29.752Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T17:35:29.752Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-18T17:35:29.927Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-03-18T17:35:29.943Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-03-18T17:35:29.960Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-18T17:35:29.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-18T17:35:29.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-18T17:35:30.000Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-18T17:35:30.011Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-18T17:35:30.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-18T17:35:30.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-18T17:35:30.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-18T17:35:30.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-18T17:35:30.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-03-18T17:35:30.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-18T17:35:30.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-18T17:35:30.108Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-18T17:35:30.119Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-18T17:35:30.132Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T17:35:30.147Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T17:35:30.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-18T17:35:30.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-18T17:35:30.198Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-18T17:35:30.214Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-18T17:35:30.231Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-18T17:35:30.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-18T17:35:30.253Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-18T17:35:30.268Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-18T17:35:30.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-13 [Pipeline] echo [2022-03-18T17:35:30.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-13 [Pipeline] echo [2022-03-18T17:35:30.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-13 [Pipeline] echo [2022-03-18T17:35:30.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo [2022-03-18T17:35:30.334Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe37494 [Pipeline] echo [2022-03-18T17:35:30.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T17:35:30.389Z] provisioning config files... [2022-03-18T17:35:30.405Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config1685293766379266715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:35:30.720Z] ---> docker-login.sh [2022-03-18T17:35:30.720Z] nexus3.edgexfoundry.org:10001 [2022-03-18T17:35:30.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:30.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:30.981Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:30.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:30.981Z] [2022-03-18T17:35:30.981Z] Login Succeeded [2022-03-18T17:35:30.981Z] nexus3.edgexfoundry.org:10002 [2022-03-18T17:35:31.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:31.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:31.242Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:31.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:31.242Z] [2022-03-18T17:35:31.242Z] Login Succeeded [2022-03-18T17:35:31.242Z] nexus3.edgexfoundry.org:10003 [2022-03-18T17:35:31.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:31.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:31.516Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:31.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:31.516Z] [2022-03-18T17:35:31.516Z] Login Succeeded [2022-03-18T17:35:31.516Z] nexus3.edgexfoundry.org:10004 [2022-03-18T17:35:31.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:31.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:31.516Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:31.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:31.516Z] [2022-03-18T17:35:31.516Z] Login Succeeded [2022-03-18T17:35:31.516Z] docker.io [2022-03-18T17:35:31.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:32.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:32.088Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:32.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:32.088Z] [2022-03-18T17:35:32.088Z] Login Succeeded [2022-03-18T17:35:32.088Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T17:35:32.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-18T17:35:32.470Z] + git rev-list -1 --merges fe3749473b0e6da845fd922ee7fc7fd33e28161d~1..fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo [2022-03-18T17:35:32.499Z] -----------> git rev-list -1 --merges fe3749473b0e6da845fd922ee7fc7fd33e28161d~1..fe3749473b0e6da845fd922ee7fc7fd33e28161d fe3749473b0e6da845fd922ee7fc7fd33e28161d [2022-03-18T17:35:32.499Z] fe3749473b0e6da845fd922ee7fc7fd33e28161d [false] [Pipeline] sh [2022-03-18T17:35:32.797Z] + git log --format=format:%s -1 fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo [2022-03-18T17:35:32.815Z] ========================================================= [2022-03-18T17:35:32.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T17:35:32.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T17:35:33.157Z] + git log --format=format:%s -1 fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] echo [2022-03-18T17:35:33.170Z] [semverPrep] GIT_COMMIT: fe3749473b0e6da845fd922ee7fc7fd33e28161d, Commit Message: Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD [Pipeline] echo [2022-03-18T17:35:33.181Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-18T17:35:33.596Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T17:35:33.596Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-18T17:35:33.596Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-18T17:35:33.596Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-18T17:35:33.596Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-03-18T17:35:33.596Z] tee -a /etc/ssh/ssh_known_hosts [2022-03-18T17:35:33.596Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:35:34.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T17:35:34.037Z] [2022-03-18T17:35:34.037Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:35:34.343Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T17:35:34.343Z] latest: Pulling from edgex-devops/git-semver [2022-03-18T17:35:34.343Z] a0d0a0d46f8b: Pulling fs layer [2022-03-18T17:35:34.343Z] 3e5f54012d9b: Pulling fs layer [2022-03-18T17:35:34.343Z] 4c7163046ea9: Pulling fs layer [2022-03-18T17:35:34.343Z] 0c2d73faf560: Pulling fs layer [2022-03-18T17:35:34.343Z] 3e5f54012d9b: Verifying Checksum [2022-03-18T17:35:34.343Z] 3e5f54012d9b: Download complete [2022-03-18T17:35:34.343Z] a0d0a0d46f8b: Verifying Checksum [2022-03-18T17:35:34.343Z] a0d0a0d46f8b: Download complete [2022-03-18T17:35:34.343Z] 0c2d73faf560: Verifying Checksum [2022-03-18T17:35:34.343Z] 0c2d73faf560: Download complete [2022-03-18T17:35:34.343Z] 4c7163046ea9: Verifying Checksum [2022-03-18T17:35:34.343Z] 4c7163046ea9: Download complete [2022-03-18T17:35:34.604Z] a0d0a0d46f8b: Pull complete [2022-03-18T17:35:34.604Z] 3e5f54012d9b: Pull complete [2022-03-18T17:35:34.866Z] 4c7163046ea9: Pull complete [2022-03-18T17:35:35.129Z] 0c2d73faf560: Pull complete [2022-03-18T17:35:35.129Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-18T17:35:35.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T17:35:35.129Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-18T17:35:35.275Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-03-18T17:35:35.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T17:35:35.959Z] $ docker top 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T17:35:36.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T17:35:36.065Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T17:35:36.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T17:35:36.199Z] $ docker exec 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent [2022-03-18T17:35:36.321Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhDBNmE/agent.14 [2022-03-18T17:35:36.321Z] SSH_AGENT_PID=20 [2022-03-18T17:35:36.331Z] Running ssh-add (command line suppressed) [2022-03-18T17:35:36.463Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_5889613757185616543.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_5889613757185616543.key) [2022-03-18T17:35:36.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T17:35:36.769Z] + git tag --points-at HEAD [Pipeline] } [2022-03-18T17:35:36.795Z] $ docker exec --env ******** --env ******** 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent -k [2022-03-18T17:35:36.912Z] unset SSH_AUTH_SOCK; [2022-03-18T17:35:36.912Z] unset SSH_AGENT_PID; [2022-03-18T17:35:36.912Z] echo Agent pid 20 killed; [2022-03-18T17:35:36.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-18T17:35:36.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T17:35:36.961Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T17:35:37.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T17:35:37.103Z] $ docker exec 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent [2022-03-18T17:35:37.235Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDcDLko/agent.53 [2022-03-18T17:35:37.235Z] SSH_AGENT_PID=59 [2022-03-18T17:35:37.241Z] Running ssh-add (command line suppressed) [2022-03-18T17:35:37.368Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_9194852496390629714.key (/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/private_key_9194852496390629714.key) [2022-03-18T17:35:37.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T17:35:37.678Z] + git semver init [2022-03-18T17:35:37.678Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T17:35:37.678Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.git [2022-03-18T17:35:37.678Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-18T17:35:37.678Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T17:35:37.678Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T17:35:37.678Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T17:35:37.678Z] # $SEMVER_BRANCH = PR-13 [2022-03-18T17:35:37.678Z] # $SEMVER_TEMP = /tmp/semver-237181243 [2022-03-18T17:35:37.678Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-03-18T17:35:38.622Z] # '/tmp/semver-237181243' -> '/w/workspace/edgexfoundry_device-gpio_PR-13/.semver' [2022-03-18T17:35:38.622Z] # -> Force: false [2022-03-18T17:35:38.622Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-13/.semver [Pipeline] } [2022-03-18T17:35:38.637Z] $ docker exec --env ******** --env ******** 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 ssh-agent -k [2022-03-18T17:35:38.758Z] unset SSH_AUTH_SOCK; [2022-03-18T17:35:38.759Z] unset SSH_AGENT_PID; [2022-03-18T17:35:38.759Z] echo Agent pid 59 killed; [2022-03-18T17:35:38.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T17:35:39.081Z] + git semver [Pipeline] } [2022-03-18T17:35:39.101Z] $ docker stop --time=1 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 [2022-03-18T17:35:40.463Z] $ docker rm -f 944f37051079771d9d21fb07f0347fb872a8f65ac075c18e1adeead4939d7997 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T17:35:40.819Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-18T17:35:41.077Z] Stashed 1 file(s) [Pipeline] echo [2022-03-18T17:35:41.081Z] [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-03-18T17:35:41.195Z] provisioning config files... [2022-03-18T17:35:41.206Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config9195487042135525261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:35:41.507Z] ---> docker-login.sh [2022-03-18T17:35:41.507Z] nexus3.edgexfoundry.org:10001 [2022-03-18T17:35:41.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:41.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:41.507Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:41.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:41.507Z] [2022-03-18T17:35:41.507Z] Login Succeeded [2022-03-18T17:35:41.507Z] nexus3.edgexfoundry.org:10002 [2022-03-18T17:35:41.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:41.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:41.767Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:41.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:41.767Z] [2022-03-18T17:35:41.767Z] Login Succeeded [2022-03-18T17:35:41.767Z] nexus3.edgexfoundry.org:10003 [2022-03-18T17:35:41.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:41.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:41.767Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:41.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:41.767Z] [2022-03-18T17:35:41.767Z] Login Succeeded [2022-03-18T17:35:41.767Z] nexus3.edgexfoundry.org:10004 [2022-03-18T17:35:42.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:42.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:42.028Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:42.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:42.028Z] [2022-03-18T17:35:42.028Z] Login Succeeded [2022-03-18T17:35:42.028Z] docker.io [2022-03-18T17:35:42.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:35:42.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:35:42.290Z] Configure a credential helper to remove this warning. See [2022-03-18T17:35:42.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:35:42.290Z] [2022-03-18T17:35:42.290Z] Login Succeeded [2022-03-18T17:35:42.290Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T17:35:42.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T17:35:42.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T17:35:42.382Z] ========================================================= [2022-03-18T17:35:42.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-18T17:35:42.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:35:42.693Z] + 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-03-18T17:35:42.693Z] Sending build context to Docker daemon 11.21MB [2022-03-18T17:35:42.693Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T17:35:42.693Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-18T17:35:42.693Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-18T17:35:42.693Z] 59bf1c3509f3: Pulling fs layer [2022-03-18T17:35:42.693Z] 666ba61612fd: Pulling fs layer [2022-03-18T17:35:42.693Z] 8ed8ca486205: Pulling fs layer [2022-03-18T17:35:42.693Z] 4fe6c5a15a65: Pulling fs layer [2022-03-18T17:35:42.693Z] 22a0e8bec74d: Pulling fs layer [2022-03-18T17:35:42.693Z] 640e595b4fbd: Pulling fs layer [2022-03-18T17:35:42.693Z] 763cafe07f6e: Pulling fs layer [2022-03-18T17:35:42.693Z] 0c0b528cf693: Pulling fs layer [2022-03-18T17:35:42.693Z] 10935f4eaf8b: Pulling fs layer [2022-03-18T17:35:42.693Z] 22a0e8bec74d: Waiting [2022-03-18T17:35:42.693Z] 640e595b4fbd: Waiting [2022-03-18T17:35:42.693Z] 0c0b528cf693: Waiting [2022-03-18T17:35:42.693Z] 763cafe07f6e: Waiting [2022-03-18T17:35:42.693Z] 10935f4eaf8b: Waiting [2022-03-18T17:35:42.693Z] 4fe6c5a15a65: Waiting [2022-03-18T17:35:42.964Z] 8ed8ca486205: Verifying Checksum [2022-03-18T17:35:42.964Z] 8ed8ca486205: Download complete [2022-03-18T17:35:42.964Z] 666ba61612fd: Download complete [2022-03-18T17:35:42.964Z] 22a0e8bec74d: Verifying Checksum [2022-03-18T17:35:42.964Z] 22a0e8bec74d: Download complete [2022-03-18T17:35:42.964Z] 640e595b4fbd: Verifying Checksum [2022-03-18T17:35:42.964Z] 640e595b4fbd: Download complete [2022-03-18T17:35:42.964Z] 59bf1c3509f3: Download complete [2022-03-18T17:35:42.964Z] 763cafe07f6e: Verifying Checksum [2022-03-18T17:35:42.964Z] 763cafe07f6e: Download complete [2022-03-18T17:35:42.964Z] 0c0b528cf693: Verifying Checksum [2022-03-18T17:35:42.964Z] 0c0b528cf693: Download complete [2022-03-18T17:35:42.964Z] 59bf1c3509f3: Pull complete [2022-03-18T17:35:43.228Z] 666ba61612fd: Pull complete [2022-03-18T17:35:43.228Z] 8ed8ca486205: Pull complete [2022-03-18T17:35:43.491Z] 10935f4eaf8b: Verifying Checksum [2022-03-18T17:35:43.491Z] 10935f4eaf8b: Download complete [2022-03-18T17:35:43.752Z] 4fe6c5a15a65: Verifying Checksum [2022-03-18T17:35:43.752Z] 4fe6c5a15a65: Download complete [2022-03-18T17:35:47.961Z] 4fe6c5a15a65: Pull complete [2022-03-18T17:35:47.961Z] 22a0e8bec74d: Pull complete [2022-03-18T17:35:47.961Z] 640e595b4fbd: Pull complete [2022-03-18T17:35:48.222Z] 763cafe07f6e: Pull complete [2022-03-18T17:35:48.222Z] 0c0b528cf693: Pull complete [2022-03-18T17:35:50.765Z] 10935f4eaf8b: Pull complete [2022-03-18T17:35:50.765Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-18T17:35:50.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-18T17:35:50.765Z] ---> 99d49a6021b9 [2022-03-18T17:35:50.765Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T17:35:52.151Z] ---> Running in 2f7bdfe72b4e [2022-03-18T17:35:52.151Z] Removing intermediate container 2f7bdfe72b4e [2022-03-18T17:35:52.151Z] ---> e03106b59eed [2022-03-18T17:35:52.151Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T17:35:52.151Z] ---> Running in 43d3d43a42ff [2022-03-18T17:35:52.411Z] Removing intermediate container 43d3d43a42ff [2022-03-18T17:35:52.411Z] ---> a22b925e7a0d [2022-03-18T17:35:52.411Z] Step 5/11 : WORKDIR /device-gpio [2022-03-18T17:35:52.411Z] ---> Running in 78176fa4458b [2022-03-18T17:35:52.411Z] Removing intermediate container 78176fa4458b [2022-03-18T17:35:52.411Z] ---> d440f4d983e2 [2022-03-18T17:35:52.411Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T17:35:52.411Z] ---> Running in 84d20c0f51d0 [2022-03-18T17:35:52.982Z] Removing intermediate container 84d20c0f51d0 [2022-03-18T17:35:52.982Z] ---> 88494f2ec4cd [2022-03-18T17:35:52.982Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T17:35:53.242Z] ---> Running in dfa0ba3bd213 [2022-03-18T17:35:53.507Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T17:35:54.449Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T17:35:54.449Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-18T17:35:54.712Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-18T17:35:54.712Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-18T17:35:54.973Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-18T17:35:54.973Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T17:35:54.973Z] OK: 224 MiB in 56 packages [2022-03-18T17:35:55.545Z] Removing intermediate container dfa0ba3bd213 [2022-03-18T17:35:55.545Z] ---> e5ff6f752411 [2022-03-18T17:35:55.545Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-18T17:35:55.545Z] ---> f4a0b308c0e3 [2022-03-18T17:35:55.545Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T17:35:55.545Z] ---> Running in c4046b5bab1d [2022-03-18T17:35:56.165Z] Still waiting to schedule task [2022-03-18T17:35:56.165Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-18T17:36:27.660Z] Removing intermediate container c4046b5bab1d [2022-03-18T17:36:27.660Z] ---> 185699927126 [2022-03-18T17:36:27.660Z] Step 10/11 : COPY . . [2022-03-18T17:36:27.660Z] ---> 0f760fe66fd3 [2022-03-18T17:36:27.660Z] Step 11/11 : RUN ${MAKE} [2022-03-18T17:36:27.660Z] ---> Running in b59904ea99d9 [2022-03-18T17:36:27.660Z] Removing intermediate container b59904ea99d9 [2022-03-18T17:36:27.660Z] ---> 7cb91dd34a09 [2022-03-18T17:36:27.660Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-18T17:36:27.660Z] Successfully built 7cb91dd34a09 [2022-03-18T17:36:27.660Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:36:27.958Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T17:36:27.958Z] . [Pipeline] withDockerContainer [2022-03-18T17:36:28.025Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-03-18T17:36:28.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-18T17:36:28.462Z] $ docker top f6245e2e74ba2c7409a7d4f4b77f0a390ea3d22758defaddced327d876d12899 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T17:36:28.816Z] + go version [2022-03-18T17:36:28.816Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-18T17:36:28.830Z] $ docker stop --time=1 f6245e2e74ba2c7409a7d4f4b77f0a390ea3d22758defaddced327d876d12899 [2022-03-18T17:36:30.110Z] $ docker rm -f f6245e2e74ba2c7409a7d4f4b77f0a390ea3d22758defaddced327d876d12899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:36:30.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T17:36:30.529Z] . [Pipeline] withDockerContainer [2022-03-18T17:36:30.599Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-03-18T17:36:30.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-18T17:36:30.999Z] $ docker top d2befe03f0525e19aca749d823e34f792fe93d7b076110329abc0ebcd1747edf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-18T17:36:31.365Z] + make test [2022-03-18T17:36:31.365Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-18T17:36:31.624Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-18T17:36:38.195Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-18T17:36:38.195Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-18T17:36:38.195Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-18T17:36:40.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T17:36:40.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T17:36:40.735Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-18T17:36:41.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-18T17:36:41.345Z] $ docker stop --time=1 d2befe03f0525e19aca749d823e34f792fe93d7b076110329abc0ebcd1747edf [2022-03-18T17:36:42.984Z] $ docker rm -f d2befe03f0525e19aca749d823e34f792fe93d7b076110329abc0ebcd1747edf [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T17:36:43.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-18T17:36:43.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-18T17:36:44.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T17:36:44.813Z] + ls -al . [2022-03-18T17:36:44.813Z] total 184 [2022-03-18T17:36:44.813Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 17:36 . [2022-03-18T17:36:44.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 17:35 .. [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 17:35 .dockerignore [2022-03-18T17:36:44.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:35 .git [2022-03-18T17:36:44.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:35 .github [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 17:35 .gitignore [2022-03-18T17:36:44.813Z] drwx------ 3 jenkins jenkins 4096 Mar 18 17:35 .semver [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 17:35 Attribution.txt [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 17:35 Dockerfile [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 17:35 GOVERNANCE.md [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 17:35 Jenkinsfile [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 17:35 LICENSE [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 17:35 Makefile [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 17:35 OWNERS.md [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 17:35 README.md [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 17:35 VERSION [2022-03-18T17:36:44.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:35 bin [2022-03-18T17:36:44.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:35 cmd [2022-03-18T17:36:44.813Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 18 17:36 coverage.out [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 17:35 go.mod [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 17:35 go.sum [2022-03-18T17:36:44.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:35 internal [2022-03-18T17:36:44.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:35 snap [2022-03-18T17:36:44.813Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 17:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:36:45.136Z] + 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=fe3749473b0e6da845fd922ee7fc7fd33e28161d --label arch=amd64 --label version=0.0.0 . [2022-03-18T17:36:45.136Z] Sending build context to Docker daemon 11.22MB [2022-03-18T17:36:45.136Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T17:36:45.136Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-18T17:36:45.136Z] ---> 7cb91dd34a09 [2022-03-18T17:36:45.136Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T17:36:45.395Z] ---> Running in ff80ffdbe087 [2022-03-18T17:36:45.395Z] Removing intermediate container ff80ffdbe087 [2022-03-18T17:36:45.395Z] ---> 400db0be1e52 [2022-03-18T17:36:45.395Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T17:36:45.395Z] ---> Running in a69d14edcb6a [2022-03-18T17:36:45.395Z] Removing intermediate container a69d14edcb6a [2022-03-18T17:36:45.395Z] ---> b215c98c80c9 [2022-03-18T17:36:45.395Z] Step 5/25 : WORKDIR /device-gpio [2022-03-18T17:36:45.656Z] ---> Running in 4a2df7995068 [2022-03-18T17:36:45.656Z] Removing intermediate container 4a2df7995068 [2022-03-18T17:36:45.656Z] ---> 7db09dc9b64c [2022-03-18T17:36:45.656Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T17:36:45.656Z] ---> Running in 4beb186d0218 [2022-03-18T17:36:46.227Z] Removing intermediate container 4beb186d0218 [2022-03-18T17:36:46.227Z] ---> e7a60dea99d2 [2022-03-18T17:36:46.228Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T17:36:46.228Z] ---> Running in c9a0a14bfdd6 [2022-03-18T17:36:46.490Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T17:36:47.450Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T17:36:47.710Z] OK: 224 MiB in 56 packages [2022-03-18T17:36:47.972Z] Removing intermediate container c9a0a14bfdd6 [2022-03-18T17:36:47.972Z] ---> 81a5de17f22b [2022-03-18T17:36:47.972Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-18T17:36:48.240Z] ---> a92c99e2a688 [2022-03-18T17:36:48.240Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T17:36:48.240Z] ---> Running in 18bee1e02bcd [2022-03-18T17:36:48.811Z] Removing intermediate container 18bee1e02bcd [2022-03-18T17:36:48.811Z] ---> 8fdd1a9a47eb [2022-03-18T17:36:48.811Z] Step 10/25 : COPY . . [2022-03-18T17:36:49.381Z] ---> 3be0dcb1f4e2 [2022-03-18T17:36:49.381Z] Step 11/25 : RUN ${MAKE} [2022-03-18T17:36:49.381Z] ---> Running in ad2953c9234f [2022-03-18T17:36:49.951Z] Removing intermediate container ad2953c9234f [2022-03-18T17:36:49.951Z] ---> 0c5257106c08 [2022-03-18T17:36:49.951Z] Step 12/25 : FROM alpine:3.15 [2022-03-18T17:36:50.522Z] 3.15: Pulling from library/alpine [2022-03-18T17:36:50.523Z] 3d2430473443: Pulling fs layer [2022-03-18T17:36:50.782Z] 3d2430473443: Verifying Checksum [2022-03-18T17:36:50.782Z] 3d2430473443: Download complete [2022-03-18T17:36:51.055Z] 3d2430473443: Pull complete [2022-03-18T17:36:51.055Z] Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 [2022-03-18T17:36:51.055Z] Status: Downloaded newer image for alpine:3.15 [2022-03-18T17:36:51.055Z] ---> e9adb5357e84 [2022-03-18T17:36:51.055Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-18T17:36:51.055Z] ---> Running in 003116091f48 [2022-03-18T17:36:51.055Z] Removing intermediate container 003116091f48 [2022-03-18T17:36:51.055Z] ---> 9b670efae175 [2022-03-18T17:36:51.055Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T17:36:51.315Z] ---> Running in 26b78adaa9b3 [2022-03-18T17:36:51.888Z] Removing intermediate container 26b78adaa9b3 [2022-03-18T17:36:51.888Z] ---> d32698fa6380 [2022-03-18T17:36:51.888Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-18T17:36:51.888Z] ---> Running in 76448a17fe41 [2022-03-18T17:36:52.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T17:36:53.097Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T17:36:53.382Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-18T17:36:53.382Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-18T17:36:53.382Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-18T17:36:53.642Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-18T17:36:53.642Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-18T17:36:53.906Z] Executing busybox-1.34.1-r4.trigger [2022-03-18T17:36:53.906Z] OK: 8 MiB in 19 packages [2022-03-18T17:36:54.166Z] Removing intermediate container 76448a17fe41 [2022-03-18T17:36:54.166Z] ---> 04b093d844c0 [2022-03-18T17:36:54.166Z] Step 16/25 : WORKDIR / [2022-03-18T17:36:54.166Z] ---> Running in b4b8e5a57dd3 [2022-03-18T17:36:54.432Z] Removing intermediate container b4b8e5a57dd3 [2022-03-18T17:36:54.432Z] ---> e3ca623f9524 [2022-03-18T17:36:54.432Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-18T17:36:54.432Z] ---> 4b617ab5f56d [2022-03-18T17:36:54.432Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-18T17:36:54.693Z] ---> 1eb2a94c8af1 [2022-03-18T17:36:54.693Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-18T17:36:54.693Z] ---> a742d28a33b5 [2022-03-18T17:36:54.693Z] Step 20/25 : EXPOSE 59910 [2022-03-18T17:36:54.693Z] ---> Running in e8ebd1354016 [2022-03-18T17:36:54.952Z] Removing intermediate container e8ebd1354016 [2022-03-18T17:36:54.952Z] ---> e1de7d10e41a [2022-03-18T17:36:54.952Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-18T17:36:54.952Z] ---> Running in 87ebf15e6c3c [2022-03-18T17:36:54.952Z] Removing intermediate container 87ebf15e6c3c [2022-03-18T17:36:54.952Z] ---> 80ec31bba9d2 [2022-03-18T17:36:54.952Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-18T17:36:54.952Z] ---> Running in ec54e7d06583 [2022-03-18T17:36:55.215Z] Removing intermediate container ec54e7d06583 [2022-03-18T17:36:55.215Z] ---> 272bf2159e8f [2022-03-18T17:36:55.215Z] Step 23/25 : LABEL arch=amd64 [2022-03-18T17:36:55.215Z] ---> Running in 208a94e465b2 [2022-03-18T17:36:55.215Z] Removing intermediate container 208a94e465b2 [2022-03-18T17:36:55.215Z] ---> 509607d17c1a [2022-03-18T17:36:55.215Z] Step 24/25 : LABEL git_sha=fe3749473b0e6da845fd922ee7fc7fd33e28161d [2022-03-18T17:36:55.215Z] ---> Running in b888cdca3451 [2022-03-18T17:36:55.215Z] Removing intermediate container b888cdca3451 [2022-03-18T17:36:55.215Z] ---> ddfe58aa35e0 [2022-03-18T17:36:55.215Z] Step 25/25 : LABEL version=0.0.0 [2022-03-18T17:36:55.475Z] ---> Running in eacb70a1a8d5 [2022-03-18T17:36:55.475Z] Removing intermediate container eacb70a1a8d5 [2022-03-18T17:36:55.475Z] ---> fedfc75b8087 [2022-03-18T17:36:55.475Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-18T17:36:55.475Z] Successfully built fedfc75b8087 [2022-03-18T17:36:55.475Z] 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-03-18T17:36:55.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T17:36:55.882Z] [2022-03-18T17:36:55.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:36:56.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T17:36:56.184Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-18T17:36:56.184Z] 5eb5b503b376: Pulling fs layer [2022-03-18T17:36:56.184Z] 5c69ac0246d0: Pulling fs layer [2022-03-18T17:36:56.184Z] ec43610c2a17: Pulling fs layer [2022-03-18T17:36:56.184Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-18T17:36:56.184Z] 33b1e0a273af: Pulling fs layer [2022-03-18T17:36:56.184Z] 5d3b04190fa2: Pulling fs layer [2022-03-18T17:36:56.184Z] 2f39f015ded8: Pulling fs layer [2022-03-18T17:36:56.184Z] 33b1e0a273af: Waiting [2022-03-18T17:36:56.184Z] 5d3b04190fa2: Waiting [2022-03-18T17:36:56.184Z] 3a2ae6a8a46f: Waiting [2022-03-18T17:36:56.184Z] 2f39f015ded8: Waiting [2022-03-18T17:36:56.184Z] 5c69ac0246d0: Download complete [2022-03-18T17:36:56.184Z] 3a2ae6a8a46f: Download complete [2022-03-18T17:36:56.184Z] 33b1e0a273af: Verifying Checksum [2022-03-18T17:36:56.184Z] 33b1e0a273af: Download complete [2022-03-18T17:36:56.184Z] 5d3b04190fa2: Download complete [2022-03-18T17:36:56.184Z] ec43610c2a17: Verifying Checksum [2022-03-18T17:36:56.184Z] ec43610c2a17: Download complete [2022-03-18T17:36:56.444Z] 5eb5b503b376: Verifying Checksum [2022-03-18T17:36:56.444Z] 5eb5b503b376: Download complete [2022-03-18T17:36:57.013Z] 2f39f015ded8: Verifying Checksum [2022-03-18T17:36:57.013Z] 2f39f015ded8: Download complete [2022-03-18T17:36:57.581Z] 5eb5b503b376: Pull complete [2022-03-18T17:36:57.581Z] 5c69ac0246d0: Pull complete [2022-03-18T17:36:58.151Z] ec43610c2a17: Pull complete [2022-03-18T17:36:58.151Z] 3a2ae6a8a46f: Pull complete [2022-03-18T17:36:58.411Z] 33b1e0a273af: Pull complete [2022-03-18T17:36:58.411Z] 5d3b04190fa2: Pull complete [2022-03-18T17:37:03.686Z] 2f39f015ded8: Pull complete [2022-03-18T17:37:03.686Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-18T17:37:03.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T17:37:03.686Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-18T17:37:03.750Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-03-18T17:37:03.785Z] $ 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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T17:37:05.640Z] $ docker top f04ce73958e5c3d0c929df4bd20b911dea89a2995a3c83a49224d8700b432266 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:37:06.068Z] ---> job-cost.sh [2022-03-18T17:37:06.068Z] lf-activate-venv: SKIPPING [2022-03-18T17:37:06.068Z] INFO: No Stack... [2022-03-18T17:37:06.328Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T17:37:06.898Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T17:37:07.188Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-13/archives/cost.csv [2022-03-18T17:37:07.188Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T17:37:07.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [2022-03-18T17:37:07.214Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] did not exist. Created. [2022-03-18T17:37:07.214Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T17:37:07.516Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-18T17:37:07.541Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T17:37:07.548Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T17:37:07.568Z] $ docker stop --time=1 f04ce73958e5c3d0c929df4bd20b911dea89a2995a3c83a49224d8700b432266 [2022-03-18T17:37:08.745Z] $ docker rm -f f04ce73958e5c3d0c929df4bd20b911dea89a2995a3c83a49224d8700b432266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-18T17:37:29.075Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7985 in /w/workspace/edgexfoundry_device-gpio_PR-13 [Pipeline] { [Pipeline] ws [2022-03-18T17:37:29.090Z] Running in /w/workspace/device-gpio/11 [Pipeline] { [Pipeline] checkout [2022-03-18T17:37:29.324Z] The recommended git tool is: git [2022-03-18T17:37:37.213Z] using credential edgex-jenkins-ssh [2022-03-18T17:37:37.239Z] Cloning the remote Git repository [2022-03-18T17:37:37.346Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-03-18T17:37:37.460Z] > git init /w/workspace/device-gpio/11 # timeout=10 [2022-03-18T17:37:37.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-18T17:37:37.595Z] > git --version # timeout=10 [2022-03-18T17:37:37.633Z] > git --version # 'git version 2.25.1' [2022-03-18T17:37:37.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T17:37:37.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T17:37:39.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-18T17:37:40.403Z] Merging remotes/origin/main commit d550a7515acedfb5a6817696fd12096f388c1d1e into PR head commit e2484954b570027d36607595cc1223b9234b777e [2022-03-18T17:37:40.753Z] Merge succeeded, producing c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 [2022-03-18T17:37:40.754Z] Checking out Revision c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 (PR-13) [2022-03-18T17:37:39.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T17:37:39.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-03-18T17:37:39.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-03-18T17:37:39.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T17:37:39.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/13/head:refs/remotes/origin/PR-13 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-18T17:37:40.428Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T17:37:40.479Z] > git checkout -f e2484954b570027d36607595cc1223b9234b777e # timeout=10 [2022-03-18T17:37:40.586Z] > git remote # timeout=10 [2022-03-18T17:37:40.620Z] > git config --get remote.origin.url # timeout=10 [2022-03-18T17:37:40.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T17:37:40.672Z] > git merge d550a7515acedfb5a6817696fd12096f388c1d1e # timeout=10 [2022-03-18T17:37:40.726Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-18T17:37:40.765Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T17:37:40.792Z] > git checkout -f c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 # timeout=10 [2022-03-18T17:37:45.131Z] Commit message: "Merge commit 'd550a7515acedfb5a6817696fd12096f388c1d1e' into HEAD" [2022-03-18T17:37:45.156Z] First time build. Skipping changelog. [2022-03-18T17:37:45.143Z] > git rev-list --no-walk a008ce7c49345528172ccb0eab764cfc946441f7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T17:37:46.135Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-18T17:37:46.135Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T17:37:46.135Z] Dload Upload Total Spent Left Speed [2022-03-18T17:37:46.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 39875 0 --:--:-- --:--:-- --:--:-- 39741 [Pipeline] sh [2022-03-18T17:37:46.938Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-18T17:37:47.279Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-03-18T17:37:47.280Z] [2022-03-18T17:37:47.280Z] { [2022-03-18T17:37:47.280Z] "registry-mirrors": [ [2022-03-18T17:37:47.280Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-18T17:37:47.280Z] ], [2022-03-18T17:37:47.280Z] "bip": "10.250.0.254/24", [2022-03-18T17:37:47.280Z] "hosts": [ [2022-03-18T17:37:47.280Z] "tcp://0.0.0.0:5555", [2022-03-18T17:37:47.280Z] "unix:///var/run/docker.sock" [2022-03-18T17:37:47.280Z] ], [2022-03-18T17:37:47.280Z] "mtu": 1458, [2022-03-18T17:37:47.280Z] "selinux-enabled": true, [2022-03-18T17:37:47.280Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-18T17:37:47.280Z] } [Pipeline] sh [2022-03-18T17:37:47.642Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-18T17:37:48.072Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T17:38:06.413Z] provisioning config files... [2022-03-18T17:38:06.438Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/11@tmp/config8709797420387608154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:38:06.808Z] ---> docker-login.sh [2022-03-18T17:38:06.809Z] nexus3.edgexfoundry.org:10001 [2022-03-18T17:38:07.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:38:07.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:38:07.685Z] Configure a credential helper to remove this warning. See [2022-03-18T17:38:07.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:38:07.685Z] [2022-03-18T17:38:07.685Z] Login Succeeded [2022-03-18T17:38:07.685Z] nexus3.edgexfoundry.org:10002 [2022-03-18T17:38:07.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:38:08.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:38:08.235Z] Configure a credential helper to remove this warning. See [2022-03-18T17:38:08.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:38:08.235Z] [2022-03-18T17:38:08.235Z] Login Succeeded [2022-03-18T17:38:08.235Z] nexus3.edgexfoundry.org:10003 [2022-03-18T17:38:08.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:38:08.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:38:08.514Z] Configure a credential helper to remove this warning. See [2022-03-18T17:38:08.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:38:08.514Z] [2022-03-18T17:38:08.514Z] Login Succeeded [2022-03-18T17:38:08.514Z] nexus3.edgexfoundry.org:10004 [2022-03-18T17:38:09.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:38:09.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:38:09.113Z] Configure a credential helper to remove this warning. See [2022-03-18T17:38:09.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:38:09.113Z] [2022-03-18T17:38:09.113Z] Login Succeeded [2022-03-18T17:38:09.113Z] docker.io [2022-03-18T17:38:09.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T17:38:09.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T17:38:09.981Z] Configure a credential helper to remove this warning. See [2022-03-18T17:38:09.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T17:38:09.981Z] [2022-03-18T17:38:09.981Z] Login Succeeded [2022-03-18T17:38:09.981Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T17:38:10.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T17:38:10.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T17:38:10.735Z] ========================================================= [2022-03-18T17:38:10.735Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-18T17:38:10.735Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:38:11.121Z] + 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-03-18T17:38:11.729Z] Sending build context to Docker daemon 5.762MB [2022-03-18T17:38:11.729Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T17:38:11.729Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-18T17:38:11.729Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-18T17:38:11.729Z] 9b3977197b4f: Pulling fs layer [2022-03-18T17:38:11.729Z] 1a89e8eeedd5: Pulling fs layer [2022-03-18T17:38:11.729Z] 94645a83ff95: Pulling fs layer [2022-03-18T17:38:11.729Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-18T17:38:11.729Z] 0c92f367c5e7: Pulling fs layer [2022-03-18T17:38:11.729Z] f7c0051592d6: Pulling fs layer [2022-03-18T17:38:11.729Z] a227ed2f7395: Pulling fs layer [2022-03-18T17:38:11.729Z] 7b1c46037f91: Pulling fs layer [2022-03-18T17:38:11.729Z] 0c92f367c5e7: Waiting [2022-03-18T17:38:11.729Z] f7c0051592d6: Waiting [2022-03-18T17:38:11.729Z] a227ed2f7395: Waiting [2022-03-18T17:38:11.729Z] 7b1c46037f91: Waiting [2022-03-18T17:38:11.729Z] 3f3a8bcf1eab: Waiting [2022-03-18T17:38:11.729Z] 94645a83ff95: Verifying Checksum [2022-03-18T17:38:11.729Z] 94645a83ff95: Download complete [2022-03-18T17:38:11.729Z] 1a89e8eeedd5: Download complete [2022-03-18T17:38:11.729Z] 0c92f367c5e7: Verifying Checksum [2022-03-18T17:38:11.729Z] 0c92f367c5e7: Download complete [2022-03-18T17:38:11.729Z] f7c0051592d6: Verifying Checksum [2022-03-18T17:38:11.729Z] f7c0051592d6: Download complete [2022-03-18T17:38:11.729Z] 9b3977197b4f: Download complete [2022-03-18T17:38:11.729Z] a227ed2f7395: Verifying Checksum [2022-03-18T17:38:11.729Z] a227ed2f7395: Download complete [2022-03-18T17:38:12.722Z] 9b3977197b4f: Pull complete [2022-03-18T17:38:13.329Z] 1a89e8eeedd5: Pull complete [2022-03-18T17:38:13.606Z] 94645a83ff95: Pull complete [2022-03-18T17:38:13.885Z] 7b1c46037f91: Verifying Checksum [2022-03-18T17:38:13.886Z] 7b1c46037f91: Download complete [2022-03-18T17:38:14.490Z] 3f3a8bcf1eab: Download complete [2022-03-18T17:38:26.911Z] 3f3a8bcf1eab: Pull complete [2022-03-18T17:38:26.911Z] 0c92f367c5e7: Pull complete [2022-03-18T17:38:26.911Z] f7c0051592d6: Pull complete [2022-03-18T17:38:27.188Z] a227ed2f7395: Pull complete [2022-03-18T17:38:33.922Z] 7b1c46037f91: Pull complete [2022-03-18T17:38:33.922Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-18T17:38:33.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-18T17:38:33.922Z] ---> f79e39bc4007 [2022-03-18T17:38:33.922Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T17:38:33.922Z] ---> Running in 102f3ad3a08b [2022-03-18T17:38:34.524Z] Removing intermediate container 102f3ad3a08b [2022-03-18T17:38:34.524Z] ---> 7da6151dfbca [2022-03-18T17:38:34.524Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T17:38:34.524Z] ---> Running in 8300b28cfd0d [2022-03-18T17:38:34.800Z] Removing intermediate container 8300b28cfd0d [2022-03-18T17:38:34.800Z] ---> f90eee8922f1 [2022-03-18T17:38:34.800Z] Step 5/11 : WORKDIR /device-gpio [2022-03-18T17:38:34.800Z] ---> Running in 31e9a2237df3 [2022-03-18T17:38:35.078Z] Removing intermediate container 31e9a2237df3 [2022-03-18T17:38:35.078Z] ---> 63b2c2d81708 [2022-03-18T17:38:35.078Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T17:38:35.078Z] ---> Running in a364f1266a18 [2022-03-18T17:38:37.076Z] Removing intermediate container a364f1266a18 [2022-03-18T17:38:37.076Z] ---> 903434d6aa26 [2022-03-18T17:38:37.076Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T17:38:37.076Z] ---> Running in e44ebb3160b0 [2022-03-18T17:38:38.058Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T17:38:38.650Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T17:38:39.638Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-18T17:38:39.638Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-18T17:38:39.638Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-18T17:38:39.913Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-18T17:38:39.913Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T17:38:40.188Z] OK: 224 MiB in 56 packages [2022-03-18T17:38:41.174Z] Removing intermediate container e44ebb3160b0 [2022-03-18T17:38:41.174Z] ---> 21de822127a4 [2022-03-18T17:38:41.174Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-18T17:38:41.448Z] ---> e8465de94d76 [2022-03-18T17:38:41.448Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T17:38:41.723Z] ---> Running in 83f9f496e9cb [2022-03-18T17:40:03.582Z] Removing intermediate container 83f9f496e9cb [2022-03-18T17:40:03.582Z] ---> 22f25867593b [2022-03-18T17:40:03.582Z] Step 10/11 : COPY . . [2022-03-18T17:40:03.582Z] ---> d23d9101f714 [2022-03-18T17:40:03.582Z] Step 11/11 : RUN ${MAKE} [2022-03-18T17:40:03.582Z] ---> Running in e7541f5c6993 [2022-03-18T17:40:03.582Z] Removing intermediate container e7541f5c6993 [2022-03-18T17:40:03.582Z] ---> 1232d1319002 [2022-03-18T17:40:03.582Z] [Warning] One or more build-args [MAKE] were not consumed [2022-03-18T17:40:03.582Z] Successfully built 1232d1319002 [2022-03-18T17:40:03.582Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:40:03.929Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T17:40:03.929Z] . [Pipeline] withDockerContainer [2022-03-18T17:40:04.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container [2022-03-18T17:40:04.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T17:40:05.459Z] $ docker top 2f4842438cb0cb34d7351e85119d4109c4bbf19c7f99674ba8fc222bcf4b4656 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T17:40:06.348Z] + go version [2022-03-18T17:40:06.349Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-18T17:40:06.374Z] $ docker stop --time=1 2f4842438cb0cb34d7351e85119d4109c4bbf19c7f99674ba8fc222bcf4b4656 [2022-03-18T17:40:08.016Z] $ docker rm -f 2f4842438cb0cb34d7351e85119d4109c4bbf19c7f99674ba8fc222bcf4b4656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:40:08.615Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T17:40:08.615Z] . [Pipeline] withDockerContainer [2022-03-18T17:40:08.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container [2022-03-18T17:40:08.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T17:40:10.189Z] $ docker top 0c19e21c874826eb4f29ed7a2cb4a2cd312995026ac1a1ac30ff3a89463ec5bc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-18T17:40:11.087Z] + make test [2022-03-18T17:40:11.087Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-18T17:40:12.533Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-03-18T17:40:59.600Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-03-18T17:40:59.600Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-03-18T17:40:59.600Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-18T17:41:14.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T17:41:14.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T17:41:14.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-18T17:41:16.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-18T17:41:16.761Z] $ docker stop --time=1 0c19e21c874826eb4f29ed7a2cb4a2cd312995026ac1a1ac30ff3a89463ec5bc [2022-03-18T17:41:18.510Z] $ docker rm -f 0c19e21c874826eb4f29ed7a2cb4a2cd312995026ac1a1ac30ff3a89463ec5bc [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T17:41:19.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-18T17:41:19.325Z] Warning: overwriting stash ‘coverage-report’ [2022-03-18T17:41:19.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T17:41:20.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T17:41:20.481Z] + ls -al . [2022-03-18T17:41:20.482Z] total 180 [2022-03-18T17:41:20.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:41 . [2022-03-18T17:41:20.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 17:37 .. [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 18 17:37 .dockerignore [2022-03-18T17:41:20.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 17:37 .git [2022-03-18T17:41:20.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:37 .github [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 18 17:37 .gitignore [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 7772 Mar 18 17:37 Attribution.txt [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 1846 Mar 18 17:37 Dockerfile [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 17:37 GOVERNANCE.md [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 17:37 Jenkinsfile [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 17:37 LICENSE [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 992 Mar 18 17:37 Makefile [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 18 17:37 OWNERS.md [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 9578 Mar 18 17:37 README.md [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 17:35 VERSION [2022-03-18T17:41:20.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 17:37 bin [2022-03-18T17:41:20.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:37 cmd [2022-03-18T17:41:20.482Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 18 17:40 coverage.out [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 2794 Mar 18 17:37 go.mod [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 70652 Mar 18 17:37 go.sum [2022-03-18T17:41:20.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:37 internal [2022-03-18T17:41:20.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 17:37 snap [2022-03-18T17:41:20.482Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 18 17:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:41:20.835Z] + 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=c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 --label arch=arm64 --label version=0.0.0 . [2022-03-18T17:41:21.107Z] Sending build context to Docker daemon 5.763MB [2022-03-18T17:41:21.107Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-18T17:41:21.107Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-18T17:41:21.107Z] ---> 1232d1319002 [2022-03-18T17:41:21.107Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-18T17:41:21.406Z] ---> Running in 966292482d98 [2022-03-18T17:41:21.679Z] Removing intermediate container 966292482d98 [2022-03-18T17:41:21.679Z] ---> 6e7d1ce2f4d1 [2022-03-18T17:41:21.679Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-18T17:41:21.679Z] ---> Running in 3e5b331a0331 [2022-03-18T17:41:22.274Z] Removing intermediate container 3e5b331a0331 [2022-03-18T17:41:22.274Z] ---> eb8af4430d65 [2022-03-18T17:41:22.274Z] Step 5/25 : WORKDIR /device-gpio [2022-03-18T17:41:22.274Z] ---> Running in 82516669da50 [2022-03-18T17:41:22.547Z] Removing intermediate container 82516669da50 [2022-03-18T17:41:22.547Z] ---> 6fe998cd004e [2022-03-18T17:41:22.547Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T17:41:22.547Z] ---> Running in 39f1820e5862 [2022-03-18T17:41:24.527Z] Removing intermediate container 39f1820e5862 [2022-03-18T17:41:24.527Z] ---> a41f5f93daee [2022-03-18T17:41:24.527Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-18T17:41:24.527Z] ---> Running in 71a3e778e8bc [2022-03-18T17:41:25.126Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T17:41:26.105Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T17:41:27.088Z] OK: 224 MiB in 56 packages [2022-03-18T17:41:27.692Z] Removing intermediate container 71a3e778e8bc [2022-03-18T17:41:27.692Z] ---> a274cd2cbd51 [2022-03-18T17:41:27.692Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-18T17:41:28.327Z] ---> 6ab0d22f4898 [2022-03-18T17:41:28.327Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-18T17:41:28.327Z] ---> Running in 37af66b45d3f [2022-03-18T17:41:31.032Z] Removing intermediate container 37af66b45d3f [2022-03-18T17:41:31.032Z] ---> 636cef21b050 [2022-03-18T17:41:31.032Z] Step 10/25 : COPY . . [2022-03-18T17:41:32.016Z] ---> c0a08a717f06 [2022-03-18T17:41:32.016Z] Step 11/25 : RUN ${MAKE} [2022-03-18T17:41:32.016Z] ---> Running in f2247d2f7105 [2022-03-18T17:41:33.455Z] Removing intermediate container f2247d2f7105 [2022-03-18T17:41:33.455Z] ---> 7c7bbd8536e2 [2022-03-18T17:41:33.455Z] Step 12/25 : FROM alpine:3.15 [2022-03-18T17:41:34.050Z] 3.15: Pulling from library/alpine [2022-03-18T17:41:34.323Z] 148d739a8e6b: Pulling fs layer [2022-03-18T17:41:34.598Z] 148d739a8e6b: Verifying Checksum [2022-03-18T17:41:34.598Z] 148d739a8e6b: Download complete [2022-03-18T17:41:35.197Z] 148d739a8e6b: Pull complete [2022-03-18T17:41:35.197Z] Digest: sha256:d6d0a0eb4d40ef96f2310ead734848b9c819bb97c9d846385c4aca1767186cd4 [2022-03-18T17:41:35.197Z] Status: Downloaded newer image for alpine:3.15 [2022-03-18T17:41:35.197Z] ---> 3abe2e34c907 [2022-03-18T17:41:35.197Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-03-18T17:41:35.197Z] ---> Running in f4ecc0cd5d65 [2022-03-18T17:41:35.475Z] Removing intermediate container f4ecc0cd5d65 [2022-03-18T17:41:35.475Z] ---> 72058b4ee719 [2022-03-18T17:41:35.475Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-18T17:41:35.475Z] ---> Running in 9ff6343624e0 [2022-03-18T17:41:37.476Z] Removing intermediate container 9ff6343624e0 [2022-03-18T17:41:37.476Z] ---> bd28c69aed16 [2022-03-18T17:41:37.476Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-18T17:41:37.476Z] ---> Running in cbb61d2e24f3 [2022-03-18T17:41:38.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T17:41:39.440Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T17:41:40.037Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-03-18T17:41:40.037Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-18T17:41:40.309Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-03-18T17:41:40.310Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-18T17:41:40.584Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-18T17:41:40.584Z] Executing busybox-1.34.1-r4.trigger [2022-03-18T17:41:40.584Z] OK: 8 MiB in 19 packages [2022-03-18T17:41:41.568Z] Removing intermediate container cbb61d2e24f3 [2022-03-18T17:41:41.568Z] ---> 5e9ad952e8f3 [2022-03-18T17:41:41.568Z] Step 16/25 : WORKDIR / [2022-03-18T17:41:41.568Z] ---> Running in ea5d52136039 [2022-03-18T17:41:41.846Z] Removing intermediate container ea5d52136039 [2022-03-18T17:41:41.846Z] ---> 61b653b1b56a [2022-03-18T17:41:41.846Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-03-18T17:41:42.441Z] ---> 097970afb7ff [2022-03-18T17:41:42.441Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-03-18T17:41:43.038Z] ---> 38e6d93901ac [2022-03-18T17:41:43.038Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-03-18T17:41:43.636Z] ---> 5dcb9d4b76a4 [2022-03-18T17:41:43.636Z] Step 20/25 : EXPOSE 59910 [2022-03-18T17:41:43.636Z] ---> Running in 6f109c0265a8 [2022-03-18T17:41:43.910Z] Removing intermediate container 6f109c0265a8 [2022-03-18T17:41:43.910Z] ---> 3caecd885296 [2022-03-18T17:41:43.910Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-03-18T17:41:43.910Z] ---> Running in ef01c51816d6 [2022-03-18T17:41:44.191Z] Removing intermediate container ef01c51816d6 [2022-03-18T17:41:44.191Z] ---> d281965e656b [2022-03-18T17:41:44.191Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-18T17:41:44.468Z] ---> Running in cc2200f33560 [2022-03-18T17:41:44.741Z] Removing intermediate container cc2200f33560 [2022-03-18T17:41:44.741Z] ---> 6da753cff5bb [2022-03-18T17:41:44.741Z] Step 23/25 : LABEL arch=arm64 [2022-03-18T17:41:44.741Z] ---> Running in 1bf565112e02 [2022-03-18T17:41:45.026Z] Removing intermediate container 1bf565112e02 [2022-03-18T17:41:45.026Z] ---> 8d4d16534b2d [2022-03-18T17:41:45.026Z] Step 24/25 : LABEL git_sha=c7e7da779477e0f81ad2ff1ebc1e97410dda2ef6 [2022-03-18T17:41:45.301Z] ---> Running in 30019ded1b06 [2022-03-18T17:41:45.576Z] Removing intermediate container 30019ded1b06 [2022-03-18T17:41:45.576Z] ---> b702054c3388 [2022-03-18T17:41:45.576Z] Step 25/25 : LABEL version=0.0.0 [2022-03-18T17:41:45.576Z] ---> Running in ba0a2c79a56c [2022-03-18T17:41:45.850Z] Removing intermediate container ba0a2c79a56c [2022-03-18T17:41:45.850Z] ---> 47365ec6c0a6 [2022-03-18T17:41:45.850Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-18T17:41:45.850Z] Successfully built 47365ec6c0a6 [2022-03-18T17:41:45.850Z] 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-03-18T17:41:46.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T17:41:46.276Z] [2022-03-18T17:41:46.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:41:46.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T17:41:46.901Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-18T17:41:46.901Z] 8998bd30e6a1: Pulling fs layer [2022-03-18T17:41:46.901Z] 04944245beec: Pulling fs layer [2022-03-18T17:41:46.901Z] 699f458cf7ca: Pulling fs layer [2022-03-18T17:41:46.901Z] 765212b225bb: Pulling fs layer [2022-03-18T17:41:46.901Z] f23df028b6ca: Pulling fs layer [2022-03-18T17:41:46.901Z] d65c8cfc05b1: Pulling fs layer [2022-03-18T17:41:46.901Z] 2437ff75d9bd: Pulling fs layer [2022-03-18T17:41:46.901Z] f23df028b6ca: Waiting [2022-03-18T17:41:46.901Z] d65c8cfc05b1: Waiting [2022-03-18T17:41:46.901Z] 2437ff75d9bd: Waiting [2022-03-18T17:41:46.901Z] 765212b225bb: Waiting [2022-03-18T17:41:46.901Z] 04944245beec: Verifying Checksum [2022-03-18T17:41:46.901Z] 04944245beec: Download complete [2022-03-18T17:41:46.901Z] 765212b225bb: Verifying Checksum [2022-03-18T17:41:46.901Z] 765212b225bb: Download complete [2022-03-18T17:41:46.901Z] f23df028b6ca: Verifying Checksum [2022-03-18T17:41:46.901Z] f23df028b6ca: Download complete [2022-03-18T17:41:46.901Z] d65c8cfc05b1: Verifying Checksum [2022-03-18T17:41:46.901Z] d65c8cfc05b1: Download complete [2022-03-18T17:41:47.177Z] 699f458cf7ca: Verifying Checksum [2022-03-18T17:41:47.177Z] 699f458cf7ca: Download complete [2022-03-18T17:41:47.450Z] 8998bd30e6a1: Verifying Checksum [2022-03-18T17:41:47.450Z] 8998bd30e6a1: Download complete [2022-03-18T17:41:50.081Z] 2437ff75d9bd: Verifying Checksum [2022-03-18T17:41:50.081Z] 2437ff75d9bd: Download complete [2022-03-18T17:41:52.055Z] 8998bd30e6a1: Pull complete [2022-03-18T17:41:52.328Z] 04944245beec: Pull complete [2022-03-18T17:41:53.764Z] 699f458cf7ca: Pull complete [2022-03-18T17:41:54.039Z] 765212b225bb: Pull complete [2022-03-18T17:41:55.020Z] f23df028b6ca: Pull complete [2022-03-18T17:41:55.020Z] d65c8cfc05b1: Pull complete [2022-03-18T17:42:10.109Z] 2437ff75d9bd: Pull complete [2022-03-18T17:42:10.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-18T17:42:10.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T17:42:10.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-18T17:42:10.315Z] prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container [2022-03-18T17:42:10.402Z] $ 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/11 -v /w/workspace/device-gpio/11:/w/workspace/device-gpio/11:rw,z -v /w/workspace/device-gpio/11@tmp:/w/workspace/device-gpio/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-18T17:42:12.791Z] $ docker top 887bcb6d3bb44c7c74dd82de70e22313422866e6552f77074d3fe2b5016381b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:13.702Z] ---> job-cost.sh [2022-03-18T17:42:13.702Z] lf-activate-venv: SKIPPING [2022-03-18T17:42:13.702Z] INFO: No Stack... [2022-03-18T17:42:13.972Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-18T17:42:14.947Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T17:42:15.611Z] + cat /w/workspace/device-gpio/11/archives/cost.csv [2022-03-18T17:42:15.611Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T17:42:15.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [2022-03-18T17:42:15.681Z] Resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] did not exist. Created. [2022-03-18T17:42:15.681Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T17:42:16.354Z] /w/workspace/device-gpio/11@tmp/durable-934f20df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-18T17:42:17.033Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-18T17:42:17.061Z] Warning: overwriting stash ‘stack-cost’ [2022-03-18T17:42:17.107Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T17:42:17.117Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-13-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T17:42:17.145Z] $ docker stop --time=1 887bcb6d3bb44c7c74dd82de70e22313422866e6552f77074d3fe2b5016381b8 [2022-03-18T17:42:18.620Z] $ docker rm -f 887bcb6d3bb44c7c74dd82de70e22313422866e6552f77074d3fe2b5016381b8 [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-03-18T17:42:19.073Z] provisioning config files... [2022-03-18T17:42:19.081Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config2724140429647269704tmp [Pipeline] { [Pipeline] sh [2022-03-18T17:42:19.374Z] + set +x [2022-03-18T17:42:19.374Z] + curl -s https://codecov.io/bash [2022-03-18T17:42:19.374Z] + bash -s -- [2022-03-18T17:42:19.374Z] [2022-03-18T17:42:19.374Z] _____ _ [2022-03-18T17:42:19.374Z] / ____| | | [2022-03-18T17:42:19.374Z] | | ___ __| | ___ ___ _____ __ [2022-03-18T17:42:19.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-18T17:42:19.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-18T17:42:19.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-18T17:42:19.374Z] Bash-1.0.6 [2022-03-18T17:42:19.374Z] [2022-03-18T17:42:19.374Z] [2022-03-18T17:42:19.374Z] ==> git version 2.25.1 found [2022-03-18T17:42:19.374Z] ==> 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-03-18T17:42:19.374Z] Release-Date: 2020-01-08 [2022-03-18T17:42:19.374Z] 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-03-18T17:42:19.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-18T17:42:19.374Z] ==> Jenkins CI detected. [2022-03-18T17:42:19.374Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-18T17:42:19.374Z] project root: . [2022-03-18T17:42:19.374Z] --> token set from env [2022-03-18T17:42:19.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-18T17:42:19.374Z] ==> Running gcov in . (disable via -X gcov) [2022-03-18T17:42:19.374Z] ==> Python coveragepy not found [2022-03-18T17:42:19.374Z] ==> Searching for coverage reports in: [2022-03-18T17:42:19.374Z] + . [2022-03-18T17:42:19.374Z] -> Found 1 reports [2022-03-18T17:42:19.374Z] ==> Detecting git/mercurial file structure [2022-03-18T17:42:19.374Z] ==> Reading reports [2022-03-18T17:42:19.374Z] + ./coverage.out bytes=10 [2022-03-18T17:42:19.374Z] ==> Appending adjustments [2022-03-18T17:42:19.375Z] https://docs.codecov.io/docs/fixing-reports [2022-03-18T17:42:19.635Z] + Found adjustments [2022-03-18T17:42:19.635Z] ==> Gzipping contents [2022-03-18T17:42:19.635Z] 4.0K /tmp/codecov.dMJvRQ.gz [2022-03-18T17:42:19.635Z] ==> Uploading reports [2022-03-18T17:42:19.635Z] url: https://codecov.io [2022-03-18T17:42:19.635Z] query: branch=PR-13&commit=fe3749473b0e6da845fd922ee7fc7fd33e28161d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= [2022-03-18T17:42:19.635Z] -> Pinging Codecov [2022-03-18T17:42:19.635Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-13&commit=fe3749473b0e6da845fd922ee7fc7fd33e28161d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-13%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=13&job=&cmd_args= [2022-03-18T17:42:19.895Z] -> Uploading to [2022-03-18T17:42:19.895Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fe3749473b0e6da845fd922ee7fc7fd33e28161d/bada1158-693f-4104-af16-9e65bd057ea5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T174219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe1d62cbfa4f0517aa7c287d008006bba609a4dc1d31c6e093ae4873c1aee796 [2022-03-18T17:42:19.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T17:42:19.895Z] Dload Upload Total Spent Left Speed [2022-03-18T17:42:20.156Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822 0 0 100 822 0 2767 --:--:-- --:--:-- --:--:-- 2767 [2022-03-18T17:42:20.156Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/fe3749473b0e6da845fd922ee7fc7fd33e28161d [Pipeline] } [2022-03-18T17:42:20.165Z] 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-03-18T17:42:20.847Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-13/archives ] [2022-03-18T17:42:20.848Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-18T17:42:20.848Z] total 16 [2022-03-18T17:42:20.848Z] drwxr-xr-x 3 root root 4096 Mar 18 17:37 . [2022-03-18T17:42:20.848Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 17:37 .. [2022-03-18T17:42:20.848Z] drwxr-xr-x 2 root root 4096 Mar 18 17:37 cost [2022-03-18T17:42:20.848Z] -rw-r--r-- 1 root root 82 Mar 18 17:37 cost.csv [2022-03-18T17:42:20.848Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-18T17:42:20.848Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-13/archives [2022-03-18T17:42:20.848Z] total 16 [2022-03-18T17:42:20.848Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 17:37 . [2022-03-18T17:42:20.848Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 17:37 .. [2022-03-18T17:42:20.848Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 17:37 cost [2022-03-18T17:42:20.848Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 18 17:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:21.143Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:22.010Z] ---> package-listing.sh [2022-03-18T17:42:22.010Z] ++ facter osfamily [2022-03-18T17:42:22.010Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-18T17:42:22.270Z] + OS_FAMILY=debian [2022-03-18T17:42:22.270Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-13 [2022-03-18T17:42:22.270Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-18T17:42:22.270Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-18T17:42:22.270Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-18T17:42:22.270Z] + PACKAGES=/tmp/packages_start.txt [2022-03-18T17:42:22.270Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-18T17:42:22.270Z] + PACKAGES=/tmp/packages_end.txt [2022-03-18T17:42:22.270Z] + case "${OS_FAMILY}" in [2022-03-18T17:42:22.270Z] + dpkg -l [2022-03-18T17:42:22.270Z] + grep '^ii' [2022-03-18T17:42:22.270Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-18T17:42:22.270Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-18T17:42:22.270Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-18T17:42:22.270Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-13 ']' [2022-03-18T17:42:22.270Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [2022-03-18T17:42:22.270Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-13/archives/ [Pipeline] echo [2022-03-18T17:42:22.282Z] 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-13/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-18T17:42:22.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-18T17:42:23.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T17:42:23.114Z] . [Pipeline] withDockerContainer [2022-03-18T17:42:23.187Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-03-18T17:42:23.261Z] $ 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-13/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-13 -v /w/workspace/edgexfoundry_device-gpio_PR-13:/w/workspace/edgexfoundry_device-gpio_PR-13:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-13@tmp:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T17:42:23.515Z] $ docker top 9b82b5ef0e2cf7c6b2542ffa0c626544597919d5ae7de3b02061172fa181cd1d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T17:42:23.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-18T17:42:24.156Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-18T17:42:24.446Z] + ls /var/log/sa-host [2022-03-18T17:42:24.446Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T17:42:24.661Z] provisioning config files... [2022-03-18T17:42:24.669Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-13@tmp/config8307271852031888812tmp [Pipeline] { [Pipeline] echo [2022-03-18T17:42:24.682Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:24.968Z] ---> create-netrc.sh [Pipeline] } [2022-03-18T17:42:24.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:25.306Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-18T17:42:25.315Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:25.602Z] ---> sudo-logs.sh [2022-03-18T17:42:25.602Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-18T17:42:25.625Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:25.908Z] ---> job-cost.sh [2022-03-18T17:42:25.908Z] lf-activate-venv: SKIPPING [2022-03-18T17:42:25.908Z] DEBUG: total: 0.2199999988079071 [2022-03-18T17:42:25.908Z] INFO: Retrieving Stack Cost... [2022-03-18T17:42:26.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T17:42:26.737Z] INFO: Archiving Costs [Pipeline] echo [2022-03-18T17:42:26.750Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T17:42:27.033Z] ---> logs-deploy.sh [2022-03-18T17:42:27.033Z] lf-activate-venv: SKIPPING [2022-03-18T17:42:27.033Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-13/11 [2022-03-18T17:42:27.033Z] INFO: archiving workspace using pattern(s): [2022-03-18T17:42:27.972Z] Archives upload complete. [2022-03-18T17:42:27.972Z] INFO: archiving logs to Nexus