Pull request #71 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a27319cf7ef639ba5502cec18ae6585351ad08c+14c37c6919d6c1a44175d8fd941257ea70202ac9 (437a82cb5b42bcb8b438a74a979b442a2ff09f0c) 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-ssh10611459161426700062.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-ssh6943930427170229212.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-71/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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4373547530113434235.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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1403306131689673641.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-ssh7143002637891892402.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-71/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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16678913495266812707.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 ‘prd-ubuntu20.04-docker-8c-8g-787’ is offline Running on prd-ubuntu20.04-docker-8c-8g-792 in /w/workspace/edgexfoundry_device-gpio_PR-71 [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-71 # 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 14c37c6919d6c1a44175d8fd941257ea70202ac9 into PR head commit 4a27319cf7ef639ba5502cec18ae6585351ad08c > 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/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a27319cf7ef639ba5502cec18ae6585351ad08c # timeout=10 Merge succeeded, producing 4a27319cf7ef639ba5502cec18ae6585351ad08c Checking out Revision 4a27319cf7ef639ba5502cec18ae6585351ad08c (PR-71) Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" 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-02T00:53:44.075Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-02T00:53:44.276Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-02T00:53:44.395Z] ========================================================= [2023-01-02T00:53:44.395Z] EdgeX Global Pipelines Version Info [2023-01-02T00:53:44.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a27319cf7ef639ba5502cec18ae6585351ad08c # timeout=10 [2023-01-02T00:53:45.147Z] ------------------- [2023-01-02T00:53:45.147Z] stable info: [2023-01-02T00:53:45.147Z] ------------------- [2023-01-02T00:53:45.147Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-02T00:53:45.147Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-02T00:53:45.147Z] Message: update stable to v1.0.244 [2023-01-02T00:53:45.718Z] ------------------- [2023-01-02T00:53:45.718Z] experimental info: [2023-01-02T00:53:45.718Z] ------------------- [2023-01-02T00:53:45.718Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-02T00:53:45.718Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-02T00:53:45.718Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-02T00:53:46.007Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-02T00:53:46.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-02T00:53:46.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-02T00:53:46.135Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-02T00:53:46.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-02T00:53:46.219Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-02T00:53:46.262Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-02T00:53:46.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-02T00:53:46.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-02T00:53:46.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-02T00:53:46.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-02T00:53:46.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-02T00:53:46.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-02T00:53:46.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-02T00:53:46.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-02T00:53:46.653Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-02T00:53:46.693Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-02T00:53:46.733Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-02T00:53:46.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-02T00:53:46.811Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-02T00:53:46.853Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-02T00:53:46.894Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-02T00:53:46.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-02T00:53:46.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-02T00:53:47.017Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-02T00:53:47.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-02T00:53:47.096Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-02T00:53:47.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo [2023-01-02T00:53:47.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo [2023-01-02T00:53:47.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo [2023-01-02T00:53:47.252Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a27319cf7ef639ba5502cec18ae6585351ad08c [Pipeline] echo [2023-01-02T00:53:47.293Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a27319 [Pipeline] echo [2023-01-02T00:53:47.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-02T00:53:47.447Z] provisioning config files... [2023-01-02T00:53:47.461Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config8655503403248489904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-02T00:53:47.804Z] ---> docker-login.sh [2023-01-02T00:53:47.804Z] nexus3.edgexfoundry.org:10001 [2023-01-02T00:53:48.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:53:48.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:53:48.327Z] Configure a credential helper to remove this warning. See [2023-01-02T00:53:48.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:53:48.327Z] [2023-01-02T00:53:48.327Z] Login Succeeded [2023-01-02T00:53:48.327Z] nexus3.edgexfoundry.org:10002 [2023-01-02T00:53:48.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:53:48.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:53:48.327Z] Configure a credential helper to remove this warning. See [2023-01-02T00:53:48.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:53:48.327Z] [2023-01-02T00:53:48.327Z] Login Succeeded [2023-01-02T00:53:48.327Z] nexus3.edgexfoundry.org:10003 [2023-01-02T00:53:48.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:53:48.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:53:48.327Z] Configure a credential helper to remove this warning. See [2023-01-02T00:53:48.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:53:48.327Z] [2023-01-02T00:53:48.327Z] Login Succeeded [2023-01-02T00:53:48.327Z] nexus3.edgexfoundry.org:10004 [2023-01-02T00:53:48.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:53:48.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:53:48.589Z] Configure a credential helper to remove this warning. See [2023-01-02T00:53:48.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:53:48.589Z] [2023-01-02T00:53:48.589Z] Login Succeeded [2023-01-02T00:53:48.589Z] docker.io [2023-01-02T00:53:48.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:53:48.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:53:48.850Z] Configure a credential helper to remove this warning. See [2023-01-02T00:53:48.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:53:48.850Z] [2023-01-02T00:53:48.850Z] Login Succeeded [2023-01-02T00:53:48.850Z] ---> docker-login.sh ends [Pipeline] } [2023-01-02T00:53:48.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-02T00:53:49.542Z] + git rev-list -1 --merges 4a27319cf7ef639ba5502cec18ae6585351ad08c~1..4a27319cf7ef639ba5502cec18ae6585351ad08c [Pipeline] echo [2023-01-02T00:53:49.608Z] -----------> git rev-list -1 --merges 4a27319cf7ef639ba5502cec18ae6585351ad08c~1..4a27319cf7ef639ba5502cec18ae6585351ad08c 4a27319cf7ef639ba5502cec18ae6585351ad08c [false] [Pipeline] sh [2023-01-02T00:53:49.924Z] + git log --format=format:%s -1 4a27319cf7ef639ba5502cec18ae6585351ad08c [Pipeline] echo [2023-01-02T00:53:49.964Z] ========================================================= [2023-01-02T00:53:49.964Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-02T00:53:49.964Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-02T00:53:50.530Z] + git log --format=format:%s -1 4a27319cf7ef639ba5502cec18ae6585351ad08c [Pipeline] echo [2023-01-02T00:53:50.561Z] [semverPrep] GIT_COMMIT: 4a27319cf7ef639ba5502cec18ae6585351ad08c, Commit Message: build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1 [Pipeline] echo [2023-01-02T00:53:50.587Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-02T00:53:50.972Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-02T00:53:50.972Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-02T00:53:50.972Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-02T00:53:50.972Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-02T00:53:50.972Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-02T00:53:50.972Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-02T00:53:50.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:53:51.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-02T00:53:51.461Z] [2023-01-02T00:53:51.461Z] 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-02T00:53:51.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-02T00:53:51.830Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-02T00:53:51.830Z] b85a868b505f: Pulling fs layer [2023-01-02T00:53:51.830Z] e2be974225ed: Pulling fs layer [2023-01-02T00:53:51.830Z] 339a4e72a1f5: Pulling fs layer [2023-01-02T00:53:51.830Z] 988bab9f4d93: Pulling fs layer [2023-01-02T00:53:51.830Z] 1469e6f7b9e6: Pulling fs layer [2023-01-02T00:53:51.830Z] eaf3925da568: Pulling fs layer [2023-01-02T00:53:51.830Z] bab4dde63d76: Pulling fs layer [2023-01-02T00:53:51.830Z] bde34c3a00c8: Pulling fs layer [2023-01-02T00:53:51.830Z] b352a97aabf1: Pulling fs layer [2023-01-02T00:53:51.830Z] 4872d77fe225: Pulling fs layer [2023-01-02T00:53:51.830Z] 5851b861e8e6: Pulling fs layer [2023-01-02T00:53:51.830Z] b352a97aabf1: Waiting [2023-01-02T00:53:51.830Z] bab4dde63d76: Waiting [2023-01-02T00:53:51.830Z] bde34c3a00c8: Waiting [2023-01-02T00:53:51.830Z] 988bab9f4d93: Waiting [2023-01-02T00:53:51.830Z] 4872d77fe225: Waiting [2023-01-02T00:53:51.830Z] 1469e6f7b9e6: Waiting [2023-01-02T00:53:51.830Z] eaf3925da568: Waiting [2023-01-02T00:53:51.830Z] e2be974225ed: Verifying Checksum [2023-01-02T00:53:51.830Z] e2be974225ed: Download complete [2023-01-02T00:53:51.830Z] 988bab9f4d93: Verifying Checksum [2023-01-02T00:53:51.830Z] 988bab9f4d93: Download complete [2023-01-02T00:53:52.093Z] 1469e6f7b9e6: Verifying Checksum [2023-01-02T00:53:52.093Z] 1469e6f7b9e6: Download complete [2023-01-02T00:53:52.093Z] 339a4e72a1f5: Verifying Checksum [2023-01-02T00:53:52.093Z] 339a4e72a1f5: Download complete [2023-01-02T00:53:52.093Z] eaf3925da568: Verifying Checksum [2023-01-02T00:53:52.093Z] eaf3925da568: Download complete [2023-01-02T00:53:52.093Z] bde34c3a00c8: Download complete [2023-01-02T00:53:52.093Z] b352a97aabf1: Verifying Checksum [2023-01-02T00:53:52.093Z] b352a97aabf1: Download complete [2023-01-02T00:53:52.093Z] 4872d77fe225: Verifying Checksum [2023-01-02T00:53:52.093Z] 4872d77fe225: Download complete [2023-01-02T00:53:52.093Z] 5851b861e8e6: Verifying Checksum [2023-01-02T00:53:52.093Z] 5851b861e8e6: Download complete [2023-01-02T00:53:52.093Z] b85a868b505f: Verifying Checksum [2023-01-02T00:53:52.093Z] b85a868b505f: Download complete [2023-01-02T00:53:52.356Z] bab4dde63d76: Verifying Checksum [2023-01-02T00:53:52.356Z] bab4dde63d76: Download complete [2023-01-02T00:53:53.297Z] b85a868b505f: Pull complete [2023-01-02T00:53:53.297Z] e2be974225ed: Pull complete [2023-01-02T00:53:53.866Z] 339a4e72a1f5: Pull complete [2023-01-02T00:53:53.866Z] 988bab9f4d93: Pull complete [2023-01-02T00:53:54.126Z] 1469e6f7b9e6: Pull complete [2023-01-02T00:53:54.126Z] eaf3925da568: Pull complete [2023-01-02T00:53:56.033Z] bab4dde63d76: Pull complete [2023-01-02T00:53:56.033Z] bde34c3a00c8: Pull complete [2023-01-02T00:53:56.033Z] b352a97aabf1: Pull complete [2023-01-02T00:53:56.033Z] 4872d77fe225: Pull complete [2023-01-02T00:53:56.033Z] 5851b861e8e6: Pull complete [2023-01-02T00:53:56.033Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-02T00:53:56.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-02T00:53:56.033Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T00:53:56.245Z] prd-ubuntu20.04-docker-8c-8g-792 does not seem to be running inside a container [2023-01-02T00:53:56.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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-devops/py-git-semver:0.1.4 cat [2023-01-02T00:53:57.375Z] $ docker top 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e -eo pid,comm [2023-01-02T00:53:57.427Z] 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-02T00:53:57.427Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-02T00:53:57.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-02T00:53:57.555Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-02T00:53:57.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-02T00:53:57.688Z] $ docker exec 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e ssh-agent [2023-01-02T00:53:57.794Z] SSH_AUTH_SOCK=/tmp/ssh-SbX303eaQzfA/agent.32 [2023-01-02T00:53:57.794Z] SSH_AGENT_PID=38 [2023-01-02T00:53:57.801Z] Running ssh-add (command line suppressed) [2023-01-02T00:53:57.910Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_6765437284096933687.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_6765437284096933687.key) [2023-01-02T00:53:57.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-02T00:53:58.254Z] + git tag --points-at HEAD [Pipeline] } [2023-01-02T00:53:58.279Z] $ docker exec --env ******** --env ******** 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e ssh-agent -k [2023-01-02T00:53:58.384Z] unset SSH_AUTH_SOCK; [2023-01-02T00:53:58.385Z] unset SSH_AGENT_PID; [2023-01-02T00:53:58.385Z] echo Agent pid 38 killed; [2023-01-02T00:53:58.395Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-02T00:53:58.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-02T00:53:58.484Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-02T00:53:58.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-02T00:53:58.601Z] $ docker exec 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e ssh-agent [2023-01-02T00:53:58.718Z] SSH_AUTH_SOCK=/tmp/ssh-0yu9L5dWYog3/agent.69 [2023-01-02T00:53:58.718Z] SSH_AGENT_PID=75 [2023-01-02T00:53:58.723Z] Running ssh-add (command line suppressed) [2023-01-02T00:53:58.847Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_16580127735267046809.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_16580127735267046809.key) [2023-01-02T00:53:58.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-02T00:53:59.188Z] + git semver init [2023-01-02T00:53:59.448Z] 2023-01-02 00:53:59,370 [run_init] DEBUG init version:0.0.0 force:False [2023-01-02T00:53:59.448Z] 2023-01-02 00:53:59,370 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver [2023-01-02T00:53:59.448Z] 2023-01-02 00:53:59,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver [2023-01-02T00:53:59.448Z] 2023-01-02 00:53:59,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,204 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,205 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,205 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,208 [execute] INFO git cat-file --batch-check [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,215 [execute] INFO git cat-file --batch [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) [2023-01-02T00:54:00.396Z] 2023-01-02 00:54:00,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 [2023-01-02T00:54:00.396Z] 0.0.0 [Pipeline] } [2023-01-02T00:54:00.422Z] $ docker exec --env ******** --env ******** 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e ssh-agent -k [2023-01-02T00:54:00.530Z] unset SSH_AUTH_SOCK; [2023-01-02T00:54:00.530Z] unset SSH_AGENT_PID; [2023-01-02T00:54:00.530Z] echo Agent pid 75 killed; [2023-01-02T00:54:00.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-02T00:54:00.949Z] + git semver [Pipeline] } [2023-01-02T00:54:01.232Z] $ docker stop --time=1 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e [2023-01-02T00:54:02.504Z] $ docker rm -f --volumes 4019cea7756269c0394f0600765e0bb8333f2ddf2b09d8c9230a094cfdf9393e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-02T00:54:02.898Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-02T00:54:03.164Z] Stashed 1 file(s) [Pipeline] echo [2023-01-02T00:54:03.180Z] [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-02T00:54:03.743Z] provisioning config files... [2023-01-02T00:54:03.753Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config4062557755822925173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-02T00:54:04.104Z] ---> docker-login.sh [2023-01-02T00:54:04.104Z] nexus3.edgexfoundry.org:10001 [2023-01-02T00:54:04.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:54:04.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:54:04.104Z] Configure a credential helper to remove this warning. See [2023-01-02T00:54:04.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:54:04.104Z] [2023-01-02T00:54:04.104Z] Login Succeeded [2023-01-02T00:54:04.104Z] nexus3.edgexfoundry.org:10002 [2023-01-02T00:54:04.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:54:04.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:54:04.364Z] Configure a credential helper to remove this warning. See [2023-01-02T00:54:04.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:54:04.364Z] [2023-01-02T00:54:04.364Z] Login Succeeded [2023-01-02T00:54:04.364Z] nexus3.edgexfoundry.org:10003 [2023-01-02T00:54:04.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:54:04.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:54:04.364Z] Configure a credential helper to remove this warning. See [2023-01-02T00:54:04.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:54:04.364Z] [2023-01-02T00:54:04.364Z] Login Succeeded [2023-01-02T00:54:04.364Z] nexus3.edgexfoundry.org:10004 [2023-01-02T00:54:04.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:54:04.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:54:04.364Z] Configure a credential helper to remove this warning. See [2023-01-02T00:54:04.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:54:04.364Z] [2023-01-02T00:54:04.364Z] Login Succeeded [2023-01-02T00:54:04.364Z] docker.io [2023-01-02T00:54:04.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:54:04.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:54:04.885Z] Configure a credential helper to remove this warning. See [2023-01-02T00:54:04.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:54:04.885Z] [2023-01-02T00:54:04.885Z] Login Succeeded [2023-01-02T00:54:04.885Z] ---> docker-login.sh ends [Pipeline] } [2023-01-02T00:54:04.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-02T00:54:05.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-02T00:54:05.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-02T00:54:05.222Z] ========================================================= [2023-01-02T00:54:05.222Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-02T00:54:05.223Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:54:05.705Z] + 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-02T00:54:05.705Z] Sending build context to Docker daemon 15.95MB [2023-01-02T00:54:05.705Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-02T00:54:05.705Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-02T00:54:05.705Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-02T00:54:05.705Z] 213ec9aee27d: Pulling fs layer [2023-01-02T00:54:05.705Z] 4583459ba037: Pulling fs layer [2023-01-02T00:54:05.705Z] 93c1e223e6f2: Pulling fs layer [2023-01-02T00:54:05.705Z] 53926ce57604: Pulling fs layer [2023-01-02T00:54:05.705Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-02T00:54:05.705Z] 22ff95d597cd: Pulling fs layer [2023-01-02T00:54:05.705Z] 12d6caf4c0d1: Pulling fs layer [2023-01-02T00:54:05.705Z] 96b7cbca73a9: Pulling fs layer [2023-01-02T00:54:05.705Z] a7acece74701: Pulling fs layer [2023-01-02T00:54:05.705Z] 12d6caf4c0d1: Waiting [2023-01-02T00:54:05.705Z] 96b7cbca73a9: Waiting [2023-01-02T00:54:05.705Z] 22ff95d597cd: Waiting [2023-01-02T00:54:05.705Z] 53926ce57604: Waiting [2023-01-02T00:54:05.705Z] 21b2b0c7a3f4: Waiting [2023-01-02T00:54:05.705Z] 93c1e223e6f2: Verifying Checksum [2023-01-02T00:54:05.705Z] 93c1e223e6f2: Download complete [2023-01-02T00:54:05.968Z] 4583459ba037: Verifying Checksum [2023-01-02T00:54:05.968Z] 4583459ba037: Download complete [2023-01-02T00:54:05.968Z] 21b2b0c7a3f4: Download complete [2023-01-02T00:54:05.968Z] 22ff95d597cd: Verifying Checksum [2023-01-02T00:54:05.968Z] 22ff95d597cd: Download complete [2023-01-02T00:54:05.968Z] 213ec9aee27d: Verifying Checksum [2023-01-02T00:54:05.968Z] 213ec9aee27d: Download complete [2023-01-02T00:54:05.968Z] 12d6caf4c0d1: Verifying Checksum [2023-01-02T00:54:05.968Z] 12d6caf4c0d1: Download complete [2023-01-02T00:54:05.968Z] 213ec9aee27d: Pull complete [2023-01-02T00:54:06.231Z] 4583459ba037: Pull complete [2023-01-02T00:54:06.231Z] 93c1e223e6f2: Pull complete [2023-01-02T00:54:06.493Z] a7acece74701: Verifying Checksum [2023-01-02T00:54:06.493Z] a7acece74701: Download complete [2023-01-02T00:54:06.493Z] 96b7cbca73a9: Verifying Checksum [2023-01-02T00:54:06.493Z] 96b7cbca73a9: Download complete [2023-01-02T00:54:06.753Z] 53926ce57604: Verifying Checksum [2023-01-02T00:54:06.753Z] 53926ce57604: Download complete [2023-01-02T00:54:10.947Z] 53926ce57604: Pull complete [2023-01-02T00:54:10.947Z] 21b2b0c7a3f4: Pull complete [2023-01-02T00:54:10.947Z] 22ff95d597cd: Pull complete [2023-01-02T00:54:10.947Z] 12d6caf4c0d1: Pull complete [2023-01-02T00:54:12.850Z] 96b7cbca73a9: Pull complete [2023-01-02T00:54:13.419Z] a7acece74701: Pull complete [2023-01-02T00:54:13.419Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-02T00:54:13.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-02T00:54:13.419Z] ---> db6d94c90886 [2023-01-02T00:54:13.419Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-02T00:54:14.797Z] ---> Running in a9e2bad77d62 [2023-01-02T00:54:14.797Z] Removing intermediate container a9e2bad77d62 [2023-01-02T00:54:14.797Z] ---> 5bc231628107 [2023-01-02T00:54:14.797Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-02T00:54:14.797Z] ---> Running in d4fda28d6bbf [2023-01-02T00:54:14.797Z] Removing intermediate container d4fda28d6bbf [2023-01-02T00:54:14.797Z] ---> 6a91dfe16411 [2023-01-02T00:54:14.797Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-02T00:54:14.797Z] ---> Running in 0fe4b8b884e2 [2023-01-02T00:54:15.058Z] Removing intermediate container 0fe4b8b884e2 [2023-01-02T00:54:15.058Z] ---> 460197a646d1 [2023-01-02T00:54:15.058Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-02T00:54:15.058Z] ---> Running in cd0e2788b24d [2023-01-02T00:54:15.058Z] Removing intermediate container cd0e2788b24d [2023-01-02T00:54:15.058Z] ---> 8110dc3a9ad4 [2023-01-02T00:54:15.058Z] Step 7/12 : WORKDIR /device-gpio [2023-01-02T00:54:15.058Z] ---> Running in 4c883483257e [2023-01-02T00:54:15.317Z] Removing intermediate container 4c883483257e [2023-01-02T00:54:15.317Z] ---> 0430d96e38f2 [2023-01-02T00:54:15.317Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-02T00:54:15.317Z] ---> Running in 1ef3638c28f5 [2023-01-02T00:54:15.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-02T00:54:16.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-02T00:54:16.408Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-02T00:54:16.409Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-02T00:54:16.409Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-02T00:54:16.409Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-02T00:54:16.409Z] Executing busybox-1.35.0-r17.trigger [2023-01-02T00:54:16.409Z] OK: 216 MiB in 55 packages [2023-01-02T00:54:16.977Z] Removing intermediate container 1ef3638c28f5 [2023-01-02T00:54:16.977Z] ---> 52a4e67d06fa [2023-01-02T00:54:16.977Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-02T00:54:16.977Z] ---> 9be4309001bc [2023-01-02T00:54:16.977Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-02T00:54:16.977Z] ---> Running in 6d723daa36ab [2023-01-02T00:54:18.558Z] Still waiting to schedule task [2023-01-02T00:54:18.559Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-791’ is offline [2023-01-02T00:54:49.076Z] Removing intermediate container 6d723daa36ab [2023-01-02T00:54:49.076Z] ---> 636008335ad2 [2023-01-02T00:54:49.076Z] Step 11/12 : COPY . . [2023-01-02T00:54:49.076Z] ---> 2ad156b9d811 [2023-01-02T00:54:49.076Z] Step 12/12 : RUN ${MAKE} [2023-01-02T00:54:49.076Z] ---> Running in d0c85562baa7 [2023-01-02T00:54:49.076Z] noop [2023-01-02T00:54:49.076Z] Removing intermediate container d0c85562baa7 [2023-01-02T00:54:49.076Z] ---> b5958334ad2f [2023-01-02T00:54:49.076Z] Successfully built b5958334ad2f [2023-01-02T00:54:49.076Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:54:49.525Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-02T00:54:49.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T00:54:49.674Z] prd-ubuntu20.04-docker-8c-8g-792 does not seem to be running inside a container [2023-01-02T00:54:49.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** ci-base-image-x86_64 cat [2023-01-02T00:54:50.036Z] $ docker top 2d7f6ae0535bae064cd9e43c14945062cc800f4269290cba82f766cab8e091dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-02T00:54:50.421Z] + go version [2023-01-02T00:54:50.421Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-02T00:54:50.459Z] $ docker stop --time=1 2d7f6ae0535bae064cd9e43c14945062cc800f4269290cba82f766cab8e091dd [2023-01-02T00:54:51.710Z] $ docker rm -f --volumes 2d7f6ae0535bae064cd9e43c14945062cc800f4269290cba82f766cab8e091dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:54:52.436Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-02T00:54:52.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T00:54:52.585Z] prd-ubuntu20.04-docker-8c-8g-792 does not seem to be running inside a container [2023-01-02T00:54:52.619Z] $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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 ******** ci-base-image-x86_64 cat [2023-01-02T00:54:52.927Z] $ docker top 309dae8971a75ca33ae1db6caf86156dfd969c482b93a90323ccfba28f76e02f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-02T00:54:53.298Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh [2023-01-02T00:54:53.645Z] + make test [2023-01-02T00:54:53.645Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-02T00:54:53.906Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-02T00:55:02.020Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-02T00:55:02.020Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-02T00:55:07.282Z] 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-02T00:55:07.282Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-02T00:55:10.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-02T00:55:10.565Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-02T00:55:10.565Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-02T00:55:10.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-02T00:55:10.648Z] $ docker stop --time=1 309dae8971a75ca33ae1db6caf86156dfd969c482b93a90323ccfba28f76e02f [2023-01-02T00:55:12.256Z] $ docker rm -f --volumes 309dae8971a75ca33ae1db6caf86156dfd969c482b93a90323ccfba28f76e02f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-02T00:55:12.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-02T00:55:12.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-02T00:55:13.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-02T00:55:13.815Z] + ls -al . [2023-01-02T00:55:13.815Z] total 168 [2023-01-02T00:55:13.815Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 2 00:54 . [2023-01-02T00:55:13.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 00:53 .. [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 2 00:53 .dockerignore [2023-01-02T00:55:13.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 00:55 .git [2023-01-02T00:55:13.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 00:53 .github [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 2 00:53 .gitignore [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 2 00:53 .golangci.yml [2023-01-02T00:55:13.815Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 00:54 .semver [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 9691 Jan 2 00:53 Attribution.txt [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 2 00:53 CHANGELOG.md [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 1604 Jan 2 00:53 Dockerfile [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 00:53 GOVERNANCE.md [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 2 00:53 Jenkinsfile [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 2 00:53 LICENSE [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 2085 Jan 2 00:53 Makefile [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 2 00:53 OWNERS.md [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 2 00:53 README.md [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 00:54 VERSION [2023-01-02T00:55:13.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 00:53 bin [2023-01-02T00:55:13.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 00:53 cmd [2023-01-02T00:55:13.815Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 2 00:54 coverage.out [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 3372 Jan 2 00:53 go.mod [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 44860 Jan 2 00:53 go.sum [2023-01-02T00:55:13.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 00:53 internal [2023-01-02T00:55:13.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 00:53 snap [2023-01-02T00:55:13.815Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 2 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:55:14.215Z] + 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=4a27319cf7ef639ba5502cec18ae6585351ad08c --label arch=amd64 --label version=0.0.0 . [2023-01-02T00:55:14.215Z] Sending build context to Docker daemon 15.96MB [2023-01-02T00:55:14.215Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-02T00:55:14.215Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-02T00:55:14.215Z] ---> b5958334ad2f [2023-01-02T00:55:14.215Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-02T00:55:14.215Z] ---> Running in 485c057c60d6 [2023-01-02T00:55:14.472Z] Removing intermediate container 485c057c60d6 [2023-01-02T00:55:14.472Z] ---> 6d3b8258702f [2023-01-02T00:55:14.472Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-02T00:55:14.472Z] ---> Running in b203901a4dba [2023-01-02T00:55:14.472Z] Removing intermediate container b203901a4dba [2023-01-02T00:55:14.472Z] ---> 4ce229384a36 [2023-01-02T00:55:14.472Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-02T00:55:14.472Z] ---> Running in a7b4bb7f0637 [2023-01-02T00:55:14.472Z] Removing intermediate container a7b4bb7f0637 [2023-01-02T00:55:14.472Z] ---> 90d3e3e3c0c6 [2023-01-02T00:55:14.472Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-02T00:55:14.472Z] ---> Running in 9a887a2b118a [2023-01-02T00:55:14.730Z] Removing intermediate container 9a887a2b118a [2023-01-02T00:55:14.730Z] ---> 75f0333983e3 [2023-01-02T00:55:14.730Z] Step 7/25 : WORKDIR /device-gpio [2023-01-02T00:55:14.730Z] ---> Running in fef85b8c8464 [2023-01-02T00:55:14.730Z] Removing intermediate container fef85b8c8464 [2023-01-02T00:55:14.730Z] ---> c79389aa5efe [2023-01-02T00:55:14.730Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-02T00:55:14.730Z] ---> Running in 6a717c3823f8 [2023-01-02T00:55:14.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-02T00:55:15.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-02T00:55:15.509Z] OK: 216 MiB in 55 packages [2023-01-02T00:55:15.782Z] Removing intermediate container 6a717c3823f8 [2023-01-02T00:55:15.782Z] ---> 8e34220ae48d [2023-01-02T00:55:15.782Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-02T00:55:16.069Z] ---> 33e5daa742e3 [2023-01-02T00:55:16.069Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-02T00:55:16.069Z] ---> Running in fc9fbb422041 [2023-01-02T00:55:16.666Z] Removing intermediate container fc9fbb422041 [2023-01-02T00:55:16.666Z] ---> 16ad39e37854 [2023-01-02T00:55:16.666Z] Step 11/25 : COPY . . [2023-01-02T00:55:17.277Z] ---> 084a134778cd [2023-01-02T00:55:17.277Z] Step 12/25 : RUN ${MAKE} [2023-01-02T00:55:17.277Z] ---> Running in 00e1f1692633 [2023-01-02T00:55:17.277Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2023-01-02T00:55:39.241Z] Removing intermediate container 00e1f1692633 [2023-01-02T00:55:39.241Z] ---> 1e99025e00fd [2023-01-02T00:55:39.241Z] Step 13/25 : FROM alpine:3.16 [2023-01-02T00:55:39.241Z] 3.16: Pulling from library/alpine [2023-01-02T00:55:39.241Z] ca7dd9ec2225: Pulling fs layer [2023-01-02T00:55:39.241Z] ca7dd9ec2225: Verifying Checksum [2023-01-02T00:55:39.241Z] ca7dd9ec2225: Download complete [2023-01-02T00:55:39.241Z] ca7dd9ec2225: Pull complete [2023-01-02T00:55:39.241Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-02T00:55:39.241Z] Status: Downloaded newer image for alpine:3.16 [2023-01-02T00:55:39.241Z] ---> bfe296a52501 [2023-01-02T00:55:39.241Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-02T00:55:39.241Z] ---> Running in 7b6b5a5b0f82 [2023-01-02T00:55:39.241Z] Removing intermediate container 7b6b5a5b0f82 [2023-01-02T00:55:39.241Z] ---> ae49cfdc9ded [2023-01-02T00:55:39.241Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2023-01-02T00:55:39.241Z] ---> Running in 24822863b37e [2023-01-02T00:55:39.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-02T00:55:39.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-02T00:55:39.241Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-02T00:55:39.241Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-02T00:55:39.241Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-02T00:55:39.241Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-02T00:55:39.241Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-02T00:55:39.241Z] Executing busybox-1.35.0-r17.trigger [2023-01-02T00:55:39.241Z] OK: 8 MiB in 19 packages [2023-01-02T00:55:39.241Z] Removing intermediate container 24822863b37e [2023-01-02T00:55:39.241Z] ---> 824a731141ff [2023-01-02T00:55:39.241Z] Step 16/25 : WORKDIR / [2023-01-02T00:55:39.241Z] ---> Running in 7aa2ee2533f9 [2023-01-02T00:55:39.241Z] Removing intermediate container 7aa2ee2533f9 [2023-01-02T00:55:39.241Z] ---> 5ba981fe3c2a [2023-01-02T00:55:39.241Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-02T00:55:39.241Z] ---> 07e163cebd50 [2023-01-02T00:55:39.241Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-02T00:55:39.241Z] ---> 8fc9fc873526 [2023-01-02T00:55:39.241Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-02T00:55:39.500Z] ---> 269d62a3111d [2023-01-02T00:55:39.500Z] Step 20/25 : EXPOSE 59910 [2023-01-02T00:55:39.500Z] ---> Running in d6d0f5f68a15 [2023-01-02T00:55:39.500Z] Removing intermediate container d6d0f5f68a15 [2023-01-02T00:55:39.500Z] ---> be810d27c692 [2023-01-02T00:55:39.500Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-02T00:55:39.500Z] ---> Running in 88a67933eed4 [2023-01-02T00:55:39.760Z] Removing intermediate container 88a67933eed4 [2023-01-02T00:55:39.760Z] ---> 308a322cb14c [2023-01-02T00:55:39.760Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-01-02T00:55:39.760Z] ---> Running in 4164e49abfe0 [2023-01-02T00:55:39.760Z] Removing intermediate container 4164e49abfe0 [2023-01-02T00:55:39.760Z] ---> f549b0c61b64 [2023-01-02T00:55:39.760Z] Step 23/25 : LABEL arch=amd64 [2023-01-02T00:55:39.760Z] ---> Running in 8e8af78f10fe [2023-01-02T00:55:40.019Z] Removing intermediate container 8e8af78f10fe [2023-01-02T00:55:40.019Z] ---> 41c96472f1f1 [2023-01-02T00:55:40.019Z] Step 24/25 : LABEL git_sha=4a27319cf7ef639ba5502cec18ae6585351ad08c [2023-01-02T00:55:40.019Z] ---> Running in d9911b1da15e [2023-01-02T00:55:40.019Z] Removing intermediate container d9911b1da15e [2023-01-02T00:55:40.019Z] ---> ba9b6d7a8a4a [2023-01-02T00:55:40.019Z] Step 25/25 : LABEL version=0.0.0 [2023-01-02T00:55:40.019Z] ---> Running in 662cbc41d516 [2023-01-02T00:55:40.019Z] Removing intermediate container 662cbc41d516 [2023-01-02T00:55:40.019Z] ---> fa6fdf82d653 [2023-01-02T00:55:40.019Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-02T00:55:40.019Z] Successfully built fa6fdf82d653 [2023-01-02T00:55:40.019Z] 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-02T00:55:40.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-02T00:55:40.878Z] [2023-01-02T00:55:40.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:55:41.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-02T00:55:41.260Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-02T00:55:41.260Z] 5eb5b503b376: Pulling fs layer [2023-01-02T00:55:41.260Z] 5c69ac0246d0: Pulling fs layer [2023-01-02T00:55:41.260Z] ec43610c2a17: Pulling fs layer [2023-01-02T00:55:41.260Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-02T00:55:41.260Z] 33b1e0a273af: Pulling fs layer [2023-01-02T00:55:41.260Z] 5d3b04190fa2: Pulling fs layer [2023-01-02T00:55:41.260Z] 2f39f015ded8: Pulling fs layer [2023-01-02T00:55:41.260Z] 5d3b04190fa2: Waiting [2023-01-02T00:55:41.260Z] 2f39f015ded8: Waiting [2023-01-02T00:55:41.260Z] 33b1e0a273af: Waiting [2023-01-02T00:55:41.260Z] 3a2ae6a8a46f: Waiting [2023-01-02T00:55:41.260Z] 5c69ac0246d0: Download complete [2023-01-02T00:55:41.260Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-02T00:55:41.260Z] 3a2ae6a8a46f: Download complete [2023-01-02T00:55:41.524Z] 33b1e0a273af: Verifying Checksum [2023-01-02T00:55:41.524Z] 33b1e0a273af: Download complete [2023-01-02T00:55:41.524Z] ec43610c2a17: Verifying Checksum [2023-01-02T00:55:41.524Z] ec43610c2a17: Download complete [2023-01-02T00:55:41.524Z] 5d3b04190fa2: Verifying Checksum [2023-01-02T00:55:41.524Z] 5d3b04190fa2: Download complete [2023-01-02T00:55:41.524Z] 5eb5b503b376: Verifying Checksum [2023-01-02T00:55:41.524Z] 5eb5b503b376: Download complete [2023-01-02T00:55:42.460Z] 2f39f015ded8: Verifying Checksum [2023-01-02T00:55:42.460Z] 2f39f015ded8: Download complete [2023-01-02T00:55:42.720Z] 5eb5b503b376: Pull complete [2023-01-02T00:55:42.720Z] 5c69ac0246d0: Pull complete [2023-01-02T00:55:43.291Z] ec43610c2a17: Pull complete [2023-01-02T00:55:43.291Z] 3a2ae6a8a46f: Pull complete [2023-01-02T00:55:43.550Z] 33b1e0a273af: Pull complete [2023-01-02T00:55:43.550Z] 5d3b04190fa2: Pull complete [2023-01-02T00:55:47.748Z] 2f39f015ded8: Pull complete [2023-01-02T00:55:47.748Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-02T00:55:47.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-02T00:55:47.748Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T00:55:47.956Z] prd-ubuntu20.04-docker-8c-8g-792 does not seem to be running inside a container [2023-01-02T00:55:47.987Z] $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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-lftools-log-publisher:latest cat [2023-01-02T00:55:49.800Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-793 in /w/workspace/edgexfoundry_device-gpio_PR-71 [2023-01-02T00:55:50.001Z] $ docker top 92e62a0978c9cbc6929deff7396bfc7d5f22f0593318600530d5d83f0c7c78f5 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-01-02T00:55:50.277Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-01-02T00:55:50.363Z] The recommended git tool is: git [2023-01-02T00:55:50.512Z] ---> job-cost.sh [2023-01-02T00:55:50.512Z] lf-activate-venv: SKIPPING [2023-01-02T00:55:50.512Z] INFO: No Stack... [2023-01-02T00:55:50.772Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-02T00:55:51.031Z] INFO: Archiving Costs [Pipeline] sh [2023-01-02T00:55:51.347Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv [2023-01-02T00:55:51.347Z] + cut -d, -f6 [Pipeline] lock [2023-01-02T00:55:51.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] [2023-01-02T00:55:51.395Z] Resource [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] did not exist. Created. [2023-01-02T00:55:51.395Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-02T00:55:51.776Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-02T00:55:51.825Z] Stashed 1 file(s) [Pipeline] } [2023-01-02T00:55:51.854Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-02T00:55:51.928Z] $ docker stop --time=1 92e62a0978c9cbc6929deff7396bfc7d5f22f0593318600530d5d83f0c7c78f5 [2023-01-02T00:55:53.078Z] $ docker rm -f --volumes 92e62a0978c9cbc6929deff7396bfc7d5f22f0593318600530d5d83f0c7c78f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-02T00:55:55.284Z] using credential edgex-jenkins-ssh [2023-01-02T00:55:55.308Z] Cloning the remote Git repository [2023-01-02T00:55:55.358Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-02T00:55:55.438Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-01-02T00:55:55.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-02T00:55:55.597Z] > git --version # timeout=10 [2023-01-02T00:55:55.619Z] > git --version # 'git version 2.25.1' [2023-01-02T00:55:55.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-02T00:55:55.686Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-02T00:55:57.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-02T00:55:57.139Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-02T00:55:58.535Z] Merging remotes/origin/main commit 14c37c6919d6c1a44175d8fd941257ea70202ac9 into PR head commit 4a27319cf7ef639ba5502cec18ae6585351ad08c [2023-01-02T00:55:58.751Z] Merge succeeded, producing 4a27319cf7ef639ba5502cec18ae6585351ad08c [2023-01-02T00:55:58.752Z] Checking out Revision 4a27319cf7ef639ba5502cec18ae6585351ad08c (PR-71) [2023-01-02T00:55:57.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-02T00:55:58.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-02T00:55:58.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-02T00:55:58.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-02T00:55:58.555Z] > git config core.sparsecheckout # timeout=10 [2023-01-02T00:55:58.572Z] > git checkout -f 4a27319cf7ef639ba5502cec18ae6585351ad08c # timeout=10 [2023-01-02T00:55:58.650Z] > git remote # timeout=10 [2023-01-02T00:55:58.669Z] > git config --get remote.origin.url # timeout=10 [2023-01-02T00:55:58.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-02T00:55:58.709Z] > git merge 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 [2023-01-02T00:55:58.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-02T00:55:58.759Z] > git config core.sparsecheckout # timeout=10 [2023-01-02T00:55:58.773Z] > git checkout -f 4a27319cf7ef639ba5502cec18ae6585351ad08c # timeout=10 [2023-01-02T00:55:59.192Z] Commit message: "build(deps): bump github.com/warthog618/gpiod from 0.8.0 to 0.8.1" [2023-01-02T00:55:59.245Z] > git --version # timeout=10 [2023-01-02T00:55:59.257Z] > git --version # 'git version 2.25.1' [2023-01-02T00:55:59.278Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-02T00:56:00.290Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-02T00:56:00.290Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-02T00:56:00.290Z] Dload Upload Total Spent Left Speed [2023-01-02T00:56:00.290Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-01-02T00:56:00.918Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-02T00:56:01.261Z] + sudo tee /etc/docker/daemon.new [2023-01-02T00:56:01.261Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-02T00:56:01.261Z] { [2023-01-02T00:56:01.261Z] "registry-mirrors": [ [2023-01-02T00:56:01.261Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-02T00:56:01.261Z] ], [2023-01-02T00:56:01.261Z] "bip": "10.250.0.254/24", [2023-01-02T00:56:01.261Z] "hosts": [ [2023-01-02T00:56:01.261Z] "tcp://0.0.0.0:5555", [2023-01-02T00:56:01.261Z] "unix:///var/run/docker.sock" [2023-01-02T00:56:01.261Z] ], [2023-01-02T00:56:01.261Z] "mtu": 1458, [2023-01-02T00:56:01.261Z] "selinux-enabled": true, [2023-01-02T00:56:01.261Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-02T00:56:01.261Z] } [Pipeline] sh [2023-01-02T00:56:01.614Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-02T00:56:01.963Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-02T00:56:20.314Z] provisioning config files... [2023-01-02T00:56:20.344Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config11212992229669091775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-02T00:56:20.767Z] ---> docker-login.sh [2023-01-02T00:56:20.767Z] nexus3.edgexfoundry.org:10001 [2023-01-02T00:56:21.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:56:21.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:56:21.312Z] Configure a credential helper to remove this warning. See [2023-01-02T00:56:21.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:56:21.312Z] [2023-01-02T00:56:21.312Z] Login Succeeded [2023-01-02T00:56:21.312Z] nexus3.edgexfoundry.org:10002 [2023-01-02T00:56:21.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:56:21.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:56:21.852Z] Configure a credential helper to remove this warning. See [2023-01-02T00:56:21.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:56:21.852Z] [2023-01-02T00:56:21.852Z] Login Succeeded [2023-01-02T00:56:21.852Z] nexus3.edgexfoundry.org:10003 [2023-01-02T00:56:22.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:56:22.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:56:22.122Z] Configure a credential helper to remove this warning. See [2023-01-02T00:56:22.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:56:22.122Z] [2023-01-02T00:56:22.122Z] Login Succeeded [2023-01-02T00:56:22.122Z] nexus3.edgexfoundry.org:10004 [2023-01-02T00:56:22.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:56:22.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:56:22.400Z] Configure a credential helper to remove this warning. See [2023-01-02T00:56:22.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:56:22.400Z] [2023-01-02T00:56:22.400Z] Login Succeeded [2023-01-02T00:56:22.400Z] docker.io [2023-01-02T00:56:22.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-02T00:56:22.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-02T00:56:22.941Z] Configure a credential helper to remove this warning. See [2023-01-02T00:56:22.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-02T00:56:22.941Z] [2023-01-02T00:56:22.941Z] Login Succeeded [2023-01-02T00:56:22.941Z] ---> docker-login.sh ends [Pipeline] } [2023-01-02T00:56:22.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-02T00:56:23.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-02T00:56:23.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-02T00:56:23.422Z] ========================================================= [2023-01-02T00:56:23.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-02T00:56:23.422Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:56:23.932Z] + 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-02T00:56:24.206Z] Sending build context to Docker daemon 8.049MB [2023-01-02T00:56:24.206Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-02T00:56:24.206Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-02T00:56:24.478Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-02T00:56:24.478Z] 9b18e9b68314: Pulling fs layer [2023-01-02T00:56:24.478Z] 35d82f9e3411: Pulling fs layer [2023-01-02T00:56:24.478Z] e16973657156: Pulling fs layer [2023-01-02T00:56:24.478Z] fc693d55d65f: Pulling fs layer [2023-01-02T00:56:24.478Z] 7e9fc2657dce: Pulling fs layer [2023-01-02T00:56:24.478Z] dda99020689f: Pulling fs layer [2023-01-02T00:56:24.478Z] db1c61fa0a46: Pulling fs layer [2023-01-02T00:56:24.478Z] 891c053d2c06: Pulling fs layer [2023-01-02T00:56:24.478Z] dda99020689f: Waiting [2023-01-02T00:56:24.478Z] db1c61fa0a46: Waiting [2023-01-02T00:56:24.478Z] 891c053d2c06: Waiting [2023-01-02T00:56:24.478Z] fc693d55d65f: Waiting [2023-01-02T00:56:24.478Z] 7e9fc2657dce: Waiting [2023-01-02T00:56:24.478Z] e16973657156: Download complete [2023-01-02T00:56:24.478Z] 35d82f9e3411: Verifying Checksum [2023-01-02T00:56:24.478Z] 35d82f9e3411: Download complete [2023-01-02T00:56:24.478Z] 7e9fc2657dce: Verifying Checksum [2023-01-02T00:56:24.478Z] 7e9fc2657dce: Download complete [2023-01-02T00:56:24.478Z] dda99020689f: Verifying Checksum [2023-01-02T00:56:24.478Z] dda99020689f: Download complete [2023-01-02T00:56:24.478Z] 9b18e9b68314: Download complete [2023-01-02T00:56:25.455Z] 9b18e9b68314: Pull complete [2023-01-02T00:56:25.730Z] 891c053d2c06: Verifying Checksum [2023-01-02T00:56:25.730Z] 891c053d2c06: Download complete [2023-01-02T00:56:26.000Z] 35d82f9e3411: Pull complete [2023-01-02T00:56:26.277Z] e16973657156: Pull complete [2023-01-02T00:56:26.866Z] db1c61fa0a46: Verifying Checksum [2023-01-02T00:56:26.866Z] db1c61fa0a46: Download complete [2023-01-02T00:56:27.454Z] fc693d55d65f: Verifying Checksum [2023-01-02T00:56:27.455Z] fc693d55d65f: Download complete [2023-01-02T00:56:39.787Z] fc693d55d65f: Pull complete [2023-01-02T00:56:39.787Z] 7e9fc2657dce: Pull complete [2023-01-02T00:56:39.787Z] dda99020689f: Pull complete [2023-01-02T00:56:45.155Z] db1c61fa0a46: Pull complete [2023-01-02T00:56:47.838Z] 891c053d2c06: Pull complete [2023-01-02T00:56:47.838Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-02T00:56:47.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-02T00:56:47.838Z] ---> f96f9c87975a [2023-01-02T00:56:47.838Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-02T00:56:49.862Z] ---> Running in 2e8ac68ee407 [2023-01-02T00:56:49.862Z] Removing intermediate container 2e8ac68ee407 [2023-01-02T00:56:49.862Z] ---> 5004b6f8e077 [2023-01-02T00:56:49.862Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-02T00:56:49.862Z] ---> Running in c9c95c77bd2b [2023-01-02T00:56:50.130Z] Removing intermediate container c9c95c77bd2b [2023-01-02T00:56:50.130Z] ---> 35dfcab42a2b [2023-01-02T00:56:50.130Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-02T00:56:50.399Z] ---> Running in 80eddb8ed0a5 [2023-01-02T00:56:50.671Z] Removing intermediate container 80eddb8ed0a5 [2023-01-02T00:56:50.671Z] ---> ee9ba9f49a37 [2023-01-02T00:56:50.671Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-02T00:56:50.671Z] ---> Running in 07dc89cbcbf4 [2023-01-02T00:56:50.940Z] Removing intermediate container 07dc89cbcbf4 [2023-01-02T00:56:50.940Z] ---> 871a2ec3e908 [2023-01-02T00:56:50.940Z] Step 7/12 : WORKDIR /device-gpio [2023-01-02T00:56:50.940Z] ---> Running in f74e90a8e20f [2023-01-02T00:56:51.537Z] Removing intermediate container f74e90a8e20f [2023-01-02T00:56:51.537Z] ---> a5efdb64b0aa [2023-01-02T00:56:51.537Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-02T00:56:51.537Z] ---> Running in 1a1bcdd58f82 [2023-01-02T00:56:52.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-02T00:56:52.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-02T00:56:53.744Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-02T00:56:53.744Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-02T00:56:53.744Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-02T00:56:54.014Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-02T00:56:54.014Z] Executing busybox-1.35.0-r17.trigger [2023-01-02T00:56:54.014Z] OK: 226 MiB in 55 packages [2023-01-02T00:56:54.994Z] Removing intermediate container 1a1bcdd58f82 [2023-01-02T00:56:54.994Z] ---> dca405a8f7c5 [2023-01-02T00:56:54.994Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-02T00:56:55.581Z] ---> 77e090aa56a7 [2023-01-02T00:56:55.581Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-02T00:56:55.581Z] ---> Running in 77f9a36efa32 [2023-01-02T00:57:52.018Z] Removing intermediate container 77f9a36efa32 [2023-01-02T00:57:52.018Z] ---> f0ad0b587d80 [2023-01-02T00:57:52.018Z] Step 11/12 : COPY . . [2023-01-02T00:57:52.018Z] ---> c840dae52a0a [2023-01-02T00:57:52.018Z] Step 12/12 : RUN ${MAKE} [2023-01-02T00:57:52.018Z] ---> Running in da3f40a51bba [2023-01-02T00:57:52.018Z] noop [2023-01-02T00:57:52.018Z] Removing intermediate container da3f40a51bba [2023-01-02T00:57:52.018Z] ---> cc1cd4fd6d02 [2023-01-02T00:57:52.018Z] Successfully built cc1cd4fd6d02 [2023-01-02T00:57:52.018Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:57:52.507Z] + docker inspect -f . ci-base-image-arm64 [2023-01-02T00:57:52.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T00:57:52.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-793 does not seem to be running inside a container [2023-01-02T00:57:52.845Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-02T00:57:54.045Z] $ docker top 397dfe66672e77ce60fda6c6deec475bddde867db7f888ff6fa87ca745151d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-02T00:57:54.929Z] + go version [2023-01-02T00:57:54.929Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-02T00:57:54.960Z] $ docker stop --time=1 397dfe66672e77ce60fda6c6deec475bddde867db7f888ff6fa87ca745151d9a [2023-01-02T00:57:56.552Z] $ docker rm -f --volumes 397dfe66672e77ce60fda6c6deec475bddde867db7f888ff6fa87ca745151d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:57:57.408Z] + docker inspect -f . ci-base-image-arm64 [2023-01-02T00:57:57.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T00:57:57.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-793 does not seem to be running inside a container [2023-01-02T00:57:57.709Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-02T00:57:58.849Z] $ docker top ba8fafec8216320100a993aa2ba9155294181214e73d99c8bcd8c6f37397f245 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-02T00:57:59.403Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-01-02T00:58:00.054Z] + make test [2023-01-02T00:58:00.054Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-02T00:58:02.006Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-02T00:59:23.650Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-02T00:59:23.650Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-02T00:59:23.650Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-02T00:59:23.650Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-02T00:59:33.722Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-02T00:59:33.722Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-02T00:59:33.723Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-02T00:59:33.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-02T00:59:33.790Z] $ docker stop --time=1 ba8fafec8216320100a993aa2ba9155294181214e73d99c8bcd8c6f37397f245 [2023-01-02T00:59:35.467Z] $ docker rm -f --volumes ba8fafec8216320100a993aa2ba9155294181214e73d99c8bcd8c6f37397f245 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-02T00:59:36.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-02T00:59:36.432Z] Warning: overwriting stash ‘coverage-report’ [2023-01-02T00:59:36.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-02T00:59:37.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-02T00:59:37.699Z] + ls -al . [2023-01-02T00:59:37.699Z] total 164 [2023-01-02T00:59:37.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 00:58 . [2023-01-02T00:59:37.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 00:55 .. [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 2 00:55 .dockerignore [2023-01-02T00:59:37.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 00:55 .git [2023-01-02T00:59:37.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 00:55 .github [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 2 00:55 .gitignore [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 2 00:55 .golangci.yml [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 9691 Jan 2 00:55 Attribution.txt [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 2 00:55 CHANGELOG.md [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 1604 Jan 2 00:55 Dockerfile [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 00:55 GOVERNANCE.md [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 2 00:55 Jenkinsfile [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 2 00:55 LICENSE [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 2085 Jan 2 00:55 Makefile [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 2 00:55 OWNERS.md [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 2 00:55 README.md [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 00:54 VERSION [2023-01-02T00:59:37.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 00:55 bin [2023-01-02T00:59:37.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 00:55 cmd [2023-01-02T00:59:37.699Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 2 00:58 coverage.out [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 3372 Jan 2 00:55 go.mod [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 44860 Jan 2 00:55 go.sum [2023-01-02T00:59:37.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 00:55 internal [2023-01-02T00:59:37.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 00:55 snap [2023-01-02T00:59:37.699Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 2 00:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T00:59:38.193Z] + 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=4a27319cf7ef639ba5502cec18ae6585351ad08c --label arch=arm64 --label version=0.0.0 . [2023-01-02T00:59:38.460Z] Sending build context to Docker daemon 8.05MB [2023-01-02T00:59:38.460Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-02T00:59:38.460Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-02T00:59:38.460Z] ---> cc1cd4fd6d02 [2023-01-02T00:59:38.460Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-02T00:59:38.727Z] ---> Running in a4cd99a7df85 [2023-01-02T00:59:38.727Z] Removing intermediate container a4cd99a7df85 [2023-01-02T00:59:38.727Z] ---> 7e69f12e71b0 [2023-01-02T00:59:38.727Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-02T00:59:38.995Z] ---> Running in bbecfc6d008a [2023-01-02T00:59:39.269Z] Removing intermediate container bbecfc6d008a [2023-01-02T00:59:39.269Z] ---> f26378fc5328 [2023-01-02T00:59:39.269Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-02T00:59:39.269Z] ---> Running in c954e3c0a99b [2023-01-02T00:59:39.535Z] Removing intermediate container c954e3c0a99b [2023-01-02T00:59:39.535Z] ---> a58848e0a87e [2023-01-02T00:59:39.535Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-02T00:59:39.535Z] ---> Running in c42267b87cc0 [2023-01-02T00:59:39.802Z] Removing intermediate container c42267b87cc0 [2023-01-02T00:59:39.803Z] ---> fd9342d7f47d [2023-01-02T00:59:39.803Z] Step 7/25 : WORKDIR /device-gpio [2023-01-02T00:59:39.803Z] ---> Running in 5992b291116f [2023-01-02T00:59:40.069Z] Removing intermediate container 5992b291116f [2023-01-02T00:59:40.069Z] ---> da2a1237f020 [2023-01-02T00:59:40.069Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-02T00:59:40.339Z] ---> Running in b96deed96ca7 [2023-01-02T00:59:41.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-02T00:59:41.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-02T00:59:42.258Z] OK: 226 MiB in 55 packages [2023-01-02T00:59:43.218Z] Removing intermediate container b96deed96ca7 [2023-01-02T00:59:43.218Z] ---> d9673c1d8574 [2023-01-02T00:59:43.218Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-02T00:59:43.815Z] ---> 5fa7b6f7de99 [2023-01-02T00:59:43.815Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-02T00:59:43.815Z] ---> Running in 3a8c10d412a4 [2023-01-02T00:59:45.760Z] Removing intermediate container 3a8c10d412a4 [2023-01-02T00:59:45.760Z] ---> 0459bad08be0 [2023-01-02T00:59:45.760Z] Step 11/25 : COPY . . [2023-01-02T00:59:46.342Z] ---> 65522dec1017 [2023-01-02T00:59:46.342Z] Step 12/25 : RUN ${MAKE} [2023-01-02T00:59:46.342Z] ---> Running in 76d33d67248e [2023-01-02T00:59:47.300Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2023-01-02T01:02:08.975Z] Removing intermediate container 76d33d67248e [2023-01-02T01:02:08.975Z] ---> 7dd27efa3234 [2023-01-02T01:02:08.975Z] Step 13/25 : FROM alpine:3.16 [2023-01-02T01:02:09.242Z] 3.16: Pulling from library/alpine [2023-01-02T01:02:09.242Z] 6875df1f5354: Pulling fs layer [2023-01-02T01:02:09.825Z] 6875df1f5354: Verifying Checksum [2023-01-02T01:02:09.825Z] 6875df1f5354: Download complete [2023-01-02T01:02:10.105Z] 6875df1f5354: Pull complete [2023-01-02T01:02:10.105Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-02T01:02:10.105Z] Status: Downloaded newer image for alpine:3.16 [2023-01-02T01:02:10.105Z] ---> 2b4661558fb8 [2023-01-02T01:02:10.105Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-02T01:02:10.373Z] ---> Running in 9b4ce6a31f94 [2023-01-02T01:02:10.642Z] Removing intermediate container 9b4ce6a31f94 [2023-01-02T01:02:10.642Z] ---> cf999f516c3b [2023-01-02T01:02:10.642Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2023-01-02T01:02:10.642Z] ---> Running in be8b081696bf [2023-01-02T01:02:11.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-02T01:02:11.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-02T01:02:12.844Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-02T01:02:12.844Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-02T01:02:12.844Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-02T01:02:12.844Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-02T01:02:13.112Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-02T01:02:13.112Z] Executing busybox-1.35.0-r17.trigger [2023-01-02T01:02:13.112Z] OK: 8 MiB in 19 packages [2023-01-02T01:02:14.085Z] Removing intermediate container be8b081696bf [2023-01-02T01:02:14.085Z] ---> ed6660de623f [2023-01-02T01:02:14.085Z] Step 16/25 : WORKDIR / [2023-01-02T01:02:14.085Z] ---> Running in a19bbae833c6 [2023-01-02T01:02:14.360Z] Removing intermediate container a19bbae833c6 [2023-01-02T01:02:14.360Z] ---> ddc073fd59fc [2023-01-02T01:02:14.360Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-02T01:02:14.952Z] ---> c2d924b22319 [2023-01-02T01:02:14.952Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-02T01:02:15.221Z] ---> 4dcb32cbd232 [2023-01-02T01:02:15.221Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-02T01:02:16.632Z] ---> 05bc536324a1 [2023-01-02T01:02:16.632Z] Step 20/25 : EXPOSE 59910 [2023-01-02T01:02:16.632Z] ---> Running in 15fc36c6efa1 [2023-01-02T01:02:16.904Z] Removing intermediate container 15fc36c6efa1 [2023-01-02T01:02:16.904Z] ---> 8ecdafbe0889 [2023-01-02T01:02:16.904Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-02T01:02:17.177Z] ---> Running in ed7a068d399c [2023-01-02T01:02:17.446Z] Removing intermediate container ed7a068d399c [2023-01-02T01:02:17.446Z] ---> 0241b7a70d9c [2023-01-02T01:02:17.446Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-01-02T01:02:17.446Z] ---> Running in 6d3c7bd1d7a8 [2023-01-02T01:02:17.713Z] Removing intermediate container 6d3c7bd1d7a8 [2023-01-02T01:02:17.714Z] ---> 62e67d5f9ea3 [2023-01-02T01:02:17.714Z] Step 23/25 : LABEL arch=arm64 [2023-01-02T01:02:17.714Z] ---> Running in febf113970b4 [2023-01-02T01:02:17.983Z] Removing intermediate container febf113970b4 [2023-01-02T01:02:17.983Z] ---> d176fbfcaf34 [2023-01-02T01:02:17.983Z] Step 24/25 : LABEL git_sha=4a27319cf7ef639ba5502cec18ae6585351ad08c [2023-01-02T01:02:17.983Z] ---> Running in 73bb00a8ed9f [2023-01-02T01:02:18.253Z] Removing intermediate container 73bb00a8ed9f [2023-01-02T01:02:18.254Z] ---> 103665123400 [2023-01-02T01:02:18.254Z] Step 25/25 : LABEL version=0.0.0 [2023-01-02T01:02:18.522Z] ---> Running in 6d0cce960c4c [2023-01-02T01:02:18.522Z] Removing intermediate container 6d0cce960c4c [2023-01-02T01:02:18.522Z] ---> 07b3f9ee8dfc [2023-01-02T01:02:18.522Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-02T01:02:18.788Z] Successfully built 07b3f9ee8dfc [2023-01-02T01:02:18.788Z] 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-02T01:02:19.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-02T01:02:19.597Z] [2023-01-02T01:02:19.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T01:02:20.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-02T01:02:20.004Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-02T01:02:20.004Z] 8998bd30e6a1: Pulling fs layer [2023-01-02T01:02:20.004Z] 04944245beec: Pulling fs layer [2023-01-02T01:02:20.004Z] 699f458cf7ca: Pulling fs layer [2023-01-02T01:02:20.004Z] 765212b225bb: Pulling fs layer [2023-01-02T01:02:20.004Z] f23df028b6ca: Pulling fs layer [2023-01-02T01:02:20.004Z] d65c8cfc05b1: Pulling fs layer [2023-01-02T01:02:20.004Z] 2437ff75d9bd: Pulling fs layer [2023-01-02T01:02:20.004Z] 765212b225bb: Waiting [2023-01-02T01:02:20.004Z] f23df028b6ca: Waiting [2023-01-02T01:02:20.004Z] d65c8cfc05b1: Waiting [2023-01-02T01:02:20.004Z] 2437ff75d9bd: Waiting [2023-01-02T01:02:20.276Z] 04944245beec: Verifying Checksum [2023-01-02T01:02:20.276Z] 04944245beec: Download complete [2023-01-02T01:02:20.276Z] 765212b225bb: Verifying Checksum [2023-01-02T01:02:20.276Z] 765212b225bb: Download complete [2023-01-02T01:02:20.276Z] f23df028b6ca: Download complete [2023-01-02T01:02:20.276Z] d65c8cfc05b1: Verifying Checksum [2023-01-02T01:02:20.276Z] d65c8cfc05b1: Download complete [2023-01-02T01:02:20.546Z] 699f458cf7ca: Verifying Checksum [2023-01-02T01:02:20.546Z] 699f458cf7ca: Download complete [2023-01-02T01:02:20.831Z] 8998bd30e6a1: Verifying Checksum [2023-01-02T01:02:20.831Z] 8998bd30e6a1: Download complete [2023-01-02T01:02:23.425Z] 2437ff75d9bd: Verifying Checksum [2023-01-02T01:02:23.425Z] 2437ff75d9bd: Download complete [2023-01-02T01:02:25.371Z] 8998bd30e6a1: Pull complete [2023-01-02T01:02:25.956Z] 04944245beec: Pull complete [2023-01-02T01:02:27.363Z] 699f458cf7ca: Pull complete [2023-01-02T01:02:27.363Z] 765212b225bb: Pull complete [2023-01-02T01:02:27.947Z] f23df028b6ca: Pull complete [2023-01-02T01:02:28.215Z] d65c8cfc05b1: Pull complete [2023-01-02T01:02:43.208Z] 2437ff75d9bd: Pull complete [2023-01-02T01:02:43.208Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-02T01:02:43.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-02T01:02:43.208Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T01:02:43.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-793 does not seem to be running inside a container [2023-01-02T01:02:43.644Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-02T01:02:46.173Z] $ docker top a8fd4e75d83070f3ddc9b1111e9dfa1a43be00f23e94ccc72f1ac24d42342783 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:02:47.133Z] ---> job-cost.sh [2023-01-02T01:02:47.133Z] lf-activate-venv: SKIPPING [2023-01-02T01:02:47.133Z] INFO: No Stack... [2023-01-02T01:02:47.404Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-02T01:02:48.382Z] INFO: Archiving Costs [Pipeline] sh [2023-01-02T01:02:48.730Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-01-02T01:02:48.730Z] + cut -d, -f6 [Pipeline] lock [2023-01-02T01:02:48.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] [2023-01-02T01:02:48.823Z] Resource [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] did not exist. Created. [2023-01-02T01:02:48.823Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-02T01:02:49.232Z] /w/workspace/device-gpio/1@tmp/durable-82593295/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-02T01:02:49.916Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-02T01:02:49.952Z] Warning: overwriting stash ‘stack-cost’ [2023-01-02T01:02:49.997Z] Stashed 1 file(s) [Pipeline] } [2023-01-02T01:02:50.010Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-02T01:02:50.086Z] $ docker stop --time=1 a8fd4e75d83070f3ddc9b1111e9dfa1a43be00f23e94ccc72f1ac24d42342783 [2023-01-02T01:02:51.548Z] $ docker rm -f --volumes a8fd4e75d83070f3ddc9b1111e9dfa1a43be00f23e94ccc72f1ac24d42342783 [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-02T01:02:52.649Z] provisioning config files... [2023-01-02T01:02:52.657Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config1427201612179678277tmp [Pipeline] { [Pipeline] sh [2023-01-02T01:02:52.991Z] + set +x [2023-01-02T01:02:52.991Z] + curl -s https://codecov.io/bash [2023-01-02T01:02:52.991Z] + bash -s -- [2023-01-02T01:02:52.991Z] [2023-01-02T01:02:52.991Z] _____ _ [2023-01-02T01:02:52.991Z] / ____| | | [2023-01-02T01:02:52.991Z] | | ___ __| | ___ ___ _____ __ [2023-01-02T01:02:52.991Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-02T01:02:52.991Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-02T01:02:52.991Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-02T01:02:52.991Z] Bash-1.0.6 [2023-01-02T01:02:52.991Z] [2023-01-02T01:02:52.991Z] [2023-01-02T01:02:52.991Z] ==> git version 2.25.1 found [2023-01-02T01:02:52.991Z] ==> 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-02T01:02:52.991Z] Release-Date: 2020-01-08 [2023-01-02T01:02:52.991Z] 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-02T01:02:52.991Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-02T01:02:52.991Z] ==> Jenkins CI detected. [2023-01-02T01:02:52.991Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-71 [2023-01-02T01:02:52.991Z] project root: . [2023-01-02T01:02:52.991Z] --> token set from env [2023-01-02T01:02:52.991Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-02T01:02:53.251Z] ==> Running gcov in . (disable via -X gcov) [2023-01-02T01:02:53.251Z] ==> Python coveragepy not found [2023-01-02T01:02:53.251Z] ==> Searching for coverage reports in: [2023-01-02T01:02:53.251Z] + . [2023-01-02T01:02:53.251Z] -> Found 1 reports [2023-01-02T01:02:53.251Z] ==> Detecting git/mercurial file structure [2023-01-02T01:02:53.251Z] ==> Reading reports [2023-01-02T01:02:53.251Z] + ./coverage.out bytes=10 [2023-01-02T01:02:53.251Z] ==> Appending adjustments [2023-01-02T01:02:53.251Z] https://docs.codecov.io/docs/fixing-reports [2023-01-02T01:02:53.251Z] + Found adjustments [2023-01-02T01:02:53.251Z] ==> Gzipping contents [2023-01-02T01:02:53.251Z] 4.0K /tmp/codecov.YiVgoo.gz [2023-01-02T01:02:53.251Z] ==> Uploading reports [2023-01-02T01:02:53.251Z] url: https://codecov.io [2023-01-02T01:02:53.251Z] query: branch=PR-71&commit=4a27319cf7ef639ba5502cec18ae6585351ad08c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= [2023-01-02T01:02:53.251Z] -> Pinging Codecov [2023-01-02T01:02:53.251Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-71&commit=4a27319cf7ef639ba5502cec18ae6585351ad08c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= [2023-01-02T01:02:53.819Z] -> Uploading to [2023-01-02T01:02:53.819Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-02/3EC07B1A8CA8AF9BCAA0BB9F0134797F/4a27319cf7ef639ba5502cec18ae6585351ad08c/b1befe5d-155f-4420-86a8-c4e2e4a3026f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230102T010253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=007c79a23b49940cd8845c1d0011882c0a0508d01d079c19d2b4ec89e083fd6d [2023-01-02T01:02:53.819Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-02T01:02:53.819Z] Dload Upload Total Spent Left Speed [2023-01-02T01:02:53.819Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3161 --:--:-- --:--:-- --:--:-- 3149 [2023-01-02T01:02:53.819Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/4a27319cf7ef639ba5502cec18ae6585351ad08c [Pipeline] } [2023-01-02T01:02:53.845Z] 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-02T01:02:55.701Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] [2023-01-02T01:02:55.701Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives [2023-01-02T01:02:55.701Z] total 16 [2023-01-02T01:02:55.701Z] drwxr-xr-x 3 root root 4096 Jan 2 00:55 . [2023-01-02T01:02:55.701Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 00:55 .. [2023-01-02T01:02:55.701Z] drwxr-xr-x 2 root root 4096 Jan 2 00:55 cost [2023-01-02T01:02:55.701Z] -rw-r--r-- 1 root root 82 Jan 2 00:55 cost.csv [2023-01-02T01:02:55.701Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives [2023-01-02T01:02:55.701Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives [2023-01-02T01:02:55.701Z] total 16 [2023-01-02T01:02:55.701Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 00:55 . [2023-01-02T01:02:55.701Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 00:55 .. [2023-01-02T01:02:55.701Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 00:55 cost [2023-01-02T01:02:55.701Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 2 00:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:02:56.024Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:02:56.914Z] ---> package-listing.sh [2023-01-02T01:02:56.914Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-02T01:02:56.914Z] ++ facter osfamily [2023-01-02T01:02:57.173Z] + OS_FAMILY=debian [2023-01-02T01:02:57.173Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 [2023-01-02T01:02:57.173Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-02T01:02:57.173Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-02T01:02:57.173Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-02T01:02:57.173Z] + PACKAGES=/tmp/packages_start.txt [2023-01-02T01:02:57.173Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' [2023-01-02T01:02:57.173Z] + PACKAGES=/tmp/packages_end.txt [2023-01-02T01:02:57.173Z] + case "${OS_FAMILY}" in [2023-01-02T01:02:57.173Z] + dpkg -l [2023-01-02T01:02:57.173Z] + grep '^ii' [2023-01-02T01:02:57.173Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-02T01:02:57.173Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-02T01:02:57.173Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-02T01:02:57.173Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' [2023-01-02T01:02:57.173Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [2023-01-02T01:02:57.173Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo [2023-01-02T01:02:57.208Z] 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-02T01:02:57.502Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-02T01:02:58.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-02T01:02:58.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-02T01:02:58.414Z] prd-ubuntu20.04-docker-8c-8g-792 does not seem to be running inside a container [2023-01-02T01:02:58.446Z] $ 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-71/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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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:latest cat [2023-01-02T01:02:58.641Z] $ docker top be56765b805f7381ab58fe882e4d7072a73c7573a61d8db5ef211aa54549ea00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-02T01:02:59.034Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-02T01:02:59.338Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-02T01:02:59.652Z] + ls /var/log/sa-host [2023-01-02T01:02:59.652Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-02T01:02:59.885Z] provisioning config files... [2023-01-02T01:02:59.893Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config12862044831895418019tmp [Pipeline] { [Pipeline] echo [2023-01-02T01:02:59.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:03:00.266Z] ---> create-netrc.sh [Pipeline] } [2023-01-02T01:03:00.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:03:00.707Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-02T01:03:00.739Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:03:01.049Z] ---> sudo-logs.sh [2023-01-02T01:03:01.049Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-02T01:03:01.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:03:01.456Z] ---> job-cost.sh [2023-01-02T01:03:01.456Z] lf-activate-venv: SKIPPING [2023-01-02T01:03:01.456Z] DEBUG: total: 0.2199999988079071 [2023-01-02T01:03:01.456Z] INFO: Retrieving Stack Cost... [2023-01-02T01:03:01.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-02T01:03:01.974Z] INFO: Archiving Costs [Pipeline] echo [2023-01-02T01:03:02.013Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-02T01:03:02.330Z] ---> logs-deploy.sh [2023-01-02T01:03:02.330Z] lf-activate-venv: SKIPPING [2023-01-02T01:03:02.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/1 [2023-01-02T01:03:02.330Z] INFO: archiving workspace using pattern(s): [2023-01-02T01:03:03.267Z] Archives upload complete. [2023-01-02T01:03:03.267Z] INFO: archiving logs to Nexus