Pull request #54 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef45b404ff33c947d6842df3c218599489ddd00e+1094f563edbbc5735ff7ad494c47030b36b4872c (0423a8d2444ab3b8b21993d092dc4eeccea7ef53) 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-ssh10845546595183342764.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3835132455071004546.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-54/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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4992323486225266091.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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7106805081213619784.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15524240117941060930.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-54/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-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5297635185708661843.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-28905’ Running on prd-ubuntu20.04-docker-8c-8g-28911 in /w/workspace/edgexfoundry_device-gpio_PR-54 [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-54 # 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 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit ef45b404ff33c947d6842df3c218599489ddd00e Merge succeeded, producing ef45b404ff33c947d6842df3c218599489ddd00e Checking out Revision ef45b404ff33c947d6842df3c218599489ddd00e (PR-54) > 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/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-12T01:09:34.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-12T01:09:34.588Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-12T01:09:34.673Z] ========================================================= [2022-09-12T01:09:34.674Z] EdgeX Global Pipelines Version Info [2022-09-12T01:09:34.674Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:09:35.470Z] ------------------- [2022-09-12T01:09:35.470Z] stable info: [2022-09-12T01:09:35.470Z] ------------------- [2022-09-12T01:09:35.470Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-12T01:09:35.470Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T01:09:35.470Z] Message: update stable to v1.0.239 [2022-09-12T01:09:36.045Z] ------------------- [2022-09-12T01:09:36.045Z] experimental info: [2022-09-12T01:09:36.045Z] ------------------- [2022-09-12T01:09:36.045Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-12T01:09:36.045Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T01:09:36.045Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-12T01:09:36.453Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-09-12T01:09:36.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-09-12T01:09:36.541Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-12T01:09:36.584Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-12T01:09:36.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-12T01:09:36.669Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-12T01:09:36.718Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-12T01:09:36.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-12T01:09:36.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-12T01:09:36.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-12T01:09:36.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-12T01:09:36.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-09-12T01:09:36.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-12T01:09:37.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-12T01:09:37.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T01:09:37.127Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T01:09:37.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T01:09:37.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T01:09:37.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-12T01:09:37.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-12T01:09:37.355Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-12T01:09:37.394Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-12T01:09:37.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-12T01:09:37.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-12T01:09:37.528Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-12T01:09:37.568Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-12T01:09:37.646Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-12T01:09:37.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo [2022-09-12T01:09:37.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo [2022-09-12T01:09:37.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo [2022-09-12T01:09:37.817Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo [2022-09-12T01:09:37.864Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef45b40 [Pipeline] echo [2022-09-12T01:09:37.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:09:38.125Z] provisioning config files... [2022-09-12T01:09:38.141Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config3602985562168489707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:09:38.548Z] ---> docker-login.sh [2022-09-12T01:09:38.548Z] nexus3.edgexfoundry.org:10001 [2022-09-12T01:09:38.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:39.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:39.075Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:39.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:39.075Z] [2022-09-12T01:09:39.075Z] Login Succeeded [2022-09-12T01:09:39.075Z] nexus3.edgexfoundry.org:10002 [2022-09-12T01:09:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:39.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:39.336Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:39.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:39.336Z] [2022-09-12T01:09:39.336Z] Login Succeeded [2022-09-12T01:09:39.336Z] nexus3.edgexfoundry.org:10003 [2022-09-12T01:09:39.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:39.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:39.336Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:39.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:39.336Z] [2022-09-12T01:09:39.336Z] Login Succeeded [2022-09-12T01:09:39.336Z] nexus3.edgexfoundry.org:10004 [2022-09-12T01:09:39.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:39.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:39.598Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:39.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:39.598Z] [2022-09-12T01:09:39.598Z] Login Succeeded [2022-09-12T01:09:39.598Z] docker.io [2022-09-12T01:09:39.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:40.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:40.173Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:40.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:40.173Z] [2022-09-12T01:09:40.173Z] Login Succeeded [2022-09-12T01:09:40.173Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T01:09:40.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-12T01:09:40.838Z] + git rev-list -1 --merges ef45b404ff33c947d6842df3c218599489ddd00e~1..ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo [2022-09-12T01:09:40.982Z] -----------> git rev-list -1 --merges ef45b404ff33c947d6842df3c218599489ddd00e~1..ef45b404ff33c947d6842df3c218599489ddd00e ef45b404ff33c947d6842df3c218599489ddd00e [false] [Pipeline] sh [2022-09-12T01:09:41.299Z] + git log --format=format:%s -1 ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo [2022-09-12T01:09:41.345Z] ========================================================= [2022-09-12T01:09:41.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-12T01:09:41.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T01:09:41.800Z] + git log --format=format:%s -1 ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] echo [2022-09-12T01:09:41.833Z] [semverPrep] GIT_COMMIT: ef45b404ff33c947d6842df3c218599489ddd00e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-12T01:09:41.863Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-12T01:09:42.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-12T01:09:42.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-12T01:09:42.262Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-12T01:09:42.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-12T01:09:42.262Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-12T01:09:42.262Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-12T01:09:42.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:09:42.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T01:09:42.745Z] [2022-09-12T01:09:42.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:09:43.140Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T01:09:43.140Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-12T01:09:43.140Z] b85a868b505f: Pulling fs layer [2022-09-12T01:09:43.140Z] e2be974225ed: Pulling fs layer [2022-09-12T01:09:43.140Z] 339a4e72a1f5: Pulling fs layer [2022-09-12T01:09:43.140Z] 988bab9f4d93: Pulling fs layer [2022-09-12T01:09:43.140Z] 1469e6f7b9e6: Pulling fs layer [2022-09-12T01:09:43.140Z] eaf3925da568: Pulling fs layer [2022-09-12T01:09:43.140Z] bab4dde63d76: Pulling fs layer [2022-09-12T01:09:43.140Z] bde34c3a00c8: Pulling fs layer [2022-09-12T01:09:43.140Z] b352a97aabf1: Pulling fs layer [2022-09-12T01:09:43.140Z] 4872d77fe225: Pulling fs layer [2022-09-12T01:09:43.140Z] 5851b861e8e6: Pulling fs layer [2022-09-12T01:09:43.140Z] 988bab9f4d93: Waiting [2022-09-12T01:09:43.140Z] 1469e6f7b9e6: Waiting [2022-09-12T01:09:43.140Z] eaf3925da568: Waiting [2022-09-12T01:09:43.140Z] bab4dde63d76: Waiting [2022-09-12T01:09:43.140Z] bde34c3a00c8: Waiting [2022-09-12T01:09:43.140Z] b352a97aabf1: Waiting [2022-09-12T01:09:43.140Z] 4872d77fe225: Waiting [2022-09-12T01:09:43.140Z] 5851b861e8e6: Waiting [2022-09-12T01:09:43.140Z] e2be974225ed: Download complete [2022-09-12T01:09:43.140Z] 988bab9f4d93: Verifying Checksum [2022-09-12T01:09:43.140Z] 988bab9f4d93: Download complete [2022-09-12T01:09:43.403Z] 1469e6f7b9e6: Verifying Checksum [2022-09-12T01:09:43.403Z] 1469e6f7b9e6: Download complete [2022-09-12T01:09:43.403Z] eaf3925da568: Verifying Checksum [2022-09-12T01:09:43.403Z] eaf3925da568: Download complete [2022-09-12T01:09:43.403Z] 339a4e72a1f5: Verifying Checksum [2022-09-12T01:09:43.403Z] 339a4e72a1f5: Download complete [2022-09-12T01:09:43.403Z] bde34c3a00c8: Verifying Checksum [2022-09-12T01:09:43.403Z] bde34c3a00c8: Download complete [2022-09-12T01:09:43.403Z] b352a97aabf1: Download complete [2022-09-12T01:09:43.403Z] 4872d77fe225: Verifying Checksum [2022-09-12T01:09:43.403Z] 4872d77fe225: Download complete [2022-09-12T01:09:43.403Z] 5851b861e8e6: Verifying Checksum [2022-09-12T01:09:43.403Z] 5851b861e8e6: Download complete [2022-09-12T01:09:43.403Z] b85a868b505f: Verifying Checksum [2022-09-12T01:09:43.403Z] b85a868b505f: Download complete [2022-09-12T01:09:43.663Z] bab4dde63d76: Verifying Checksum [2022-09-12T01:09:43.663Z] bab4dde63d76: Download complete [2022-09-12T01:09:45.048Z] b85a868b505f: Pull complete [2022-09-12T01:09:45.049Z] e2be974225ed: Pull complete [2022-09-12T01:09:45.621Z] 339a4e72a1f5: Pull complete [2022-09-12T01:09:45.621Z] 988bab9f4d93: Pull complete [2022-09-12T01:09:45.885Z] 1469e6f7b9e6: Pull complete [2022-09-12T01:09:46.145Z] eaf3925da568: Pull complete [2022-09-12T01:09:48.060Z] bab4dde63d76: Pull complete [2022-09-12T01:09:48.321Z] bde34c3a00c8: Pull complete [2022-09-12T01:09:48.321Z] b352a97aabf1: Pull complete [2022-09-12T01:09:48.583Z] 4872d77fe225: Pull complete [2022-09-12T01:09:48.583Z] 5851b861e8e6: Pull complete [2022-09-12T01:09:48.583Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-12T01:09:48.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T01:09:48.583Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:09:48.817Z] prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container [2022-09-12T01:09:48.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@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 [2022-09-12T01:09:50.397Z] $ docker top 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 -eo pid,comm [2022-09-12T01:09:50.474Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-12T01:09:50.474Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-12T01:09:50.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T01:09:50.603Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T01:09:50.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T01:09:50.740Z] $ docker exec 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent [2022-09-12T01:09:50.876Z] SSH_AUTH_SOCK=/tmp/ssh-4inKYgTSBRQL/agent.32 [2022-09-12T01:09:50.876Z] SSH_AGENT_PID=38 [2022-09-12T01:09:50.883Z] Running ssh-add (command line suppressed) [2022-09-12T01:09:51.008Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_4202811281090308094.key (/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_4202811281090308094.key) [2022-09-12T01:09:51.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T01:09:51.358Z] + git tag --points-at HEAD [Pipeline] } [2022-09-12T01:09:51.391Z] $ docker exec --env ******** --env ******** 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent -k [2022-09-12T01:09:51.505Z] unset SSH_AUTH_SOCK; [2022-09-12T01:09:51.505Z] unset SSH_AGENT_PID; [2022-09-12T01:09:51.506Z] echo Agent pid 38 killed; [2022-09-12T01:09:51.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-12T01:09:51.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T01:09:51.602Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T01:09:51.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T01:09:51.732Z] $ docker exec 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent [2022-09-12T01:09:51.871Z] SSH_AUTH_SOCK=/tmp/ssh-9XmoBujKSgqn/agent.71 [2022-09-12T01:09:51.871Z] SSH_AGENT_PID=77 [2022-09-12T01:09:51.877Z] Running ssh-add (command line suppressed) [2022-09-12T01:09:52.017Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_5469695894340201060.key (/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/private_key_5469695894340201060.key) [2022-09-12T01:09:52.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T01:09:52.385Z] + git semver init [2022-09-12T01:09:52.648Z] 2022-09-12 01:09:52,611 [run_init] DEBUG init version:0.0.0 force:False [2022-09-12T01:09:52.648Z] 2022-09-12 01:09:52,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-54/.semver [2022-09-12T01:09:52.648Z] 2022-09-12 01:09:52,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-54/.semver [2022-09-12T01:09:52.648Z] 2022-09-12 01:09:52,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-54/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-54, universal_newlines=False, shell=None, istream=None) [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,681 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-54/.git/info/exclude [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-54/.semver/PR-54 with force:False [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,682 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-54/.semver/PR-54 [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,686 [execute] INFO git cat-file --batch-check [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-54/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,693 [execute] INFO git cat-file --batch [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-54/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T01:09:54.035Z] 2022-09-12 01:09:53,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-54/.semver/PR-54 [2022-09-12T01:09:54.035Z] 0.0.0 [Pipeline] } [2022-09-12T01:09:54.060Z] $ docker exec --env ******** --env ******** 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 ssh-agent -k [2022-09-12T01:09:54.193Z] unset SSH_AUTH_SOCK; [2022-09-12T01:09:54.193Z] unset SSH_AGENT_PID; [2022-09-12T01:09:54.193Z] echo Agent pid 77 killed; [2022-09-12T01:09:54.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-12T01:09:54.611Z] + git semver [Pipeline] } [2022-09-12T01:09:54.908Z] $ docker stop --time=1 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 [2022-09-12T01:09:56.291Z] $ docker rm -f 8a9542a7c7a8f7a06a027349e6aef4cc1c98b614774f485593dcdc28096894f9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T01:09:56.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-12T01:09:57.037Z] Stashed 1 file(s) [Pipeline] echo [2022-09-12T01:09:57.055Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:09:57.699Z] provisioning config files... [2022-09-12T01:09:57.710Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config5978199719423125962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:09:58.069Z] ---> docker-login.sh [2022-09-12T01:09:58.069Z] nexus3.edgexfoundry.org:10001 [2022-09-12T01:09:58.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:58.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:58.069Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:58.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:58.069Z] [2022-09-12T01:09:58.069Z] Login Succeeded [2022-09-12T01:09:58.069Z] nexus3.edgexfoundry.org:10002 [2022-09-12T01:09:58.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:58.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:58.333Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:58.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:58.333Z] [2022-09-12T01:09:58.333Z] Login Succeeded [2022-09-12T01:09:58.333Z] nexus3.edgexfoundry.org:10003 [2022-09-12T01:09:58.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:58.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:58.333Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:58.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:58.333Z] [2022-09-12T01:09:58.333Z] Login Succeeded [2022-09-12T01:09:58.333Z] nexus3.edgexfoundry.org:10004 [2022-09-12T01:09:58.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:58.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:58.597Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:58.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:58.597Z] [2022-09-12T01:09:58.597Z] Login Succeeded [2022-09-12T01:09:58.597Z] docker.io [2022-09-12T01:09:58.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:09:58.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:09:58.859Z] Configure a credential helper to remove this warning. See [2022-09-12T01:09:58.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:09:58.859Z] [2022-09-12T01:09:58.859Z] Login Succeeded [2022-09-12T01:09:58.859Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T01:09:58.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T01:09:59.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:09:59.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:09:59.141Z] ========================================================= [2022-09-12T01:09:59.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-12T01:09:59.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:09:59.608Z] + 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 . [2022-09-12T01:09:59.608Z] Sending build context to Docker daemon 15.8MB [2022-09-12T01:09:59.608Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:09:59.608Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-12T01:09:59.871Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-12T01:09:59.871Z] 2408cc74d12b: Pulling fs layer [2022-09-12T01:09:59.871Z] ea60b727a1ce: Pulling fs layer [2022-09-12T01:09:59.871Z] 30c4a7721957: Pulling fs layer [2022-09-12T01:09:59.871Z] 370296b7ddb6: Pulling fs layer [2022-09-12T01:09:59.871Z] 7c6cee850709: Pulling fs layer [2022-09-12T01:09:59.871Z] 39a5fcdaea64: Pulling fs layer [2022-09-12T01:09:59.871Z] d94ebbe4e438: Pulling fs layer [2022-09-12T01:09:59.871Z] bcfd1f05c69d: Pulling fs layer [2022-09-12T01:09:59.871Z] 59ccb84bbe0f: Pulling fs layer [2022-09-12T01:09:59.871Z] 370296b7ddb6: Waiting [2022-09-12T01:09:59.871Z] 7c6cee850709: Waiting [2022-09-12T01:09:59.871Z] 39a5fcdaea64: Waiting [2022-09-12T01:09:59.871Z] d94ebbe4e438: Waiting [2022-09-12T01:09:59.871Z] 59ccb84bbe0f: Waiting [2022-09-12T01:09:59.871Z] bcfd1f05c69d: Waiting [2022-09-12T01:09:59.871Z] 30c4a7721957: Verifying Checksum [2022-09-12T01:09:59.871Z] 30c4a7721957: Download complete [2022-09-12T01:09:59.871Z] ea60b727a1ce: Verifying Checksum [2022-09-12T01:09:59.871Z] 7c6cee850709: Verifying Checksum [2022-09-12T01:09:59.871Z] 39a5fcdaea64: Verifying Checksum [2022-09-12T01:09:59.871Z] 39a5fcdaea64: Download complete [2022-09-12T01:09:59.871Z] 2408cc74d12b: Verifying Checksum [2022-09-12T01:09:59.871Z] 2408cc74d12b: Download complete [2022-09-12T01:09:59.871Z] d94ebbe4e438: Verifying Checksum [2022-09-12T01:09:59.871Z] d94ebbe4e438: Download complete [2022-09-12T01:10:00.145Z] 2408cc74d12b: Pull complete [2022-09-12T01:10:00.145Z] ea60b727a1ce: Pull complete [2022-09-12T01:10:00.145Z] 30c4a7721957: Pull complete [2022-09-12T01:10:00.410Z] 59ccb84bbe0f: Verifying Checksum [2022-09-12T01:10:00.410Z] 59ccb84bbe0f: Download complete [2022-09-12T01:10:00.671Z] 370296b7ddb6: Verifying Checksum [2022-09-12T01:10:00.671Z] 370296b7ddb6: Download complete [2022-09-12T01:10:00.932Z] bcfd1f05c69d: Verifying Checksum [2022-09-12T01:10:00.932Z] bcfd1f05c69d: Download complete [2022-09-12T01:10:05.137Z] 370296b7ddb6: Pull complete [2022-09-12T01:10:05.137Z] 7c6cee850709: Pull complete [2022-09-12T01:10:05.137Z] 39a5fcdaea64: Pull complete [2022-09-12T01:10:05.137Z] d94ebbe4e438: Pull complete [2022-09-12T01:10:07.058Z] bcfd1f05c69d: Pull complete [2022-09-12T01:10:08.002Z] 59ccb84bbe0f: Pull complete [2022-09-12T01:10:08.002Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-12T01:10:08.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-12T01:10:08.002Z] ---> a4fb48ad2a94 [2022-09-12T01:10:08.002Z] Step 3/12 : ARG MAKE="make build" [2022-09-12T01:10:10.557Z] ---> Running in 5d24a0bbff07 [2022-09-12T01:10:10.557Z] Removing intermediate container 5d24a0bbff07 [2022-09-12T01:10:10.557Z] ---> 26fcbd3f576c [2022-09-12T01:10:10.557Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:10:10.557Z] ---> Running in a69fbf414695 [2022-09-12T01:10:10.557Z] Removing intermediate container a69fbf414695 [2022-09-12T01:10:10.557Z] ---> bdbe8a6518d7 [2022-09-12T01:10:10.557Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:10:10.557Z] ---> Running in b3a05f1d59e7 [2022-09-12T01:10:10.557Z] Removing intermediate container b3a05f1d59e7 [2022-09-12T01:10:10.557Z] ---> 7e66c19b5fbd [2022-09-12T01:10:10.557Z] Step 6/12 : WORKDIR /device-gpio [2022-09-12T01:10:10.557Z] ---> Running in 3004dace31d5 [2022-09-12T01:10:10.557Z] Removing intermediate container 3004dace31d5 [2022-09-12T01:10:10.557Z] ---> e35189378a92 [2022-09-12T01:10:10.557Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:10:10.557Z] ---> Running in b7b0307ee3a4 [2022-09-12T01:10:11.132Z] Removing intermediate container b7b0307ee3a4 [2022-09-12T01:10:11.132Z] ---> 0e925ad651eb [2022-09-12T01:10:11.132Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:10:11.392Z] ---> Running in f4be31128482 [2022-09-12T01:10:11.654Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T01:10:12.514Z] Still waiting to schedule task [2022-09-12T01:10:12.515Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-28909’ [2022-09-12T01:10:12.598Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T01:10:12.859Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-12T01:10:13.120Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-12T01:10:13.121Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-12T01:10:13.381Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-12T01:10:13.381Z] Executing busybox-1.35.0-r13.trigger [2022-09-12T01:10:13.381Z] OK: 216 MiB in 55 packages [2022-09-12T01:10:13.955Z] Removing intermediate container f4be31128482 [2022-09-12T01:10:13.955Z] ---> d8503b0ee314 [2022-09-12T01:10:13.955Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-12T01:10:13.955Z] ---> 6ce34031e76d [2022-09-12T01:10:13.955Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:10:14.216Z] ---> Running in 12f69c753197 [2022-09-12T01:10:36.183Z] Removing intermediate container 12f69c753197 [2022-09-12T01:10:36.183Z] ---> 5b3ad5d10689 [2022-09-12T01:10:36.183Z] Step 11/12 : COPY . . [2022-09-12T01:10:36.183Z] ---> 70875e93c896 [2022-09-12T01:10:36.183Z] Step 12/12 : RUN ${MAKE} [2022-09-12T01:10:36.183Z] ---> Running in e323b71f5dc6 [2022-09-12T01:10:36.183Z] noop [2022-09-12T01:10:36.183Z] Removing intermediate container e323b71f5dc6 [2022-09-12T01:10:36.183Z] ---> 8db852ee8108 [2022-09-12T01:10:36.183Z] Successfully built 8db852ee8108 [2022-09-12T01:10:36.183Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:10:36.627Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T01:10:36.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:10:36.792Z] prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container [2022-09-12T01:10:36.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@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 [2022-09-12T01:10:37.239Z] $ docker top 59c8e697745c151b31b51c56a4094dbe7d1242d9ac96e4853b766c911b5d9990 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:10:37.645Z] + go version [2022-09-12T01:10:37.645Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-12T01:10:37.679Z] $ docker stop --time=1 59c8e697745c151b31b51c56a4094dbe7d1242d9ac96e4853b766c911b5d9990 [2022-09-12T01:10:38.987Z] $ docker rm -f 59c8e697745c151b31b51c56a4094dbe7d1242d9ac96e4853b766c911b5d9990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:10:39.703Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T01:10:39.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:10:39.884Z] prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container [2022-09-12T01:10:39.940Z] $ 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-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@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 [2022-09-12T01:10:40.380Z] $ docker top 392f0d7c766ec2c4360e26a9838277e3655433fb77dbf6389defbf493a9fd293 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:10:40.786Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-54 [Pipeline] fileExists [Pipeline] sh [2022-09-12T01:10:41.137Z] + make test [2022-09-12T01:10:41.137Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T01:10:41.398Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-09-12T01:10:51.382Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-09-12T01:10:51.382Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-09-12T01:10:57.962Z] 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." [2022-09-12T01:10:57.962Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T01:11:00.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T01:11:00.498Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T01:11:00.498Z] ./bin/test-attribution-txt.sh [2022-09-12T01:11:00.498Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-12T01:11:00.498Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-12T01:11:00.498Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-12T01:11:00.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T01:11:00.567Z] $ docker stop --time=1 392f0d7c766ec2c4360e26a9838277e3655433fb77dbf6389defbf493a9fd293 [2022-09-12T01:11:02.427Z] $ docker rm -f 392f0d7c766ec2c4360e26a9838277e3655433fb77dbf6389defbf493a9fd293 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T01:11:02.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T01:11:02.991Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-12T01:11:03.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T01:11:04.004Z] + ls -al . [2022-09-12T01:11:04.004Z] total 160 [2022-09-12T01:11:04.004Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 01:10 . [2022-09-12T01:11:04.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:09 .. [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 12 01:09 .dockerignore [2022-09-12T01:11:04.004Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:10 .git [2022-09-12T01:11:04.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:09 .github [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 01:09 .gitignore [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 01:09 .golangci.yml [2022-09-12T01:11:04.004Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 01:09 .semver [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 9182 Sep 12 01:09 Attribution.txt [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 3081 Sep 12 01:09 CHANGELOG.md [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 12 01:09 Dockerfile [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 01:09 GOVERNANCE.md [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 12 01:09 Jenkinsfile [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 01:09 LICENSE [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 1876 Sep 12 01:09 Makefile [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 01:09 OWNERS.md [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 11178 Sep 12 01:09 README.md [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 01:09 VERSION [2022-09-12T01:11:04.004Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:09 bin [2022-09-12T01:11:04.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:09 cmd [2022-09-12T01:11:04.004Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 12 01:10 coverage.out [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 3425 Sep 12 01:09 go.mod [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 36813 Sep 12 01:09 go.sum [2022-09-12T01:11:04.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:09 internal [2022-09-12T01:11:04.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:09 snap [2022-09-12T01:11:04.004Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:11:04.408Z] + 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=ef45b404ff33c947d6842df3c218599489ddd00e --label arch=amd64 --label version=0.0.0 . [2022-09-12T01:11:04.408Z] Sending build context to Docker daemon 15.8MB [2022-09-12T01:11:04.408Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:11:04.408Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-12T01:11:04.408Z] ---> 8db852ee8108 [2022-09-12T01:11:04.408Z] Step 3/26 : ARG MAKE="make build" [2022-09-12T01:11:04.690Z] ---> Running in 4a1dd95089a1 [2022-09-12T01:11:04.690Z] Removing intermediate container 4a1dd95089a1 [2022-09-12T01:11:04.690Z] ---> aaacbfa99673 [2022-09-12T01:11:04.690Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:11:04.690Z] ---> Running in 197f075e09b6 [2022-09-12T01:11:04.690Z] Removing intermediate container 197f075e09b6 [2022-09-12T01:11:04.690Z] ---> 7fe52e4c1068 [2022-09-12T01:11:04.690Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:11:04.950Z] ---> Running in 3ce759f2729f [2022-09-12T01:11:04.950Z] Removing intermediate container 3ce759f2729f [2022-09-12T01:11:04.950Z] ---> fb1b12f2ad73 [2022-09-12T01:11:04.950Z] Step 6/26 : WORKDIR /device-gpio [2022-09-12T01:11:04.950Z] ---> Running in aa41aeea489e [2022-09-12T01:11:05.213Z] Removing intermediate container aa41aeea489e [2022-09-12T01:11:05.213Z] ---> a2ed670cd049 [2022-09-12T01:11:05.213Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:11:05.213Z] ---> Running in 43ca29652915 [2022-09-12T01:11:05.793Z] Removing intermediate container 43ca29652915 [2022-09-12T01:11:05.793Z] ---> 65e396e67343 [2022-09-12T01:11:05.793Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:11:05.793Z] ---> Running in 8906ba141e9f [2022-09-12T01:11:06.368Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T01:11:07.312Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T01:11:07.581Z] OK: 216 MiB in 55 packages [2022-09-12T01:11:07.842Z] Removing intermediate container 8906ba141e9f [2022-09-12T01:11:07.842Z] ---> 9e504aac06ae [2022-09-12T01:11:07.842Z] Step 9/26 : COPY go.mod vendor* ./ [2022-09-12T01:11:08.678Z] ---> aae8efbc86ee [2022-09-12T01:11:08.678Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:11:08.678Z] ---> Running in 8990a232b50e [2022-09-12T01:11:08.938Z] Removing intermediate container 8990a232b50e [2022-09-12T01:11:08.938Z] ---> e4a1b01e4368 [2022-09-12T01:11:08.938Z] Step 11/26 : COPY . . [2022-09-12T01:11:09.199Z] ---> b6b308d38b78 [2022-09-12T01:11:09.199Z] Step 12/26 : RUN ${MAKE} [2022-09-12T01:11:09.199Z] ---> Running in 818a8d4653a2 [2022-09-12T01:11:09.767Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-09-12T01:11:31.727Z] Removing intermediate container 818a8d4653a2 [2022-09-12T01:11:31.727Z] ---> ac75700d8d95 [2022-09-12T01:11:31.727Z] Step 13/26 : FROM alpine:3.16 [2022-09-12T01:11:31.727Z] 3.16: Pulling from library/alpine [2022-09-12T01:11:31.727Z] 213ec9aee27d: Pulling fs layer [2022-09-12T01:11:31.727Z] 213ec9aee27d: Verifying Checksum [2022-09-12T01:11:31.727Z] 213ec9aee27d: Download complete [2022-09-12T01:11:31.727Z] 213ec9aee27d: Pull complete [2022-09-12T01:11:31.727Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T01:11:31.727Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T01:11:31.727Z] ---> 9c6f07244728 [2022-09-12T01:11:31.727Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-09-12T01:11:31.727Z] ---> Running in 0dec9d2f3cff [2022-09-12T01:11:31.727Z] Removing intermediate container 0dec9d2f3cff [2022-09-12T01:11:31.727Z] ---> e95d56639afa [2022-09-12T01:11:31.727Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:11:31.727Z] ---> Running in ab9dce642ee2 [2022-09-12T01:11:31.986Z] Removing intermediate container ab9dce642ee2 [2022-09-12T01:11:31.986Z] ---> cc1817c97b69 [2022-09-12T01:11:31.986Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-09-12T01:11:31.986Z] ---> Running in 3b17a6e6a093 [2022-09-12T01:11:32.246Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T01:11:33.245Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T01:11:33.518Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T01:11:33.518Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-12T01:11:33.518Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T01:11:33.790Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-12T01:11:33.790Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-12T01:11:33.790Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T01:11:33.790Z] OK: 8 MiB in 19 packages [2022-09-12T01:11:34.361Z] Removing intermediate container 3b17a6e6a093 [2022-09-12T01:11:34.361Z] ---> 95f65eec2715 [2022-09-12T01:11:34.361Z] Step 17/26 : WORKDIR / [2022-09-12T01:11:34.361Z] ---> Running in a70d3a145de7 [2022-09-12T01:11:34.361Z] Removing intermediate container a70d3a145de7 [2022-09-12T01:11:34.361Z] ---> 3788f5560300 [2022-09-12T01:11:34.361Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-09-12T01:11:34.632Z] ---> 160d97c674b0 [2022-09-12T01:11:34.632Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-09-12T01:11:34.893Z] ---> 30545fdd5fa9 [2022-09-12T01:11:34.893Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-09-12T01:11:35.474Z] ---> b2c04127963d [2022-09-12T01:11:35.474Z] Step 21/26 : EXPOSE 59910 [2022-09-12T01:11:35.474Z] ---> Running in 656fd4f3c2ad [2022-09-12T01:11:35.474Z] Removing intermediate container 656fd4f3c2ad [2022-09-12T01:11:35.474Z] ---> fa3ad976f046 [2022-09-12T01:11:35.474Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-09-12T01:11:35.735Z] ---> Running in fb950015e511 [2022-09-12T01:11:35.735Z] Removing intermediate container fb950015e511 [2022-09-12T01:11:35.735Z] ---> 8dd7bf010588 [2022-09-12T01:11:35.735Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T01:11:35.735Z] ---> Running in f83f5fd79812 [2022-09-12T01:11:35.995Z] Removing intermediate container f83f5fd79812 [2022-09-12T01:11:35.995Z] ---> 53443f642eca [2022-09-12T01:11:35.995Z] Step 24/26 : LABEL arch=amd64 [2022-09-12T01:11:35.995Z] ---> Running in 1e28bdfad600 [2022-09-12T01:11:35.995Z] Removing intermediate container 1e28bdfad600 [2022-09-12T01:11:35.995Z] ---> af8f8e2ffcf8 [2022-09-12T01:11:35.995Z] Step 25/26 : LABEL git_sha=ef45b404ff33c947d6842df3c218599489ddd00e [2022-09-12T01:11:35.995Z] ---> Running in 74b39757bd7d [2022-09-12T01:11:36.255Z] Removing intermediate container 74b39757bd7d [2022-09-12T01:11:36.255Z] ---> f049869f0652 [2022-09-12T01:11:36.255Z] Step 26/26 : LABEL version=0.0.0 [2022-09-12T01:11:36.255Z] ---> Running in 88a513a96999 [2022-09-12T01:11:36.255Z] Removing intermediate container 88a513a96999 [2022-09-12T01:11:36.255Z] ---> d44d5a7bdd1b [2022-09-12T01:11:36.255Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T01:11:36.255Z] Successfully built d44d5a7bdd1b [2022-09-12T01:11:36.255Z] 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 [2022-09-12T01:11:37.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:11:37.134Z] [2022-09-12T01:11:37.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:11:37.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:11:37.517Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-12T01:11:37.517Z] 5eb5b503b376: Pulling fs layer [2022-09-12T01:11:37.517Z] 5c69ac0246d0: Pulling fs layer [2022-09-12T01:11:37.517Z] ec43610c2a17: Pulling fs layer [2022-09-12T01:11:37.517Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-12T01:11:37.517Z] 33b1e0a273af: Pulling fs layer [2022-09-12T01:11:37.517Z] 5d3b04190fa2: Pulling fs layer [2022-09-12T01:11:37.517Z] 2f39f015ded8: Pulling fs layer [2022-09-12T01:11:37.517Z] 33b1e0a273af: Waiting [2022-09-12T01:11:37.517Z] 2f39f015ded8: Waiting [2022-09-12T01:11:37.517Z] 3a2ae6a8a46f: Waiting [2022-09-12T01:11:37.517Z] 5d3b04190fa2: Waiting [2022-09-12T01:11:37.517Z] 5c69ac0246d0: Verifying Checksum [2022-09-12T01:11:37.517Z] 5c69ac0246d0: Download complete [2022-09-12T01:11:37.517Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-12T01:11:37.517Z] 3a2ae6a8a46f: Download complete [2022-09-12T01:11:37.517Z] 33b1e0a273af: Verifying Checksum [2022-09-12T01:11:37.517Z] 33b1e0a273af: Download complete [2022-09-12T01:11:37.779Z] 5d3b04190fa2: Verifying Checksum [2022-09-12T01:11:37.779Z] 5d3b04190fa2: Download complete [2022-09-12T01:11:37.779Z] ec43610c2a17: Verifying Checksum [2022-09-12T01:11:37.779Z] ec43610c2a17: Download complete [2022-09-12T01:11:37.779Z] 5eb5b503b376: Verifying Checksum [2022-09-12T01:11:37.779Z] 5eb5b503b376: Download complete [2022-09-12T01:11:38.719Z] 2f39f015ded8: Download complete [2022-09-12T01:11:39.289Z] 5eb5b503b376: Pull complete [2022-09-12T01:11:39.289Z] 5c69ac0246d0: Pull complete [2022-09-12T01:11:39.858Z] ec43610c2a17: Pull complete [2022-09-12T01:11:39.858Z] 3a2ae6a8a46f: Pull complete [2022-09-12T01:11:40.120Z] 33b1e0a273af: Pull complete [2022-09-12T01:11:40.382Z] 5d3b04190fa2: Pull complete [2022-09-12T01:11:45.683Z] 2f39f015ded8: Pull complete [2022-09-12T01:11:45.683Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-12T01:11:45.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:11:45.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:11:45.917Z] prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container [2022-09-12T01:11:45.961Z] $ 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-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@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 [2022-09-12T01:11:48.238Z] $ docker top aeed7a6bbacba0b0ddad658c2c6780af75092b4282ebdfa95b6142ff1c005e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:11:48.721Z] ---> job-cost.sh [2022-09-12T01:11:48.722Z] lf-activate-venv: SKIPPING [2022-09-12T01:11:48.722Z] INFO: No Stack... [2022-09-12T01:11:48.982Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T01:11:49.557Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T01:11:49.868Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-54/archives/cost.csv [2022-09-12T01:11:49.868Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T01:11:49.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [2022-09-12T01:11:49.912Z] Resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] did not exist. Created. [2022-09-12T01:11:49.912Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T01:11:50.299Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-12T01:11:50.348Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T01:11:50.380Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T01:11:50.455Z] $ docker stop --time=1 aeed7a6bbacba0b0ddad658c2c6780af75092b4282ebdfa95b6142ff1c005e93 [2022-09-12T01:11:51.644Z] $ docker rm -f aeed7a6bbacba0b0ddad658c2c6780af75092b4282ebdfa95b6142ff1c005e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-12T01:13:53.121Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28912 in /w/workspace/edgexfoundry_device-gpio_PR-54 [Pipeline] { [Pipeline] ws [2022-09-12T01:13:53.160Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-09-12T01:13:53.255Z] The recommended git tool is: git [2022-09-12T01:13:59.987Z] using credential edgex-jenkins-ssh [2022-09-12T01:14:00.008Z] Cloning the remote Git repository [2022-09-12T01:14:00.105Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-09-12T01:14:00.218Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-09-12T01:14:00.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-09-12T01:14:00.321Z] > git --version # timeout=10 [2022-09-12T01:14:00.356Z] > git --version # 'git version 2.25.1' [2022-09-12T01:14:00.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T01:14:00.510Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T01:14:02.859Z] Merging remotes/origin/main commit 1094f563edbbc5735ff7ad494c47030b36b4872c into PR head commit ef45b404ff33c947d6842df3c218599489ddd00e [2022-09-12T01:14:03.110Z] Merge succeeded, producing ef45b404ff33c947d6842df3c218599489ddd00e [2022-09-12T01:14:03.110Z] Checking out Revision ef45b404ff33c947d6842df3c218599489ddd00e (PR-54) [2022-09-12T01:14:02.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-09-12T01:14:02.247Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T01:14:02.281Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-09-12T01:14:02.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-09-12T01:14:02.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T01:14:02.343Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-12T01:14:02.882Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T01:14:02.899Z] > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 [2022-09-12T01:14:03.003Z] > git remote # timeout=10 [2022-09-12T01:14:03.020Z] > git config --get remote.origin.url # timeout=10 [2022-09-12T01:14:03.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T01:14:03.062Z] > git merge 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 [2022-09-12T01:14:03.090Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-12T01:14:03.120Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T01:14:03.134Z] > git checkout -f ef45b404ff33c947d6842df3c218599489ddd00e # timeout=10 [2022-09-12T01:14:08.029Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-12T01:14:08.094Z] > git --version # timeout=10 [2022-09-12T01:14:08.108Z] > git --version # 'git version 2.25.1' [2022-09-12T01:14:08.122Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T01:14:09.344Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-12T01:14:09.344Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T01:14:09.344Z] Dload Upload Total Spent Left Speed [2022-09-12T01:14:09.344Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 78273 [Pipeline] sh [2022-09-12T01:14:10.024Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-12T01:14:10.383Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-09-12T01:14:10.383Z] /etc/docker/daemon.new [2022-09-12T01:14:10.383Z] { [2022-09-12T01:14:10.383Z] "registry-mirrors": [ [2022-09-12T01:14:10.383Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-12T01:14:10.383Z] ], [2022-09-12T01:14:10.383Z] "bip": "10.250.0.254/24", [2022-09-12T01:14:10.383Z] "hosts": [ [2022-09-12T01:14:10.383Z] "tcp://0.0.0.0:5555", [2022-09-12T01:14:10.383Z] "unix:///var/run/docker.sock" [2022-09-12T01:14:10.383Z] ], [2022-09-12T01:14:10.383Z] "mtu": 1458, [2022-09-12T01:14:10.383Z] "selinux-enabled": true, [2022-09-12T01:14:10.383Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-12T01:14:10.383Z] } [Pipeline] sh [2022-09-12T01:14:10.742Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-12T01:14:11.295Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:14:29.686Z] provisioning config files... [2022-09-12T01:14:29.713Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config24312148049376348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:14:30.119Z] ---> docker-login.sh [2022-09-12T01:14:30.119Z] nexus3.edgexfoundry.org:10001 [2022-09-12T01:14:30.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:14:30.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:14:30.996Z] Configure a credential helper to remove this warning. See [2022-09-12T01:14:30.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:14:30.996Z] [2022-09-12T01:14:30.996Z] Login Succeeded [2022-09-12T01:14:30.996Z] nexus3.edgexfoundry.org:10002 [2022-09-12T01:14:31.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:14:31.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:14:31.593Z] Configure a credential helper to remove this warning. See [2022-09-12T01:14:31.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:14:31.593Z] [2022-09-12T01:14:31.593Z] Login Succeeded [2022-09-12T01:14:31.593Z] nexus3.edgexfoundry.org:10003 [2022-09-12T01:14:31.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:14:32.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:14:32.151Z] Configure a credential helper to remove this warning. See [2022-09-12T01:14:32.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:14:32.151Z] [2022-09-12T01:14:32.151Z] Login Succeeded [2022-09-12T01:14:32.151Z] nexus3.edgexfoundry.org:10004 [2022-09-12T01:14:32.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:14:32.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:14:32.429Z] Configure a credential helper to remove this warning. See [2022-09-12T01:14:32.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:14:32.429Z] [2022-09-12T01:14:32.429Z] Login Succeeded [2022-09-12T01:14:32.429Z] docker.io [2022-09-12T01:14:33.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:14:33.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:14:33.302Z] Configure a credential helper to remove this warning. See [2022-09-12T01:14:33.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:14:33.302Z] [2022-09-12T01:14:33.302Z] Login Succeeded [2022-09-12T01:14:33.302Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T01:14:33.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T01:14:33.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:14:33.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:14:33.781Z] ========================================================= [2022-09-12T01:14:33.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-12T01:14:33.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:14:34.293Z] + 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 . [2022-09-12T01:14:34.568Z] Sending build context to Docker daemon 7.965MB [2022-09-12T01:14:34.854Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:14:34.854Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-12T01:14:34.854Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-12T01:14:34.854Z] b3c136eddcbf: Pulling fs layer [2022-09-12T01:14:34.854Z] c0a3192eca97: Pulling fs layer [2022-09-12T01:14:34.854Z] a050256f5b6f: Pulling fs layer [2022-09-12T01:14:34.854Z] 656be50a0ddc: Pulling fs layer [2022-09-12T01:14:34.854Z] 2bbca73fdf42: Pulling fs layer [2022-09-12T01:14:34.854Z] 46d945488cbd: Pulling fs layer [2022-09-12T01:14:34.854Z] 8a5474983e97: Pulling fs layer [2022-09-12T01:14:34.854Z] 329c88fbcd65: Pulling fs layer [2022-09-12T01:14:34.854Z] 656be50a0ddc: Waiting [2022-09-12T01:14:34.854Z] 2bbca73fdf42: Waiting [2022-09-12T01:14:34.854Z] 46d945488cbd: Waiting [2022-09-12T01:14:34.854Z] 8a5474983e97: Waiting [2022-09-12T01:14:34.854Z] 329c88fbcd65: Waiting [2022-09-12T01:14:34.854Z] a050256f5b6f: Verifying Checksum [2022-09-12T01:14:34.854Z] a050256f5b6f: Download complete [2022-09-12T01:14:34.854Z] c0a3192eca97: Verifying Checksum [2022-09-12T01:14:34.854Z] c0a3192eca97: Download complete [2022-09-12T01:14:34.854Z] 2bbca73fdf42: Verifying Checksum [2022-09-12T01:14:34.854Z] 2bbca73fdf42: Download complete [2022-09-12T01:14:34.854Z] 46d945488cbd: Verifying Checksum [2022-09-12T01:14:34.854Z] 46d945488cbd: Download complete [2022-09-12T01:14:35.129Z] b3c136eddcbf: Verifying Checksum [2022-09-12T01:14:35.129Z] b3c136eddcbf: Download complete [2022-09-12T01:14:35.733Z] b3c136eddcbf: Pull complete [2022-09-12T01:14:36.013Z] 329c88fbcd65: Download complete [2022-09-12T01:14:36.618Z] c0a3192eca97: Pull complete [2022-09-12T01:14:36.895Z] a050256f5b6f: Pull complete [2022-09-12T01:14:37.174Z] 8a5474983e97: Download complete [2022-09-12T01:14:37.775Z] 656be50a0ddc: Verifying Checksum [2022-09-12T01:14:37.775Z] 656be50a0ddc: Download complete [2022-09-12T01:14:50.192Z] 656be50a0ddc: Pull complete [2022-09-12T01:14:50.465Z] 2bbca73fdf42: Pull complete [2022-09-12T01:14:50.738Z] 46d945488cbd: Pull complete [2022-09-12T01:14:57.473Z] 8a5474983e97: Pull complete [2022-09-12T01:14:58.915Z] 329c88fbcd65: Pull complete [2022-09-12T01:14:58.915Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-12T01:14:58.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-12T01:14:58.915Z] ---> ff4287adb874 [2022-09-12T01:14:58.915Z] Step 3/12 : ARG MAKE="make build" [2022-09-12T01:15:00.892Z] ---> Running in 55cfbe14efb8 [2022-09-12T01:15:01.166Z] Removing intermediate container 55cfbe14efb8 [2022-09-12T01:15:01.166Z] ---> f95324e1fa1a [2022-09-12T01:15:01.166Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:15:01.166Z] ---> Running in a03b0d2f0f90 [2022-09-12T01:15:01.442Z] Removing intermediate container a03b0d2f0f90 [2022-09-12T01:15:01.442Z] ---> fe6e8dbc9c0b [2022-09-12T01:15:01.442Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:15:01.442Z] ---> Running in 864f7f591fb7 [2022-09-12T01:15:02.045Z] Removing intermediate container 864f7f591fb7 [2022-09-12T01:15:02.045Z] ---> d595734e7c23 [2022-09-12T01:15:02.045Z] Step 6/12 : WORKDIR /device-gpio [2022-09-12T01:15:02.045Z] ---> Running in d6d6f085a05f [2022-09-12T01:15:02.325Z] Removing intermediate container d6d6f085a05f [2022-09-12T01:15:02.325Z] ---> 227781b61f0e [2022-09-12T01:15:02.325Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:15:02.599Z] ---> Running in 097ba92151d2 [2022-09-12T01:15:04.577Z] Removing intermediate container 097ba92151d2 [2022-09-12T01:15:04.577Z] ---> 3c55a0906b1e [2022-09-12T01:15:04.577Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:15:04.855Z] ---> Running in 31b60dc5d228 [2022-09-12T01:15:05.837Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T01:15:06.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T01:15:07.800Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-12T01:15:07.800Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-12T01:15:07.800Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-12T01:15:08.081Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-12T01:15:08.358Z] Executing busybox-1.35.0-r13.trigger [2022-09-12T01:15:08.358Z] OK: 226 MiB in 55 packages [2022-09-12T01:15:09.346Z] Removing intermediate container 31b60dc5d228 [2022-09-12T01:15:09.346Z] ---> c7e7a36d1ce1 [2022-09-12T01:15:09.346Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-12T01:15:09.946Z] ---> 19029e097352 [2022-09-12T01:15:09.946Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:15:09.946Z] ---> Running in aa830cfc62cc [2022-09-12T01:15:56.949Z] Removing intermediate container aa830cfc62cc [2022-09-12T01:15:56.949Z] ---> c5de0c9700db [2022-09-12T01:15:56.949Z] Step 11/12 : COPY . . [2022-09-12T01:15:57.555Z] ---> 3a07d6782d62 [2022-09-12T01:15:57.555Z] Step 12/12 : RUN ${MAKE} [2022-09-12T01:15:57.832Z] ---> Running in 88d66f71294f [2022-09-12T01:15:58.838Z] noop [2022-09-12T01:15:59.438Z] Removing intermediate container 88d66f71294f [2022-09-12T01:15:59.438Z] ---> 21221635d425 [2022-09-12T01:15:59.438Z] Successfully built 21221635d425 [2022-09-12T01:15:59.438Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:15:59.926Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T01:15:59.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:16:00.222Z] prd-ubuntu20.04-docker-arm64-4c-16g-28912 does not seem to be running inside a container [2022-09-12T01:16:00.302Z] $ 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 [2022-09-12T01:16:01.584Z] $ docker top 343a40e98ea09dd73a98394fe8aef0fe049e4537b3ed337ce8b8a91cee35782f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:16:02.554Z] + go version [2022-09-12T01:16:02.554Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-12T01:16:02.590Z] $ docker stop --time=1 343a40e98ea09dd73a98394fe8aef0fe049e4537b3ed337ce8b8a91cee35782f [2022-09-12T01:16:04.264Z] $ docker rm -f 343a40e98ea09dd73a98394fe8aef0fe049e4537b3ed337ce8b8a91cee35782f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:16:05.249Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T01:16:05.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:16:05.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-28912 does not seem to be running inside a container [2022-09-12T01:16:05.638Z] $ 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 [2022-09-12T01:16:06.996Z] $ docker top 6368aa10761f46659183fd25a59cdfe60fc0c2cc87939c78be767416e120b5fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:16:07.972Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-09-12T01:16:08.706Z] + make test [2022-09-12T01:16:08.706Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T01:16:10.152Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-09-12T01:17:32.015Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-09-12T01:17:32.015Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-09-12T01:17:32.015Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-12T01:17:32.015Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T01:17:50.377Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T01:17:50.377Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T01:17:50.377Z] ./bin/test-attribution-txt.sh [2022-09-12T01:17:50.377Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-12T01:17:50.377Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-12T01:17:50.377Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-12T01:17:50.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T01:17:50.445Z] $ docker stop --time=1 6368aa10761f46659183fd25a59cdfe60fc0c2cc87939c78be767416e120b5fb [2022-09-12T01:17:52.193Z] $ docker rm -f 6368aa10761f46659183fd25a59cdfe60fc0c2cc87939c78be767416e120b5fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T01:17:53.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T01:17:53.270Z] Warning: overwriting stash ‘coverage-report’ [2022-09-12T01:17:53.717Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T01:17:54.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T01:17:54.678Z] + ls -al . [2022-09-12T01:17:54.679Z] total 156 [2022-09-12T01:17:54.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:16 . [2022-09-12T01:17:54.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:14 .. [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 12 01:14 .dockerignore [2022-09-12T01:17:54.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:14 .git [2022-09-12T01:17:54.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:14 .github [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 12 01:14 .gitignore [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 01:14 .golangci.yml [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 9182 Sep 12 01:14 Attribution.txt [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 3081 Sep 12 01:14 CHANGELOG.md [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 1872 Sep 12 01:14 Dockerfile [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 01:14 GOVERNANCE.md [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 12 01:14 Jenkinsfile [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 01:14 LICENSE [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 1876 Sep 12 01:14 Makefile [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 12 01:14 OWNERS.md [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 11178 Sep 12 01:14 README.md [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 01:09 VERSION [2022-09-12T01:17:54.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:14 bin [2022-09-12T01:17:54.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:14 cmd [2022-09-12T01:17:54.679Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 12 01:16 coverage.out [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 3425 Sep 12 01:14 go.mod [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 36813 Sep 12 01:14 go.sum [2022-09-12T01:17:54.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:14 internal [2022-09-12T01:17:54.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:14 snap [2022-09-12T01:17:54.679Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 12 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:17:55.103Z] + 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=ef45b404ff33c947d6842df3c218599489ddd00e --label arch=arm64 --label version=0.0.0 . [2022-09-12T01:17:55.375Z] Sending build context to Docker daemon 7.966MB [2022-09-12T01:17:55.375Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:17:55.375Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-12T01:17:55.375Z] ---> 21221635d425 [2022-09-12T01:17:55.375Z] Step 3/26 : ARG MAKE="make build" [2022-09-12T01:17:55.650Z] ---> Running in 942dfec898f5 [2022-09-12T01:17:55.923Z] Removing intermediate container 942dfec898f5 [2022-09-12T01:17:55.923Z] ---> 12e7d90f58db [2022-09-12T01:17:55.923Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:17:55.923Z] ---> Running in 5f6304595610 [2022-09-12T01:17:56.206Z] Removing intermediate container 5f6304595610 [2022-09-12T01:17:56.206Z] ---> b598172842a8 [2022-09-12T01:17:56.206Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:17:56.206Z] ---> Running in 890346a55927 [2022-09-12T01:17:56.479Z] Removing intermediate container 890346a55927 [2022-09-12T01:17:56.479Z] ---> 678722cef8e2 [2022-09-12T01:17:56.479Z] Step 6/26 : WORKDIR /device-gpio [2022-09-12T01:17:56.753Z] ---> Running in d30e8b813794 [2022-09-12T01:17:57.025Z] Removing intermediate container d30e8b813794 [2022-09-12T01:17:57.025Z] ---> 1568d0c1fbac [2022-09-12T01:17:57.025Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:17:57.025Z] ---> Running in 04937e199dfc [2022-09-12T01:17:58.464Z] Removing intermediate container 04937e199dfc [2022-09-12T01:17:58.465Z] ---> d8b857e8dc5d [2022-09-12T01:17:58.465Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:17:58.750Z] ---> Running in 64f54b0e48d8 [2022-09-12T01:17:59.737Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T01:18:00.713Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T01:18:01.696Z] OK: 226 MiB in 55 packages [2022-09-12T01:18:02.300Z] Removing intermediate container 64f54b0e48d8 [2022-09-12T01:18:02.300Z] ---> 1ae275c1e493 [2022-09-12T01:18:02.300Z] Step 9/26 : COPY go.mod vendor* ./ [2022-09-12T01:18:02.904Z] ---> 703bfd487e8e [2022-09-12T01:18:02.904Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:18:02.904Z] ---> Running in e702fc5aa6c6 [2022-09-12T01:18:04.889Z] Removing intermediate container e702fc5aa6c6 [2022-09-12T01:18:04.889Z] ---> 4ac7a4b30ea7 [2022-09-12T01:18:04.889Z] Step 11/26 : COPY . . [2022-09-12T01:18:05.877Z] ---> d3e84276ce4d [2022-09-12T01:18:05.877Z] Step 12/26 : RUN ${MAKE} [2022-09-12T01:18:05.877Z] ---> Running in 180e257a232a [2022-09-12T01:18:06.855Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-09-12T01:20:13.794Z] Removing intermediate container 180e257a232a [2022-09-12T01:20:13.794Z] ---> bac644d2644a [2022-09-12T01:20:13.794Z] Step 13/26 : FROM alpine:3.16 [2022-09-12T01:20:13.794Z] 3.16: Pulling from library/alpine [2022-09-12T01:20:13.794Z] 9b18e9b68314: Pulling fs layer [2022-09-12T01:20:13.794Z] 9b18e9b68314: Verifying Checksum [2022-09-12T01:20:13.794Z] 9b18e9b68314: Download complete [2022-09-12T01:20:13.794Z] 9b18e9b68314: Pull complete [2022-09-12T01:20:13.794Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T01:20:13.794Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T01:20:13.794Z] ---> a6215f271958 [2022-09-12T01:20:13.794Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-09-12T01:20:13.794Z] ---> Running in 2d8a4da22929 [2022-09-12T01:20:14.070Z] Removing intermediate container 2d8a4da22929 [2022-09-12T01:20:14.070Z] ---> 3bf71a98140a [2022-09-12T01:20:14.070Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:20:14.070Z] ---> Running in 4878152ea497 [2022-09-12T01:20:16.051Z] Removing intermediate container 4878152ea497 [2022-09-12T01:20:16.051Z] ---> 3f7eb3c0b9b2 [2022-09-12T01:20:16.051Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-09-12T01:20:16.051Z] ---> Running in 49873d169c3e [2022-09-12T01:20:17.036Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T01:20:18.021Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T01:20:19.012Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T01:20:19.012Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-12T01:20:19.012Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T01:20:19.289Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-12T01:20:19.289Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-12T01:20:19.289Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T01:20:19.564Z] OK: 8 MiB in 19 packages [2022-09-12T01:20:20.549Z] Removing intermediate container 49873d169c3e [2022-09-12T01:20:20.549Z] ---> 6348f8982202 [2022-09-12T01:20:20.549Z] Step 17/26 : WORKDIR / [2022-09-12T01:20:20.549Z] ---> Running in f9ed282d0f20 [2022-09-12T01:20:20.823Z] Removing intermediate container f9ed282d0f20 [2022-09-12T01:20:20.823Z] ---> 0bbe7e694fcd [2022-09-12T01:20:20.823Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-09-12T01:20:21.423Z] ---> f2b11da96000 [2022-09-12T01:20:21.423Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-09-12T01:20:22.026Z] ---> 75dedd69c20d [2022-09-12T01:20:22.026Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-09-12T01:20:23.467Z] ---> 94a93da55898 [2022-09-12T01:20:23.467Z] Step 21/26 : EXPOSE 59910 [2022-09-12T01:20:23.467Z] ---> Running in 75d53b3ea751 [2022-09-12T01:20:23.746Z] Removing intermediate container 75d53b3ea751 [2022-09-12T01:20:23.746Z] ---> 9d150f78c70a [2022-09-12T01:20:23.746Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-09-12T01:20:24.021Z] ---> Running in d2576401ad6f [2022-09-12T01:20:24.298Z] Removing intermediate container d2576401ad6f [2022-09-12T01:20:24.298Z] ---> 97d4adf9b85d [2022-09-12T01:20:24.298Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T01:20:24.298Z] ---> Running in 322c5909fbc5 [2022-09-12T01:20:24.574Z] Removing intermediate container 322c5909fbc5 [2022-09-12T01:20:24.574Z] ---> c9d9067360f3 [2022-09-12T01:20:24.574Z] Step 24/26 : LABEL arch=arm64 [2022-09-12T01:20:24.574Z] ---> Running in 516f92488f30 [2022-09-12T01:20:25.181Z] Removing intermediate container 516f92488f30 [2022-09-12T01:20:25.181Z] ---> 865ec11036d1 [2022-09-12T01:20:25.181Z] Step 25/26 : LABEL git_sha=ef45b404ff33c947d6842df3c218599489ddd00e [2022-09-12T01:20:25.181Z] ---> Running in ac46be734b6f [2022-09-12T01:20:25.457Z] Removing intermediate container ac46be734b6f [2022-09-12T01:20:25.457Z] ---> c33d47392907 [2022-09-12T01:20:25.457Z] Step 26/26 : LABEL version=0.0.0 [2022-09-12T01:20:25.457Z] ---> Running in 86c126eb5636 [2022-09-12T01:20:25.733Z] Removing intermediate container 86c126eb5636 [2022-09-12T01:20:25.733Z] ---> 97388578a0ac [2022-09-12T01:20:25.733Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T01:20:25.733Z] Successfully built 97388578a0ac [2022-09-12T01:20:25.733Z] 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 [2022-09-12T01:20:26.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T01:20:26.588Z] [2022-09-12T01:20:26.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:20:27.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T01:20:27.303Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-12T01:20:27.303Z] 8998bd30e6a1: Pulling fs layer [2022-09-12T01:20:27.303Z] 04944245beec: Pulling fs layer [2022-09-12T01:20:27.303Z] 699f458cf7ca: Pulling fs layer [2022-09-12T01:20:27.303Z] 765212b225bb: Pulling fs layer [2022-09-12T01:20:27.303Z] f23df028b6ca: Pulling fs layer [2022-09-12T01:20:27.303Z] d65c8cfc05b1: Pulling fs layer [2022-09-12T01:20:27.303Z] 2437ff75d9bd: Pulling fs layer [2022-09-12T01:20:27.303Z] 765212b225bb: Waiting [2022-09-12T01:20:27.303Z] f23df028b6ca: Waiting [2022-09-12T01:20:27.303Z] d65c8cfc05b1: Waiting [2022-09-12T01:20:27.303Z] 04944245beec: Verifying Checksum [2022-09-12T01:20:27.303Z] 04944245beec: Download complete [2022-09-12T01:20:27.303Z] 765212b225bb: Verifying Checksum [2022-09-12T01:20:27.303Z] 765212b225bb: Download complete [2022-09-12T01:20:27.303Z] f23df028b6ca: Verifying Checksum [2022-09-12T01:20:27.303Z] f23df028b6ca: Download complete [2022-09-12T01:20:27.303Z] d65c8cfc05b1: Verifying Checksum [2022-09-12T01:20:27.303Z] d65c8cfc05b1: Download complete [2022-09-12T01:20:27.580Z] 699f458cf7ca: Verifying Checksum [2022-09-12T01:20:27.580Z] 699f458cf7ca: Download complete [2022-09-12T01:20:27.855Z] 8998bd30e6a1: Verifying Checksum [2022-09-12T01:20:27.855Z] 8998bd30e6a1: Download complete [2022-09-12T01:20:30.492Z] 2437ff75d9bd: Download complete [2022-09-12T01:20:32.481Z] 8998bd30e6a1: Pull complete [2022-09-12T01:20:32.757Z] 04944245beec: Pull complete [2022-09-12T01:20:34.199Z] 699f458cf7ca: Pull complete [2022-09-12T01:20:34.476Z] 765212b225bb: Pull complete [2022-09-12T01:20:35.470Z] f23df028b6ca: Pull complete [2022-09-12T01:20:35.470Z] d65c8cfc05b1: Pull complete [2022-09-12T01:20:50.569Z] 2437ff75d9bd: Pull complete [2022-09-12T01:20:50.569Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-12T01:20:50.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T01:20:50.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:20:50.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-28912 does not seem to be running inside a container [2022-09-12T01:20:51.042Z] $ 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 [2022-09-12T01:20:53.699Z] $ docker top 4186e348a831aedd0b593faaa8ba8934d7c68145bd90fb760c3ebe5d46c56194 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:20:54.712Z] ---> job-cost.sh [2022-09-12T01:20:54.713Z] lf-activate-venv: SKIPPING [2022-09-12T01:20:54.713Z] INFO: No Stack... [2022-09-12T01:20:55.313Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-12T01:20:56.294Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T01:20:56.989Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-09-12T01:20:56.989Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T01:20:57.076Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [2022-09-12T01:20:57.080Z] Resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] did not exist. Created. [2022-09-12T01:20:57.080Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T01:20:57.842Z] /w/workspace/device-gpio/1@tmp/durable-0d45a21d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-12T01:20:58.549Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-12T01:20:58.589Z] Warning: overwriting stash ‘stack-cost’ [2022-09-12T01:20:58.636Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T01:20:58.651Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T01:20:58.720Z] $ docker stop --time=1 4186e348a831aedd0b593faaa8ba8934d7c68145bd90fb760c3ebe5d46c56194 [2022-09-12T01:21:00.239Z] $ docker rm -f 4186e348a831aedd0b593faaa8ba8934d7c68145bd90fb760c3ebe5d46c56194 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-12T01:21:01.313Z] provisioning config files... [2022-09-12T01:21:01.323Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config8627901002427683460tmp [Pipeline] { [Pipeline] sh [2022-09-12T01:21:01.658Z] + set +x [2022-09-12T01:21:01.658Z] + + curl -s https://codecov.io/bashbash [2022-09-12T01:21:01.658Z] -s -- [2022-09-12T01:21:01.658Z] [2022-09-12T01:21:01.658Z] _____ _ [2022-09-12T01:21:01.658Z] / ____| | | [2022-09-12T01:21:01.658Z] | | ___ __| | ___ ___ _____ __ [2022-09-12T01:21:01.658Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-12T01:21:01.658Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-12T01:21:01.658Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-12T01:21:01.658Z] Bash-1.0.6 [2022-09-12T01:21:01.658Z] [2022-09-12T01:21:01.658Z] [2022-09-12T01:21:01.658Z] ==> git version 2.25.1 found [2022-09-12T01:21:01.658Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-12T01:21:01.658Z] Release-Date: 2020-01-08 [2022-09-12T01:21:01.658Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-12T01:21:01.658Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-12T01:21:01.658Z] ==> Jenkins CI detected. [2022-09-12T01:21:01.658Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-54 [2022-09-12T01:21:01.658Z] project root: . [2022-09-12T01:21:01.658Z] --> token set from env [2022-09-12T01:21:01.658Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-12T01:21:01.658Z] ==> Running gcov in . (disable via -X gcov) [2022-09-12T01:21:01.658Z] ==> Python coveragepy not found [2022-09-12T01:21:01.658Z] ==> Searching for coverage reports in: [2022-09-12T01:21:01.658Z] + . [2022-09-12T01:21:01.658Z] -> Found 1 reports [2022-09-12T01:21:01.658Z] ==> Detecting git/mercurial file structure [2022-09-12T01:21:01.658Z] ==> Reading reports [2022-09-12T01:21:01.658Z] + ./coverage.out bytes=10 [2022-09-12T01:21:01.658Z] ==> Appending adjustments [2022-09-12T01:21:01.658Z] https://docs.codecov.io/docs/fixing-reports [2022-09-12T01:21:01.918Z] + Found adjustments [2022-09-12T01:21:01.918Z] ==> Gzipping contents [2022-09-12T01:21:01.918Z] 4.0K /tmp/codecov.pDUcnQ.gz [2022-09-12T01:21:01.918Z] ==> Uploading reports [2022-09-12T01:21:01.918Z] url: https://codecov.io [2022-09-12T01:21:01.918Z] query: branch=PR-54&commit=ef45b404ff33c947d6842df3c218599489ddd00e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=54&job=&cmd_args= [2022-09-12T01:21:01.918Z] -> Pinging Codecov [2022-09-12T01:21:01.918Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-54&commit=ef45b404ff33c947d6842df3c218599489ddd00e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=54&job=&cmd_args= [2022-09-12T01:21:02.180Z] -> Uploading to [2022-09-12T01:21:02.180Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/ef45b404ff33c947d6842df3c218599489ddd00e/039246fd-e6d4-49d2-a3a0-429cd415b9f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T012102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6aef9fc9481a1da2f5c6e63500948520af8345c8fdbc0cd569a2cfbea951c604 [2022-09-12T01:21:02.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T01:21:02.181Z] Dload Upload Total Spent Left Speed [2022-09-12T01:21:02.442Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3538 --:--:-- --:--:-- --:--:-- 3522 100 782 0 0 100 782 0 2833 --:--:-- --:--:-- --:--:-- 2823 [2022-09-12T01:21:02.442Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/ef45b404ff33c947d6842df3c218599489ddd00e [Pipeline] } [2022-09-12T01:21:02.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-12T01:21:04.159Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-54/archives ] [2022-09-12T01:21:04.159Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-54/archives [2022-09-12T01:21:04.159Z] total 16 [2022-09-12T01:21:04.159Z] drwxr-xr-x 3 root root 4096 Sep 12 01:11 . [2022-09-12T01:21:04.159Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 01:11 .. [2022-09-12T01:21:04.159Z] drwxr-xr-x 2 root root 4096 Sep 12 01:11 cost [2022-09-12T01:21:04.159Z] -rw-r--r-- 1 root root 82 Sep 12 01:11 cost.csv [2022-09-12T01:21:04.159Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-54/archives [2022-09-12T01:21:04.159Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-54/archives [2022-09-12T01:21:04.159Z] total 16 [2022-09-12T01:21:04.159Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 01:11 . [2022-09-12T01:21:04.159Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 01:11 .. [2022-09-12T01:21:04.159Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 01:11 cost [2022-09-12T01:21:04.159Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 12 01:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:04.488Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:05.389Z] ---> package-listing.sh [2022-09-12T01:21:05.389Z] ++ facter osfamily [2022-09-12T01:21:05.389Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-12T01:21:05.650Z] + OS_FAMILY=debian [2022-09-12T01:21:05.650Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-54 [2022-09-12T01:21:05.650Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-12T01:21:05.650Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-12T01:21:05.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-12T01:21:05.650Z] + PACKAGES=/tmp/packages_start.txt [2022-09-12T01:21:05.650Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-54 ']' [2022-09-12T01:21:05.650Z] + PACKAGES=/tmp/packages_end.txt [2022-09-12T01:21:05.650Z] + case "${OS_FAMILY}" in [2022-09-12T01:21:05.650Z] + dpkg -l [2022-09-12T01:21:05.650Z] + grep '^ii' [2022-09-12T01:21:05.650Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-12T01:21:05.650Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-12T01:21:05.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-12T01:21:05.650Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-54 ']' [2022-09-12T01:21:05.650Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-54/archives/ [2022-09-12T01:21:05.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-54/archives/ [Pipeline] echo [2022-09-12T01:21:05.682Z] 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-12T01:21:05.976Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:21:06.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:21:06.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:21:06.753Z] prd-ubuntu20.04-docker-8c-8g-28911 does not seem to be running inside a container [2022-09-12T01:21:06.790Z] $ 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-54/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-54 -v /w/workspace/edgexfoundry_device-gpio_PR-54:/w/workspace/edgexfoundry_device-gpio_PR-54:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-54@tmp:/w/workspace/edgexfoundry_device-gpio_PR-54@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 [2022-09-12T01:21:07.033Z] $ docker top d6e346583c30311ebbd78ed8f341dd158fae92adba45b8bcf611fbdd7a4162f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:21:07.444Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-12T01:21:07.759Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-12T01:21:08.075Z] + ls /var/log/sa-host [2022-09-12T01:21:08.075Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:21:08.312Z] provisioning config files... [2022-09-12T01:21:08.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-54@tmp/config8449731653133039944tmp [Pipeline] { [Pipeline] echo [2022-09-12T01:21:08.370Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:08.689Z] ---> create-netrc.sh [Pipeline] } [2022-09-12T01:21:08.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:09.121Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-12T01:21:09.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:09.468Z] ---> sudo-logs.sh [2022-09-12T01:21:09.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-12T01:21:09.550Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:09.864Z] ---> job-cost.sh [2022-09-12T01:21:09.864Z] lf-activate-venv: SKIPPING [2022-09-12T01:21:09.864Z] DEBUG: total: 0.2199999988079071 [2022-09-12T01:21:09.864Z] INFO: Retrieving Stack Cost... [2022-09-12T01:21:10.124Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T01:21:10.697Z] INFO: Archiving Costs [Pipeline] echo [2022-09-12T01:21:10.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:21:11.043Z] ---> logs-deploy.sh [2022-09-12T01:21:11.043Z] lf-activate-venv: SKIPPING [2022-09-12T01:21:11.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-54/1 [2022-09-12T01:21:11.043Z] INFO: archiving workspace using pattern(s): [2022-09-12T01:21:11.986Z] Archives upload complete. [2022-09-12T01:21:12.250Z] INFO: archiving logs to Nexus