Pull request #32 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31418bfcbca56456e2316a3e9983b0b8f9aa254d+836c30204e0fb2e2a70ac35e45feaed0f2fb0741 (6c642b49e8d2c702fc5d9ef9f4102021a13c632e) 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-ssh17094080955852813623.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9574100552806326217.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-32/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4503374845567544421.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-32/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh625514193420753868.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5115418923209980883.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-32/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11440918511156188124.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-63194’ Running on prd-ubuntu20.04-docker-8c-8g-63198 in /w/workspace/edgexfoundry_device-gpio_PR-32 [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-32 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit 31418bfcbca56456e2316a3e9983b0b8f9aa254d Merge succeeded, producing 31418bfcbca56456e2316a3e9983b0b8f9aa254d Checking out Revision 31418bfcbca56456e2316a3e9983b0b8f9aa254d (PR-32) > 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/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # 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 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T21:26:11.193Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T21:26:11.367Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T21:26:11.468Z] ========================================================= [2022-05-11T21:26:11.468Z] EdgeX Global Pipelines Version Info [2022-05-11T21:26:11.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:26:12.248Z] ------------------- [2022-05-11T21:26:12.248Z] stable info: [2022-05-11T21:26:12.248Z] ------------------- [2022-05-11T21:26:12.248Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T21:26:12.248Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T21:26:12.248Z] Message: update stable to v1.0.230 [2022-05-11T21:26:12.821Z] ------------------- [2022-05-11T21:26:12.821Z] experimental info: [2022-05-11T21:26:12.821Z] ------------------- [2022-05-11T21:26:12.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T21:26:12.821Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T21:26:12.821Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T21:26:13.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-05-11T21:26:13.109Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-05-11T21:26:13.144Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T21:26:13.177Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T21:26:13.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T21:26:13.244Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T21:26:13.277Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T21:26:13.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T21:26:13.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T21:26:13.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T21:26:13.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T21:26:13.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-05-11T21:26:13.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T21:26:13.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T21:26:13.578Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T21:26:13.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T21:26:13.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T21:26:13.767Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T21:26:13.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T21:26:13.843Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T21:26:13.883Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T21:26:13.924Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T21:26:13.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T21:26:14.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T21:26:14.054Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T21:26:14.089Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T21:26:14.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo [2022-05-11T21:26:14.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo [2022-05-11T21:26:14.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo [2022-05-11T21:26:14.233Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo [2022-05-11T21:26:14.270Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31418bf [Pipeline] echo [2022-05-11T21:26:14.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:26:14.422Z] provisioning config files... [2022-05-11T21:26:14.437Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config1817047081256406704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:26:14.774Z] ---> docker-login.sh [2022-05-11T21:26:14.774Z] nexus3.edgexfoundry.org:10001 [2022-05-11T21:26:15.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:15.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:15.037Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:15.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:15.037Z] [2022-05-11T21:26:15.037Z] Login Succeeded [2022-05-11T21:26:15.037Z] nexus3.edgexfoundry.org:10002 [2022-05-11T21:26:15.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:15.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:15.301Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:15.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:15.301Z] [2022-05-11T21:26:15.301Z] Login Succeeded [2022-05-11T21:26:15.301Z] nexus3.edgexfoundry.org:10003 [2022-05-11T21:26:15.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:15.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:15.301Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:15.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:15.301Z] [2022-05-11T21:26:15.301Z] Login Succeeded [2022-05-11T21:26:15.301Z] nexus3.edgexfoundry.org:10004 [2022-05-11T21:26:15.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:15.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:15.563Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:15.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:15.563Z] [2022-05-11T21:26:15.563Z] Login Succeeded [2022-05-11T21:26:15.563Z] docker.io [2022-05-11T21:26:15.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:15.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:15.824Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:15.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:15.824Z] [2022-05-11T21:26:15.824Z] Login Succeeded [2022-05-11T21:26:15.824Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T21:26:15.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T21:26:16.469Z] + git rev-list -1 --merges 31418bfcbca56456e2316a3e9983b0b8f9aa254d~1..31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo [2022-05-11T21:26:16.589Z] -----------> git rev-list -1 --merges 31418bfcbca56456e2316a3e9983b0b8f9aa254d~1..31418bfcbca56456e2316a3e9983b0b8f9aa254d 31418bfcbca56456e2316a3e9983b0b8f9aa254d [false] [Pipeline] sh [2022-05-11T21:26:16.913Z] + git log --format=format:%s -1 31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo [2022-05-11T21:26:16.948Z] ========================================================= [2022-05-11T21:26:16.948Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T21:26:16.948Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T21:26:17.388Z] + git log --format=format:%s -1 31418bfcbca56456e2316a3e9983b0b8f9aa254d [Pipeline] echo [2022-05-11T21:26:17.416Z] [semverPrep] GIT_COMMIT: 31418bfcbca56456e2316a3e9983b0b8f9aa254d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-05-11T21:26:17.445Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T21:26:17.854Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T21:26:17.855Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T21:26:17.855Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T21:26:17.855Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T21:26:17.855Z] + + echosudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T21:26:17.855Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T21:26:17.855Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:26:18.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T21:26:18.235Z] [2022-05-11T21:26:18.235Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:26:18.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T21:26:18.581Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T21:26:18.581Z] 1fe172e4850f: Pulling fs layer [2022-05-11T21:26:18.581Z] caf521ccaac6: Pulling fs layer [2022-05-11T21:26:18.581Z] 3ead6fa29328: Pulling fs layer [2022-05-11T21:26:18.581Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T21:26:18.581Z] a8d5f1318db7: Pulling fs layer [2022-05-11T21:26:18.581Z] c427282e49a2: Pulling fs layer [2022-05-11T21:26:18.581Z] 1827001aaf11: Pulling fs layer [2022-05-11T21:26:18.581Z] 0714d37db230: Pulling fs layer [2022-05-11T21:26:18.581Z] ac28cf19c067: Pulling fs layer [2022-05-11T21:26:18.581Z] ca983d60f3e2: Pulling fs layer [2022-05-11T21:26:18.581Z] 9f894cec8388: Pulling fs layer [2022-05-11T21:26:18.581Z] 0714d37db230: Waiting [2022-05-11T21:26:18.581Z] 5c2a1cbceb83: Waiting [2022-05-11T21:26:18.581Z] ca983d60f3e2: Waiting [2022-05-11T21:26:18.581Z] a8d5f1318db7: Waiting [2022-05-11T21:26:18.581Z] 9f894cec8388: Waiting [2022-05-11T21:26:18.581Z] c427282e49a2: Waiting [2022-05-11T21:26:18.581Z] ac28cf19c067: Waiting [2022-05-11T21:26:18.581Z] caf521ccaac6: Verifying Checksum [2022-05-11T21:26:18.581Z] caf521ccaac6: Download complete [2022-05-11T21:26:18.581Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T21:26:18.581Z] 5c2a1cbceb83: Download complete [2022-05-11T21:26:18.581Z] a8d5f1318db7: Download complete [2022-05-11T21:26:18.581Z] c427282e49a2: Download complete [2022-05-11T21:26:18.842Z] 3ead6fa29328: Verifying Checksum [2022-05-11T21:26:18.842Z] 3ead6fa29328: Download complete [2022-05-11T21:26:18.842Z] 0714d37db230: Download complete [2022-05-11T21:26:18.842Z] ac28cf19c067: Verifying Checksum [2022-05-11T21:26:18.842Z] ac28cf19c067: Download complete [2022-05-11T21:26:18.842Z] ca983d60f3e2: Download complete [2022-05-11T21:26:18.842Z] 9f894cec8388: Verifying Checksum [2022-05-11T21:26:18.842Z] 9f894cec8388: Download complete [2022-05-11T21:26:18.842Z] 1fe172e4850f: Download complete [2022-05-11T21:26:19.102Z] 1827001aaf11: Verifying Checksum [2022-05-11T21:26:19.102Z] 1827001aaf11: Download complete [2022-05-11T21:26:20.038Z] 1fe172e4850f: Pull complete [2022-05-11T21:26:20.038Z] caf521ccaac6: Pull complete [2022-05-11T21:26:20.609Z] 3ead6fa29328: Pull complete [2022-05-11T21:26:20.609Z] 5c2a1cbceb83: Pull complete [2022-05-11T21:26:20.873Z] a8d5f1318db7: Pull complete [2022-05-11T21:26:21.133Z] c427282e49a2: Pull complete [2022-05-11T21:26:23.040Z] 1827001aaf11: Pull complete [2022-05-11T21:26:23.040Z] 0714d37db230: Pull complete [2022-05-11T21:26:23.040Z] ac28cf19c067: Pull complete [2022-05-11T21:26:23.040Z] ca983d60f3e2: Pull complete [2022-05-11T21:26:23.040Z] 9f894cec8388: Pull complete [2022-05-11T21:26:23.040Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T21:26:23.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T21:26:23.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T21:26:23.133Z] prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container [2022-05-11T21:26:23.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T21:26:24.396Z] $ docker top 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 -eo pid,comm [2022-05-11T21:26:24.462Z] 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). [2022-05-11T21:26:24.462Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T21:26:24.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T21:26:24.589Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T21:26:24.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T21:26:24.721Z] $ docker exec 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent [2022-05-11T21:26:24.839Z] SSH_AUTH_SOCK=/tmp/ssh-MeUDvK3Q2PAR/agent.33 [2022-05-11T21:26:24.839Z] SSH_AGENT_PID=40 [2022-05-11T21:26:24.848Z] Running ssh-add (command line suppressed) [2022-05-11T21:26:24.962Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_4395010557976542314.key (/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_4395010557976542314.key) [2022-05-11T21:26:24.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T21:26:25.305Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T21:26:25.339Z] $ docker exec --env ******** --env ******** 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent -k [2022-05-11T21:26:25.445Z] unset SSH_AUTH_SOCK; [2022-05-11T21:26:25.445Z] unset SSH_AGENT_PID; [2022-05-11T21:26:25.446Z] echo Agent pid 40 killed; [2022-05-11T21:26:25.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T21:26:25.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T21:26:25.549Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T21:26:25.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T21:26:25.691Z] $ docker exec 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent [2022-05-11T21:26:25.802Z] SSH_AUTH_SOCK=/tmp/ssh-SwMBzlf0aLh9/agent.72 [2022-05-11T21:26:25.802Z] SSH_AGENT_PID=78 [2022-05-11T21:26:25.808Z] Running ssh-add (command line suppressed) [2022-05-11T21:26:25.915Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_8355081346632491793.key (/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/private_key_8355081346632491793.key) [2022-05-11T21:26:25.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T21:26:26.262Z] + git semver init [2022-05-11T21:26:26.522Z] 2022-05-11 21:26:26,463 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T21:26:26.522Z] 2022-05-11 21:26:26,464 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver [2022-05-11T21:26:26.522Z] 2022-05-11 21:26:26,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-32/.semver [2022-05-11T21:26:26.522Z] 2022-05-11 21:26:26,464 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-32/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32, universal_newlines=False, shell=None, istream=None) [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,411 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-32/.git/info/exclude [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,411 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 with force:False [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,411 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,415 [execute] INFO git cat-file --batch-check [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,422 [execute] INFO git cat-file --batch [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-32/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T21:26:27.463Z] 2022-05-11 21:26:27,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-32/.semver/PR-32 [2022-05-11T21:26:27.463Z] 0.0.0 [Pipeline] } [2022-05-11T21:26:27.494Z] $ docker exec --env ******** --env ******** 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 ssh-agent -k [2022-05-11T21:26:27.614Z] unset SSH_AUTH_SOCK; [2022-05-11T21:26:27.615Z] unset SSH_AGENT_PID; [2022-05-11T21:26:27.615Z] echo Agent pid 78 killed; [2022-05-11T21:26:27.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T21:26:28.043Z] + git semver [Pipeline] } [2022-05-11T21:26:28.335Z] $ docker stop --time=1 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 [2022-05-11T21:26:29.677Z] $ docker rm -f 6d9b22a9051cc0052ced7b1d582e43965843152b49466df7eab36e50220c56f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T21:26:30.097Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T21:26:30.487Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T21:26:30.505Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:26:31.080Z] provisioning config files... [2022-05-11T21:26:31.092Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config699620577879088864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:26:31.443Z] ---> docker-login.sh [2022-05-11T21:26:31.443Z] nexus3.edgexfoundry.org:10001 [2022-05-11T21:26:31.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:31.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:31.443Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:31.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:31.443Z] [2022-05-11T21:26:31.443Z] Login Succeeded [2022-05-11T21:26:31.443Z] nexus3.edgexfoundry.org:10002 [2022-05-11T21:26:31.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:31.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:31.704Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:31.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:31.704Z] [2022-05-11T21:26:31.704Z] Login Succeeded [2022-05-11T21:26:31.704Z] nexus3.edgexfoundry.org:10003 [2022-05-11T21:26:31.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:31.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:31.704Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:31.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:31.704Z] [2022-05-11T21:26:31.704Z] Login Succeeded [2022-05-11T21:26:31.704Z] nexus3.edgexfoundry.org:10004 [2022-05-11T21:26:31.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:31.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:31.964Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:31.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:31.964Z] [2022-05-11T21:26:31.964Z] Login Succeeded [2022-05-11T21:26:31.964Z] docker.io [2022-05-11T21:26:31.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:26:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:26:32.226Z] Configure a credential helper to remove this warning. See [2022-05-11T21:26:32.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:26:32.226Z] [2022-05-11T21:26:32.226Z] Login Succeeded [2022-05-11T21:26:32.226Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T21:26:32.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T21:26:32.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T21:26:32.472Z] ========================================================= [2022-05-11T21:26:32.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T21:26:32.472Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:26:32.878Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T21:26:32.878Z] Sending build context to Docker daemon 15.66MB [2022-05-11T21:26:32.878Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T21:26:32.878Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-11T21:26:32.878Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T21:26:32.878Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T21:26:32.878Z] 666ba61612fd: Pulling fs layer [2022-05-11T21:26:32.878Z] 8ed8ca486205: Pulling fs layer [2022-05-11T21:26:32.878Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T21:26:32.878Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T21:26:32.878Z] ca2b28591e48: Pulling fs layer [2022-05-11T21:26:32.878Z] a51346096db8: Pulling fs layer [2022-05-11T21:26:32.878Z] daebc70d1ce1: Pulling fs layer [2022-05-11T21:26:32.878Z] 0e18a0eac166: Pulling fs layer [2022-05-11T21:26:32.878Z] 22a0e8bec74d: Waiting [2022-05-11T21:26:32.878Z] ca2b28591e48: Waiting [2022-05-11T21:26:32.878Z] a51346096db8: Waiting [2022-05-11T21:26:32.878Z] 0e18a0eac166: Waiting [2022-05-11T21:26:32.878Z] daebc70d1ce1: Waiting [2022-05-11T21:26:33.138Z] 8ed8ca486205: Verifying Checksum [2022-05-11T21:26:33.139Z] 8ed8ca486205: Download complete [2022-05-11T21:26:33.139Z] 666ba61612fd: Verifying Checksum [2022-05-11T21:26:33.139Z] 666ba61612fd: Download complete [2022-05-11T21:26:33.139Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T21:26:33.139Z] 22a0e8bec74d: Download complete [2022-05-11T21:26:33.139Z] ca2b28591e48: Verifying Checksum [2022-05-11T21:26:33.139Z] ca2b28591e48: Download complete [2022-05-11T21:26:33.139Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T21:26:33.139Z] 59bf1c3509f3: Download complete [2022-05-11T21:26:33.139Z] a51346096db8: Download complete [2022-05-11T21:26:33.139Z] daebc70d1ce1: Verifying Checksum [2022-05-11T21:26:33.139Z] daebc70d1ce1: Download complete [2022-05-11T21:26:33.139Z] 59bf1c3509f3: Pull complete [2022-05-11T21:26:33.399Z] 666ba61612fd: Pull complete [2022-05-11T21:26:33.399Z] 8ed8ca486205: Pull complete [2022-05-11T21:26:33.661Z] 0e18a0eac166: Verifying Checksum [2022-05-11T21:26:33.661Z] 0e18a0eac166: Download complete [2022-05-11T21:26:33.921Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T21:26:33.921Z] 4fe6c5a15a65: Download complete [2022-05-11T21:26:37.205Z] 4fe6c5a15a65: Pull complete [2022-05-11T21:26:37.205Z] 22a0e8bec74d: Pull complete [2022-05-11T21:26:37.205Z] ca2b28591e48: Pull complete [2022-05-11T21:26:37.205Z] a51346096db8: Pull complete [2022-05-11T21:26:37.467Z] daebc70d1ce1: Pull complete [2022-05-11T21:26:39.374Z] 0e18a0eac166: Pull complete [2022-05-11T21:26:39.374Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T21:26:39.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T21:26:39.374Z] ---> f018257e8ee9 [2022-05-11T21:26:39.374Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T21:26:40.755Z] ---> Running in 72ba6dbeb270 [2022-05-11T21:26:40.755Z] Removing intermediate container 72ba6dbeb270 [2022-05-11T21:26:40.755Z] ---> 317db797968b [2022-05-11T21:26:40.755Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T21:26:40.755Z] ---> Running in 1e027d87954b [2022-05-11T21:26:40.755Z] Removing intermediate container 1e027d87954b [2022-05-11T21:26:40.755Z] ---> 73dc1b5b158a [2022-05-11T21:26:40.755Z] Step 5/11 : WORKDIR /device-gpio [2022-05-11T21:26:40.755Z] ---> Running in 6bdae60a877f [2022-05-11T21:26:41.015Z] Removing intermediate container 6bdae60a877f [2022-05-11T21:26:41.015Z] ---> 5b562fa5ed79 [2022-05-11T21:26:41.015Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T21:26:41.015Z] ---> Running in 679de2c85a0c [2022-05-11T21:26:41.587Z] Removing intermediate container 679de2c85a0c [2022-05-11T21:26:41.587Z] ---> abc491d52c5b [2022-05-11T21:26:41.587Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T21:26:41.587Z] ---> Running in 2ba9b477993e [2022-05-11T21:26:41.847Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T21:26:42.794Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T21:26:43.059Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T21:26:43.059Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T21:26:43.059Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T21:26:43.319Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T21:26:43.319Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T21:26:43.319Z] OK: 224 MiB in 56 packages [2022-05-11T21:26:43.580Z] Removing intermediate container 2ba9b477993e [2022-05-11T21:26:43.580Z] ---> d95d1bb5a49b [2022-05-11T21:26:43.580Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-11T21:26:43.840Z] ---> 1b09ff08c687 [2022-05-11T21:26:43.840Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T21:26:43.840Z] ---> Running in d5e9e39feb01 [2022-05-11T21:26:45.916Z] Still waiting to schedule task [2022-05-11T21:26:45.916Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63195’ [2022-05-11T21:27:01.949Z] Removing intermediate container d5e9e39feb01 [2022-05-11T21:27:01.949Z] ---> 0f909cfd0f19 [2022-05-11T21:27:01.949Z] Step 10/11 : COPY . . [2022-05-11T21:27:01.949Z] ---> c2831d0a4222 [2022-05-11T21:27:01.949Z] Step 11/11 : RUN ${MAKE} [2022-05-11T21:27:01.949Z] ---> Running in 8f325fe44b6e [2022-05-11T21:27:02.214Z] Removing intermediate container 8f325fe44b6e [2022-05-11T21:27:02.214Z] ---> 263366f985cc [2022-05-11T21:27:02.214Z] [Warning] One or more build-args [MAKE] were not consumed [2022-05-11T21:27:02.214Z] Successfully built 263366f985cc [2022-05-11T21:27:02.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:02.542Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T21:27:02.543Z] . [Pipeline] withDockerContainer [2022-05-11T21:27:02.641Z] prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container [2022-05-11T21:27:02.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** ci-base-image-x86_64 cat [2022-05-11T21:27:03.047Z] $ docker top 879ed8ee9b0b832461bc7a0a2adf73176787148194cc5c69f33f6bcadfbf42d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T21:27:03.455Z] + go version [2022-05-11T21:27:03.455Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T21:27:03.489Z] $ docker stop --time=1 879ed8ee9b0b832461bc7a0a2adf73176787148194cc5c69f33f6bcadfbf42d8 [2022-05-11T21:27:04.750Z] $ docker rm -f 879ed8ee9b0b832461bc7a0a2adf73176787148194cc5c69f33f6bcadfbf42d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:05.410Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T21:27:05.410Z] . [Pipeline] withDockerContainer [2022-05-11T21:27:05.500Z] prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container [2022-05-11T21:27:05.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** ci-base-image-x86_64 cat [2022-05-11T21:27:05.903Z] $ docker top 380429deb35ea3b3065560b108b4d60471b9a3b985770b4579adeb6f25e706d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T21:27:06.371Z] + make test [2022-05-11T21:27:06.371Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T21:27:06.633Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-05-11T21:27:14.758Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-05-11T21:27:14.758Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-05-11T21:27:21.413Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T21:27:24.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T21:27:24.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T21:27:24.702Z] ./bin/test-attribution-txt.sh [2022-05-11T21:27:24.702Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-05-11T21:27:24.702Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] An attribution for gopkg.in/yaml.v2 is missing from in Attribution.txt, please add [2022-05-11T21:27:24.962Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-05-11T21:27:25.014Z] $ docker stop --time=1 380429deb35ea3b3065560b108b4d60471b9a3b985770b4579adeb6f25e706d2 [2022-05-11T21:27:26.692Z] $ docker rm -f 380429deb35ea3b3065560b108b4d60471b9a3b985770b4579adeb6f25e706d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:27.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:27:27.927Z] [2022-05-11T21:27:27.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:27:28.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:27:28.268Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T21:27:28.268Z] 5eb5b503b376: Pulling fs layer [2022-05-11T21:27:28.268Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T21:27:28.268Z] ec43610c2a17: Pulling fs layer [2022-05-11T21:27:28.268Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T21:27:28.268Z] 33b1e0a273af: Pulling fs layer [2022-05-11T21:27:28.268Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T21:27:28.268Z] 2f39f015ded8: Pulling fs layer [2022-05-11T21:27:28.268Z] 33b1e0a273af: Waiting [2022-05-11T21:27:28.268Z] 5d3b04190fa2: Waiting [2022-05-11T21:27:28.268Z] 2f39f015ded8: Waiting [2022-05-11T21:27:28.268Z] 3a2ae6a8a46f: Waiting [2022-05-11T21:27:28.268Z] 5c69ac0246d0: Verifying Checksum [2022-05-11T21:27:28.268Z] 5c69ac0246d0: Download complete [2022-05-11T21:27:28.268Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-11T21:27:28.268Z] 3a2ae6a8a46f: Download complete [2022-05-11T21:27:28.268Z] 33b1e0a273af: Verifying Checksum [2022-05-11T21:27:28.268Z] 33b1e0a273af: Download complete [2022-05-11T21:27:28.268Z] ec43610c2a17: Verifying Checksum [2022-05-11T21:27:28.268Z] ec43610c2a17: Download complete [2022-05-11T21:27:28.526Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T21:27:28.526Z] 5d3b04190fa2: Download complete [2022-05-11T21:27:28.526Z] 5eb5b503b376: Verifying Checksum [2022-05-11T21:27:28.526Z] 5eb5b503b376: Download complete [2022-05-11T21:27:29.094Z] 2f39f015ded8: Verifying Checksum [2022-05-11T21:27:29.094Z] 2f39f015ded8: Download complete [2022-05-11T21:27:29.664Z] 5eb5b503b376: Pull complete [2022-05-11T21:27:29.664Z] 5c69ac0246d0: Pull complete [2022-05-11T21:27:30.233Z] ec43610c2a17: Pull complete [2022-05-11T21:27:30.233Z] 3a2ae6a8a46f: Pull complete [2022-05-11T21:27:30.493Z] 33b1e0a273af: Pull complete [2022-05-11T21:27:30.493Z] 5d3b04190fa2: Pull complete [2022-05-11T21:27:34.681Z] 2f39f015ded8: Pull complete [2022-05-11T21:27:34.681Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T21:27:34.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:27:34.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T21:27:34.770Z] prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container [2022-05-11T21:27:34.804Z] $ 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-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T21:27:36.254Z] $ docker top b1964167c69e462730e04aa72c4024c6784529c5a9d672876946b22c09838ed7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:27:36.735Z] ---> job-cost.sh [2022-05-11T21:27:36.735Z] lf-activate-venv: SKIPPING [2022-05-11T21:27:36.735Z] INFO: No Stack... [2022-05-11T21:27:37.306Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T21:27:37.566Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T21:27:37.884Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-32/archives/cost.csv [2022-05-11T21:27:37.884Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T21:27:37.925Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [2022-05-11T21:27:37.929Z] Resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] did not exist. Created. [2022-05-11T21:27:37.930Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T21:27:38.316Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T21:27:38.374Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T21:27:38.396Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T21:27:38.480Z] $ docker stop --time=1 b1964167c69e462730e04aa72c4024c6784529c5a9d672876946b22c09838ed7 [2022-05-11T21:27:39.634Z] $ docker rm -f b1964167c69e462730e04aa72c4024c6784529c5a9d672876946b22c09838ed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T21:27:39.986Z] Failed in branch amd64 [2022-05-11T21:29:28.989Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63204 in /w/workspace/edgexfoundry_device-gpio_PR-32 [Pipeline] { [Pipeline] ws [2022-05-11T21:29:29.029Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-05-11T21:29:29.414Z] The recommended git tool is: git [2022-05-11T21:29:35.376Z] using credential edgex-jenkins-ssh [2022-05-11T21:29:35.396Z] Cloning the remote Git repository [2022-05-11T21:29:35.455Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-05-11T21:29:35.543Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-05-11T21:29:35.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-05-11T21:29:35.641Z] > git --version # timeout=10 [2022-05-11T21:29:35.732Z] > git --version # 'git version 2.25.1' [2022-05-11T21:29:35.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T21:29:35.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T21:29:38.225Z] Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit 31418bfcbca56456e2316a3e9983b0b8f9aa254d [2022-05-11T21:29:38.522Z] Merge succeeded, producing 31418bfcbca56456e2316a3e9983b0b8f9aa254d [2022-05-11T21:29:38.522Z] Checking out Revision 31418bfcbca56456e2316a3e9983b0b8f9aa254d (PR-32) [2022-05-11T21:29:37.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-05-11T21:29:37.538Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T21:29:37.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-05-11T21:29:37.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-05-11T21:29:37.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T21:29:37.646Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-11T21:29:38.243Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T21:29:38.274Z] > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 [2022-05-11T21:29:38.393Z] > git remote # timeout=10 [2022-05-11T21:29:38.417Z] > git config --get remote.origin.url # timeout=10 [2022-05-11T21:29:38.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T21:29:38.455Z] > git merge 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 [2022-05-11T21:29:38.487Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-11T21:29:38.524Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T21:29:38.548Z] > git checkout -f 31418bfcbca56456e2316a3e9983b0b8f9aa254d # timeout=10 [2022-05-11T21:29:43.135Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-05-11T21:29:43.202Z] > git --version # timeout=10 [2022-05-11T21:29:43.217Z] > git --version # 'git version 2.25.1' [2022-05-11T21:29:43.233Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T21:29:44.595Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T21:29:44.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T21:29:44.595Z] Dload Upload Total Spent Left Speed [2022-05-11T21:29:44.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-05-11T21:29:45.223Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T21:29:45.647Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T21:29:45.647Z] + sudo tee /etc/docker/daemon.new [2022-05-11T21:29:45.647Z] { [2022-05-11T21:29:45.647Z] "registry-mirrors": [ [2022-05-11T21:29:45.647Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T21:29:45.647Z] ], [2022-05-11T21:29:45.647Z] "bip": "10.250.0.254/24", [2022-05-11T21:29:45.647Z] "hosts": [ [2022-05-11T21:29:45.647Z] "tcp://0.0.0.0:5555", [2022-05-11T21:29:45.647Z] "unix:///var/run/docker.sock" [2022-05-11T21:29:45.647Z] ], [2022-05-11T21:29:45.647Z] "mtu": 1458, [2022-05-11T21:29:45.647Z] "selinux-enabled": true, [2022-05-11T21:29:45.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T21:29:45.647Z] } [Pipeline] sh [2022-05-11T21:29:46.034Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T21:29:46.415Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:30:04.850Z] provisioning config files... [2022-05-11T21:30:04.881Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1925342518601125075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:30:05.559Z] ---> docker-login.sh [2022-05-11T21:30:05.560Z] nexus3.edgexfoundry.org:10001 [2022-05-11T21:30:06.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:30:06.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:30:06.443Z] Configure a credential helper to remove this warning. See [2022-05-11T21:30:06.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:30:06.443Z] [2022-05-11T21:30:06.443Z] Login Succeeded [2022-05-11T21:30:06.443Z] nexus3.edgexfoundry.org:10002 [2022-05-11T21:30:07.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:30:07.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:30:07.048Z] Configure a credential helper to remove this warning. See [2022-05-11T21:30:07.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:30:07.048Z] [2022-05-11T21:30:07.048Z] Login Succeeded [2022-05-11T21:30:07.048Z] nexus3.edgexfoundry.org:10003 [2022-05-11T21:30:07.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:30:07.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:30:07.658Z] Configure a credential helper to remove this warning. See [2022-05-11T21:30:07.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:30:07.658Z] [2022-05-11T21:30:07.658Z] Login Succeeded [2022-05-11T21:30:07.658Z] nexus3.edgexfoundry.org:10004 [2022-05-11T21:30:07.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:30:08.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:30:08.217Z] Configure a credential helper to remove this warning. See [2022-05-11T21:30:08.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:30:08.217Z] [2022-05-11T21:30:08.217Z] Login Succeeded [2022-05-11T21:30:08.217Z] docker.io [2022-05-11T21:30:08.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T21:30:09.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T21:30:09.096Z] Configure a credential helper to remove this warning. See [2022-05-11T21:30:09.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T21:30:09.096Z] [2022-05-11T21:30:09.096Z] Login Succeeded [2022-05-11T21:30:09.096Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T21:30:09.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T21:30:09.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T21:30:09.647Z] ========================================================= [2022-05-11T21:30:09.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T21:30:09.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:30:10.118Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T21:30:10.723Z] Sending build context to Docker daemon 7.903MB [2022-05-11T21:30:10.723Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T21:30:10.723Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-11T21:30:10.723Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T21:30:10.723Z] 9b3977197b4f: Pulling fs layer [2022-05-11T21:30:10.723Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T21:30:10.723Z] 94645a83ff95: Pulling fs layer [2022-05-11T21:30:10.723Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T21:30:10.723Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T21:30:10.723Z] 3096ccb668a1: Pulling fs layer [2022-05-11T21:30:10.723Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T21:30:10.723Z] a4caa8a26152: Pulling fs layer [2022-05-11T21:30:10.723Z] 3f3a8bcf1eab: Waiting [2022-05-11T21:30:10.723Z] 0c92f367c5e7: Waiting [2022-05-11T21:30:10.723Z] 3096ccb668a1: Waiting [2022-05-11T21:30:10.723Z] e8cf19c19ddd: Waiting [2022-05-11T21:30:10.723Z] a4caa8a26152: Waiting [2022-05-11T21:30:10.723Z] 94645a83ff95: Download complete [2022-05-11T21:30:11.013Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T21:30:11.013Z] 1a89e8eeedd5: Download complete [2022-05-11T21:30:11.013Z] 0c92f367c5e7: Download complete [2022-05-11T21:30:11.013Z] 3096ccb668a1: Download complete [2022-05-11T21:30:11.013Z] 9b3977197b4f: Verifying Checksum [2022-05-11T21:30:11.013Z] 9b3977197b4f: Download complete [2022-05-11T21:30:11.013Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T21:30:11.013Z] e8cf19c19ddd: Download complete [2022-05-11T21:30:11.627Z] 9b3977197b4f: Pull complete [2022-05-11T21:30:12.239Z] 1a89e8eeedd5: Pull complete [2022-05-11T21:30:12.517Z] 94645a83ff95: Pull complete [2022-05-11T21:30:13.122Z] a4caa8a26152: Verifying Checksum [2022-05-11T21:30:13.720Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T21:30:13.720Z] 3f3a8bcf1eab: Download complete [2022-05-11T21:30:26.170Z] 3f3a8bcf1eab: Pull complete [2022-05-11T21:30:26.170Z] 0c92f367c5e7: Pull complete [2022-05-11T21:30:26.170Z] 3096ccb668a1: Pull complete [2022-05-11T21:30:26.170Z] e8cf19c19ddd: Pull complete [2022-05-11T21:30:34.513Z] a4caa8a26152: Pull complete [2022-05-11T21:30:34.513Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T21:30:34.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T21:30:34.513Z] ---> 725f1c02e7f9 [2022-05-11T21:30:34.513Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T21:30:34.513Z] ---> Running in b3f374c52f3a [2022-05-11T21:30:35.113Z] Removing intermediate container b3f374c52f3a [2022-05-11T21:30:35.113Z] ---> 798fb1557ff6 [2022-05-11T21:30:35.113Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T21:30:35.113Z] ---> Running in 2a33ac7d6749 [2022-05-11T21:30:35.388Z] Removing intermediate container 2a33ac7d6749 [2022-05-11T21:30:35.388Z] ---> ec83eab7a27b [2022-05-11T21:30:35.388Z] Step 5/11 : WORKDIR /device-gpio [2022-05-11T21:30:35.388Z] ---> Running in 79668fc78ed2 [2022-05-11T21:30:35.988Z] Removing intermediate container 79668fc78ed2 [2022-05-11T21:30:35.988Z] ---> 3189a0964720 [2022-05-11T21:30:35.988Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T21:30:35.988Z] ---> Running in 5018c83922e3 [2022-05-11T21:30:37.967Z] Removing intermediate container 5018c83922e3 [2022-05-11T21:30:37.967Z] ---> bd18efdaa333 [2022-05-11T21:30:37.967Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T21:30:37.967Z] ---> Running in 083e28e88331 [2022-05-11T21:30:38.950Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T21:30:39.937Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T21:30:40.924Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T21:30:41.199Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T21:30:41.199Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T21:30:41.477Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T21:30:41.477Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T21:30:41.477Z] OK: 224 MiB in 56 packages [2022-05-11T21:30:42.922Z] Removing intermediate container 083e28e88331 [2022-05-11T21:30:42.922Z] ---> a1ddb53dfcae [2022-05-11T21:30:42.922Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-11T21:30:43.202Z] ---> 486aa6ae7f7f [2022-05-11T21:30:43.202Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T21:30:43.202Z] ---> Running in 5ff6ff493707 [2022-05-11T21:31:51.285Z] Removing intermediate container 5ff6ff493707 [2022-05-11T21:31:51.285Z] ---> cd25b651baf8 [2022-05-11T21:31:51.285Z] Step 10/11 : COPY . . [2022-05-11T21:31:51.285Z] ---> 714cd3217b59 [2022-05-11T21:31:51.285Z] Step 11/11 : RUN ${MAKE} [2022-05-11T21:31:51.285Z] ---> Running in ac627596bf7a [2022-05-11T21:31:51.285Z] Removing intermediate container ac627596bf7a [2022-05-11T21:31:51.285Z] ---> 8c312e598027 [2022-05-11T21:31:51.285Z] [Warning] One or more build-args [MAKE] were not consumed [2022-05-11T21:31:51.285Z] Successfully built 8c312e598027 [2022-05-11T21:31:51.285Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:31:51.677Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T21:31:51.677Z] . [Pipeline] withDockerContainer [2022-05-11T21:31:52.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-63204 does not seem to be running inside a container [2022-05-11T21:31:52.095Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-11T21:31:53.626Z] $ docker top 4e72f6908c5b833f85ded85e2ec5e76c6383100a7219858fb00b38e7a1f10d7a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T21:31:54.693Z] + go version [2022-05-11T21:31:54.693Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T21:31:54.717Z] $ docker stop --time=1 4e72f6908c5b833f85ded85e2ec5e76c6383100a7219858fb00b38e7a1f10d7a [2022-05-11T21:31:56.425Z] $ docker rm -f 4e72f6908c5b833f85ded85e2ec5e76c6383100a7219858fb00b38e7a1f10d7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:31:57.354Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T21:31:57.354Z] . [Pipeline] withDockerContainer [2022-05-11T21:31:57.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-63204 does not seem to be running inside a container [2022-05-11T21:31:57.735Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-11T21:31:59.230Z] $ docker top 1519fe4b08d627b3db0acb92c66e2c0e7e25b56f7a4ca5d11d51a643848b59f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T21:32:00.300Z] + make test [2022-05-11T21:32:00.300Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T21:32:02.317Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-05-11T21:33:39.293Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-05-11T21:33:39.293Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-05-11T21:33:39.293Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T21:33:39.293Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T21:34:06.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T21:34:06.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T21:34:06.138Z] ./bin/test-attribution-txt.sh [2022-05-11T21:34:07.587Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-05-11T21:34:07.587Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-05-11T21:34:07.863Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-05-11T21:34:07.863Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-05-11T21:34:07.863Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-05-11T21:34:08.138Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-05-11T21:34:08.138Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-05-11T21:34:08.138Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-05-11T21:34:08.138Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-05-11T21:34:08.138Z] An attribution for gopkg.in/yaml.v2 is missing from in Attribution.txt, please add [2022-05-11T21:34:08.414Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-05-11T21:34:08.445Z] $ docker stop --time=1 1519fe4b08d627b3db0acb92c66e2c0e7e25b56f7a4ca5d11d51a643848b59f8 [2022-05-11T21:34:10.410Z] $ docker rm -f 1519fe4b08d627b3db0acb92c66e2c0e7e25b56f7a4ca5d11d51a643848b59f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:34:12.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T21:34:12.081Z] [2022-05-11T21:34:12.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:34:12.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T21:34:12.762Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T21:34:12.762Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T21:34:12.762Z] 04944245beec: Pulling fs layer [2022-05-11T21:34:12.762Z] 699f458cf7ca: Pulling fs layer [2022-05-11T21:34:12.762Z] 765212b225bb: Pulling fs layer [2022-05-11T21:34:12.762Z] f23df028b6ca: Pulling fs layer [2022-05-11T21:34:12.762Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T21:34:12.762Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T21:34:12.762Z] 765212b225bb: Waiting [2022-05-11T21:34:12.762Z] f23df028b6ca: Waiting [2022-05-11T21:34:12.762Z] d65c8cfc05b1: Waiting [2022-05-11T21:34:12.762Z] 2437ff75d9bd: Waiting [2022-05-11T21:34:12.762Z] 04944245beec: Verifying Checksum [2022-05-11T21:34:12.762Z] 04944245beec: Download complete [2022-05-11T21:34:12.762Z] 765212b225bb: Verifying Checksum [2022-05-11T21:34:12.762Z] 765212b225bb: Download complete [2022-05-11T21:34:13.043Z] f23df028b6ca: Verifying Checksum [2022-05-11T21:34:13.043Z] f23df028b6ca: Download complete [2022-05-11T21:34:13.043Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T21:34:13.043Z] d65c8cfc05b1: Download complete [2022-05-11T21:34:13.043Z] 699f458cf7ca: Verifying Checksum [2022-05-11T21:34:13.043Z] 699f458cf7ca: Download complete [2022-05-11T21:34:13.655Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T21:34:13.655Z] 8998bd30e6a1: Download complete [2022-05-11T21:34:16.379Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T21:34:16.379Z] 2437ff75d9bd: Download complete [2022-05-11T21:34:19.050Z] 8998bd30e6a1: Pull complete [2022-05-11T21:34:19.655Z] 04944245beec: Pull complete [2022-05-11T21:34:21.101Z] 699f458cf7ca: Pull complete [2022-05-11T21:34:21.705Z] 765212b225bb: Pull complete [2022-05-11T21:34:22.705Z] f23df028b6ca: Pull complete [2022-05-11T21:34:22.705Z] d65c8cfc05b1: Pull complete [2022-05-11T21:34:41.071Z] 2437ff75d9bd: Pull complete [2022-05-11T21:34:41.072Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T21:34:41.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T21:34:41.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T21:34:41.459Z] prd-ubuntu20.04-docker-arm64-4c-16g-63204 does not seem to be running inside a container [2022-05-11T21:34:41.582Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-11T21:34:44.180Z] $ docker top dd5f9376973faeb4439d8681ef2c9f05d7f2aba9648355727c4d9d3e64dac4ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:34:45.276Z] ---> job-cost.sh [2022-05-11T21:34:45.276Z] lf-activate-venv: SKIPPING [2022-05-11T21:34:45.276Z] INFO: No Stack... [2022-05-11T21:34:45.880Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T21:34:46.871Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T21:34:47.574Z] + cut -d, -f6 [2022-05-11T21:34:47.574Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2022-05-11T21:34:47.687Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [2022-05-11T21:34:47.691Z] Resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] did not exist. Created. [2022-05-11T21:34:47.691Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T21:34:48.459Z] /w/workspace/device-gpio/1@tmp/durable-187a0c4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T21:34:49.181Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T21:34:49.219Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T21:34:49.864Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T21:34:49.878Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-32-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T21:34:49.946Z] $ docker stop --time=1 dd5f9376973faeb4439d8681ef2c9f05d7f2aba9648355727c4d9d3e64dac4ce [2022-05-11T21:34:51.537Z] $ docker rm -f dd5f9376973faeb4439d8681ef2c9f05d7f2aba9648355727c4d9d3e64dac4ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T21:34:52.316Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-11T21:34:54.263Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-32/archives ] [2022-05-11T21:34:54.264Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-32/archives [2022-05-11T21:34:54.264Z] total 16 [2022-05-11T21:34:54.264Z] drwxr-xr-x 3 root root 4096 May 11 21:27 . [2022-05-11T21:34:54.264Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:27 .. [2022-05-11T21:34:54.264Z] drwxr-xr-x 2 root root 4096 May 11 21:27 cost [2022-05-11T21:34:54.264Z] -rw-r--r-- 1 root root 81 May 11 21:27 cost.csv [2022-05-11T21:34:54.264Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-32/archives [2022-05-11T21:34:54.837Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-32/archives [2022-05-11T21:34:54.837Z] total 16 [2022-05-11T21:34:54.837Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:27 . [2022-05-11T21:34:54.837Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:27 .. [2022-05-11T21:34:54.837Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 21:27 cost [2022-05-11T21:34:54.837Z] -rw-r--r-- 1 jenkins jenkins 81 May 11 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:34:55.176Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:34:56.072Z] ---> package-listing.sh [2022-05-11T21:34:56.072Z] ++ facter osfamily [2022-05-11T21:34:56.072Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T21:34:56.333Z] + OS_FAMILY=debian [2022-05-11T21:34:56.333Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-32 [2022-05-11T21:34:56.333Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T21:34:56.333Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T21:34:56.333Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T21:34:56.333Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T21:34:56.333Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-32 ']' [2022-05-11T21:34:56.333Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T21:34:56.333Z] + case "${OS_FAMILY}" in [2022-05-11T21:34:56.333Z] + dpkg -l [2022-05-11T21:34:56.333Z] + grep '^ii' [2022-05-11T21:34:56.333Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T21:34:56.333Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T21:34:56.333Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T21:34:56.333Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-32 ']' [2022-05-11T21:34:56.333Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-32/archives/ [2022-05-11T21:34:56.333Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-32/archives/ [Pipeline] echo [2022-05-11T21:34:56.366Z] 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-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T21:34:56.665Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T21:34:57.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T21:34:57.251Z] . [Pipeline] withDockerContainer [2022-05-11T21:34:57.339Z] prd-ubuntu20.04-docker-8c-8g-63198 does not seem to be running inside a container [2022-05-11T21:34:57.373Z] $ 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-32/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-32 -v /w/workspace/edgexfoundry_device-gpio_PR-32:/w/workspace/edgexfoundry_device-gpio_PR-32:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-32@tmp:/w/workspace/edgexfoundry_device-gpio_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T21:34:57.640Z] $ docker top d5e2902d8ce22f7c934ee19a34a54145907005ac3ff373076d437c9f4cc0caaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T21:34:58.044Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T21:34:58.355Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T21:34:58.727Z] + ls /var/log/sa-host [2022-05-11T21:34:58.727Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T21:34:59.019Z] provisioning config files... [2022-05-11T21:34:59.028Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-32@tmp/config4475220084605501797tmp [Pipeline] { [Pipeline] echo [2022-05-11T21:34:59.074Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:34:59.380Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T21:34:59.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:34:59.820Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T21:34:59.853Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:00.169Z] ---> sudo-logs.sh [2022-05-11T21:35:00.169Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T21:35:00.250Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:00.563Z] ---> job-cost.sh [2022-05-11T21:35:00.563Z] lf-activate-venv: SKIPPING [2022-05-11T21:35:00.563Z] DEBUG: total: 0.2199999988079071 [2022-05-11T21:35:00.563Z] INFO: Retrieving Stack Cost... [2022-05-11T21:35:00.823Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T21:35:01.395Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T21:35:01.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T21:35:01.746Z] ---> logs-deploy.sh [2022-05-11T21:35:01.746Z] lf-activate-venv: SKIPPING [2022-05-11T21:35:01.746Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-32/1 [2022-05-11T21:35:01.746Z] INFO: archiving workspace using pattern(s): [2022-05-11T21:35:02.683Z] Archives upload complete. [2022-05-11T21:35:02.683Z] INFO: archiving logs to Nexus