Pull request #77 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from b07870a4eeb3061eddb8b9873f28c698a868abec+9d46b075d413968746c37768dd322ca74c72df60 (e20fbc46d90c3ec7bb2cb0874db780309a79e705) 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-ssh5942892539773129913.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5777166696288620867.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7597028305145151710.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-77/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3928143168263680706.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10084841068158326974.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-77/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-77/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2765013017330851961.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1907’ Running on prd-ubuntu20.04-docker-8c-8g-1909 in /w/workspace/edgexfoundry_device-gpio_PR-77 [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-77 # 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 > 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/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9d46b075d413968746c37768dd322ca74c72df60 into PR head commit b07870a4eeb3061eddb8b9873f28c698a868abec Merge succeeded, producing b07870a4eeb3061eddb8b9873f28c698a868abec Checking out Revision b07870a4eeb3061eddb8b9873f28c698a868abec (PR-77) > git config core.sparsecheckout # timeout=10 > git checkout -f b07870a4eeb3061eddb8b9873f28c698a868abec # 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 9d46b075d413968746c37768dd322ca74c72df60 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b07870a4eeb3061eddb8b9873f28c698a868abec # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T18:27:32.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T18:27:32.838Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T18:27:32.937Z] ========================================================= [2023-01-11T18:27:32.937Z] EdgeX Global Pipelines Version Info [2023-01-11T18:27:32.937Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:27:33.689Z] ------------------- [2023-01-11T18:27:33.689Z] stable info: [2023-01-11T18:27:33.689Z] ------------------- [2023-01-11T18:27:33.689Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T18:27:33.689Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:27:33.689Z] Message: update stable to v1.0.244 [2023-01-11T18:27:34.259Z] ------------------- [2023-01-11T18:27:34.260Z] experimental info: [2023-01-11T18:27:34.260Z] ------------------- [2023-01-11T18:27:34.260Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T18:27:34.260Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:27:34.260Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T18:27:34.529Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-11T18:27:34.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-11T18:27:34.602Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T18:27:34.639Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T18:27:34.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T18:27:34.716Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T18:27:34.752Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T18:27:34.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T18:27:34.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T18:27:34.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T18:27:34.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T18:27:34.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-11T18:27:34.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T18:27:35.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T18:27:35.122Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T18:27:35.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T18:27:35.214Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T18:27:35.258Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T18:27:35.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T18:27:35.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T18:27:35.389Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T18:27:35.434Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T18:27:35.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T18:27:35.518Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T18:27:35.563Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T18:27:35.604Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T18:27:35.641Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T18:27:35.679Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-77 [Pipeline] echo [2023-01-11T18:27:35.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-77 [Pipeline] echo [2023-01-11T18:27:35.755Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-77 [Pipeline] echo [2023-01-11T18:27:35.797Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b07870a4eeb3061eddb8b9873f28c698a868abec [Pipeline] echo [2023-01-11T18:27:35.834Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b07870a [Pipeline] echo [2023-01-11T18:27:35.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:27:35.996Z] provisioning config files... [2023-01-11T18:27:36.008Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp/config10288338849803379067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:27:36.365Z] ---> docker-login.sh [2023-01-11T18:27:36.365Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:27:36.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:36.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:36.885Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:36.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:36.885Z] [2023-01-11T18:27:36.885Z] Login Succeeded [2023-01-11T18:27:36.885Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:27:36.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:36.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:36.885Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:36.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:36.885Z] [2023-01-11T18:27:36.885Z] Login Succeeded [2023-01-11T18:27:36.885Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:27:36.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:36.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:36.885Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:36.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:36.885Z] [2023-01-11T18:27:36.885Z] Login Succeeded [2023-01-11T18:27:36.885Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:27:37.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:37.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:37.144Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:37.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:37.144Z] [2023-01-11T18:27:37.144Z] Login Succeeded [2023-01-11T18:27:37.144Z] docker.io [2023-01-11T18:27:37.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:37.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:37.403Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:37.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:37.403Z] [2023-01-11T18:27:37.403Z] Login Succeeded [2023-01-11T18:27:37.403Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:27:37.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T18:27:38.037Z] + git rev-list -1 --merges b07870a4eeb3061eddb8b9873f28c698a868abec~1..b07870a4eeb3061eddb8b9873f28c698a868abec [Pipeline] echo [2023-01-11T18:27:38.095Z] -----------> git rev-list -1 --merges b07870a4eeb3061eddb8b9873f28c698a868abec~1..b07870a4eeb3061eddb8b9873f28c698a868abec b07870a4eeb3061eddb8b9873f28c698a868abec [false] [Pipeline] sh [2023-01-11T18:27:38.398Z] + git log --format=format:%s -1 b07870a4eeb3061eddb8b9873f28c698a868abec [Pipeline] echo [2023-01-11T18:27:38.429Z] ========================================================= [2023-01-11T18:27:38.429Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T18:27:38.429Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:27:38.842Z] + git log --format=format:%s -1 b07870a4eeb3061eddb8b9873f28c698a868abec [Pipeline] echo [2023-01-11T18:27:38.873Z] [semverPrep] GIT_COMMIT: b07870a4eeb3061eddb8b9873f28c698a868abec, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T18:27:38.899Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T18:27:39.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T18:27:39.261Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T18:27:39.261Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T18:27:39.261Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T18:27:39.261Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T18:27:39.261Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T18:27:39.261Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:27:39.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:27:39.676Z] [2023-01-11T18:27:39.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:27:40.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:27:40.044Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T18:27:40.044Z] b85a868b505f: Pulling fs layer [2023-01-11T18:27:40.044Z] e2be974225ed: Pulling fs layer [2023-01-11T18:27:40.044Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T18:27:40.044Z] 988bab9f4d93: Pulling fs layer [2023-01-11T18:27:40.044Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T18:27:40.044Z] eaf3925da568: Pulling fs layer [2023-01-11T18:27:40.044Z] bab4dde63d76: Pulling fs layer [2023-01-11T18:27:40.044Z] bde34c3a00c8: Pulling fs layer [2023-01-11T18:27:40.044Z] 1469e6f7b9e6: Waiting [2023-01-11T18:27:40.044Z] eaf3925da568: Waiting [2023-01-11T18:27:40.044Z] bab4dde63d76: Waiting [2023-01-11T18:27:40.044Z] 988bab9f4d93: Waiting [2023-01-11T18:27:40.044Z] b352a97aabf1: Pulling fs layer [2023-01-11T18:27:40.044Z] 4872d77fe225: Pulling fs layer [2023-01-11T18:27:40.044Z] bde34c3a00c8: Waiting [2023-01-11T18:27:40.044Z] 5851b861e8e6: Pulling fs layer [2023-01-11T18:27:40.044Z] b352a97aabf1: Waiting [2023-01-11T18:27:40.044Z] 4872d77fe225: Waiting [2023-01-11T18:27:40.044Z] 5851b861e8e6: Waiting [2023-01-11T18:27:40.044Z] e2be974225ed: Verifying Checksum [2023-01-11T18:27:40.044Z] e2be974225ed: Download complete [2023-01-11T18:27:40.044Z] 988bab9f4d93: Verifying Checksum [2023-01-11T18:27:40.044Z] 988bab9f4d93: Download complete [2023-01-11T18:27:40.305Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T18:27:40.305Z] 1469e6f7b9e6: Download complete [2023-01-11T18:27:40.305Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T18:27:40.305Z] 339a4e72a1f5: Download complete [2023-01-11T18:27:40.305Z] eaf3925da568: Verifying Checksum [2023-01-11T18:27:40.305Z] eaf3925da568: Download complete [2023-01-11T18:27:40.305Z] bde34c3a00c8: Download complete [2023-01-11T18:27:40.305Z] b352a97aabf1: Verifying Checksum [2023-01-11T18:27:40.305Z] b352a97aabf1: Download complete [2023-01-11T18:27:40.305Z] 4872d77fe225: Verifying Checksum [2023-01-11T18:27:40.305Z] 4872d77fe225: Download complete [2023-01-11T18:27:40.305Z] 5851b861e8e6: Verifying Checksum [2023-01-11T18:27:40.305Z] 5851b861e8e6: Download complete [2023-01-11T18:27:40.305Z] b85a868b505f: Verifying Checksum [2023-01-11T18:27:40.305Z] b85a868b505f: Download complete [2023-01-11T18:27:40.565Z] bab4dde63d76: Verifying Checksum [2023-01-11T18:27:40.565Z] bab4dde63d76: Download complete [2023-01-11T18:27:41.512Z] b85a868b505f: Pull complete [2023-01-11T18:27:41.771Z] e2be974225ed: Pull complete [2023-01-11T18:27:42.030Z] 339a4e72a1f5: Pull complete [2023-01-11T18:27:42.294Z] 988bab9f4d93: Pull complete [2023-01-11T18:27:42.553Z] 1469e6f7b9e6: Pull complete [2023-01-11T18:27:42.553Z] eaf3925da568: Pull complete [2023-01-11T18:27:44.463Z] bab4dde63d76: Pull complete [2023-01-11T18:27:44.463Z] bde34c3a00c8: Pull complete [2023-01-11T18:27:44.463Z] b352a97aabf1: Pull complete [2023-01-11T18:27:44.463Z] 4872d77fe225: Pull complete [2023-01-11T18:27:44.463Z] 5851b861e8e6: Pull complete [2023-01-11T18:27:44.731Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T18:27:44.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:27:44.731Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:27:44.958Z] prd-ubuntu20.04-docker-8c-8g-1909 does not seem to be running inside a container [2023-01-11T18:27:44.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-77 -v /w/workspace/edgexfoundry_device-gpio_PR-77:/w/workspace/edgexfoundry_device-gpio_PR-77:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-77@tmp:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T18:27:49.051Z] $ docker top 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda -eo pid,comm [2023-01-11T18:27:49.112Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T18:27:49.112Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T18:27:49.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:27:49.238Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:27:49.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:27:49.364Z] $ docker exec 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda ssh-agent [2023-01-11T18:27:49.475Z] SSH_AUTH_SOCK=/tmp/ssh-2UoikwxyzdxH/agent.33 [2023-01-11T18:27:49.475Z] SSH_AGENT_PID=39 [2023-01-11T18:27:49.485Z] Running ssh-add (command line suppressed) [2023-01-11T18:27:49.576Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-77@tmp/private_key_17445133186645014178.key (/w/workspace/edgexfoundry_device-gpio_PR-77@tmp/private_key_17445133186645014178.key) [2023-01-11T18:27:49.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:27:49.928Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T18:27:49.943Z] $ docker exec --env ******** --env ******** 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda ssh-agent -k [2023-01-11T18:27:50.036Z] unset SSH_AUTH_SOCK; [2023-01-11T18:27:50.036Z] unset SSH_AGENT_PID; [2023-01-11T18:27:50.037Z] echo Agent pid 39 killed; [2023-01-11T18:27:50.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T18:27:50.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:27:50.142Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:27:50.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:27:50.251Z] $ docker exec 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda ssh-agent [2023-01-11T18:27:50.368Z] SSH_AUTH_SOCK=/tmp/ssh-bDv2PJR88HgQ/agent.71 [2023-01-11T18:27:50.368Z] SSH_AGENT_PID=77 [2023-01-11T18:27:50.373Z] Running ssh-add (command line suppressed) [2023-01-11T18:27:50.461Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-77@tmp/private_key_10850198572834452155.key (/w/workspace/edgexfoundry_device-gpio_PR-77@tmp/private_key_10850198572834452155.key) [2023-01-11T18:27:50.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:27:50.816Z] + git semver init [2023-01-11T18:27:51.073Z] 2023-01-11 18:27:50,975 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T18:27:51.073Z] 2023-01-11 18:27:50,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-77/.semver [2023-01-11T18:27:51.073Z] 2023-01-11 18:27:50,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-77/.semver [2023-01-11T18:27:51.073Z] 2023-01-11 18:27:50,976 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-77/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-77, universal_newlines=False, shell=None, istream=None) [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,942 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-77/.git/info/exclude [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-77/.semver/PR-77 with force:False [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,943 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-77/.semver/PR-77 [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,947 [execute] INFO git cat-file --batch-check [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,954 [execute] INFO git cat-file --batch [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-77/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:27:52.006Z] 2023-01-11 18:27:51,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-77/.semver/PR-77 [2023-01-11T18:27:52.006Z] 0.0.0 [Pipeline] } [2023-01-11T18:27:52.027Z] $ docker exec --env ******** --env ******** 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda ssh-agent -k [2023-01-11T18:27:52.119Z] unset SSH_AUTH_SOCK; [2023-01-11T18:27:52.119Z] unset SSH_AGENT_PID; [2023-01-11T18:27:52.120Z] echo Agent pid 77 killed; [2023-01-11T18:27:52.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T18:27:52.542Z] + git semver [Pipeline] } [2023-01-11T18:27:52.820Z] $ docker stop --time=1 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda [2023-01-11T18:27:54.120Z] $ docker rm -f --volumes 32e508f6e42867ec6e03adf32eb4adbedcc5dbfaed7b9ee7b6ff05c8eb03cbda [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:27:54.526Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T18:27:54.791Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T18:27:54.816Z] [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 [2023-01-11T18:27:55.435Z] provisioning config files... [2023-01-11T18:27:55.443Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp/config17163099059717378858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:27:55.793Z] ---> docker-login.sh [2023-01-11T18:27:55.793Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:27:55.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:55.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:55.793Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:55.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:55.793Z] [2023-01-11T18:27:55.793Z] Login Succeeded [2023-01-11T18:27:55.793Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:27:55.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:55.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:55.793Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:55.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:55.793Z] [2023-01-11T18:27:55.793Z] Login Succeeded [2023-01-11T18:27:55.793Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:27:56.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:56.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:56.051Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:56.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:56.051Z] [2023-01-11T18:27:56.051Z] Login Succeeded [2023-01-11T18:27:56.051Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:27:56.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:56.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:56.051Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:56.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:56.051Z] [2023-01-11T18:27:56.051Z] Login Succeeded [2023-01-11T18:27:56.051Z] docker.io [2023-01-11T18:27:56.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:27:56.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:27:56.310Z] Configure a credential helper to remove this warning. See [2023-01-11T18:27:56.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:27:56.310Z] [2023-01-11T18:27:56.310Z] Login Succeeded [2023-01-11T18:27:56.310Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:27:56.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T18:27:56.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:27:56.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:27:56.610Z] ========================================================= [2023-01-11T18:27:56.610Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T18:27:56.610Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:27:57.083Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T18:27:57.083Z] Sending build context to Docker daemon 16.02MB [2023-01-11T18:27:57.083Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:27:57.083Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T18:27:57.342Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T18:27:57.342Z] 213ec9aee27d: Pulling fs layer [2023-01-11T18:27:57.342Z] 4583459ba037: Pulling fs layer [2023-01-11T18:27:57.342Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T18:27:57.342Z] 53926ce57604: Pulling fs layer [2023-01-11T18:27:57.342Z] 53926ce57604: Waiting [2023-01-11T18:27:57.342Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T18:27:57.342Z] 22ff95d597cd: Pulling fs layer [2023-01-11T18:27:57.342Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T18:27:57.342Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T18:27:57.342Z] 21b2b0c7a3f4: Waiting [2023-01-11T18:27:57.342Z] 22ff95d597cd: Waiting [2023-01-11T18:27:57.342Z] a7acece74701: Pulling fs layer [2023-01-11T18:27:57.342Z] a7acece74701: Waiting [2023-01-11T18:27:57.342Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T18:27:57.342Z] 93c1e223e6f2: Download complete [2023-01-11T18:27:57.342Z] 4583459ba037: Download complete [2023-01-11T18:27:57.342Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T18:27:57.342Z] 21b2b0c7a3f4: Download complete [2023-01-11T18:27:57.342Z] 22ff95d597cd: Verifying Checksum [2023-01-11T18:27:57.342Z] 22ff95d597cd: Download complete [2023-01-11T18:27:57.342Z] 213ec9aee27d: Download complete [2023-01-11T18:27:57.342Z] 12d6caf4c0d1: Download complete [2023-01-11T18:27:57.342Z] 213ec9aee27d: Pull complete [2023-01-11T18:27:57.605Z] 4583459ba037: Pull complete [2023-01-11T18:27:57.605Z] 93c1e223e6f2: Pull complete [2023-01-11T18:27:58.193Z] a7acece74701: Verifying Checksum [2023-01-11T18:27:58.193Z] a7acece74701: Download complete [2023-01-11T18:27:58.193Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T18:27:58.193Z] 96b7cbca73a9: Download complete [2023-01-11T18:27:58.193Z] 53926ce57604: Verifying Checksum [2023-01-11T18:27:58.193Z] 53926ce57604: Download complete [2023-01-11T18:28:02.382Z] 53926ce57604: Pull complete [2023-01-11T18:28:02.382Z] 21b2b0c7a3f4: Pull complete [2023-01-11T18:28:02.382Z] 22ff95d597cd: Pull complete [2023-01-11T18:28:02.382Z] 12d6caf4c0d1: Pull complete [2023-01-11T18:28:04.286Z] 96b7cbca73a9: Pull complete [2023-01-11T18:28:04.545Z] a7acece74701: Pull complete [2023-01-11T18:28:04.803Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T18:28:04.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T18:28:04.803Z] ---> db6d94c90886 [2023-01-11T18:28:04.803Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:28:08.995Z] ---> Running in a1449f0d0402 [2023-01-11T18:28:08.995Z] Removing intermediate container a1449f0d0402 [2023-01-11T18:28:08.995Z] ---> 9d8e3fb0610f [2023-01-11T18:28:08.995Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:28:08.995Z] ---> Running in 158a4e2ad126 [2023-01-11T18:28:09.256Z] Removing intermediate container 158a4e2ad126 [2023-01-11T18:28:09.256Z] ---> 57e9ac0a9c00 [2023-01-11T18:28:09.256Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T18:28:09.256Z] ---> Running in dd6df133f722 [2023-01-11T18:28:09.256Z] Removing intermediate container dd6df133f722 [2023-01-11T18:28:09.256Z] ---> 915c9add5f96 [2023-01-11T18:28:09.256Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:28:09.256Z] ---> Running in 77c0bcad47be [2023-01-11T18:28:09.515Z] Removing intermediate container 77c0bcad47be [2023-01-11T18:28:09.515Z] ---> 5356325ba741 [2023-01-11T18:28:09.515Z] Step 7/12 : WORKDIR /device-gpio [2023-01-11T18:28:09.515Z] ---> Running in 8c5412877c64 [2023-01-11T18:28:09.515Z] Removing intermediate container 8c5412877c64 [2023-01-11T18:28:09.515Z] ---> 43541f773a50 [2023-01-11T18:28:09.515Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:28:09.515Z] ---> Running in fb701b09b048 [2023-01-11T18:28:09.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:28:10.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:28:10.239Z] Still waiting to schedule task [2023-01-11T18:28:10.240Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1908’ [2023-01-11T18:28:10.291Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T18:28:10.291Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T18:28:10.291Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T18:28:10.291Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T18:28:10.291Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:28:10.291Z] OK: 216 MiB in 55 packages [2023-01-11T18:28:10.858Z] Removing intermediate container fb701b09b048 [2023-01-11T18:28:10.858Z] ---> dc8ecd0213b9 [2023-01-11T18:28:10.858Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T18:28:10.858Z] ---> 8cc2ec5ed3c9 [2023-01-11T18:28:10.858Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:28:10.858Z] ---> Running in 1f77855c1578 [2023-01-11T18:28:37.414Z] Removing intermediate container 1f77855c1578 [2023-01-11T18:28:37.414Z] ---> b0d0211837e4 [2023-01-11T18:28:37.414Z] Step 11/12 : COPY . . [2023-01-11T18:28:37.414Z] ---> b9d772fae8e9 [2023-01-11T18:28:37.414Z] Step 12/12 : RUN ${MAKE} [2023-01-11T18:28:37.414Z] ---> Running in 240241536ba9 [2023-01-11T18:28:37.414Z] noop [2023-01-11T18:28:37.414Z] Removing intermediate container 240241536ba9 [2023-01-11T18:28:37.414Z] ---> e1d756138b45 [2023-01-11T18:28:37.414Z] Successfully built e1d756138b45 [2023-01-11T18:28:37.414Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:28:37.902Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T18:28:37.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:28:38.049Z] prd-ubuntu20.04-docker-8c-8g-1909 does not seem to be running inside a container [2023-01-11T18:28:38.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-77 -v /w/workspace/edgexfoundry_device-gpio_PR-77:/w/workspace/edgexfoundry_device-gpio_PR-77:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-77@tmp:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T18:28:38.430Z] $ docker top 4921c2c47c2a808a5223fd9a6ba6bbd751d9fccbb8e4666bef17b285e8019586 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:28:38.815Z] + go version [2023-01-11T18:28:38.815Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T18:28:38.851Z] $ docker stop --time=1 4921c2c47c2a808a5223fd9a6ba6bbd751d9fccbb8e4666bef17b285e8019586 [2023-01-11T18:28:40.120Z] $ docker rm -f --volumes 4921c2c47c2a808a5223fd9a6ba6bbd751d9fccbb8e4666bef17b285e8019586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:28:40.791Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T18:28:40.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:28:40.935Z] prd-ubuntu20.04-docker-8c-8g-1909 does not seem to be running inside a container [2023-01-11T18:28:40.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-77 -v /w/workspace/edgexfoundry_device-gpio_PR-77:/w/workspace/edgexfoundry_device-gpio_PR-77:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-77@tmp:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T18:28:41.338Z] $ docker top 3a5864f7543933c1d5a8420b6728faa57a7962ad2a247951cf1a19dc19a0281f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:28:41.760Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-77 [Pipeline] fileExists [Pipeline] sh [2023-01-11T18:28:42.121Z] + make test [2023-01-11T18:28:42.121Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T18:28:42.379Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-11T18:28:52.343Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-11T18:28:52.343Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-11T18:28:57.608Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T18:28:57.608Z] go vet ./... [2023-01-11T18:29:00.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T18:29:00.132Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T18:29:00.132Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T18:29:00.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T18:29:00.207Z] $ docker stop --time=1 3a5864f7543933c1d5a8420b6728faa57a7962ad2a247951cf1a19dc19a0281f [2023-01-11T18:29:02.351Z] $ docker rm -f --volumes 3a5864f7543933c1d5a8420b6728faa57a7962ad2a247951cf1a19dc19a0281f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:29:02.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T18:29:02.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T18:29:03.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T18:29:03.797Z] + ls -al . [2023-01-11T18:29:03.797Z] total 168 [2023-01-11T18:29:03.797Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:28 . [2023-01-11T18:29:03.797Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:27 .. [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 18:27 .dockerignore [2023-01-11T18:29:03.797Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:28 .git [2023-01-11T18:29:03.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:27 .github [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 18:27 .gitignore [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:27 .golangci.yml [2023-01-11T18:29:03.797Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:27 .semver [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 18:27 Attribution.txt [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 18:27 CHANGELOG.md [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 18:27 Dockerfile [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:27 GOVERNANCE.md [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 18:27 Jenkinsfile [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:27 LICENSE [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 18:27 Makefile [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 18:27 OWNERS.md [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 18:27 README.md [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:27 VERSION [2023-01-11T18:29:03.797Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:27 bin [2023-01-11T18:29:03.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:27 cmd [2023-01-11T18:29:03.797Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 11 18:28 coverage.out [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 11 18:27 go.mod [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 11 18:27 go.sum [2023-01-11T18:29:03.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:27 internal [2023-01-11T18:29:03.797Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:27 snap [2023-01-11T18:29:03.797Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:29:04.187Z] + 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=b07870a4eeb3061eddb8b9873f28c698a868abec --label arch=amd64 --label version=0.0.0 . [2023-01-11T18:29:04.187Z] Sending build context to Docker daemon 16.02MB [2023-01-11T18:29:04.187Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:29:04.187Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-11T18:29:04.187Z] ---> e1d756138b45 [2023-01-11T18:29:04.187Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:29:04.448Z] ---> Running in db45a7843d36 [2023-01-11T18:29:04.448Z] Removing intermediate container db45a7843d36 [2023-01-11T18:29:04.448Z] ---> 79dcb17d7bc1 [2023-01-11T18:29:04.448Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:29:04.448Z] ---> Running in ba930b4cee65 [2023-01-11T18:29:04.706Z] Removing intermediate container ba930b4cee65 [2023-01-11T18:29:04.706Z] ---> 7ba07b1b45be [2023-01-11T18:29:04.706Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T18:29:04.706Z] ---> Running in aec344e5d8f5 [2023-01-11T18:29:04.706Z] Removing intermediate container aec344e5d8f5 [2023-01-11T18:29:04.706Z] ---> 5fc0358d024b [2023-01-11T18:29:04.706Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:29:04.706Z] ---> Running in cd0ca4c5f03d [2023-01-11T18:29:04.706Z] Removing intermediate container cd0ca4c5f03d [2023-01-11T18:29:04.706Z] ---> 5f2eee3a2a52 [2023-01-11T18:29:04.706Z] Step 7/25 : WORKDIR /device-gpio [2023-01-11T18:29:04.706Z] ---> Running in 1eebf932c1a8 [2023-01-11T18:29:04.965Z] Removing intermediate container 1eebf932c1a8 [2023-01-11T18:29:04.965Z] ---> da3be5c77688 [2023-01-11T18:29:04.965Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:29:04.965Z] ---> Running in f85aecb84550 [2023-01-11T18:29:05.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:29:05.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:29:05.480Z] OK: 216 MiB in 55 packages [2023-01-11T18:29:05.738Z] Removing intermediate container f85aecb84550 [2023-01-11T18:29:05.738Z] ---> 2cf0f333c981 [2023-01-11T18:29:05.738Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-11T18:29:05.738Z] ---> 9f974ae741c5 [2023-01-11T18:29:05.738Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:29:05.738Z] ---> Running in 4ff49ade8dec [2023-01-11T18:29:06.304Z] Removing intermediate container 4ff49ade8dec [2023-01-11T18:29:06.304Z] ---> 930e74302a4f [2023-01-11T18:29:06.304Z] Step 11/25 : COPY . . [2023-01-11T18:29:06.871Z] ---> da69db4d4b07 [2023-01-11T18:29:06.871Z] Step 12/25 : RUN ${MAKE} [2023-01-11T18:29:06.871Z] ---> Running in 13045a90b676 [2023-01-11T18:29:07.129Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-11T18:29:19.332Z] Removing intermediate container 13045a90b676 [2023-01-11T18:29:19.332Z] ---> 895787263ac9 [2023-01-11T18:29:19.332Z] Step 13/25 : FROM alpine:3.16 [2023-01-11T18:29:19.332Z] 3.16: Pulling from library/alpine [2023-01-11T18:29:19.590Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T18:29:19.848Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T18:29:19.848Z] ca7dd9ec2225: Download complete [2023-01-11T18:29:19.848Z] ca7dd9ec2225: Pull complete [2023-01-11T18:29:19.848Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T18:29:19.848Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T18:29:19.848Z] ---> bfe296a52501 [2023-01-11T18:29:19.848Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-11T18:29:19.848Z] ---> Running in 8be13c1f1531 [2023-01-11T18:29:20.106Z] Removing intermediate container 8be13c1f1531 [2023-01-11T18:29:20.106Z] ---> 7bce4bbadd74 [2023-01-11T18:29:20.106Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-11T18:29:20.106Z] ---> Running in 63d1a3b15d65 [2023-01-11T18:29:20.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:29:20.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:29:20.626Z] OK: 6 MiB in 14 packages [2023-01-11T18:29:20.884Z] Removing intermediate container 63d1a3b15d65 [2023-01-11T18:29:20.884Z] ---> dfe9a5b263c6 [2023-01-11T18:29:20.884Z] Step 16/25 : WORKDIR / [2023-01-11T18:29:20.884Z] ---> Running in 1e6f1a8463e4 [2023-01-11T18:29:21.142Z] Removing intermediate container 1e6f1a8463e4 [2023-01-11T18:29:21.142Z] ---> c3b97b48f8a1 [2023-01-11T18:29:21.142Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-11T18:29:21.142Z] ---> e523e82465bb [2023-01-11T18:29:21.142Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-11T18:29:21.400Z] ---> f6ca5790ed3a [2023-01-11T18:29:21.400Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-11T18:29:21.970Z] ---> fd6bca968c61 [2023-01-11T18:29:21.970Z] Step 20/25 : EXPOSE 59910 [2023-01-11T18:29:21.970Z] ---> Running in e3ce39377c58 [2023-01-11T18:29:21.970Z] Removing intermediate container e3ce39377c58 [2023-01-11T18:29:21.970Z] ---> 3c968f61a0df [2023-01-11T18:29:21.970Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-11T18:29:21.970Z] ---> Running in c65830a16968 [2023-01-11T18:29:21.970Z] Removing intermediate container c65830a16968 [2023-01-11T18:29:21.970Z] ---> ae86ad99a929 [2023-01-11T18:29:21.970Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T18:29:21.970Z] ---> Running in 5b10996d98bc [2023-01-11T18:29:21.970Z] Removing intermediate container 5b10996d98bc [2023-01-11T18:29:21.970Z] ---> b11cc9ad3666 [2023-01-11T18:29:21.970Z] Step 23/25 : LABEL arch=amd64 [2023-01-11T18:29:22.229Z] ---> Running in e0b29983b533 [2023-01-11T18:29:22.229Z] Removing intermediate container e0b29983b533 [2023-01-11T18:29:22.229Z] ---> e69623c5150d [2023-01-11T18:29:22.229Z] Step 24/25 : LABEL git_sha=b07870a4eeb3061eddb8b9873f28c698a868abec [2023-01-11T18:29:22.229Z] ---> Running in b0a9aa785a11 [2023-01-11T18:29:22.229Z] Removing intermediate container b0a9aa785a11 [2023-01-11T18:29:22.229Z] ---> 14c6bbcd0e6d [2023-01-11T18:29:22.229Z] Step 25/25 : LABEL version=0.0.0 [2023-01-11T18:29:22.229Z] ---> Running in 816306d9b61f [2023-01-11T18:29:22.229Z] Removing intermediate container 816306d9b61f [2023-01-11T18:29:22.229Z] ---> 10a0c97b71ba [2023-01-11T18:29:22.229Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:29:22.229Z] Successfully built 10a0c97b71ba [2023-01-11T18:29:22.229Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:29:23.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:29:23.050Z] [2023-01-11T18:29:23.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:29:23.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:29:23.436Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T18:29:23.436Z] 5eb5b503b376: Pulling fs layer [2023-01-11T18:29:23.436Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T18:29:23.436Z] ec43610c2a17: Pulling fs layer [2023-01-11T18:29:23.436Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T18:29:23.436Z] 33b1e0a273af: Pulling fs layer [2023-01-11T18:29:23.436Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T18:29:23.436Z] 2f39f015ded8: Pulling fs layer [2023-01-11T18:29:23.436Z] 5d3b04190fa2: Waiting [2023-01-11T18:29:23.436Z] 3a2ae6a8a46f: Waiting [2023-01-11T18:29:23.436Z] 33b1e0a273af: Waiting [2023-01-11T18:29:23.436Z] 2f39f015ded8: Waiting [2023-01-11T18:29:23.436Z] 5c69ac0246d0: Download complete [2023-01-11T18:29:23.436Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T18:29:23.436Z] 3a2ae6a8a46f: Download complete [2023-01-11T18:29:23.436Z] 33b1e0a273af: Verifying Checksum [2023-01-11T18:29:23.436Z] 33b1e0a273af: Download complete [2023-01-11T18:29:23.436Z] ec43610c2a17: Verifying Checksum [2023-01-11T18:29:23.436Z] ec43610c2a17: Download complete [2023-01-11T18:29:23.699Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T18:29:23.699Z] 5d3b04190fa2: Download complete [2023-01-11T18:29:23.699Z] 5eb5b503b376: Verifying Checksum [2023-01-11T18:29:23.699Z] 5eb5b503b376: Download complete [2023-01-11T18:29:24.273Z] 2f39f015ded8: Download complete [2023-01-11T18:29:24.843Z] 5eb5b503b376: Pull complete [2023-01-11T18:29:24.843Z] 5c69ac0246d0: Pull complete [2023-01-11T18:29:25.409Z] ec43610c2a17: Pull complete [2023-01-11T18:29:25.409Z] 3a2ae6a8a46f: Pull complete [2023-01-11T18:29:25.409Z] 33b1e0a273af: Pull complete [2023-01-11T18:29:25.976Z] 5d3b04190fa2: Pull complete [2023-01-11T18:29:30.157Z] 2f39f015ded8: Pull complete [2023-01-11T18:29:30.157Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T18:29:30.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:29:30.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:29:30.368Z] prd-ubuntu20.04-docker-8c-8g-1909 does not seem to be running inside a container [2023-01-11T18:29:30.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-77 -v /w/workspace/edgexfoundry_device-gpio_PR-77:/w/workspace/edgexfoundry_device-gpio_PR-77:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-77@tmp:/w/workspace/edgexfoundry_device-gpio_PR-77@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 [2023-01-11T18:29:33.571Z] $ docker top a14da0e30b06f1476acf8e7e4afaaadce678a17912fa2db9fbcf2d253d16c3b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:29:34.013Z] ---> job-cost.sh [2023-01-11T18:29:34.013Z] lf-activate-venv: SKIPPING [2023-01-11T18:29:34.013Z] INFO: No Stack... [2023-01-11T18:29:34.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:29:34.840Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:29:35.209Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-77/archives/cost.csv [2023-01-11T18:29:35.209Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T18:29:35.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] [2023-01-11T18:29:35.258Z] Resource [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] did not exist. Created. [2023-01-11T18:29:35.258Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:29:35.642Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T18:29:35.693Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:29:35.719Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:29:35.799Z] $ docker stop --time=1 a14da0e30b06f1476acf8e7e4afaaadce678a17912fa2db9fbcf2d253d16c3b6 [2023-01-11T18:29:36.946Z] $ docker rm -f --volumes a14da0e30b06f1476acf8e7e4afaaadce678a17912fa2db9fbcf2d253d16c3b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T18:30:41.769Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1912 in /w/workspace/edgexfoundry_device-gpio_PR-77 [Pipeline] { [Pipeline] ws [2023-01-11T18:30:41.829Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-01-11T18:30:41.916Z] The recommended git tool is: git [2023-01-11T18:30:47.812Z] using credential edgex-jenkins-ssh [2023-01-11T18:30:47.833Z] Cloning the remote Git repository [2023-01-11T18:30:47.890Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-11T18:30:47.980Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-01-11T18:30:48.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-11T18:30:48.159Z] > git --version # timeout=10 [2023-01-11T18:30:48.190Z] > git --version # 'git version 2.25.1' [2023-01-11T18:30:48.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:30:48.284Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T18:30:50.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-11T18:30:50.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T18:30:51.624Z] Merging remotes/origin/main commit 9d46b075d413968746c37768dd322ca74c72df60 into PR head commit b07870a4eeb3061eddb8b9873f28c698a868abec [2023-01-11T18:30:51.885Z] Merge succeeded, producing b07870a4eeb3061eddb8b9873f28c698a868abec [2023-01-11T18:30:51.885Z] Checking out Revision b07870a4eeb3061eddb8b9873f28c698a868abec (PR-77) [2023-01-11T18:30:51.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-11T18:30:51.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-11T18:30:51.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:30:51.082Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/77/head:refs/remotes/origin/PR-77 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T18:30:51.648Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T18:30:51.666Z] > git checkout -f b07870a4eeb3061eddb8b9873f28c698a868abec # timeout=10 [2023-01-11T18:30:51.764Z] > git remote # timeout=10 [2023-01-11T18:30:51.791Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T18:30:51.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:30:51.832Z] > git merge 9d46b075d413968746c37768dd322ca74c72df60 # timeout=10 [2023-01-11T18:30:51.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T18:30:51.896Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T18:30:51.913Z] > git checkout -f b07870a4eeb3061eddb8b9873f28c698a868abec # timeout=10 [2023-01-11T18:30:56.856Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [2023-01-11T18:30:56.909Z] > git --version # timeout=10 [2023-01-11T18:30:56.922Z] > git --version # 'git version 2.25.1' [2023-01-11T18:30:56.937Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:30:58.018Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T18:30:58.018Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:30:58.018Z] Dload Upload Total Spent Left Speed [2023-01-11T18:30:58.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62504 0 --:--:-- --:--:-- --:--:-- 62504 [Pipeline] sh [2023-01-11T18:30:58.684Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T18:30:59.034Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T18:30:59.034Z] + sudo tee /etc/docker/daemon.new [2023-01-11T18:30:59.034Z] { [2023-01-11T18:30:59.034Z] "registry-mirrors": [ [2023-01-11T18:30:59.034Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T18:30:59.034Z] ], [2023-01-11T18:30:59.034Z] "bip": "10.250.0.254/24", [2023-01-11T18:30:59.034Z] "hosts": [ [2023-01-11T18:30:59.034Z] "tcp://0.0.0.0:5555", [2023-01-11T18:30:59.034Z] "unix:///var/run/docker.sock" [2023-01-11T18:30:59.034Z] ], [2023-01-11T18:30:59.034Z] "mtu": 1458, [2023-01-11T18:30:59.034Z] "selinux-enabled": true, [2023-01-11T18:30:59.034Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T18:30:59.034Z] } [Pipeline] sh [2023-01-11T18:30:59.392Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T18:30:59.790Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:31:18.154Z] provisioning config files... [2023-01-11T18:31:18.189Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config12560833304331138310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:31:18.600Z] ---> docker-login.sh [2023-01-11T18:31:18.600Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:31:19.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:19.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:19.191Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:19.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:19.191Z] [2023-01-11T18:31:19.191Z] Login Succeeded [2023-01-11T18:31:19.191Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:31:19.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:19.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:19.735Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:19.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:19.735Z] [2023-01-11T18:31:19.735Z] Login Succeeded [2023-01-11T18:31:19.735Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:31:20.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:20.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:20.016Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:20.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:20.016Z] [2023-01-11T18:31:20.016Z] Login Succeeded [2023-01-11T18:31:20.016Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:31:20.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:20.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:20.566Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:20.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:20.566Z] [2023-01-11T18:31:20.566Z] Login Succeeded [2023-01-11T18:31:20.566Z] docker.io [2023-01-11T18:31:20.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:31:21.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:31:21.107Z] Configure a credential helper to remove this warning. See [2023-01-11T18:31:21.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:31:21.107Z] [2023-01-11T18:31:21.107Z] Login Succeeded [2023-01-11T18:31:21.107Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:31:21.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T18:31:21.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:31:21.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:31:21.616Z] ========================================================= [2023-01-11T18:31:21.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T18:31:21.616Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:31:22.127Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T18:31:22.399Z] Sending build context to Docker daemon 8.099MB [2023-01-11T18:31:22.399Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:31:22.399Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T18:31:22.671Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T18:31:22.671Z] 9b18e9b68314: Pulling fs layer [2023-01-11T18:31:22.671Z] 35d82f9e3411: Pulling fs layer [2023-01-11T18:31:22.671Z] e16973657156: Pulling fs layer [2023-01-11T18:31:22.671Z] fc693d55d65f: Pulling fs layer [2023-01-11T18:31:22.671Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T18:31:22.671Z] dda99020689f: Pulling fs layer [2023-01-11T18:31:22.671Z] db1c61fa0a46: Pulling fs layer [2023-01-11T18:31:22.671Z] 891c053d2c06: Pulling fs layer [2023-01-11T18:31:22.671Z] dda99020689f: Waiting [2023-01-11T18:31:22.671Z] fc693d55d65f: Waiting [2023-01-11T18:31:22.671Z] 7e9fc2657dce: Waiting [2023-01-11T18:31:22.671Z] db1c61fa0a46: Waiting [2023-01-11T18:31:22.671Z] 891c053d2c06: Waiting [2023-01-11T18:31:22.671Z] e16973657156: Verifying Checksum [2023-01-11T18:31:22.671Z] e16973657156: Download complete [2023-01-11T18:31:22.671Z] 35d82f9e3411: Verifying Checksum [2023-01-11T18:31:22.671Z] 35d82f9e3411: Download complete [2023-01-11T18:31:22.671Z] 7e9fc2657dce: Download complete [2023-01-11T18:31:22.671Z] dda99020689f: Download complete [2023-01-11T18:31:22.671Z] 9b18e9b68314: Verifying Checksum [2023-01-11T18:31:22.671Z] 9b18e9b68314: Download complete [2023-01-11T18:31:23.657Z] 9b18e9b68314: Pull complete [2023-01-11T18:31:23.932Z] 891c053d2c06: Verifying Checksum [2023-01-11T18:31:23.932Z] 891c053d2c06: Download complete [2023-01-11T18:31:24.529Z] 35d82f9e3411: Pull complete [2023-01-11T18:31:24.825Z] e16973657156: Pull complete [2023-01-11T18:31:25.434Z] db1c61fa0a46: Download complete [2023-01-11T18:31:26.025Z] fc693d55d65f: Verifying Checksum [2023-01-11T18:31:26.025Z] fc693d55d65f: Download complete [2023-01-11T18:31:38.383Z] fc693d55d65f: Pull complete [2023-01-11T18:31:38.383Z] 7e9fc2657dce: Pull complete [2023-01-11T18:31:38.664Z] dda99020689f: Pull complete [2023-01-11T18:31:46.928Z] db1c61fa0a46: Pull complete [2023-01-11T18:31:48.361Z] 891c053d2c06: Pull complete [2023-01-11T18:31:48.361Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T18:31:48.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T18:31:48.361Z] ---> f96f9c87975a [2023-01-11T18:31:48.361Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:31:50.314Z] ---> Running in a6e2f1ee0cf5 [2023-01-11T18:31:50.582Z] Removing intermediate container a6e2f1ee0cf5 [2023-01-11T18:31:50.582Z] ---> 1ec872dd6489 [2023-01-11T18:31:50.582Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:31:50.582Z] ---> Running in fda8525d91f7 [2023-01-11T18:31:50.858Z] Removing intermediate container fda8525d91f7 [2023-01-11T18:31:50.858Z] ---> 8f1f811642a3 [2023-01-11T18:31:50.858Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T18:31:51.127Z] ---> Running in c9737b8ebb65 [2023-01-11T18:31:51.396Z] Removing intermediate container c9737b8ebb65 [2023-01-11T18:31:51.396Z] ---> 07581d85b5f1 [2023-01-11T18:31:51.396Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:31:51.396Z] ---> Running in ebda4ce4e60c [2023-01-11T18:31:51.663Z] Removing intermediate container ebda4ce4e60c [2023-01-11T18:31:51.663Z] ---> 2bfc3edf81cd [2023-01-11T18:31:51.663Z] Step 7/12 : WORKDIR /device-gpio [2023-01-11T18:31:51.940Z] ---> Running in 2730987a8fd4 [2023-01-11T18:31:52.212Z] Removing intermediate container 2730987a8fd4 [2023-01-11T18:31:52.212Z] ---> bd7f2d2a835d [2023-01-11T18:31:52.212Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:31:52.212Z] ---> Running in 49a8a8cb67ef [2023-01-11T18:31:53.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:31:53.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:31:54.876Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T18:31:54.876Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T18:31:54.877Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T18:31:54.877Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T18:31:55.150Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:31:55.150Z] OK: 226 MiB in 55 packages [2023-01-11T18:31:56.132Z] Removing intermediate container 49a8a8cb67ef [2023-01-11T18:31:56.132Z] ---> d9e000f65c5c [2023-01-11T18:31:56.132Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T18:31:56.723Z] ---> 88afe4cd4978 [2023-01-11T18:31:56.723Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:31:56.723Z] ---> Running in 94a57c92077b [2023-01-11T18:32:53.180Z] Removing intermediate container 94a57c92077b [2023-01-11T18:32:53.180Z] ---> 1fcd9e75af4f [2023-01-11T18:32:53.180Z] Step 11/12 : COPY . . [2023-01-11T18:32:53.453Z] ---> 56c2693d9822 [2023-01-11T18:32:53.453Z] Step 12/12 : RUN ${MAKE} [2023-01-11T18:32:53.453Z] ---> Running in 25d042ae5339 [2023-01-11T18:32:54.425Z] noop [2023-01-11T18:32:55.395Z] Removing intermediate container 25d042ae5339 [2023-01-11T18:32:55.395Z] ---> cacc2d28b95b [2023-01-11T18:32:55.395Z] Successfully built cacc2d28b95b [2023-01-11T18:32:55.395Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:32:55.882Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T18:32:55.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:32:56.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-1912 does not seem to be running inside a container [2023-01-11T18:32:56.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T18:32:57.549Z] $ docker top 1109bcb215857bed52394d530fabdfbf80235baa2ef09fa2ab91f94683ba9f01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:32:58.444Z] + go version [2023-01-11T18:32:58.444Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T18:32:58.481Z] $ docker stop --time=1 1109bcb215857bed52394d530fabdfbf80235baa2ef09fa2ab91f94683ba9f01 [2023-01-11T18:33:00.190Z] $ docker rm -f --volumes 1109bcb215857bed52394d530fabdfbf80235baa2ef09fa2ab91f94683ba9f01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:33:01.058Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T18:33:01.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:33:01.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-1912 does not seem to be running inside a container [2023-01-11T18:33:01.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T18:33:02.788Z] $ docker top 01b30fc6a89adc6653feb0bcbf5e083642e0602cb415ff7053483d52a10d8fc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:33:03.713Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-01-11T18:33:04.431Z] + make test [2023-01-11T18:33:04.431Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T18:33:06.419Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-11T18:34:43.084Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-11T18:34:43.085Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-11T18:34:43.085Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T18:34:43.085Z] go vet ./... [2023-01-11T18:35:01.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T18:35:01.331Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T18:35:01.331Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T18:35:01.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T18:35:01.406Z] $ docker stop --time=1 01b30fc6a89adc6653feb0bcbf5e083642e0602cb415ff7053483d52a10d8fc2 [2023-01-11T18:35:03.289Z] $ docker rm -f --volumes 01b30fc6a89adc6653feb0bcbf5e083642e0602cb415ff7053483d52a10d8fc2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:35:04.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T18:35:04.462Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T18:35:05.093Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:35:05.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T18:35:06.062Z] + ls -al . [2023-01-11T18:35:06.062Z] total 164 [2023-01-11T18:35:06.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:33 . [2023-01-11T18:35:06.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:30 .. [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 11 18:30 .dockerignore [2023-01-11T18:35:06.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:30 .git [2023-01-11T18:35:06.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 .github [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 11 18:30 .gitignore [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:30 .golangci.yml [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 11 18:30 Attribution.txt [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 11 18:30 CHANGELOG.md [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 11 18:30 Dockerfile [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:30 GOVERNANCE.md [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 11 18:30 Jenkinsfile [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:30 LICENSE [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 11 18:30 Makefile [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 11 18:30 OWNERS.md [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 11 18:30 README.md [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:27 VERSION [2023-01-11T18:35:06.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:30 bin [2023-01-11T18:35:06.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 cmd [2023-01-11T18:35:06.062Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 11 18:33 coverage.out [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 11 18:30 go.mod [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 11 18:30 go.sum [2023-01-11T18:35:06.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:30 internal [2023-01-11T18:35:06.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:30 snap [2023-01-11T18:35:06.062Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:35:06.521Z] + 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=b07870a4eeb3061eddb8b9873f28c698a868abec --label arch=arm64 --label version=0.0.0 . [2023-01-11T18:35:07.117Z] Sending build context to Docker daemon 8.1MB [2023-01-11T18:35:07.117Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:35:07.117Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-11T18:35:07.117Z] ---> cacc2d28b95b [2023-01-11T18:35:07.117Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:35:07.388Z] ---> Running in 7461dddc6b5a [2023-01-11T18:35:07.692Z] Removing intermediate container 7461dddc6b5a [2023-01-11T18:35:07.692Z] ---> 9faceafdd827 [2023-01-11T18:35:07.692Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:35:07.965Z] ---> Running in d0f805ba4971 [2023-01-11T18:35:08.235Z] Removing intermediate container d0f805ba4971 [2023-01-11T18:35:08.235Z] ---> cfd4ce73b0ca [2023-01-11T18:35:08.235Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-11T18:35:08.505Z] ---> Running in c8230b33eea1 [2023-01-11T18:35:09.095Z] Removing intermediate container c8230b33eea1 [2023-01-11T18:35:09.095Z] ---> 0614f0332c3c [2023-01-11T18:35:09.095Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:35:09.095Z] ---> Running in b52657a8bc27 [2023-01-11T18:35:09.371Z] Removing intermediate container b52657a8bc27 [2023-01-11T18:35:09.371Z] ---> e791b579acaa [2023-01-11T18:35:09.371Z] Step 7/25 : WORKDIR /device-gpio [2023-01-11T18:35:09.647Z] ---> Running in 52a8fcd7ba74 [2023-01-11T18:35:09.919Z] Removing intermediate container 52a8fcd7ba74 [2023-01-11T18:35:09.919Z] ---> 00a350007d5b [2023-01-11T18:35:09.919Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:35:10.190Z] ---> Running in fed61ffb6dda [2023-01-11T18:35:11.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:35:12.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:35:13.437Z] OK: 226 MiB in 55 packages [2023-01-11T18:35:14.429Z] Removing intermediate container fed61ffb6dda [2023-01-11T18:35:14.429Z] ---> 44c2604ed61e [2023-01-11T18:35:14.429Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-11T18:35:15.410Z] ---> 83f3fa78fc41 [2023-01-11T18:35:15.410Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:35:15.410Z] ---> Running in 47da80fc0053 [2023-01-11T18:35:19.690Z] Removing intermediate container 47da80fc0053 [2023-01-11T18:35:19.690Z] ---> 4a0726f8c55d [2023-01-11T18:35:19.690Z] Step 11/25 : COPY . . [2023-01-11T18:35:21.129Z] ---> 66131a7d88ae [2023-01-11T18:35:21.129Z] Step 12/25 : RUN ${MAKE} [2023-01-11T18:35:21.129Z] ---> Running in 2ed90f0dc758 [2023-01-11T18:35:22.698Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-11T18:37:29.652Z] Removing intermediate container 2ed90f0dc758 [2023-01-11T18:37:29.652Z] ---> 1abd80517512 [2023-01-11T18:37:29.652Z] Step 13/25 : FROM alpine:3.16 [2023-01-11T18:37:29.652Z] 3.16: Pulling from library/alpine [2023-01-11T18:37:29.652Z] 6875df1f5354: Pulling fs layer [2023-01-11T18:37:29.652Z] 6875df1f5354: Verifying Checksum [2023-01-11T18:37:29.652Z] 6875df1f5354: Download complete [2023-01-11T18:37:29.652Z] 6875df1f5354: Pull complete [2023-01-11T18:37:29.652Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T18:37:29.652Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T18:37:29.652Z] ---> 2b4661558fb8 [2023-01-11T18:37:29.652Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-11T18:37:29.652Z] ---> Running in 91b89c323cdf [2023-01-11T18:37:29.652Z] Removing intermediate container 91b89c323cdf [2023-01-11T18:37:29.652Z] ---> f1f5248e628c [2023-01-11T18:37:29.652Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-11T18:37:29.652Z] ---> Running in 89429da45a7e [2023-01-11T18:37:29.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:37:29.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:37:29.652Z] OK: 5 MiB in 14 packages [2023-01-11T18:37:29.927Z] Removing intermediate container 89429da45a7e [2023-01-11T18:37:29.927Z] ---> 1916ea6ebb53 [2023-01-11T18:37:29.927Z] Step 16/25 : WORKDIR / [2023-01-11T18:37:30.199Z] ---> Running in 117eda0ca5e9 [2023-01-11T18:37:30.469Z] Removing intermediate container 117eda0ca5e9 [2023-01-11T18:37:30.469Z] ---> b45caf0c3fa5 [2023-01-11T18:37:30.469Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-11T18:37:31.063Z] ---> eac80eacae34 [2023-01-11T18:37:31.063Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-11T18:37:31.657Z] ---> 1d2ca502fa5b [2023-01-11T18:37:31.657Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-11T18:37:33.085Z] ---> a17c3342bbf3 [2023-01-11T18:37:33.085Z] Step 20/25 : EXPOSE 59910 [2023-01-11T18:37:33.356Z] ---> Running in b426dbed2a74 [2023-01-11T18:37:33.628Z] Removing intermediate container b426dbed2a74 [2023-01-11T18:37:33.628Z] ---> 6a0a7e246b8e [2023-01-11T18:37:33.628Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-11T18:37:33.628Z] ---> Running in 586565a292cf [2023-01-11T18:37:34.227Z] Removing intermediate container 586565a292cf [2023-01-11T18:37:34.227Z] ---> 58d49684e661 [2023-01-11T18:37:34.227Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T18:37:34.227Z] ---> Running in 030009d81c28 [2023-01-11T18:37:34.510Z] Removing intermediate container 030009d81c28 [2023-01-11T18:37:34.510Z] ---> 9853de038849 [2023-01-11T18:37:34.510Z] Step 23/25 : LABEL arch=arm64 [2023-01-11T18:37:34.510Z] ---> Running in b103c076e0f1 [2023-01-11T18:37:35.109Z] Removing intermediate container b103c076e0f1 [2023-01-11T18:37:35.109Z] ---> 0b477f677fae [2023-01-11T18:37:35.109Z] Step 24/25 : LABEL git_sha=b07870a4eeb3061eddb8b9873f28c698a868abec [2023-01-11T18:37:35.109Z] ---> Running in 27c629ccf0ad [2023-01-11T18:37:35.381Z] Removing intermediate container 27c629ccf0ad [2023-01-11T18:37:35.381Z] ---> 8954510574ef [2023-01-11T18:37:35.381Z] Step 25/25 : LABEL version=0.0.0 [2023-01-11T18:37:35.655Z] ---> Running in 0b53b3df9324 [2023-01-11T18:37:35.929Z] Removing intermediate container 0b53b3df9324 [2023-01-11T18:37:35.929Z] ---> 6dba179b31b1 [2023-01-11T18:37:35.929Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:37:35.929Z] Successfully built 6dba179b31b1 [2023-01-11T18:37:35.929Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:37:36.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:37:36.777Z] [2023-01-11T18:37:36.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:37:37.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:37:37.478Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T18:37:37.478Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T18:37:37.478Z] 04944245beec: Pulling fs layer [2023-01-11T18:37:37.478Z] 699f458cf7ca: Pulling fs layer [2023-01-11T18:37:37.478Z] 765212b225bb: Pulling fs layer [2023-01-11T18:37:37.478Z] f23df028b6ca: Pulling fs layer [2023-01-11T18:37:37.478Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T18:37:37.478Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T18:37:37.478Z] f23df028b6ca: Waiting [2023-01-11T18:37:37.478Z] d65c8cfc05b1: Waiting [2023-01-11T18:37:37.478Z] 2437ff75d9bd: Waiting [2023-01-11T18:37:37.478Z] 765212b225bb: Waiting [2023-01-11T18:37:37.478Z] 04944245beec: Verifying Checksum [2023-01-11T18:37:37.478Z] 04944245beec: Download complete [2023-01-11T18:37:37.478Z] 765212b225bb: Verifying Checksum [2023-01-11T18:37:37.478Z] 765212b225bb: Download complete [2023-01-11T18:37:37.478Z] f23df028b6ca: Verifying Checksum [2023-01-11T18:37:37.478Z] f23df028b6ca: Download complete [2023-01-11T18:37:37.478Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T18:37:37.478Z] d65c8cfc05b1: Download complete [2023-01-11T18:37:37.748Z] 699f458cf7ca: Verifying Checksum [2023-01-11T18:37:38.021Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T18:37:38.021Z] 8998bd30e6a1: Download complete [2023-01-11T18:37:40.643Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T18:37:40.643Z] 2437ff75d9bd: Download complete [2023-01-11T18:37:42.604Z] 8998bd30e6a1: Pull complete [2023-01-11T18:37:42.874Z] 04944245beec: Pull complete [2023-01-11T18:37:44.291Z] 699f458cf7ca: Pull complete [2023-01-11T18:37:44.567Z] 765212b225bb: Pull complete [2023-01-11T18:37:45.154Z] f23df028b6ca: Pull complete [2023-01-11T18:37:45.427Z] d65c8cfc05b1: Pull complete [2023-01-11T18:38:00.445Z] 2437ff75d9bd: Pull complete [2023-01-11T18:38:00.445Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T18:38:00.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:38:00.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:38:00.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-1912 does not seem to be running inside a container [2023-01-11T18:38:00.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T18:38:03.877Z] $ docker top b5494ab5538dbd341d95c65f4724ef2593e0550cbb01c5fabd99d71495af60cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:04.832Z] ---> job-cost.sh [2023-01-11T18:38:04.832Z] lf-activate-venv: SKIPPING [2023-01-11T18:38:04.832Z] INFO: No Stack... [2023-01-11T18:38:05.418Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T18:38:06.383Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:38:07.060Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-01-11T18:38:07.060Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T18:38:07.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] [2023-01-11T18:38:07.155Z] Resource [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] did not exist. Created. [2023-01-11T18:38:07.155Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:38:07.897Z] /w/workspace/device-gpio/1@tmp/durable-3ccf3a96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T18:38:08.589Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T18:38:08.630Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T18:38:08.710Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:38:08.725Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-77-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:38:08.803Z] $ docker stop --time=1 b5494ab5538dbd341d95c65f4724ef2593e0550cbb01c5fabd99d71495af60cc [2023-01-11T18:38:10.419Z] $ docker rm -f --volumes b5494ab5538dbd341d95c65f4724ef2593e0550cbb01c5fabd99d71495af60cc [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 [2023-01-11T18:38:11.438Z] provisioning config files... [2023-01-11T18:38:11.446Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp/config2780776377709534918tmp [Pipeline] { [Pipeline] sh [2023-01-11T18:38:11.786Z] + set +x [2023-01-11T18:38:11.786Z] + bash -s -- [2023-01-11T18:38:11.786Z] + curl -s https://codecov.io/bash [2023-01-11T18:38:11.786Z] [2023-01-11T18:38:11.786Z] _____ _ [2023-01-11T18:38:11.786Z] / ____| | | [2023-01-11T18:38:11.786Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T18:38:11.786Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T18:38:11.786Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T18:38:11.786Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T18:38:11.786Z] Bash-1.0.6 [2023-01-11T18:38:11.786Z] [2023-01-11T18:38:11.786Z] [2023-01-11T18:38:11.786Z] ==> git version 2.25.1 found [2023-01-11T18:38:11.786Z] ==> 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 [2023-01-11T18:38:11.786Z] Release-Date: 2020-01-08 [2023-01-11T18:38:11.786Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T18:38:11.786Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T18:38:11.786Z] ==> Jenkins CI detected. [2023-01-11T18:38:11.786Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-77 [2023-01-11T18:38:11.786Z] project root: . [2023-01-11T18:38:11.786Z] --> token set from env [2023-01-11T18:38:11.786Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T18:38:11.786Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T18:38:11.786Z] ==> Python coveragepy not found [2023-01-11T18:38:11.786Z] ==> Searching for coverage reports in: [2023-01-11T18:38:11.786Z] + . [2023-01-11T18:38:11.786Z] -> Found 1 reports [2023-01-11T18:38:11.786Z] ==> Detecting git/mercurial file structure [2023-01-11T18:38:11.786Z] ==> Reading reports [2023-01-11T18:38:11.786Z] + ./coverage.out bytes=10 [2023-01-11T18:38:11.786Z] ==> Appending adjustments [2023-01-11T18:38:11.786Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T18:38:12.046Z] + Found adjustments [2023-01-11T18:38:12.046Z] ==> Gzipping contents [2023-01-11T18:38:12.046Z] 4.0K /tmp/codecov.gBtvcx.gz [2023-01-11T18:38:12.046Z] ==> Uploading reports [2023-01-11T18:38:12.046Z] url: https://codecov.io [2023-01-11T18:38:12.046Z] query: branch=PR-77&commit=b07870a4eeb3061eddb8b9873f28c698a868abec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-77%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=77&job=&cmd_args= [2023-01-11T18:38:12.046Z] -> Pinging Codecov [2023-01-11T18:38:12.046Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-77&commit=b07870a4eeb3061eddb8b9873f28c698a868abec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-77%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=77&job=&cmd_args= [2023-01-11T18:38:12.305Z] -> Uploading to [2023-01-11T18:38:12.305Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b07870a4eeb3061eddb8b9873f28c698a868abec/9ce7ff8d-9052-4d71-99a7-5b632f6910cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T183812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e931be6c6720c8c6785f34103b43e8c64ac3961923eb25afa38cd2547ad33631 [2023-01-11T18:38:12.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:38:12.305Z] Dload Upload Total Spent Left Speed [2023-01-11T18:38:12.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3599 --:--:-- --:--:-- --:--:-- 3599 [2023-01-11T18:38:12.564Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/b07870a4eeb3061eddb8b9873f28c698a868abec [Pipeline] } [2023-01-11T18:38:12.593Z] 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 [2023-01-11T18:38:14.361Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-77/archives ] [2023-01-11T18:38:14.361Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-77/archives [2023-01-11T18:38:14.361Z] total 16 [2023-01-11T18:38:14.361Z] drwxr-xr-x 3 root root 4096 Jan 11 18:29 . [2023-01-11T18:38:14.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:29 .. [2023-01-11T18:38:14.361Z] drwxr-xr-x 2 root root 4096 Jan 11 18:29 cost [2023-01-11T18:38:14.361Z] -rw-r--r-- 1 root root 82 Jan 11 18:29 cost.csv [2023-01-11T18:38:14.361Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-77/archives [2023-01-11T18:38:14.361Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-77/archives [2023-01-11T18:38:14.361Z] total 16 [2023-01-11T18:38:14.361Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:29 . [2023-01-11T18:38:14.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:29 .. [2023-01-11T18:38:14.361Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:29 cost [2023-01-11T18:38:14.361Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 11 18:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:14.696Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:15.583Z] ---> package-listing.sh [2023-01-11T18:38:15.583Z] ++ facter osfamily [2023-01-11T18:38:15.583Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T18:38:15.842Z] + OS_FAMILY=debian [2023-01-11T18:38:15.842Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-77 [2023-01-11T18:38:15.842Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T18:38:15.842Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T18:38:15.842Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T18:38:15.842Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T18:38:15.842Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-77 ']' [2023-01-11T18:38:15.842Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T18:38:15.842Z] + case "${OS_FAMILY}" in [2023-01-11T18:38:15.842Z] + dpkg -l [2023-01-11T18:38:15.842Z] + grep '^ii' [2023-01-11T18:38:15.842Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T18:38:15.842Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T18:38:15.842Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T18:38:15.842Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-77 ']' [2023-01-11T18:38:15.842Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-77/archives/ [2023-01-11T18:38:15.842Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-77/archives/ [Pipeline] echo [2023-01-11T18:38:15.874Z] 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-77/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T18:38:16.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:38:16.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:38:16.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:38:16.924Z] prd-ubuntu20.04-docker-8c-8g-1909 does not seem to be running inside a container [2023-01-11T18:38:16.957Z] $ 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-77/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-77 -v /w/workspace/edgexfoundry_device-gpio_PR-77:/w/workspace/edgexfoundry_device-gpio_PR-77:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-77@tmp:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T18:38:17.150Z] $ docker top da4ea37c7574cd95e5a52cd4a66a4cecb0d1925431a4f11971426a590bfb6a3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:38:17.523Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T18:38:17.835Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T18:38:18.149Z] + ls /var/log/sa-host [2023-01-11T18:38:18.149Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:38:18.359Z] provisioning config files... [2023-01-11T18:38:18.368Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-77@tmp/config12545264540818846345tmp [Pipeline] { [Pipeline] echo [2023-01-11T18:38:18.420Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:18.729Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T18:38:18.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:19.155Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T18:38:19.187Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:19.497Z] ---> sudo-logs.sh [2023-01-11T18:38:19.497Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T18:38:19.582Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:19.895Z] ---> job-cost.sh [2023-01-11T18:38:19.895Z] lf-activate-venv: SKIPPING [2023-01-11T18:38:19.895Z] DEBUG: total: 0.2199999988079071 [2023-01-11T18:38:19.895Z] INFO: Retrieving Stack Cost... [2023-01-11T18:38:20.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:38:20.722Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T18:38:20.760Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:38:21.072Z] ---> logs-deploy.sh [2023-01-11T18:38:21.072Z] lf-activate-venv: SKIPPING [2023-01-11T18:38:21.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-77/1 [2023-01-11T18:38:21.072Z] INFO: archiving workspace using pattern(s): [2023-01-11T18:38:22.452Z] Archives upload complete. [2023-01-11T18:38:22.452Z] INFO: archiving logs to Nexus [2023-01-11T18:38:23.020Z] ---> uname -a: [2023-01-11T18:38:23.020Z] Linux prd-ubuntu20-04-docker-8c-8g-1909 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] ---> lscpu: [2023-01-11T18:38:23.020Z] Architecture: x86_64 [2023-01-11T18:38:23.020Z] CPU op-mode(s): 32-bit, 64-bit [2023-01-11T18:38:23.020Z] Byte Order: Little Endian [2023-01-11T18:38:23.020Z] Address sizes: 40 bits physical, 48 bits virtual [2023-01-11T18:38:23.020Z] CPU(s): 8 [2023-01-11T18:38:23.020Z] On-line CPU(s) list: 0-7 [2023-01-11T18:38:23.020Z] Thread(s) per core: 1 [2023-01-11T18:38:23.020Z] Core(s) per socket: 1 [2023-01-11T18:38:23.020Z] Socket(s): 8 [2023-01-11T18:38:23.020Z] NUMA node(s): 1 [2023-01-11T18:38:23.020Z] Vendor ID: AuthenticAMD [2023-01-11T18:38:23.020Z] CPU family: 23 [2023-01-11T18:38:23.020Z] Model: 49 [2023-01-11T18:38:23.020Z] Model name: AMD EPYC-Rome Processor [2023-01-11T18:38:23.020Z] Stepping: 0 [2023-01-11T18:38:23.020Z] CPU MHz: 2799.998 [2023-01-11T18:38:23.020Z] BogoMIPS: 5599.99 [2023-01-11T18:38:23.020Z] Virtualization: AMD-V [2023-01-11T18:38:23.020Z] Hypervisor vendor: KVM [2023-01-11T18:38:23.020Z] Virtualization type: full [2023-01-11T18:38:23.020Z] L1d cache: 256 KiB [2023-01-11T18:38:23.020Z] L1i cache: 256 KiB [2023-01-11T18:38:23.020Z] L2 cache: 4 MiB [2023-01-11T18:38:23.020Z] L3 cache: 128 MiB [2023-01-11T18:38:23.020Z] NUMA node0 CPU(s): 0-7 [2023-01-11T18:38:23.020Z] Vulnerability Itlb multihit: Not affected [2023-01-11T18:38:23.020Z] Vulnerability L1tf: Not affected [2023-01-11T18:38:23.020Z] Vulnerability Mds: Not affected [2023-01-11T18:38:23.020Z] Vulnerability Meltdown: Not affected [2023-01-11T18:38:23.020Z] Vulnerability Mmio stale data: Not affected [2023-01-11T18:38:23.020Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-01-11T18:38:23.020Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-01-11T18:38:23.020Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-01-11T18:38:23.020Z] Vulnerability Srbds: Not affected [2023-01-11T18:38:23.020Z] Vulnerability Tsx async abort: Not affected [2023-01-11T18:38:23.020Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] ---> nproc: [2023-01-11T18:38:23.020Z] 8 [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] ---> df -h: [2023-01-11T18:38:23.020Z] Filesystem Size Used Avail Use% Mounted on [2023-01-11T18:38:23.020Z] overlay 155G 12G 144G 8% / [2023-01-11T18:38:23.020Z] tmpfs 64M 0 64M 0% /dev [2023-01-11T18:38:23.020Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-01-11T18:38:23.020Z] shm 64M 0 64M 0% /dev/shm [2023-01-11T18:38:23.020Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] ---> sar -b -r -n DEV: [2023-01-11T18:38:23.020Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1909) 01/11/23 _x86_64_ (8 CPU) [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] 18:26:53 LINUX RESTART (8 CPU) [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] 18:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-01-11T18:38:23.020Z] 18:28:01 330.61 47.98 282.64 0.00 5409.90 106202.70 0.00 [2023-01-11T18:38:23.020Z] 18:29:01 170.72 1.53 169.19 0.00 28.00 66981.90 0.00 [2023-01-11T18:38:23.020Z] 18:30:01 167.69 0.15 167.54 0.00 7.60 36348.21 0.00 [2023-01-11T18:38:23.020Z] 18:31:01 2.42 0.00 2.42 0.00 0.00 27.48 0.00 [2023-01-11T18:38:23.020Z] 18:32:01 11.58 1.53 10.05 0.00 85.72 2017.93 0.00 [2023-01-11T18:38:23.020Z] 18:33:01 47.73 10.06 37.66 0.00 5091.02 6850.59 0.00 [2023-01-11T18:38:23.020Z] 18:34:01 3.47 0.02 3.45 0.00 0.13 90.65 0.00 [2023-01-11T18:38:23.020Z] 18:35:01 0.95 0.00 0.95 0.00 0.00 10.26 0.00 [2023-01-11T18:38:23.020Z] 18:36:01 1.25 0.00 1.25 0.00 0.00 14.93 0.00 [2023-01-11T18:38:23.020Z] 18:37:01 1.78 0.00 1.78 0.00 0.00 19.72 0.00 [2023-01-11T18:38:23.020Z] 18:38:01 1.18 0.00 1.18 0.00 0.00 13.33 0.00 [2023-01-11T18:38:23.020Z] Average: 67.21 5.57 61.64 0.00 965.63 19869.80 0.00 [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] 18:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-01-11T18:38:23.020Z] 18:28:01 29425624 31609388 721768 2.19 69848 2395860 1830140 5.39 979380 2139768 502172 [2023-01-11T18:38:23.020Z] 18:29:01 28381732 31575776 732800 2.23 139956 3255264 1898728 5.60 1168632 2890152 120756 [2023-01-11T18:38:23.020Z] 18:30:01 27818672 31589152 714312 2.17 152464 3775008 1768724 5.21 1207884 3362648 344 [2023-01-11T18:38:23.020Z] 18:31:01 27818860 31589428 713868 2.17 152524 3775016 1768724 5.21 1207640 3362656 12 [2023-01-11T18:38:23.020Z] 18:32:01 27711580 31545556 751448 2.29 154920 3831648 1830484 5.39 1254024 3412880 64 [2023-01-11T18:38:23.020Z] 18:33:01 27295456 31569588 715712 2.18 185840 4230276 1818304 5.36 1530220 3527956 132 [2023-01-11T18:38:23.020Z] 18:34:01 27309604 31578956 706272 2.15 184404 4227024 1796536 5.29 1519356 3524752 160 [2023-01-11T18:38:23.020Z] 18:35:01 27309840 31579236 705984 2.15 184424 4227024 1796536 5.29 1519168 3524756 144 [2023-01-11T18:38:23.020Z] 18:36:01 27310076 31579496 705604 2.15 184444 4227028 1796536 5.29 1519320 3524756 8 [2023-01-11T18:38:23.020Z] 18:37:01 27310100 31579568 705524 2.15 184492 4227036 1796536 5.29 1519044 3524764 16 [2023-01-11T18:38:23.020Z] 18:38:01 27309744 31579224 705720 2.15 184528 4227036 1796536 5.29 1519428 3524764 144 [2023-01-11T18:38:23.020Z] Average: 27727390 31579579 716274 2.18 161622 3854384 1808889 5.33 1358554 3301805 56723 [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z] 18:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-01-11T18:38:23.020Z] 18:28:01 ens3 734.79 476.32 6664.44 115.11 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:28:01 docker0 14.76 15.15 1.22 128.25 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:28:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:29:01 ens3 230.68 167.21 1824.48 28.97 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:29:01 docker0 143.51 193.27 11.93 1790.41 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:30:01 ens3 125.96 82.87 2668.44 18.42 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:30:01 docker0 2.80 6.22 0.17 81.03 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:30:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:31:01 ens3 3.00 0.70 1.24 0.47 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:32:01 ens3 55.14 33.74 856.08 2.86 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:32:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:33:01 ens3 105.52 61.62 1898.29 4.41 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:33:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:34:01 ens3 0.68 0.37 0.35 0.27 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:35:01 ens3 0.47 0.28 0.26 0.21 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:36:01 ens3 0.20 0.05 0.01 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:37:01 ens3 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:38:01 ens3 0.25 0.10 0.08 0.07 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] 18:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] Average: ens3 114.25 74.85 1264.82 15.53 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] Average: docker0 14.64 19.51 1.21 181.78 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] Average: lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 [2023-01-11T18:38:23.020Z] [2023-01-11T18:38:23.020Z]