Pull request #52 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0c9f46115f022336bd425338402a5c7534c23f1+53cbcaed608f18f0e84aa4b8dede53d9bc388d5f (a024d500d4bef573911620c07d573fedfaa04673) 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-ssh8028541253883106312.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12733962683901098176.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-52/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-52/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7654374661941239395.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-52/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11061966819403038107.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh14598624115763907798.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-52/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-52/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16748148905469406061.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-22736’ Running on prd-ubuntu20.04-docker-8c-8g-22742 in /w/workspace/edgexfoundry_device-gpio_PR-52 [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-52 # 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 53cbcaed608f18f0e84aa4b8dede53d9bc388d5f into PR head commit e0c9f46115f022336bd425338402a5c7534c23f1 Merge succeeded, producing e0c9f46115f022336bd425338402a5c7534c23f1 Checking out Revision e0c9f46115f022336bd425338402a5c7534c23f1 (PR-52) > 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/52/head:refs/remotes/origin/PR-52 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0c9f46115f022336bd425338402a5c7534c23f1 # 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 53cbcaed608f18f0e84aa4b8dede53d9bc388d5f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0c9f46115f022336bd425338402a5c7534c23f1 # 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 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T01:05:26.867Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T01:05:27.063Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T01:05:27.166Z] ========================================================= [2022-08-15T01:05:27.166Z] EdgeX Global Pipelines Version Info [2022-08-15T01:05:27.166Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:05:27.958Z] ------------------- [2022-08-15T01:05:27.958Z] stable info: [2022-08-15T01:05:27.958Z] ------------------- [2022-08-15T01:05:27.958Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T01:05:27.958Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T01:05:27.958Z] Message: update stable to v1.0.238 [2022-08-15T01:05:28.533Z] ------------------- [2022-08-15T01:05:28.533Z] experimental info: [2022-08-15T01:05:28.533Z] ------------------- [2022-08-15T01:05:28.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T01:05:28.533Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T01:05:28.533Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T01:05:28.906Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-08-15T01:05:28.945Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-08-15T01:05:28.984Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T01:05:29.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T01:05:29.076Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T01:05:29.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T01:05:29.190Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T01:05:29.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T01:05:29.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T01:05:29.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T01:05:29.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T01:05:29.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-08-15T01:05:29.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T01:05:29.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T01:05:29.511Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T01:05:29.553Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T01:05:29.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T01:05:29.640Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T01:05:29.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T01:05:29.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T01:05:29.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T01:05:29.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T01:05:29.839Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T01:05:29.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T01:05:29.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T01:05:29.952Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T01:05:29.987Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T01:05:30.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-52 [Pipeline] echo [2022-08-15T01:05:30.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-52 [Pipeline] echo [2022-08-15T01:05:30.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-52 [Pipeline] echo [2022-08-15T01:05:30.155Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0c9f46115f022336bd425338402a5c7534c23f1 [Pipeline] echo [2022-08-15T01:05:30.201Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0c9f46 [Pipeline] echo [2022-08-15T01:05:30.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T01:05:30.363Z] provisioning config files... [2022-08-15T01:05:30.380Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp/config6275473220013818903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:05:30.740Z] ---> docker-login.sh [2022-08-15T01:05:30.740Z] nexus3.edgexfoundry.org:10001 [2022-08-15T01:05:31.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:31.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:31.001Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:31.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:31.001Z] [2022-08-15T01:05:31.001Z] Login Succeeded [2022-08-15T01:05:31.001Z] nexus3.edgexfoundry.org:10002 [2022-08-15T01:05:31.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:31.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:31.263Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:31.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:31.263Z] [2022-08-15T01:05:31.263Z] Login Succeeded [2022-08-15T01:05:31.263Z] nexus3.edgexfoundry.org:10003 [2022-08-15T01:05:31.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:31.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:31.527Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:31.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:31.527Z] [2022-08-15T01:05:31.527Z] Login Succeeded [2022-08-15T01:05:31.527Z] nexus3.edgexfoundry.org:10004 [2022-08-15T01:05:31.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:31.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:31.527Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:31.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:31.527Z] [2022-08-15T01:05:31.527Z] Login Succeeded [2022-08-15T01:05:31.527Z] docker.io [2022-08-15T01:05:31.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:32.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:32.051Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:32.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:32.051Z] [2022-08-15T01:05:32.051Z] Login Succeeded [2022-08-15T01:05:32.051Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T01:05:32.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T01:05:32.740Z] + git rev-list -1 --merges e0c9f46115f022336bd425338402a5c7534c23f1~1..e0c9f46115f022336bd425338402a5c7534c23f1 [Pipeline] echo [2022-08-15T01:05:32.787Z] -----------> git rev-list -1 --merges e0c9f46115f022336bd425338402a5c7534c23f1~1..e0c9f46115f022336bd425338402a5c7534c23f1 e0c9f46115f022336bd425338402a5c7534c23f1 [false] [Pipeline] sh [2022-08-15T01:05:33.115Z] + git log --format=format:%s -1 e0c9f46115f022336bd425338402a5c7534c23f1 [Pipeline] echo [2022-08-15T01:05:33.158Z] ========================================================= [2022-08-15T01:05:33.158Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T01:05:33.158Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T01:05:33.655Z] + git log --format=format:%s -1 e0c9f46115f022336bd425338402a5c7534c23f1 [Pipeline] echo [2022-08-15T01:05:33.691Z] [semverPrep] GIT_COMMIT: e0c9f46115f022336bd425338402a5c7534c23f1, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-15T01:05:33.732Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T01:05:34.126Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T01:05:34.126Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T01:05:34.126Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T01:05:34.126Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T01:05:34.126Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T01:05:34.126Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T01:05:34.126Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:05:34.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T01:05:34.636Z] [2022-08-15T01:05:34.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:05:35.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T01:05:35.032Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T01:05:35.032Z] b85a868b505f: Pulling fs layer [2022-08-15T01:05:35.032Z] e2be974225ed: Pulling fs layer [2022-08-15T01:05:35.032Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T01:05:35.032Z] 988bab9f4d93: Pulling fs layer [2022-08-15T01:05:35.032Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T01:05:35.032Z] eaf3925da568: Pulling fs layer [2022-08-15T01:05:35.032Z] bab4dde63d76: Pulling fs layer [2022-08-15T01:05:35.032Z] bde34c3a00c8: Pulling fs layer [2022-08-15T01:05:35.032Z] b352a97aabf1: Pulling fs layer [2022-08-15T01:05:35.032Z] 4872d77fe225: Pulling fs layer [2022-08-15T01:05:35.032Z] 5851b861e8e6: Pulling fs layer [2022-08-15T01:05:35.032Z] 1469e6f7b9e6: Waiting [2022-08-15T01:05:35.032Z] bab4dde63d76: Waiting [2022-08-15T01:05:35.032Z] 4872d77fe225: Waiting [2022-08-15T01:05:35.032Z] bde34c3a00c8: Waiting [2022-08-15T01:05:35.032Z] b352a97aabf1: Waiting [2022-08-15T01:05:35.032Z] 5851b861e8e6: Waiting [2022-08-15T01:05:35.032Z] eaf3925da568: Waiting [2022-08-15T01:05:35.032Z] e2be974225ed: Verifying Checksum [2022-08-15T01:05:35.032Z] e2be974225ed: Download complete [2022-08-15T01:05:35.032Z] 988bab9f4d93: Verifying Checksum [2022-08-15T01:05:35.032Z] 988bab9f4d93: Download complete [2022-08-15T01:05:35.296Z] 1469e6f7b9e6: Download complete [2022-08-15T01:05:35.296Z] eaf3925da568: Download complete [2022-08-15T01:05:35.296Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T01:05:35.296Z] 339a4e72a1f5: Download complete [2022-08-15T01:05:35.296Z] bde34c3a00c8: Download complete [2022-08-15T01:05:35.296Z] b352a97aabf1: Verifying Checksum [2022-08-15T01:05:35.296Z] b352a97aabf1: Download complete [2022-08-15T01:05:35.296Z] 4872d77fe225: Verifying Checksum [2022-08-15T01:05:35.296Z] 4872d77fe225: Download complete [2022-08-15T01:05:35.296Z] 5851b861e8e6: Verifying Checksum [2022-08-15T01:05:35.296Z] b85a868b505f: Verifying Checksum [2022-08-15T01:05:35.296Z] b85a868b505f: Download complete [2022-08-15T01:05:35.556Z] bab4dde63d76: Verifying Checksum [2022-08-15T01:05:35.556Z] bab4dde63d76: Download complete [2022-08-15T01:05:36.939Z] b85a868b505f: Pull complete [2022-08-15T01:05:36.939Z] e2be974225ed: Pull complete [2022-08-15T01:05:37.511Z] 339a4e72a1f5: Pull complete [2022-08-15T01:05:37.511Z] 988bab9f4d93: Pull complete [2022-08-15T01:05:37.772Z] 1469e6f7b9e6: Pull complete [2022-08-15T01:05:38.033Z] eaf3925da568: Pull complete [2022-08-15T01:05:39.945Z] bab4dde63d76: Pull complete [2022-08-15T01:05:39.945Z] bde34c3a00c8: Pull complete [2022-08-15T01:05:40.208Z] b352a97aabf1: Pull complete [2022-08-15T01:05:40.208Z] 4872d77fe225: Pull complete [2022-08-15T01:05:40.208Z] 5851b861e8e6: Pull complete [2022-08-15T01:05:40.208Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T01:05:40.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T01:05:40.208Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:05:40.438Z] prd-ubuntu20.04-docker-8c-8g-22742 does not seem to be running inside a container [2022-08-15T01:05:40.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-52 -v /w/workspace/edgexfoundry_device-gpio_PR-52:/w/workspace/edgexfoundry_device-gpio_PR-52:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-52@tmp:/w/workspace/edgexfoundry_device-gpio_PR-52@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T01:05:41.669Z] $ docker top 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T01:05:41.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T01:05:41.864Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T01:05:42.015Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T01:05:42.023Z] $ docker exec 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a ssh-agent [2022-08-15T01:05:42.141Z] SSH_AUTH_SOCK=/tmp/ssh-wg79vmS3vWYc/agent.34 [2022-08-15T01:05:42.141Z] SSH_AGENT_PID=40 [2022-08-15T01:05:42.148Z] Running ssh-add (command line suppressed) [2022-08-15T01:05:42.297Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-52@tmp/private_key_6655955679073324302.key (/w/workspace/edgexfoundry_device-gpio_PR-52@tmp/private_key_6655955679073324302.key) [2022-08-15T01:05:42.309Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T01:05:42.648Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T01:05:42.682Z] $ docker exec --env ******** --env ******** 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a ssh-agent -k [2022-08-15T01:05:42.802Z] unset SSH_AUTH_SOCK; [2022-08-15T01:05:42.802Z] unset SSH_AGENT_PID; [2022-08-15T01:05:42.803Z] echo Agent pid 40 killed; [2022-08-15T01:05:42.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T01:05:42.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T01:05:42.903Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T01:05:43.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T01:05:43.043Z] $ docker exec 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a ssh-agent [2022-08-15T01:05:43.177Z] SSH_AUTH_SOCK=/tmp/ssh-cgMrrtjsYBLJ/agent.73 [2022-08-15T01:05:43.177Z] SSH_AGENT_PID=79 [2022-08-15T01:05:43.183Z] Running ssh-add (command line suppressed) [2022-08-15T01:05:43.304Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-52@tmp/private_key_743906122494232950.key (/w/workspace/edgexfoundry_device-gpio_PR-52@tmp/private_key_743906122494232950.key) [2022-08-15T01:05:43.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T01:05:43.654Z] + git semver init [2022-08-15T01:05:43.916Z] 2022-08-15 01:05:43,860 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T01:05:43.916Z] 2022-08-15 01:05:43,861 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-52/.semver [2022-08-15T01:05:43.916Z] 2022-08-15 01:05:43,862 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-52/.semver [2022-08-15T01:05:43.916Z] 2022-08-15 01:05:43,862 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-52/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-52, universal_newlines=False, shell=None, istream=None) [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,693 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-52/.git/info/exclude [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-52/.semver/PR-52 with force:False [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,694 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-52/.semver/PR-52 [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,699 [execute] INFO git cat-file --batch-check [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-52/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,706 [execute] INFO git cat-file --batch [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-52/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T01:05:44.860Z] 2022-08-15 01:05:44,712 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-52/.semver/PR-52 [2022-08-15T01:05:44.860Z] 0.0.0 [Pipeline] } [2022-08-15T01:05:44.892Z] $ docker exec --env ******** --env ******** 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a ssh-agent -k [2022-08-15T01:05:45.027Z] unset SSH_AUTH_SOCK; [2022-08-15T01:05:45.028Z] unset SSH_AGENT_PID; [2022-08-15T01:05:45.028Z] echo Agent pid 79 killed; [2022-08-15T01:05:45.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T01:05:45.452Z] + git semver [Pipeline] } [2022-08-15T01:05:45.745Z] $ docker stop --time=1 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a [2022-08-15T01:05:47.100Z] $ docker rm -f 7c8f8b66562b441069eca31533986fe3f543263af33c345330b2e5730814ea4a [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T01:05:47.514Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T01:05:47.924Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T01:05:47.943Z] [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-08-15T01:05:48.551Z] provisioning config files... [2022-08-15T01:05:48.563Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp/config795116789791696217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:05:48.940Z] ---> docker-login.sh [2022-08-15T01:05:48.940Z] nexus3.edgexfoundry.org:10001 [2022-08-15T01:05:48.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:48.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:48.940Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:48.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:48.940Z] [2022-08-15T01:05:48.940Z] Login Succeeded [2022-08-15T01:05:48.940Z] nexus3.edgexfoundry.org:10002 [2022-08-15T01:05:49.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:49.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:49.203Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:49.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:49.203Z] [2022-08-15T01:05:49.203Z] Login Succeeded [2022-08-15T01:05:49.203Z] nexus3.edgexfoundry.org:10003 [2022-08-15T01:05:49.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:49.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:49.203Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:49.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:49.203Z] [2022-08-15T01:05:49.203Z] Login Succeeded [2022-08-15T01:05:49.203Z] nexus3.edgexfoundry.org:10004 [2022-08-15T01:05:49.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:49.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:49.466Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:49.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:49.466Z] [2022-08-15T01:05:49.466Z] Login Succeeded [2022-08-15T01:05:49.466Z] docker.io [2022-08-15T01:05:49.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:05:50.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:05:50.040Z] Configure a credential helper to remove this warning. See [2022-08-15T01:05:50.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:05:50.040Z] [2022-08-15T01:05:50.040Z] Login Succeeded [2022-08-15T01:05:50.040Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T01:05:50.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T01:05:50.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:05:50.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:05:50.346Z] ========================================================= [2022-08-15T01:05:50.346Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T01:05:50.346Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:05:50.844Z] + 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-08-15T01:05:50.844Z] Sending build context to Docker daemon 15.8MB [2022-08-15T01:05:50.844Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:05:50.844Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T01:05:51.108Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T01:05:51.108Z] 2408cc74d12b: Pulling fs layer [2022-08-15T01:05:51.108Z] ea60b727a1ce: Pulling fs layer [2022-08-15T01:05:51.108Z] 30c4a7721957: Pulling fs layer [2022-08-15T01:05:51.108Z] 370296b7ddb6: Pulling fs layer [2022-08-15T01:05:51.108Z] 7c6cee850709: Pulling fs layer [2022-08-15T01:05:51.108Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T01:05:51.108Z] d94ebbe4e438: Pulling fs layer [2022-08-15T01:05:51.108Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T01:05:51.108Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T01:05:51.108Z] 370296b7ddb6: Waiting [2022-08-15T01:05:51.108Z] 7c6cee850709: Waiting [2022-08-15T01:05:51.108Z] 39a5fcdaea64: Waiting [2022-08-15T01:05:51.108Z] d94ebbe4e438: Waiting [2022-08-15T01:05:51.108Z] bcfd1f05c69d: Waiting [2022-08-15T01:05:51.108Z] 59ccb84bbe0f: Waiting [2022-08-15T01:05:51.108Z] 30c4a7721957: Verifying Checksum [2022-08-15T01:05:51.108Z] 30c4a7721957: Download complete [2022-08-15T01:05:51.108Z] ea60b727a1ce: Verifying Checksum [2022-08-15T01:05:51.108Z] ea60b727a1ce: Download complete [2022-08-15T01:05:51.108Z] 7c6cee850709: Verifying Checksum [2022-08-15T01:05:51.108Z] 7c6cee850709: Download complete [2022-08-15T01:05:51.108Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T01:05:51.108Z] 39a5fcdaea64: Download complete [2022-08-15T01:05:51.108Z] 2408cc74d12b: Verifying Checksum [2022-08-15T01:05:51.108Z] 2408cc74d12b: Download complete [2022-08-15T01:05:51.108Z] d94ebbe4e438: Verifying Checksum [2022-08-15T01:05:51.108Z] d94ebbe4e438: Download complete [2022-08-15T01:05:51.370Z] 2408cc74d12b: Pull complete [2022-08-15T01:05:51.370Z] ea60b727a1ce: Pull complete [2022-08-15T01:05:51.370Z] 30c4a7721957: Pull complete [2022-08-15T01:05:51.632Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T01:05:51.632Z] 59ccb84bbe0f: Download complete [2022-08-15T01:05:51.895Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T01:05:51.895Z] bcfd1f05c69d: Download complete [2022-08-15T01:05:52.157Z] 370296b7ddb6: Verifying Checksum [2022-08-15T01:05:52.157Z] 370296b7ddb6: Download complete [2022-08-15T01:05:56.356Z] 370296b7ddb6: Pull complete [2022-08-15T01:05:56.356Z] 7c6cee850709: Pull complete [2022-08-15T01:05:56.616Z] 39a5fcdaea64: Pull complete [2022-08-15T01:05:56.616Z] d94ebbe4e438: Pull complete [2022-08-15T01:05:59.158Z] bcfd1f05c69d: Pull complete [2022-08-15T01:05:59.729Z] 59ccb84bbe0f: Pull complete [2022-08-15T01:05:59.729Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T01:05:59.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T01:05:59.729Z] ---> a4fb48ad2a94 [2022-08-15T01:05:59.729Z] Step 3/12 : ARG MAKE="make build" [2022-08-15T01:06:01.115Z] ---> Running in 568c9ee6c76d [2022-08-15T01:06:01.115Z] Removing intermediate container 568c9ee6c76d [2022-08-15T01:06:01.115Z] ---> beeabb211438 [2022-08-15T01:06:01.115Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:06:01.115Z] ---> Running in dd341c5e87d0 [2022-08-15T01:06:01.115Z] Removing intermediate container dd341c5e87d0 [2022-08-15T01:06:01.115Z] ---> 9b68cbc105c8 [2022-08-15T01:06:01.115Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:06:01.115Z] ---> Running in ae3eb1b0d018 [2022-08-15T01:06:01.375Z] Removing intermediate container ae3eb1b0d018 [2022-08-15T01:06:01.375Z] ---> 25eb0acb3e67 [2022-08-15T01:06:01.375Z] Step 6/12 : WORKDIR /device-gpio [2022-08-15T01:06:01.375Z] ---> Running in f4ae809684f7 [2022-08-15T01:06:01.375Z] Removing intermediate container f4ae809684f7 [2022-08-15T01:06:01.375Z] ---> e5594467e17b [2022-08-15T01:06:01.375Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:06:01.375Z] ---> Running in 84d0c4496a20 [2022-08-15T01:06:01.946Z] Removing intermediate container 84d0c4496a20 [2022-08-15T01:06:01.946Z] ---> 635b8446f56c [2022-08-15T01:06:01.946Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:06:01.946Z] ---> Running in 4c96a63e74ca [2022-08-15T01:06:02.207Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T01:06:03.343Z] Still waiting to schedule task [2022-08-15T01:06:03.343Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22740’ [2022-08-15T01:06:03.598Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T01:06:03.598Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T01:06:03.859Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T01:06:03.859Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T01:06:03.859Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T01:06:04.120Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T01:06:04.120Z] OK: 216 MiB in 55 packages [2022-08-15T01:06:04.380Z] Removing intermediate container 4c96a63e74ca [2022-08-15T01:06:04.380Z] ---> d7d7e614be28 [2022-08-15T01:06:04.380Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T01:06:04.642Z] ---> a07e82124ac5 [2022-08-15T01:06:04.642Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:06:04.642Z] ---> Running in ad343de67665 [2022-08-15T01:06:26.626Z] Removing intermediate container ad343de67665 [2022-08-15T01:06:26.627Z] ---> c1d4dcfc4cac [2022-08-15T01:06:26.627Z] Step 11/12 : COPY . . [2022-08-15T01:06:26.627Z] ---> a045e15ce2c0 [2022-08-15T01:06:26.627Z] Step 12/12 : RUN ${MAKE} [2022-08-15T01:06:26.627Z] ---> Running in 40d507fc4c55 [2022-08-15T01:06:26.627Z] noop [2022-08-15T01:06:26.627Z] Removing intermediate container 40d507fc4c55 [2022-08-15T01:06:26.627Z] ---> 1949e343f8d0 [2022-08-15T01:06:26.627Z] Successfully built 1949e343f8d0 [2022-08-15T01:06:26.627Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:06:27.097Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T01:06:27.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:06:27.282Z] prd-ubuntu20.04-docker-8c-8g-22742 does not seem to be running inside a container [2022-08-15T01:06:27.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-52 -v /w/workspace/edgexfoundry_device-gpio_PR-52:/w/workspace/edgexfoundry_device-gpio_PR-52:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-52@tmp:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-15T01:06:27.735Z] $ docker top ee25a9c375ff3ed911277c8953ca18d6ae76feddb17aea10d7f6f31d7bfe3ef6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:06:28.225Z] + go version [2022-08-15T01:06:28.225Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T01:06:28.261Z] $ docker stop --time=1 ee25a9c375ff3ed911277c8953ca18d6ae76feddb17aea10d7f6f31d7bfe3ef6 [2022-08-15T01:06:29.581Z] $ docker rm -f ee25a9c375ff3ed911277c8953ca18d6ae76feddb17aea10d7f6f31d7bfe3ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:06:30.313Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T01:06:30.313Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:06:30.486Z] prd-ubuntu20.04-docker-8c-8g-22742 does not seem to be running inside a container [2022-08-15T01:06:30.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-52 -v /w/workspace/edgexfoundry_device-gpio_PR-52:/w/workspace/edgexfoundry_device-gpio_PR-52:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-52@tmp:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-15T01:06:30.908Z] $ docker top c0b30b6e20fc8bde8be6c87f480691f8805bbc88969134f1d9c3263a5f9b344c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:06:31.318Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-52 [Pipeline] fileExists [Pipeline] sh [2022-08-15T01:06:31.686Z] + make test [2022-08-15T01:06:31.686Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T01:06:31.947Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-08-15T01:06:41.926Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-08-15T01:06:41.927Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-08-15T01:06:47.201Z] 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-08-15T01:06:47.201Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T01:06:50.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T01:06:50.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T01:06:50.495Z] ./bin/test-attribution-txt.sh [2022-08-15T01:06:50.495Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T01:06:50.495Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T01:06:50.495Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T01:06:50.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T01:06:50.561Z] $ docker stop --time=1 c0b30b6e20fc8bde8be6c87f480691f8805bbc88969134f1d9c3263a5f9b344c [2022-08-15T01:06:52.188Z] $ docker rm -f c0b30b6e20fc8bde8be6c87f480691f8805bbc88969134f1d9c3263a5f9b344c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T01:06:52.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T01:06:52.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T01:06:53.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T01:06:53.772Z] + ls -al . [2022-08-15T01:06:53.772Z] total 160 [2022-08-15T01:06:53.772Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 01:06 . [2022-08-15T01:06:53.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:05 .. [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 15 01:05 .dockerignore [2022-08-15T01:06:53.772Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:06 .git [2022-08-15T01:06:53.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:05 .github [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 15 01:05 .gitignore [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:05 .golangci.yml [2022-08-15T01:06:53.772Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:05 .semver [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 9182 Aug 15 01:05 Attribution.txt [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 3081 Aug 15 01:05 CHANGELOG.md [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 15 01:05 Dockerfile [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:05 GOVERNANCE.md [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 15 01:05 Jenkinsfile [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:05 LICENSE [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 1876 Aug 15 01:05 Makefile [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 15 01:05 OWNERS.md [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 11178 Aug 15 01:05 README.md [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 01:05 VERSION [2022-08-15T01:06:53.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:05 bin [2022-08-15T01:06:53.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:05 cmd [2022-08-15T01:06:53.772Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 15 01:06 coverage.out [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 3425 Aug 15 01:05 go.mod [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 36813 Aug 15 01:05 go.sum [2022-08-15T01:06:53.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:05 internal [2022-08-15T01:06:53.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:05 snap [2022-08-15T01:06:53.772Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 15 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:06:54.158Z] + 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=e0c9f46115f022336bd425338402a5c7534c23f1 --label arch=amd64 --label version=0.0.0 . [2022-08-15T01:06:54.158Z] Sending build context to Docker daemon 15.8MB [2022-08-15T01:06:54.158Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:06:54.158Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-15T01:06:54.158Z] ---> 1949e343f8d0 [2022-08-15T01:06:54.158Z] Step 3/26 : ARG MAKE="make build" [2022-08-15T01:06:54.158Z] ---> Running in 68a75670cd61 [2022-08-15T01:06:54.419Z] Removing intermediate container 68a75670cd61 [2022-08-15T01:06:54.419Z] ---> 017ad0faee62 [2022-08-15T01:06:54.419Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:06:54.419Z] ---> Running in 547c72067709 [2022-08-15T01:06:54.419Z] Removing intermediate container 547c72067709 [2022-08-15T01:06:54.419Z] ---> 91e2dde9b9c5 [2022-08-15T01:06:54.419Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:06:54.419Z] ---> Running in 29ca66594b41 [2022-08-15T01:06:54.680Z] Removing intermediate container 29ca66594b41 [2022-08-15T01:06:54.680Z] ---> 76e4151f0a51 [2022-08-15T01:06:54.680Z] Step 6/26 : WORKDIR /device-gpio [2022-08-15T01:06:54.680Z] ---> Running in cca14c220826 [2022-08-15T01:06:54.680Z] Removing intermediate container cca14c220826 [2022-08-15T01:06:54.680Z] ---> 0d82055cc608 [2022-08-15T01:06:54.680Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:06:54.680Z] ---> Running in 2ecaad04985e [2022-08-15T01:06:55.251Z] Removing intermediate container 2ecaad04985e [2022-08-15T01:06:55.251Z] ---> 4666505e28d2 [2022-08-15T01:06:55.251Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:06:55.251Z] ---> Running in a3c655b04ceb [2022-08-15T01:06:55.822Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T01:06:56.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T01:06:56.967Z] OK: 216 MiB in 55 packages [2022-08-15T01:06:57.227Z] Removing intermediate container a3c655b04ceb [2022-08-15T01:06:57.227Z] ---> 3f4f819a19f7 [2022-08-15T01:06:57.227Z] Step 9/26 : COPY go.mod vendor* ./ [2022-08-15T01:06:57.227Z] ---> 223a1157a37f [2022-08-15T01:06:57.227Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:06:57.227Z] ---> Running in 7fb7a6811e03 [2022-08-15T01:06:58.171Z] Removing intermediate container 7fb7a6811e03 [2022-08-15T01:06:58.171Z] ---> 2c27062cd463 [2022-08-15T01:06:58.171Z] Step 11/26 : COPY . . [2022-08-15T01:06:58.433Z] ---> 99d2addde785 [2022-08-15T01:06:58.433Z] Step 12/26 : RUN ${MAKE} [2022-08-15T01:06:58.433Z] ---> Running in 4510fdd3b853 [2022-08-15T01:06:58.692Z] 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-08-15T01:07:20.636Z] Removing intermediate container 4510fdd3b853 [2022-08-15T01:07:20.636Z] ---> 5a87b0473240 [2022-08-15T01:07:20.636Z] Step 13/26 : FROM alpine:3.16 [2022-08-15T01:07:20.636Z] 3.16: Pulling from library/alpine [2022-08-15T01:07:20.636Z] 213ec9aee27d: Pulling fs layer [2022-08-15T01:07:20.636Z] 213ec9aee27d: Verifying Checksum [2022-08-15T01:07:20.636Z] 213ec9aee27d: Download complete [2022-08-15T01:07:20.636Z] 213ec9aee27d: Pull complete [2022-08-15T01:07:20.637Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T01:07:20.637Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T01:07:20.637Z] ---> 9c6f07244728 [2022-08-15T01:07:20.637Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-08-15T01:07:20.637Z] ---> Running in 75e2d2b1b2a2 [2022-08-15T01:07:20.637Z] Removing intermediate container 75e2d2b1b2a2 [2022-08-15T01:07:20.637Z] ---> 299cf13d93d5 [2022-08-15T01:07:20.637Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:07:20.637Z] ---> Running in 7d01e20084f5 [2022-08-15T01:07:20.637Z] Removing intermediate container 7d01e20084f5 [2022-08-15T01:07:20.637Z] ---> e00ac7188b9d [2022-08-15T01:07:20.637Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-08-15T01:07:20.637Z] ---> Running in 5fdaa4eba795 [2022-08-15T01:07:20.637Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T01:07:20.637Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T01:07:20.637Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T01:07:20.637Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-15T01:07:20.637Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T01:07:20.637Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-15T01:07:20.898Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-15T01:07:20.898Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T01:07:20.898Z] OK: 8 MiB in 19 packages [2022-08-15T01:07:21.159Z] Removing intermediate container 5fdaa4eba795 [2022-08-15T01:07:21.159Z] ---> 228feef44e64 [2022-08-15T01:07:21.159Z] Step 17/26 : WORKDIR / [2022-08-15T01:07:21.159Z] ---> Running in a9adae21b5a6 [2022-08-15T01:07:21.418Z] Removing intermediate container a9adae21b5a6 [2022-08-15T01:07:21.418Z] ---> 939216533186 [2022-08-15T01:07:21.418Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-08-15T01:07:21.418Z] ---> 6a31572a5dbd [2022-08-15T01:07:21.418Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-08-15T01:07:21.680Z] ---> 69a74d2add06 [2022-08-15T01:07:21.680Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-08-15T01:07:22.254Z] ---> 692f3d173bc6 [2022-08-15T01:07:22.254Z] Step 21/26 : EXPOSE 59910 [2022-08-15T01:07:22.254Z] ---> Running in c36f5e2f26a7 [2022-08-15T01:07:22.254Z] Removing intermediate container c36f5e2f26a7 [2022-08-15T01:07:22.254Z] ---> d1e05b5e3b0c [2022-08-15T01:07:22.254Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-08-15T01:07:22.254Z] ---> Running in bd9e271e46e2 [2022-08-15T01:07:22.254Z] Removing intermediate container bd9e271e46e2 [2022-08-15T01:07:22.254Z] ---> da52ef933351 [2022-08-15T01:07:22.254Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T01:07:22.518Z] ---> Running in 125767c7a3ad [2022-08-15T01:07:22.518Z] Removing intermediate container 125767c7a3ad [2022-08-15T01:07:22.518Z] ---> 31e7517b029c [2022-08-15T01:07:22.518Z] Step 24/26 : LABEL arch=amd64 [2022-08-15T01:07:22.518Z] ---> Running in df3148ba429c [2022-08-15T01:07:22.518Z] Removing intermediate container df3148ba429c [2022-08-15T01:07:22.518Z] ---> 8509ef4af529 [2022-08-15T01:07:22.518Z] Step 25/26 : LABEL git_sha=e0c9f46115f022336bd425338402a5c7534c23f1 [2022-08-15T01:07:22.518Z] ---> Running in 4ce2dc713a1a [2022-08-15T01:07:22.779Z] Removing intermediate container 4ce2dc713a1a [2022-08-15T01:07:22.779Z] ---> 356663407211 [2022-08-15T01:07:22.779Z] Step 26/26 : LABEL version=0.0.0 [2022-08-15T01:07:22.779Z] ---> Running in 3727ff11d399 [2022-08-15T01:07:22.779Z] Removing intermediate container 3727ff11d399 [2022-08-15T01:07:22.779Z] ---> facee911f3c3 [2022-08-15T01:07:22.779Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T01:07:22.779Z] Successfully built facee911f3c3 [2022-08-15T01:07:22.779Z] 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-08-15T01:07:23.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:07:23.640Z] [2022-08-15T01:07:23.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:07:24.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:07:24.026Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T01:07:24.026Z] 5eb5b503b376: Pulling fs layer [2022-08-15T01:07:24.026Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T01:07:24.026Z] ec43610c2a17: Pulling fs layer [2022-08-15T01:07:24.026Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T01:07:24.026Z] 33b1e0a273af: Pulling fs layer [2022-08-15T01:07:24.026Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T01:07:24.026Z] 2f39f015ded8: Pulling fs layer [2022-08-15T01:07:24.026Z] 33b1e0a273af: Waiting [2022-08-15T01:07:24.026Z] 5d3b04190fa2: Waiting [2022-08-15T01:07:24.026Z] 2f39f015ded8: Waiting [2022-08-15T01:07:24.026Z] 3a2ae6a8a46f: Waiting [2022-08-15T01:07:24.026Z] 5c69ac0246d0: Download complete [2022-08-15T01:07:24.026Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T01:07:24.026Z] 3a2ae6a8a46f: Download complete [2022-08-15T01:07:24.287Z] ec43610c2a17: Verifying Checksum [2022-08-15T01:07:24.287Z] ec43610c2a17: Download complete [2022-08-15T01:07:24.287Z] 33b1e0a273af: Verifying Checksum [2022-08-15T01:07:24.287Z] 33b1e0a273af: Download complete [2022-08-15T01:07:24.287Z] 5d3b04190fa2: Verifying Checksum [2022-08-15T01:07:24.287Z] 5d3b04190fa2: Download complete [2022-08-15T01:07:24.287Z] 5eb5b503b376: Verifying Checksum [2022-08-15T01:07:24.287Z] 5eb5b503b376: Download complete [2022-08-15T01:07:24.858Z] 2f39f015ded8: Verifying Checksum [2022-08-15T01:07:24.858Z] 2f39f015ded8: Download complete [2022-08-15T01:07:25.426Z] 5eb5b503b376: Pull complete [2022-08-15T01:07:25.685Z] 5c69ac0246d0: Pull complete [2022-08-15T01:07:26.254Z] ec43610c2a17: Pull complete [2022-08-15T01:07:26.254Z] 3a2ae6a8a46f: Pull complete [2022-08-15T01:07:26.254Z] 33b1e0a273af: Pull complete [2022-08-15T01:07:26.514Z] 5d3b04190fa2: Pull complete [2022-08-15T01:07:30.706Z] 2f39f015ded8: Pull complete [2022-08-15T01:07:30.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T01:07:30.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:07:30.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:07:30.931Z] prd-ubuntu20.04-docker-8c-8g-22742 does not seem to be running inside a container [2022-08-15T01:07:30.975Z] $ 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-52 -v /w/workspace/edgexfoundry_device-gpio_PR-52:/w/workspace/edgexfoundry_device-gpio_PR-52:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-52@tmp:/w/workspace/edgexfoundry_device-gpio_PR-52@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-08-15T01:07:32.314Z] $ docker top c74d17c0a4fdfb060005a377f5e3023a1329db3c15f4b02057c59a2afc5a22e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:07:32.773Z] ---> job-cost.sh [2022-08-15T01:07:32.773Z] lf-activate-venv: SKIPPING [2022-08-15T01:07:32.773Z] INFO: No Stack... [2022-08-15T01:07:33.342Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T01:07:33.602Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T01:07:33.916Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-52/archives/cost.csv [2022-08-15T01:07:33.916Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T01:07:33.954Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] [2022-08-15T01:07:33.959Z] Resource [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] did not exist. Created. [2022-08-15T01:07:33.959Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T01:07:34.347Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T01:07:34.397Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T01:07:34.425Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T01:07:34.507Z] $ docker stop --time=1 c74d17c0a4fdfb060005a377f5e3023a1329db3c15f4b02057c59a2afc5a22e0 [2022-08-15T01:07:35.667Z] $ docker rm -f c74d17c0a4fdfb060005a377f5e3023a1329db3c15f4b02057c59a2afc5a22e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T01:09:41.885Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22743 in /w/workspace/edgexfoundry_device-gpio_PR-52 [Pipeline] { [Pipeline] ws [2022-08-15T01:09:41.931Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-08-15T01:09:42.016Z] The recommended git tool is: git [2022-08-15T01:09:49.221Z] using credential edgex-jenkins-ssh [2022-08-15T01:09:49.264Z] Cloning the remote Git repository [2022-08-15T01:09:49.331Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-08-15T01:09:49.412Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-08-15T01:09:49.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-08-15T01:09:49.529Z] > git --version # timeout=10 [2022-08-15T01:09:49.559Z] > git --version # 'git version 2.25.1' [2022-08-15T01:09:49.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T01:09:49.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T01:09:51.925Z] Merging remotes/origin/main commit 53cbcaed608f18f0e84aa4b8dede53d9bc388d5f into PR head commit e0c9f46115f022336bd425338402a5c7534c23f1 [2022-08-15T01:09:52.127Z] Merge succeeded, producing e0c9f46115f022336bd425338402a5c7534c23f1 [2022-08-15T01:09:52.128Z] Checking out Revision e0c9f46115f022336bd425338402a5c7534c23f1 (PR-52) [2022-08-15T01:09:51.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-08-15T01:09:51.363Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T01:09:51.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-08-15T01:09:51.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-08-15T01:09:51.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T01:09:51.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T01:09:51.945Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T01:09:51.961Z] > git checkout -f e0c9f46115f022336bd425338402a5c7534c23f1 # timeout=10 [2022-08-15T01:09:52.044Z] > git remote # timeout=10 [2022-08-15T01:09:52.061Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T01:09:52.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T01:09:52.088Z] > git merge 53cbcaed608f18f0e84aa4b8dede53d9bc388d5f # timeout=10 [2022-08-15T01:09:52.113Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T01:09:52.136Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T01:09:52.147Z] > git checkout -f e0c9f46115f022336bd425338402a5c7534c23f1 # timeout=10 [2022-08-15T01:09:56.358Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-15T01:09:56.436Z] > git --version # timeout=10 [2022-08-15T01:09:56.447Z] > git --version # 'git version 2.25.1' [2022-08-15T01:09:56.467Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T01:09:57.615Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T01:09:57.615Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T01:09:57.615Z] Dload Upload Total Spent Left Speed [2022-08-15T01:09:57.615Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 94861 [Pipeline] sh [2022-08-15T01:09:58.549Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T01:09:58.908Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T01:09:58.908Z] sudo tee /etc/docker/daemon.new [2022-08-15T01:09:58.908Z] { [2022-08-15T01:09:58.908Z] "registry-mirrors": [ [2022-08-15T01:09:58.908Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T01:09:58.908Z] ], [2022-08-15T01:09:58.908Z] "bip": "10.250.0.254/24", [2022-08-15T01:09:58.908Z] "hosts": [ [2022-08-15T01:09:58.908Z] "tcp://0.0.0.0:5555", [2022-08-15T01:09:58.908Z] "unix:///var/run/docker.sock" [2022-08-15T01:09:58.908Z] ], [2022-08-15T01:09:58.908Z] "mtu": 1458, [2022-08-15T01:09:58.908Z] "selinux-enabled": true, [2022-08-15T01:09:58.908Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T01:09:58.908Z] } [Pipeline] sh [2022-08-15T01:09:59.267Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T01:09:59.774Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T01:10:18.170Z] provisioning config files... [2022-08-15T01:10:18.198Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6800055532128757761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:10:18.595Z] ---> docker-login.sh [2022-08-15T01:10:18.595Z] nexus3.edgexfoundry.org:10001 [2022-08-15T01:10:19.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:10:19.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:10:19.789Z] Configure a credential helper to remove this warning. See [2022-08-15T01:10:19.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:10:19.789Z] [2022-08-15T01:10:19.789Z] Login Succeeded [2022-08-15T01:10:19.789Z] nexus3.edgexfoundry.org:10002 [2022-08-15T01:10:20.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:10:20.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:10:20.064Z] Configure a credential helper to remove this warning. See [2022-08-15T01:10:20.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:10:20.064Z] [2022-08-15T01:10:20.064Z] Login Succeeded [2022-08-15T01:10:20.064Z] nexus3.edgexfoundry.org:10003 [2022-08-15T01:10:20.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:10:20.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:10:20.615Z] Configure a credential helper to remove this warning. See [2022-08-15T01:10:20.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:10:20.615Z] [2022-08-15T01:10:20.615Z] Login Succeeded [2022-08-15T01:10:20.615Z] nexus3.edgexfoundry.org:10004 [2022-08-15T01:10:20.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:10:20.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:10:20.888Z] Configure a credential helper to remove this warning. See [2022-08-15T01:10:20.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:10:20.888Z] [2022-08-15T01:10:20.888Z] Login Succeeded [2022-08-15T01:10:20.888Z] docker.io [2022-08-15T01:10:21.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:10:21.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:10:21.751Z] Configure a credential helper to remove this warning. See [2022-08-15T01:10:21.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:10:21.751Z] [2022-08-15T01:10:21.751Z] Login Succeeded [2022-08-15T01:10:21.751Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T01:10:21.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T01:10:22.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:10:22.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:10:22.218Z] ========================================================= [2022-08-15T01:10:22.218Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T01:10:22.218Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:10:22.720Z] + 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-08-15T01:10:22.994Z] Sending build context to Docker daemon 7.96MB [2022-08-15T01:10:22.994Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:10:22.994Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T01:10:23.269Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T01:10:23.269Z] b3c136eddcbf: Pulling fs layer [2022-08-15T01:10:23.269Z] c0a3192eca97: Pulling fs layer [2022-08-15T01:10:23.269Z] a050256f5b6f: Pulling fs layer [2022-08-15T01:10:23.269Z] 656be50a0ddc: Pulling fs layer [2022-08-15T01:10:23.269Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T01:10:23.269Z] 46d945488cbd: Pulling fs layer [2022-08-15T01:10:23.269Z] 8a5474983e97: Pulling fs layer [2022-08-15T01:10:23.269Z] 329c88fbcd65: Pulling fs layer [2022-08-15T01:10:23.269Z] 2bbca73fdf42: Waiting [2022-08-15T01:10:23.269Z] 46d945488cbd: Waiting [2022-08-15T01:10:23.269Z] 8a5474983e97: Waiting [2022-08-15T01:10:23.269Z] 329c88fbcd65: Waiting [2022-08-15T01:10:23.269Z] 656be50a0ddc: Waiting [2022-08-15T01:10:23.269Z] a050256f5b6f: Verifying Checksum [2022-08-15T01:10:23.269Z] a050256f5b6f: Download complete [2022-08-15T01:10:23.269Z] c0a3192eca97: Verifying Checksum [2022-08-15T01:10:23.269Z] c0a3192eca97: Download complete [2022-08-15T01:10:23.269Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T01:10:23.269Z] 2bbca73fdf42: Download complete [2022-08-15T01:10:23.269Z] 46d945488cbd: Verifying Checksum [2022-08-15T01:10:23.269Z] 46d945488cbd: Download complete [2022-08-15T01:10:23.269Z] b3c136eddcbf: Download complete [2022-08-15T01:10:24.262Z] b3c136eddcbf: Pull complete [2022-08-15T01:10:24.262Z] 329c88fbcd65: Verifying Checksum [2022-08-15T01:10:24.262Z] 329c88fbcd65: Download complete [2022-08-15T01:10:24.862Z] c0a3192eca97: Pull complete [2022-08-15T01:10:25.136Z] a050256f5b6f: Pull complete [2022-08-15T01:10:25.408Z] 8a5474983e97: Verifying Checksum [2022-08-15T01:10:25.408Z] 8a5474983e97: Download complete [2022-08-15T01:10:26.001Z] 656be50a0ddc: Verifying Checksum [2022-08-15T01:10:26.001Z] 656be50a0ddc: Download complete [2022-08-15T01:10:38.406Z] 656be50a0ddc: Pull complete [2022-08-15T01:10:38.406Z] 2bbca73fdf42: Pull complete [2022-08-15T01:10:38.406Z] 46d945488cbd: Pull complete [2022-08-15T01:10:45.123Z] 8a5474983e97: Pull complete [2022-08-15T01:10:46.101Z] 329c88fbcd65: Pull complete [2022-08-15T01:10:46.101Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T01:10:46.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T01:10:46.379Z] ---> ff4287adb874 [2022-08-15T01:10:46.379Z] Step 3/12 : ARG MAKE="make build" [2022-08-15T01:10:47.366Z] ---> Running in b5f928d9c748 [2022-08-15T01:10:47.637Z] Removing intermediate container b5f928d9c748 [2022-08-15T01:10:47.637Z] ---> 87f2c3f61ee5 [2022-08-15T01:10:47.637Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:10:47.637Z] ---> Running in d4deae47420e [2022-08-15T01:10:47.910Z] Removing intermediate container d4deae47420e [2022-08-15T01:10:47.910Z] ---> ecd82bcb43c3 [2022-08-15T01:10:47.910Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:10:48.194Z] ---> Running in af20e7e8c7f7 [2022-08-15T01:10:48.469Z] Removing intermediate container af20e7e8c7f7 [2022-08-15T01:10:48.469Z] ---> 173c0adb8384 [2022-08-15T01:10:48.469Z] Step 6/12 : WORKDIR /device-gpio [2022-08-15T01:10:48.469Z] ---> Running in 526b7593d238 [2022-08-15T01:10:48.744Z] Removing intermediate container 526b7593d238 [2022-08-15T01:10:48.744Z] ---> 588cad3e60e5 [2022-08-15T01:10:48.744Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:10:48.744Z] ---> Running in 362af25a56c8 [2022-08-15T01:10:52.156Z] Removing intermediate container 362af25a56c8 [2022-08-15T01:10:52.156Z] ---> 07682e50c505 [2022-08-15T01:10:52.156Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:10:52.156Z] ---> Running in 853f10c38119 [2022-08-15T01:10:52.756Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T01:10:53.733Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T01:10:54.716Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T01:10:54.993Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T01:10:54.993Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T01:10:55.270Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T01:10:55.270Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T01:10:55.270Z] OK: 226 MiB in 55 packages [2022-08-15T01:10:56.269Z] Removing intermediate container 853f10c38119 [2022-08-15T01:10:56.269Z] ---> 1f93e233b825 [2022-08-15T01:10:56.269Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T01:10:56.880Z] ---> 821c95259cc2 [2022-08-15T01:10:56.880Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:10:56.880Z] ---> Running in 2d7ddac94a23 [2022-08-15T01:11:43.897Z] Removing intermediate container 2d7ddac94a23 [2022-08-15T01:11:43.897Z] ---> 3c3d72294027 [2022-08-15T01:11:43.897Z] Step 11/12 : COPY . . [2022-08-15T01:11:44.174Z] ---> 314f17aede4c [2022-08-15T01:11:44.174Z] Step 12/12 : RUN ${MAKE} [2022-08-15T01:11:44.447Z] ---> Running in 1f5116c8d471 [2022-08-15T01:11:45.434Z] noop [2022-08-15T01:11:46.029Z] Removing intermediate container 1f5116c8d471 [2022-08-15T01:11:46.029Z] ---> dd4b1b8eae20 [2022-08-15T01:11:46.029Z] Successfully built dd4b1b8eae20 [2022-08-15T01:11:46.029Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:11:46.510Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T01:11:46.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:11:46.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-22743 does not seem to be running inside a container [2022-08-15T01:11:46.948Z] $ 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-08-15T01:11:48.281Z] $ docker top c58fe329412828f9c85c8f6569207220aafa7b4ada25cdff429b17f79fd3fa37 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:11:49.249Z] + go version [2022-08-15T01:11:49.249Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T01:11:49.296Z] $ docker stop --time=1 c58fe329412828f9c85c8f6569207220aafa7b4ada25cdff429b17f79fd3fa37 [2022-08-15T01:11:50.958Z] $ docker rm -f c58fe329412828f9c85c8f6569207220aafa7b4ada25cdff429b17f79fd3fa37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:11:51.833Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T01:11:51.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:11:52.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-22743 does not seem to be running inside a container [2022-08-15T01:11:52.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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-08-15T01:11:53.545Z] $ docker top 5ab40c3e93d91fb906e243c0a4d3798d84097a73326921e782c33c63380ca44b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:11:54.520Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T01:11:55.260Z] + make test [2022-08-15T01:11:55.260Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T01:11:56.706Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-08-15T01:13:18.595Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-08-15T01:13:18.595Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-08-15T01:13:18.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T01:13:18.596Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T01:13:36.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T01:13:36.959Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T01:13:36.959Z] ./bin/test-attribution-txt.sh [2022-08-15T01:13:36.959Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T01:13:36.959Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T01:13:36.959Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T01:13:37.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T01:13:37.049Z] $ docker stop --time=1 5ab40c3e93d91fb906e243c0a4d3798d84097a73326921e782c33c63380ca44b [2022-08-15T01:13:38.847Z] $ docker rm -f 5ab40c3e93d91fb906e243c0a4d3798d84097a73326921e782c33c63380ca44b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T01:13:39.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T01:13:39.931Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T01:13:40.386Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T01:13:40.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T01:13:41.343Z] + ls -al . [2022-08-15T01:13:41.343Z] total 156 [2022-08-15T01:13:41.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:11 . [2022-08-15T01:13:41.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:09 .. [2022-08-15T01:13:41.343Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 15 01:09 .dockerignore [2022-08-15T01:13:41.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:09 .git [2022-08-15T01:13:41.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:09 .github [2022-08-15T01:13:41.343Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 15 01:09 .gitignore [2022-08-15T01:13:41.343Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:09 .golangci.yml [2022-08-15T01:13:41.343Z] -rw-rw-r-- 1 jenkins jenkins 9182 Aug 15 01:09 Attribution.txt [2022-08-15T01:13:41.343Z] -rw-rw-r-- 1 jenkins jenkins 3081 Aug 15 01:09 CHANGELOG.md [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 15 01:09 Dockerfile [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:09 GOVERNANCE.md [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 15 01:09 Jenkinsfile [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:09 LICENSE [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 1876 Aug 15 01:09 Makefile [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 15 01:09 OWNERS.md [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 11178 Aug 15 01:09 README.md [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 01:05 VERSION [2022-08-15T01:13:41.344Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:09 bin [2022-08-15T01:13:41.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:09 cmd [2022-08-15T01:13:41.344Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 15 01:11 coverage.out [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 3425 Aug 15 01:09 go.mod [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 36813 Aug 15 01:09 go.sum [2022-08-15T01:13:41.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:09 internal [2022-08-15T01:13:41.344Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:09 snap [2022-08-15T01:13:41.344Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 15 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:13:41.776Z] + 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=e0c9f46115f022336bd425338402a5c7534c23f1 --label arch=arm64 --label version=0.0.0 . [2022-08-15T01:13:42.051Z] Sending build context to Docker daemon 7.961MB [2022-08-15T01:13:42.332Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:13:42.332Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-15T01:13:42.332Z] ---> dd4b1b8eae20 [2022-08-15T01:13:42.332Z] Step 3/26 : ARG MAKE="make build" [2022-08-15T01:13:42.332Z] ---> Running in a7d5f5bf7767 [2022-08-15T01:13:42.606Z] Removing intermediate container a7d5f5bf7767 [2022-08-15T01:13:42.606Z] ---> a8bee88d25d0 [2022-08-15T01:13:42.606Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:13:42.606Z] ---> Running in 59bac1f6ed87 [2022-08-15T01:13:42.888Z] Removing intermediate container 59bac1f6ed87 [2022-08-15T01:13:42.888Z] ---> 8ce18681dfb6 [2022-08-15T01:13:42.888Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:13:43.168Z] ---> Running in f8ef93775173 [2022-08-15T01:13:43.446Z] Removing intermediate container f8ef93775173 [2022-08-15T01:13:43.446Z] ---> 2d7115acc13a [2022-08-15T01:13:43.446Z] Step 6/26 : WORKDIR /device-gpio [2022-08-15T01:13:43.446Z] ---> Running in 788282b4006b [2022-08-15T01:13:43.722Z] Removing intermediate container 788282b4006b [2022-08-15T01:13:43.722Z] ---> fcc0290fc98e [2022-08-15T01:13:43.722Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:13:43.722Z] ---> Running in 3a54db0fa914 [2022-08-15T01:13:45.714Z] Removing intermediate container 3a54db0fa914 [2022-08-15T01:13:45.714Z] ---> b72d47cf1e1b [2022-08-15T01:13:45.714Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:13:45.714Z] ---> Running in aaf50cd94bbf [2022-08-15T01:13:46.710Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T01:13:47.695Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T01:13:48.682Z] OK: 226 MiB in 55 packages [2022-08-15T01:13:49.285Z] Removing intermediate container aaf50cd94bbf [2022-08-15T01:13:49.285Z] ---> f592da0dcbf5 [2022-08-15T01:13:49.285Z] Step 9/26 : COPY go.mod vendor* ./ [2022-08-15T01:13:49.889Z] ---> 3f84376f4c44 [2022-08-15T01:13:49.889Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:13:49.889Z] ---> Running in 3aba88156afa [2022-08-15T01:13:51.885Z] Removing intermediate container 3aba88156afa [2022-08-15T01:13:51.885Z] ---> dff2b0636d44 [2022-08-15T01:13:51.885Z] Step 11/26 : COPY . . [2022-08-15T01:13:53.328Z] ---> ae5684413be9 [2022-08-15T01:13:53.328Z] Step 12/26 : RUN ${MAKE} [2022-08-15T01:13:53.328Z] ---> Running in cbd985955465 [2022-08-15T01:13:54.314Z] 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-08-15T01:16:16.272Z] Removing intermediate container cbd985955465 [2022-08-15T01:16:16.272Z] ---> 8a3acd323511 [2022-08-15T01:16:16.272Z] Step 13/26 : FROM alpine:3.16 [2022-08-15T01:16:16.272Z] 3.16: Pulling from library/alpine [2022-08-15T01:16:16.272Z] 9b18e9b68314: Pulling fs layer [2022-08-15T01:16:16.272Z] 9b18e9b68314: Verifying Checksum [2022-08-15T01:16:16.272Z] 9b18e9b68314: Download complete [2022-08-15T01:16:16.272Z] 9b18e9b68314: Pull complete [2022-08-15T01:16:16.272Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T01:16:16.272Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T01:16:16.272Z] ---> a6215f271958 [2022-08-15T01:16:16.272Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-08-15T01:16:16.272Z] ---> Running in ab3853206951 [2022-08-15T01:16:16.272Z] Removing intermediate container ab3853206951 [2022-08-15T01:16:16.272Z] ---> 2edd9872a482 [2022-08-15T01:16:16.272Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:16:16.272Z] ---> Running in 96d3e264a360 [2022-08-15T01:16:16.272Z] Removing intermediate container 96d3e264a360 [2022-08-15T01:16:16.272Z] ---> 11b587599f25 [2022-08-15T01:16:16.272Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-08-15T01:16:16.272Z] ---> Running in de550faceb76 [2022-08-15T01:16:16.272Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T01:16:16.272Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T01:16:16.272Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T01:16:16.272Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-15T01:16:16.272Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T01:16:16.272Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-15T01:16:16.272Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-15T01:16:16.272Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T01:16:16.272Z] OK: 8 MiB in 19 packages [2022-08-15T01:16:16.272Z] Removing intermediate container de550faceb76 [2022-08-15T01:16:16.272Z] ---> fd8fcd69f2d0 [2022-08-15T01:16:16.272Z] Step 17/26 : WORKDIR / [2022-08-15T01:16:16.272Z] ---> Running in f3d52c5d35fb [2022-08-15T01:16:16.272Z] Removing intermediate container f3d52c5d35fb [2022-08-15T01:16:16.272Z] ---> fc2b539b079b [2022-08-15T01:16:16.272Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-08-15T01:16:16.272Z] ---> d32222865a86 [2022-08-15T01:16:16.272Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-08-15T01:16:16.272Z] ---> 130a2e9f9b62 [2022-08-15T01:16:16.272Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-08-15T01:16:16.272Z] ---> af1e122b26a3 [2022-08-15T01:16:16.272Z] Step 21/26 : EXPOSE 59910 [2022-08-15T01:16:16.272Z] ---> Running in 851b1bdc6401 [2022-08-15T01:16:16.272Z] Removing intermediate container 851b1bdc6401 [2022-08-15T01:16:16.272Z] ---> c3a01b1889d8 [2022-08-15T01:16:16.272Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-08-15T01:16:16.272Z] ---> Running in a8066e5c9efd [2022-08-15T01:16:16.272Z] Removing intermediate container a8066e5c9efd [2022-08-15T01:16:16.272Z] ---> d9ad67aa8415 [2022-08-15T01:16:16.272Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T01:16:16.272Z] ---> Running in 328ede3d8d16 [2022-08-15T01:16:16.272Z] Removing intermediate container 328ede3d8d16 [2022-08-15T01:16:16.272Z] ---> ee64453d9287 [2022-08-15T01:16:16.272Z] Step 24/26 : LABEL arch=arm64 [2022-08-15T01:16:16.272Z] ---> Running in 0d855e175a18 [2022-08-15T01:16:16.272Z] Removing intermediate container 0d855e175a18 [2022-08-15T01:16:16.272Z] ---> ebfc15fe981e [2022-08-15T01:16:16.272Z] Step 25/26 : LABEL git_sha=e0c9f46115f022336bd425338402a5c7534c23f1 [2022-08-15T01:16:16.272Z] ---> Running in 432ce80de227 [2022-08-15T01:16:16.272Z] Removing intermediate container 432ce80de227 [2022-08-15T01:16:16.272Z] ---> 18982c47b7b0 [2022-08-15T01:16:16.272Z] Step 26/26 : LABEL version=0.0.0 [2022-08-15T01:16:16.272Z] ---> Running in a9286b2a38bf [2022-08-15T01:16:16.272Z] Removing intermediate container a9286b2a38bf [2022-08-15T01:16:16.272Z] ---> 55462024bf97 [2022-08-15T01:16:16.272Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T01:16:16.272Z] Successfully built 55462024bf97 [2022-08-15T01:16:16.272Z] 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-08-15T01:16:17.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T01:16:17.096Z] [2022-08-15T01:16:17.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:16:17.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T01:16:17.818Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T01:16:17.818Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T01:16:17.818Z] 04944245beec: Pulling fs layer [2022-08-15T01:16:17.818Z] 699f458cf7ca: Pulling fs layer [2022-08-15T01:16:17.818Z] 765212b225bb: Pulling fs layer [2022-08-15T01:16:17.818Z] f23df028b6ca: Pulling fs layer [2022-08-15T01:16:17.818Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T01:16:17.818Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T01:16:17.818Z] 765212b225bb: Waiting [2022-08-15T01:16:17.818Z] f23df028b6ca: Waiting [2022-08-15T01:16:17.818Z] d65c8cfc05b1: Waiting [2022-08-15T01:16:17.818Z] 2437ff75d9bd: Waiting [2022-08-15T01:16:17.818Z] 04944245beec: Verifying Checksum [2022-08-15T01:16:17.818Z] 04944245beec: Download complete [2022-08-15T01:16:17.818Z] 765212b225bb: Verifying Checksum [2022-08-15T01:16:17.818Z] 765212b225bb: Download complete [2022-08-15T01:16:17.818Z] f23df028b6ca: Verifying Checksum [2022-08-15T01:16:17.818Z] f23df028b6ca: Download complete [2022-08-15T01:16:17.818Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T01:16:17.818Z] d65c8cfc05b1: Download complete [2022-08-15T01:16:18.093Z] 699f458cf7ca: Verifying Checksum [2022-08-15T01:16:18.093Z] 699f458cf7ca: Download complete [2022-08-15T01:16:18.369Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T01:16:18.369Z] 8998bd30e6a1: Download complete [2022-08-15T01:16:21.015Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T01:16:21.015Z] 2437ff75d9bd: Download complete [2022-08-15T01:16:22.993Z] 8998bd30e6a1: Pull complete [2022-08-15T01:16:23.269Z] 04944245beec: Pull complete [2022-08-15T01:16:24.710Z] 699f458cf7ca: Pull complete [2022-08-15T01:16:24.983Z] 765212b225bb: Pull complete [2022-08-15T01:16:25.972Z] f23df028b6ca: Pull complete [2022-08-15T01:16:25.972Z] d65c8cfc05b1: Pull complete [2022-08-15T01:16:41.068Z] 2437ff75d9bd: Pull complete [2022-08-15T01:16:41.068Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T01:16:41.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T01:16:41.068Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:16:41.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-22743 does not seem to be running inside a container [2022-08-15T01:16:41.545Z] $ 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-08-15T01:16:44.166Z] $ docker top 4c24e36391b06cf8dca7d53f1b0d213e53e4f711a0c05e3f142a8559100e5551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:45.196Z] ---> job-cost.sh [2022-08-15T01:16:45.196Z] lf-activate-venv: SKIPPING [2022-08-15T01:16:45.196Z] INFO: No Stack... [2022-08-15T01:16:45.466Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T01:16:46.441Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T01:16:47.109Z] + cat /w/workspace/device-gpio/1/archives/cost.csv+ [2022-08-15T01:16:47.109Z] cut -d, -f6 [Pipeline] lock [2022-08-15T01:16:47.193Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] [2022-08-15T01:16:47.198Z] Resource [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] did not exist. Created. [2022-08-15T01:16:47.199Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T01:16:47.940Z] /w/workspace/device-gpio/1@tmp/durable-3db30560/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T01:16:48.631Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T01:16:48.666Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T01:16:48.716Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T01:16:48.732Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-52-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T01:16:48.824Z] $ docker stop --time=1 4c24e36391b06cf8dca7d53f1b0d213e53e4f711a0c05e3f142a8559100e5551 [2022-08-15T01:16:50.302Z] $ docker rm -f 4c24e36391b06cf8dca7d53f1b0d213e53e4f711a0c05e3f142a8559100e5551 [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-08-15T01:16:51.291Z] provisioning config files... [2022-08-15T01:16:51.311Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp/config3020281206459051066tmp [Pipeline] { [Pipeline] sh [2022-08-15T01:16:51.645Z] + set +x [2022-08-15T01:16:51.645Z] + + bash -s -- [2022-08-15T01:16:51.645Z] curl -s https://codecov.io/bash [2022-08-15T01:16:51.645Z] [2022-08-15T01:16:51.645Z] _____ _ [2022-08-15T01:16:51.645Z] / ____| | | [2022-08-15T01:16:51.645Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T01:16:51.645Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T01:16:51.645Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T01:16:51.645Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T01:16:51.645Z] Bash-1.0.6 [2022-08-15T01:16:51.645Z] [2022-08-15T01:16:51.645Z] [2022-08-15T01:16:51.645Z] ==> git version 2.25.1 found [2022-08-15T01:16:51.645Z] ==> 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-08-15T01:16:51.645Z] Release-Date: 2020-01-08 [2022-08-15T01:16:51.645Z] 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-08-15T01:16:51.645Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T01:16:51.645Z] ==> Jenkins CI detected. [2022-08-15T01:16:51.645Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-52 [2022-08-15T01:16:51.645Z] project root: . [2022-08-15T01:16:51.645Z] --> token set from env [2022-08-15T01:16:51.645Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T01:16:51.645Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T01:16:51.645Z] ==> Python coveragepy not found [2022-08-15T01:16:51.645Z] ==> Searching for coverage reports in: [2022-08-15T01:16:51.645Z] + . [2022-08-15T01:16:51.645Z] -> Found 1 reports [2022-08-15T01:16:51.645Z] ==> Detecting git/mercurial file structure [2022-08-15T01:16:51.645Z] ==> Reading reports [2022-08-15T01:16:51.905Z] + ./coverage.out bytes=10 [2022-08-15T01:16:51.905Z] ==> Appending adjustments [2022-08-15T01:16:51.905Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T01:16:51.905Z] + Found adjustments [2022-08-15T01:16:51.905Z] ==> Gzipping contents [2022-08-15T01:16:51.905Z] 4.0K /tmp/codecov.7cujW3.gz [2022-08-15T01:16:51.905Z] ==> Uploading reports [2022-08-15T01:16:51.905Z] url: https://codecov.io [2022-08-15T01:16:51.905Z] query: branch=PR-52&commit=e0c9f46115f022336bd425338402a5c7534c23f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-52%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=52&job=&cmd_args= [2022-08-15T01:16:51.905Z] -> Pinging Codecov [2022-08-15T01:16:51.905Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-52&commit=e0c9f46115f022336bd425338402a5c7534c23f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-52%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=52&job=&cmd_args= [2022-08-15T01:16:52.164Z] -> Uploading to [2022-08-15T01:16:52.164Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/e0c9f46115f022336bd425338402a5c7534c23f1/8b45cbda-f7e1-431c-9ce8-423b6f152aaa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T011652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=656556855d63db493ca3d2c5260790da115bbbface1216a8b8189d34d2a73f19 [2022-08-15T01:16:52.164Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T01:16:52.164Z] Dload Upload Total Spent Left Speed [2022-08-15T01:16:52.426Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3522 --:--:-- --:--:-- --:--:-- 3506 100 782 0 0 100 782 0 3153 --:--:-- --:--:-- --:--:-- 3140 [2022-08-15T01:16:52.426Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/e0c9f46115f022336bd425338402a5c7534c23f1 [Pipeline] } [2022-08-15T01:16:52.454Z] 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-08-15T01:16:54.159Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-52/archives ] [2022-08-15T01:16:54.159Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-52/archives [2022-08-15T01:16:54.159Z] total 16 [2022-08-15T01:16:54.159Z] drwxr-xr-x 3 root root 4096 Aug 15 01:07 . [2022-08-15T01:16:54.159Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 01:07 .. [2022-08-15T01:16:54.159Z] drwxr-xr-x 2 root root 4096 Aug 15 01:07 cost [2022-08-15T01:16:54.159Z] -rw-r--r-- 1 root root 82 Aug 15 01:07 cost.csv [2022-08-15T01:16:54.159Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-52/archives [2022-08-15T01:16:54.159Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-52/archives [2022-08-15T01:16:54.159Z] total 16 [2022-08-15T01:16:54.159Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:07 . [2022-08-15T01:16:54.159Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 01:07 .. [2022-08-15T01:16:54.159Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 01:07 cost [2022-08-15T01:16:54.159Z] -rw-r--r-- 1 jenkins jenkins 82 Aug 15 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:54.503Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:55.394Z] ---> package-listing.sh [2022-08-15T01:16:55.394Z] ++ facter osfamily [2022-08-15T01:16:55.394Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T01:16:55.655Z] + OS_FAMILY=debian [2022-08-15T01:16:55.655Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-52 [2022-08-15T01:16:55.655Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T01:16:55.655Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T01:16:55.655Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T01:16:55.655Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T01:16:55.655Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-52 ']' [2022-08-15T01:16:55.655Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T01:16:55.655Z] + case "${OS_FAMILY}" in [2022-08-15T01:16:55.655Z] + dpkg -l [2022-08-15T01:16:55.655Z] + grep '^ii' [2022-08-15T01:16:55.655Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T01:16:55.655Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T01:16:55.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T01:16:55.655Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-52 ']' [2022-08-15T01:16:55.655Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-52/archives/ [2022-08-15T01:16:55.655Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-52/archives/ [Pipeline] echo [2022-08-15T01:16:55.689Z] 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-52/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T01:16:55.986Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:16:56.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:16:56.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:16:56.776Z] prd-ubuntu20.04-docker-8c-8g-22742 does not seem to be running inside a container [2022-08-15T01:16:56.815Z] $ 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-52/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-52 -v /w/workspace/edgexfoundry_device-gpio_PR-52:/w/workspace/edgexfoundry_device-gpio_PR-52:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-52@tmp:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T01:16:57.039Z] $ docker top bc2accb86a45fb788394e56c0e81c5a48d1cbfb08d9c71289c35486ff2f20273 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:16:57.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T01:16:57.800Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T01:16:58.116Z] + ls /var/log/sa-host [2022-08-15T01:16:58.116Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T01:16:58.333Z] provisioning config files... [2022-08-15T01:16:58.344Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-52@tmp/config8011074993800890792tmp [Pipeline] { [Pipeline] echo [2022-08-15T01:16:58.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:58.709Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T01:16:58.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:59.144Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T01:16:59.171Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:59.482Z] ---> sudo-logs.sh [2022-08-15T01:16:59.482Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T01:16:59.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:16:59.874Z] ---> job-cost.sh [2022-08-15T01:16:59.874Z] lf-activate-venv: SKIPPING [2022-08-15T01:16:59.874Z] DEBUG: total: 0.2199999988079071 [2022-08-15T01:16:59.874Z] INFO: Retrieving Stack Cost... [2022-08-15T01:17:00.444Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T01:17:00.706Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T01:17:00.738Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:17:01.118Z] ---> logs-deploy.sh [2022-08-15T01:17:01.119Z] lf-activate-venv: SKIPPING [2022-08-15T01:17:01.119Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-52/1 [2022-08-15T01:17:01.119Z] INFO: archiving workspace using pattern(s): [2022-08-15T01:17:02.063Z] Archives upload complete. [2022-08-15T01:17:02.324Z] INFO: archiving logs to Nexus