Pull request #219 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-gpio Obtained Jenkinsfile from cfc7dc66777cc1ef39454feaa52c446892249d91+cacff4a2d422747bd6cf74591db2fe792ce5aaad (ef803e47e2a1f328e60dd78fb42dc25d515743d8) 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-ssh7213299003135109965.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15674737290641020959.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-219/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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18077267368792374747.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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14888994218383271539.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh13881744976329111055.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-219/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-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4689184350822872428.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1881 in /w/workspace/edgexfoundry_device-gpio_PR-219 [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-219 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cacff4a2d422747bd6cf74591db2fe792ce5aaad into PR head commit cfc7dc66777cc1ef39454feaa52c446892249d91 Merge succeeded, producing cfc7dc66777cc1ef39454feaa52c446892249d91 Checking out Revision cfc7dc66777cc1ef39454feaa52c446892249d91 (PR-219) > 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/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfc7dc66777cc1ef39454feaa52c446892249d91 # 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 cacff4a2d422747bd6cf74591db2fe792ce5aaad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfc7dc66777cc1ef39454feaa52c446892249d91 # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T18:57:04.446Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T18:57:04.669Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T18:57:04.801Z] ========================================================= [2023-11-28T18:57:04.801Z] EdgeX Global Pipelines Version Info [2023-11-28T18:57:04.801Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:57:05.576Z] ------------------- [2023-11-28T18:57:05.576Z] stable info: [2023-11-28T18:57:05.576Z] ------------------- [2023-11-28T18:57:05.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T18:57:05.576Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:57:05.576Z] Message: update stable to v1.0.258 [2023-11-28T18:57:06.147Z] ------------------- [2023-11-28T18:57:06.147Z] experimental info: [2023-11-28T18:57:06.147Z] ------------------- [2023-11-28T18:57:06.147Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T18:57:06.147Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:57:06.147Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T18:57:06.370Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-11-28T18:57:06.432Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-11-28T18:57:06.492Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T18:57:06.551Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T18:57:06.609Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T18:57:06.669Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T18:57:06.728Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T18:57:06.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T18:57:06.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T18:57:06.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T18:57:06.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T18:57:07.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-11-28T18:57:07.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T18:57:07.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T18:57:07.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:57:07.316Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:57:07.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:57:07.453Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:57:07.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T18:57:07.596Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T18:57:07.666Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T18:57:07.733Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T18:57:07.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T18:57:07.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T18:57:07.936Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T18:57:08.008Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T18:57:08.078Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T18:57:08.163Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo [2023-11-28T18:57:08.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo [2023-11-28T18:57:08.311Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo [2023-11-28T18:57:08.387Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfc7dc66777cc1ef39454feaa52c446892249d91 [Pipeline] echo [2023-11-28T18:57:08.464Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfc7dc6 [Pipeline] echo [2023-11-28T18:57:08.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:57:08.720Z] provisioning config files... [2023-11-28T18:57:09.275Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp/config14073308886579146454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:57:10.639Z] ---> ****-login.sh [2023-11-28T18:57:10.639Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:57:10.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:10.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:10.902Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:10.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:10.902Z] [2023-11-28T18:57:10.902Z] Login Succeeded [2023-11-28T18:57:10.902Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:57:10.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:11.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:11.166Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:11.166Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:11.166Z] [2023-11-28T18:57:11.166Z] Login Succeeded [2023-11-28T18:57:11.166Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:57:11.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:11.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:11.166Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:11.166Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:11.166Z] [2023-11-28T18:57:11.166Z] Login Succeeded [2023-11-28T18:57:11.166Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:57:11.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:11.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:11.429Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:11.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:11.429Z] [2023-11-28T18:57:11.429Z] Login Succeeded [2023-11-28T18:57:11.429Z] ****.io [2023-11-28T18:57:11.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:11.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:11.689Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:11.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:11.689Z] [2023-11-28T18:57:11.689Z] Login Succeeded [2023-11-28T18:57:11.689Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:57:11.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T18:57:12.525Z] + git rev-list -1 --merges cfc7dc66777cc1ef39454feaa52c446892249d91~1..cfc7dc66777cc1ef39454feaa52c446892249d91 [Pipeline] echo [2023-11-28T18:57:12.570Z] -----------> git rev-list -1 --merges cfc7dc66777cc1ef39454feaa52c446892249d91~1..cfc7dc66777cc1ef39454feaa52c446892249d91 cfc7dc66777cc1ef39454feaa52c446892249d91 [false] [Pipeline] sh [2023-11-28T18:57:12.904Z] + git log --format=format:%s -1 cfc7dc66777cc1ef39454feaa52c446892249d91 [Pipeline] echo [2023-11-28T18:57:12.939Z] ========================================================= [2023-11-28T18:57:12.939Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T18:57:12.939Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:57:13.434Z] + git log --format=format:%s -1 cfc7dc66777cc1ef39454feaa52c446892249d91 [Pipeline] echo [2023-11-28T18:57:13.469Z] [semverPrep] GIT_COMMIT: cfc7dc66777cc1ef39454feaa52c446892249d91, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T18:57:13.519Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T18:57:13.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:57:13.949Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T18:57:13.949Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T18:57:13.949Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T18:57:13.949Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T18:57:13.949Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T18:57:13.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:57:14.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:57:14.410Z] [2023-11-28T18:57:14.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:57:14.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:57:15.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T18:57:15.069Z] b85a868b505f: Pulling fs layer [2023-11-28T18:57:15.069Z] e2be974225ed: Pulling fs layer [2023-11-28T18:57:15.069Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T18:57:15.069Z] 988bab9f4d93: Pulling fs layer [2023-11-28T18:57:15.069Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T18:57:15.069Z] eaf3925da568: Pulling fs layer [2023-11-28T18:57:15.069Z] bab4dde63d76: Pulling fs layer [2023-11-28T18:57:15.069Z] bde34c3a00c8: Pulling fs layer [2023-11-28T18:57:15.069Z] b352a97aabf1: Pulling fs layer [2023-11-28T18:57:15.069Z] 4872d77fe225: Pulling fs layer [2023-11-28T18:57:15.069Z] 5851b861e8e6: Pulling fs layer [2023-11-28T18:57:15.069Z] bab4dde63d76: Waiting [2023-11-28T18:57:15.069Z] bde34c3a00c8: Waiting [2023-11-28T18:57:15.069Z] b352a97aabf1: Waiting [2023-11-28T18:57:15.069Z] 5851b861e8e6: Waiting [2023-11-28T18:57:15.069Z] 4872d77fe225: Waiting [2023-11-28T18:57:15.069Z] 988bab9f4d93: Waiting [2023-11-28T18:57:15.069Z] 1469e6f7b9e6: Waiting [2023-11-28T18:57:15.069Z] eaf3925da568: Waiting [2023-11-28T18:57:15.069Z] e2be974225ed: Verifying Checksum [2023-11-28T18:57:15.069Z] e2be974225ed: Download complete [2023-11-28T18:57:15.069Z] 988bab9f4d93: Verifying Checksum [2023-11-28T18:57:15.069Z] 988bab9f4d93: Download complete [2023-11-28T18:57:15.069Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T18:57:15.069Z] 1469e6f7b9e6: Download complete [2023-11-28T18:57:15.069Z] eaf3925da568: Verifying Checksum [2023-11-28T18:57:15.069Z] eaf3925da568: Download complete [2023-11-28T18:57:15.069Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T18:57:15.069Z] 339a4e72a1f5: Download complete [2023-11-28T18:57:15.069Z] bde34c3a00c8: Download complete [2023-11-28T18:57:15.069Z] b352a97aabf1: Download complete [2023-11-28T18:57:15.069Z] 4872d77fe225: Verifying Checksum [2023-11-28T18:57:15.069Z] 4872d77fe225: Download complete [2023-11-28T18:57:15.069Z] 5851b861e8e6: Verifying Checksum [2023-11-28T18:57:15.069Z] 5851b861e8e6: Download complete [2023-11-28T18:57:15.329Z] b85a868b505f: Verifying Checksum [2023-11-28T18:57:15.329Z] b85a868b505f: Download complete [2023-11-28T18:57:15.589Z] bab4dde63d76: Verifying Checksum [2023-11-28T18:57:15.589Z] bab4dde63d76: Download complete [2023-11-28T18:57:16.965Z] b85a868b505f: Pull complete [2023-11-28T18:57:17.223Z] e2be974225ed: Pull complete [2023-11-28T18:57:17.793Z] 339a4e72a1f5: Pull complete [2023-11-28T18:57:18.052Z] 988bab9f4d93: Pull complete [2023-11-28T18:57:18.623Z] 1469e6f7b9e6: Pull complete [2023-11-28T18:57:19.192Z] eaf3925da568: Pull complete [2023-11-28T18:57:21.755Z] bab4dde63d76: Pull complete [2023-11-28T18:57:22.015Z] bde34c3a00c8: Pull complete [2023-11-28T18:57:22.585Z] b352a97aabf1: Pull complete [2023-11-28T18:57:22.845Z] 4872d77fe225: Pull complete [2023-11-28T18:57:22.845Z] 5851b861e8e6: Pull complete [2023-11-28T18:57:23.105Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T18:57:23.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:57:23.105Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:57:23.472Z] prd-ubuntu20.04-docker-8c-8g-1881 does not seem to be running inside a container [2023-11-28T18:57:23.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-219 -v /w/workspace/edgexfoundry_device-gpio_PR-219:/w/workspace/edgexfoundry_device-gpio_PR-219:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-219@tmp:/w/workspace/edgexfoundry_device-gpio_PR-219@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-devops/py-git-semver:0.1.4 cat [2023-11-28T18:57:27.917Z] $ docker top d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 -eo pid,comm [2023-11-28T18:57:27.974Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-28T18:57:27.974Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:57:28.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:57:28.182Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:57:28.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:57:28.300Z] $ docker exec d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 ssh-agent [2023-11-28T18:57:28.406Z] SSH_AUTH_SOCK=/tmp/ssh-NXODaizKqrDv/agent.33 [2023-11-28T18:57:28.406Z] SSH_AGENT_PID=39 [2023-11-28T18:57:28.413Z] Running ssh-add (command line suppressed) [2023-11-28T18:57:28.534Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-219@tmp/private_key_8961207263021025351.key (/w/workspace/edgexfoundry_device-gpio_PR-219@tmp/private_key_8961207263021025351.key) [2023-11-28T18:57:28.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:57:28.906Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T18:57:28.935Z] $ docker exec --env ******** --env ******** d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 ssh-agent -k [2023-11-28T18:57:29.049Z] unset SSH_AUTH_SOCK; [2023-11-28T18:57:29.049Z] unset SSH_AGENT_PID; [2023-11-28T18:57:29.050Z] echo Agent pid 39 killed; [2023-11-28T18:57:29.058Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T18:57:29.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:57:29.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:57:29.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:57:29.320Z] $ docker exec d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 ssh-agent [2023-11-28T18:57:29.424Z] SSH_AUTH_SOCK=/tmp/ssh-sAHreO3fsNvQ/agent.71 [2023-11-28T18:57:29.424Z] SSH_AGENT_PID=77 [2023-11-28T18:57:29.429Z] Running ssh-add (command line suppressed) [2023-11-28T18:57:29.540Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-219@tmp/private_key_2995918788531661217.key (/w/workspace/edgexfoundry_device-gpio_PR-219@tmp/private_key_2995918788531661217.key) [2023-11-28T18:57:29.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:57:29.908Z] + git semver init [2023-11-28T18:57:30.487Z] 2023-11-28 18:57:30,181 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T18:57:30.487Z] 2023-11-28 18:57:30,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-219/.semver [2023-11-28T18:57:30.487Z] 2023-11-28 18:57:30,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-219/.semver [2023-11-28T18:57:30.487Z] 2023-11-28 18:57:30,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-219/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-219, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,060 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-219/.git/info/exclude [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-219/.semver/PR-219 with force:False [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,060 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-219/.semver/PR-219 [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,065 [execute] INFO git cat-file --batch-check [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,071 [execute] INFO git cat-file --batch [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:57:32.402Z] 2023-11-28 18:57:32,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-219/.semver/PR-219 [2023-11-28T18:57:32.402Z] 0.0.0 [Pipeline] } [2023-11-28T18:57:32.431Z] $ docker exec --env ******** --env ******** d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 ssh-agent -k [2023-11-28T18:57:32.532Z] unset SSH_AUTH_SOCK; [2023-11-28T18:57:32.532Z] unset SSH_AGENT_PID; [2023-11-28T18:57:32.533Z] echo Agent pid 77 killed; [2023-11-28T18:57:32.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:57:33.059Z] + git semver [Pipeline] } [2023-11-28T18:57:33.352Z] $ docker stop --time=1 d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 [2023-11-28T18:57:35.189Z] $ docker rm -f --volumes d92b59ddf97dd2a7fb735765e2857c79505c9aa838f6652cf5c386b6a45a83c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:57:35.741Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T18:57:36.078Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T18:57:36.097Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:57:37.046Z] provisioning config files... [2023-11-28T18:57:37.101Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp/config9647026773168067098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:57:37.501Z] ---> ****-login.sh [2023-11-28T18:57:37.502Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:57:37.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:37.502Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:37.502Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:37.502Z] [2023-11-28T18:57:37.502Z] Login Succeeded [2023-11-28T18:57:37.502Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:57:37.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:37.502Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:37.502Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:37.502Z] [2023-11-28T18:57:37.502Z] Login Succeeded [2023-11-28T18:57:37.502Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:57:37.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:37.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:37.760Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:37.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:37.760Z] [2023-11-28T18:57:37.760Z] Login Succeeded [2023-11-28T18:57:37.760Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:57:37.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:37.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:37.760Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:37.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:37.760Z] [2023-11-28T18:57:37.761Z] Login Succeeded [2023-11-28T18:57:37.761Z] ****.io [2023-11-28T18:57:38.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:57:38.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:57:38.282Z] Configure a credential helper to remove this warning. See [2023-11-28T18:57:38.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:57:38.282Z] [2023-11-28T18:57:38.282Z] Login Succeeded [2023-11-28T18:57:38.282Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:57:38.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:57:39.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:57:39.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:57:39.386Z] ========================================================= [2023-11-28T18:57:39.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T18:57:39.386Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:57:39.997Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T18:57:39.997Z] Sending build context to Docker daemon 27.02MB [2023-11-28T18:57:39.997Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:57:39.997Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T18:57:40.261Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T18:57:40.261Z] 7264a8db6415: Pulling fs layer [2023-11-28T18:57:40.261Z] c4d48a809fc2: Pulling fs layer [2023-11-28T18:57:40.261Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T18:57:40.261Z] ad3a456e5733: Pulling fs layer [2023-11-28T18:57:40.261Z] 69c7f0334f64: Pulling fs layer [2023-11-28T18:57:40.261Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T18:57:40.261Z] ce7588e14bc9: Pulling fs layer [2023-11-28T18:57:40.261Z] b5e4710f87ac: Pulling fs layer [2023-11-28T18:57:40.261Z] ad3a456e5733: Waiting [2023-11-28T18:57:40.261Z] 69c7f0334f64: Waiting [2023-11-28T18:57:40.261Z] 1f1c1a5573a3: Waiting [2023-11-28T18:57:40.261Z] ce7588e14bc9: Waiting [2023-11-28T18:57:40.261Z] c4d48a809fc2: Download complete [2023-11-28T18:57:40.261Z] ad3a456e5733: Verifying Checksum [2023-11-28T18:57:40.261Z] ad3a456e5733: Download complete [2023-11-28T18:57:40.261Z] 69c7f0334f64: Verifying Checksum [2023-11-28T18:57:40.261Z] 69c7f0334f64: Download complete [2023-11-28T18:57:40.261Z] 7264a8db6415: Verifying Checksum [2023-11-28T18:57:40.261Z] 7264a8db6415: Download complete [2023-11-28T18:57:40.261Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T18:57:40.261Z] 1f1c1a5573a3: Download complete [2023-11-28T18:57:40.522Z] b5e4710f87ac: Verifying Checksum [2023-11-28T18:57:40.522Z] b5e4710f87ac: Download complete [2023-11-28T18:57:40.781Z] 7264a8db6415: Pull complete [2023-11-28T18:57:40.781Z] 4f1c88b9dad5: Download complete [2023-11-28T18:57:41.040Z] c4d48a809fc2: Pull complete [2023-11-28T18:57:41.298Z] ce7588e14bc9: Download complete [2023-11-28T18:57:44.583Z] 4f1c88b9dad5: Pull complete [2023-11-28T18:57:44.583Z] ad3a456e5733: Pull complete [2023-11-28T18:57:44.583Z] 69c7f0334f64: Pull complete [2023-11-28T18:57:44.583Z] 1f1c1a5573a3: Pull complete [2023-11-28T18:57:48.328Z] ce7588e14bc9: Pull complete [2023-11-28T18:57:48.328Z] b5e4710f87ac: Pull complete [2023-11-28T18:57:48.328Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T18:57:48.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T18:57:48.328Z] ---> 88b5674ff536 [2023-11-28T18:57:48.328Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:57:51.765Z] Still waiting to schedule task [2023-11-28T18:57:51.765Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:57:52.108Z] ---> Running in ce8847ad4a70 [2023-11-28T18:57:52.108Z] Removing intermediate container ce8847ad4a70 [2023-11-28T18:57:52.108Z] ---> 0be6d2afba36 [2023-11-28T18:57:52.108Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:57:52.677Z] ---> Running in da8a5af9c1c5 [2023-11-28T18:57:52.677Z] Removing intermediate container da8a5af9c1c5 [2023-11-28T18:57:52.677Z] ---> 944283aa00c7 [2023-11-28T18:57:52.677Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-28T18:57:52.677Z] ---> Running in fb356cdb699b [2023-11-28T18:57:52.937Z] Removing intermediate container fb356cdb699b [2023-11-28T18:57:52.937Z] ---> 694d1170648e [2023-11-28T18:57:52.937Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:57:52.937Z] ---> Running in 28e8cb918977 [2023-11-28T18:57:52.937Z] Removing intermediate container 28e8cb918977 [2023-11-28T18:57:52.937Z] ---> 97e2e307e5ad [2023-11-28T18:57:52.937Z] Step 7/12 : WORKDIR /device-gpio [2023-11-28T18:57:52.937Z] ---> Running in d79c740b193f [2023-11-28T18:57:52.937Z] Removing intermediate container d79c740b193f [2023-11-28T18:57:52.937Z] ---> 7e7fb3d753bb [2023-11-28T18:57:52.937Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:57:53.196Z] ---> Running in e7207c400181 [2023-11-28T18:57:53.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:57:53.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:57:54.025Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T18:57:54.025Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T18:57:54.025Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T18:57:54.025Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T18:57:54.025Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:57:54.025Z] OK: 268 MiB in 56 packages [2023-11-28T18:57:54.594Z] Removing intermediate container e7207c400181 [2023-11-28T18:57:54.594Z] ---> c00d2440332a [2023-11-28T18:57:54.594Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T18:57:54.594Z] ---> 2cd18f9ac639 [2023-11-28T18:57:54.594Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:57:54.853Z] ---> Running in f521c6aaa827 [2023-11-28T18:58:41.626Z] Removing intermediate container f521c6aaa827 [2023-11-28T18:58:41.626Z] ---> 56ccf98baa62 [2023-11-28T18:58:41.626Z] Step 11/12 : COPY . . [2023-11-28T18:58:41.626Z] ---> 48b15e874b9a [2023-11-28T18:58:41.626Z] Step 12/12 : RUN ${MAKE} [2023-11-28T18:58:41.626Z] ---> Running in 46188f370beb [2023-11-28T18:58:41.626Z] noop [2023-11-28T18:58:41.626Z] Removing intermediate container 46188f370beb [2023-11-28T18:58:41.626Z] ---> 7fab6d6983b8 [2023-11-28T18:58:41.626Z] Successfully built 7fab6d6983b8 [2023-11-28T18:58:41.626Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:58:42.153Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:58:42.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:58:42.421Z] prd-ubuntu20.04-docker-8c-8g-1881 does not seem to be running inside a container [2023-11-28T18:58:42.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-219 -v /w/workspace/edgexfoundry_device-gpio_PR-219:/w/workspace/edgexfoundry_device-gpio_PR-219:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-219@tmp:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T18:58:42.830Z] $ docker top 6da5536da8e469bf17dae4bd4547eac0ffe81868d201db914b90854561493ec8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:58:43.284Z] + go version [2023-11-28T18:58:43.284Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T18:58:43.319Z] $ docker stop --time=1 6da5536da8e469bf17dae4bd4547eac0ffe81868d201db914b90854561493ec8 [2023-11-28T18:58:44.569Z] $ docker rm -f --volumes 6da5536da8e469bf17dae4bd4547eac0ffe81868d201db914b90854561493ec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:58:45.572Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:58:45.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:58:45.788Z] prd-ubuntu20.04-docker-8c-8g-1881 does not seem to be running inside a container [2023-11-28T18:58:45.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-219 -v /w/workspace/edgexfoundry_device-gpio_PR-219:/w/workspace/edgexfoundry_device-gpio_PR-219:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-219@tmp:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T18:58:46.160Z] $ docker top fceead3176ef5b4d00b5f668a88f2bdd3c998b7cf9b5d859282f0d8dad5e2a04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:58:46.602Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-219 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:58:47.010Z] + make test [2023-11-28T18:58:47.010Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T18:58:48.914Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-28T18:58:58.911Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-28T18:58:58.911Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-28T18:59:05.468Z] go vet ./... [2023-11-28T18:59:08.749Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:59:08.749Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:59:08.749Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:59:08.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:59:08.862Z] $ docker stop --time=1 fceead3176ef5b4d00b5f668a88f2bdd3c998b7cf9b5d859282f0d8dad5e2a04 [2023-11-28T18:59:12.677Z] $ docker rm -f --volumes fceead3176ef5b4d00b5f668a88f2bdd3c998b7cf9b5d859282f0d8dad5e2a04 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:59:13.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:59:13.340Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T18:59:14.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:59:14.441Z] + ls -al . [2023-11-28T18:59:14.442Z] total 152 [2023-11-28T18:59:14.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:58 . [2023-11-28T18:59:14.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:56 .. [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 28 18:57 .dockerignore [2023-11-28T18:59:14.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:58 .git [2023-11-28T18:59:14.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:57 .github [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 28 18:57 .gitignore [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:57 .golangci.yml [2023-11-28T18:59:14.442Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:57 .semver [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 28 18:57 Attribution.txt [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 7171 Nov 28 18:57 CHANGELOG.md [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 1661 Nov 28 18:57 Dockerfile [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:57 GOVERNANCE.md [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 28 18:57 Jenkinsfile [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 18:57 LICENSE [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 28 18:57 Makefile [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 28 18:57 OWNERS.md [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 28 18:57 README.md [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:57 VERSION [2023-11-28T18:59:14.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:57 bin [2023-11-28T18:59:14.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:57 cmd [2023-11-28T18:59:14.442Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 28 18:58 coverage.out [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 3693 Nov 28 18:57 go.mod [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 35440 Nov 28 18:57 go.sum [2023-11-28T18:59:14.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:57 internal [2023-11-28T18:59:14.442Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 28 18:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:59:14.910Z] + 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=cfc7dc66777cc1ef39454feaa52c446892249d91 --label arch=amd64 --label version=0.0.0 . [2023-11-28T18:59:14.910Z] Sending build context to Docker daemon 27.02MB [2023-11-28T18:59:14.910Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:59:14.910Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T18:59:14.910Z] ---> 7fab6d6983b8 [2023-11-28T18:59:14.910Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:59:15.483Z] ---> Running in 34ecf9948346 [2023-11-28T18:59:15.483Z] Removing intermediate container 34ecf9948346 [2023-11-28T18:59:15.483Z] ---> 9c2be3985746 [2023-11-28T18:59:15.483Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:59:15.483Z] ---> Running in 8914db645484 [2023-11-28T18:59:15.483Z] Removing intermediate container 8914db645484 [2023-11-28T18:59:15.483Z] ---> 0bd4ead82ef6 [2023-11-28T18:59:15.483Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-28T18:59:15.483Z] ---> Running in 3192c3c82d3f [2023-11-28T18:59:15.741Z] Removing intermediate container 3192c3c82d3f [2023-11-28T18:59:15.741Z] ---> 3c7c6f4deb62 [2023-11-28T18:59:15.741Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:59:15.741Z] ---> Running in 0e7d8c76459f [2023-11-28T18:59:15.741Z] Removing intermediate container 0e7d8c76459f [2023-11-28T18:59:15.741Z] ---> b77e5c03e2f4 [2023-11-28T18:59:15.741Z] Step 7/26 : WORKDIR /device-gpio [2023-11-28T18:59:15.741Z] ---> Running in 7a7acb8df904 [2023-11-28T18:59:16.002Z] Removing intermediate container 7a7acb8df904 [2023-11-28T18:59:16.002Z] ---> 07db31fe8401 [2023-11-28T18:59:16.002Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:59:16.002Z] ---> Running in bbebebb4cb3d [2023-11-28T18:59:16.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:59:16.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:59:16.524Z] OK: 268 MiB in 56 packages [2023-11-28T18:59:16.784Z] Removing intermediate container bbebebb4cb3d [2023-11-28T18:59:16.784Z] ---> 427905cd21be [2023-11-28T18:59:16.784Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T18:59:17.045Z] ---> 4419cebc452f [2023-11-28T18:59:17.045Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:59:17.045Z] ---> Running in 014bc3739859 [2023-11-28T18:59:17.613Z] Removing intermediate container 014bc3739859 [2023-11-28T18:59:17.613Z] ---> f68a7c4f1c1b [2023-11-28T18:59:17.613Z] Step 11/26 : COPY . . [2023-11-28T18:59:19.368Z] ---> 90417e814937 [2023-11-28T18:59:19.369Z] Step 12/26 : RUN ${MAKE} [2023-11-28T18:59:19.369Z] ---> Running in 6ea8aecdb21a [2023-11-28T18:59:19.369Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-28T18:59:41.308Z] Removing intermediate container 6ea8aecdb21a [2023-11-28T18:59:41.308Z] ---> e3d6d7951389 [2023-11-28T18:59:41.308Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T18:59:41.308Z] 3.18: Pulling from library/alpine [2023-11-28T18:59:41.308Z] 96526aa774ef: Pulling fs layer [2023-11-28T18:59:41.308Z] 96526aa774ef: Verifying Checksum [2023-11-28T18:59:41.308Z] 96526aa774ef: Download complete [2023-11-28T18:59:41.308Z] 96526aa774ef: Pull complete [2023-11-28T18:59:41.308Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:59:41.308Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:59:41.308Z] ---> 8ca4688f4f35 [2023-11-28T18:59:41.308Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-28T18:59:41.308Z] ---> Running in 4fead6a4d49d [2023-11-28T18:59:41.308Z] Removing intermediate container 4fead6a4d49d [2023-11-28T18:59:41.308Z] ---> 3e55ff167956 [2023-11-28T18:59:41.308Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T18:59:41.308Z] ---> Running in 9900a3a7a4a7 [2023-11-28T18:59:41.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:59:41.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:59:41.308Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T18:59:41.308Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:59:41.308Z] OK: 7 MiB in 16 packages [2023-11-28T18:59:41.568Z] Removing intermediate container 9900a3a7a4a7 [2023-11-28T18:59:41.568Z] ---> ba79b592a9b4 [2023-11-28T18:59:41.568Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-28T18:59:41.568Z] ---> Running in 301b917ace6f [2023-11-28T18:59:41.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:59:42.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:59:42.089Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:59:42.348Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:59:42.348Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:59:42.348Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:59:42.348Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:59:42.348Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:59:42.348Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:59:42.348Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:59:42.348Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:59:42.348Z] OK: 7 MiB in 16 packages [2023-11-28T18:59:42.915Z] Removing intermediate container 301b917ace6f [2023-11-28T18:59:42.915Z] ---> 063c18e8f685 [2023-11-28T18:59:42.915Z] Step 17/26 : WORKDIR / [2023-11-28T18:59:43.173Z] ---> Running in 200b608f41f9 [2023-11-28T18:59:43.173Z] Removing intermediate container 200b608f41f9 [2023-11-28T18:59:43.173Z] ---> 60260becded5 [2023-11-28T18:59:43.173Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-28T18:59:43.433Z] ---> ba0adcd6bf7d [2023-11-28T18:59:43.433Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2023-11-28T18:59:43.433Z] ---> adb7cabd6dcf [2023-11-28T18:59:43.433Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2023-11-28T18:59:44.550Z] ---> f8486a3542ef [2023-11-28T18:59:44.550Z] Step 21/26 : EXPOSE 59910 [2023-11-28T18:59:44.550Z] ---> Running in 5570d6d36c42 [2023-11-28T18:59:44.550Z] Removing intermediate container 5570d6d36c42 [2023-11-28T18:59:44.550Z] ---> d0bcec2c57f5 [2023-11-28T18:59:44.550Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2023-11-28T18:59:44.550Z] ---> Running in 93254f4908e9 [2023-11-28T18:59:44.808Z] Removing intermediate container 93254f4908e9 [2023-11-28T18:59:44.808Z] ---> 94b8d0a07229 [2023-11-28T18:59:44.808Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T18:59:44.808Z] ---> Running in 42316feef7f8 [2023-11-28T18:59:44.808Z] Removing intermediate container 42316feef7f8 [2023-11-28T18:59:44.808Z] ---> 8f37e306b64f [2023-11-28T18:59:44.808Z] Step 24/26 : LABEL arch=amd64 [2023-11-28T18:59:44.808Z] ---> Running in 8377512cf06e [2023-11-28T18:59:45.066Z] Removing intermediate container 8377512cf06e [2023-11-28T18:59:45.066Z] ---> fc5d0c95a0ea [2023-11-28T18:59:45.066Z] Step 25/26 : LABEL git_sha=cfc7dc66777cc1ef39454feaa52c446892249d91 [2023-11-28T18:59:45.066Z] ---> Running in 961e9d8889e2 [2023-11-28T18:59:45.066Z] Removing intermediate container 961e9d8889e2 [2023-11-28T18:59:45.066Z] ---> ba0412518b36 [2023-11-28T18:59:45.066Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T18:59:45.066Z] ---> Running in 96b3a64eeb40 [2023-11-28T18:59:45.327Z] Removing intermediate container 96b3a64eeb40 [2023-11-28T18:59:45.327Z] ---> 4dd405459dcd [2023-11-28T18:59:45.327Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:59:45.327Z] Successfully built 4dd405459dcd [2023-11-28T18:59:45.327Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:59:46.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:59:46.557Z] [2023-11-28T18:59:46.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:59:46.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:59:46.969Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T18:59:46.969Z] 5eb5b503b376: Pulling fs layer [2023-11-28T18:59:46.969Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T18:59:46.969Z] ec43610c2a17: Pulling fs layer [2023-11-28T18:59:46.969Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T18:59:46.969Z] 33b1e0a273af: Pulling fs layer [2023-11-28T18:59:46.969Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T18:59:46.969Z] 2f39f015ded8: Pulling fs layer [2023-11-28T18:59:46.969Z] 3a2ae6a8a46f: Waiting [2023-11-28T18:59:46.969Z] 33b1e0a273af: Waiting [2023-11-28T18:59:46.969Z] 5d3b04190fa2: Waiting [2023-11-28T18:59:46.969Z] 2f39f015ded8: Waiting [2023-11-28T18:59:46.969Z] 5c69ac0246d0: Download complete [2023-11-28T18:59:46.969Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T18:59:46.969Z] 3a2ae6a8a46f: Download complete [2023-11-28T18:59:46.969Z] ec43610c2a17: Verifying Checksum [2023-11-28T18:59:46.969Z] ec43610c2a17: Download complete [2023-11-28T18:59:46.969Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T18:59:46.969Z] 5d3b04190fa2: Download complete [2023-11-28T18:59:46.969Z] 33b1e0a273af: Verifying Checksum [2023-11-28T18:59:46.969Z] 33b1e0a273af: Download complete [2023-11-28T18:59:47.226Z] 5eb5b503b376: Verifying Checksum [2023-11-28T18:59:47.226Z] 5eb5b503b376: Download complete [2023-11-28T18:59:47.795Z] 2f39f015ded8: Download complete [2023-11-28T18:59:48.363Z] 5eb5b503b376: Pull complete [2023-11-28T18:59:48.626Z] 5c69ac0246d0: Pull complete [2023-11-28T18:59:49.197Z] ec43610c2a17: Pull complete [2023-11-28T18:59:49.197Z] 3a2ae6a8a46f: Pull complete [2023-11-28T18:59:49.456Z] 33b1e0a273af: Pull complete [2023-11-28T18:59:49.456Z] 5d3b04190fa2: Pull complete [2023-11-28T18:59:53.648Z] 2f39f015ded8: Pull complete [2023-11-28T18:59:53.648Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T18:59:53.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:59:53.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:59:53.994Z] prd-ubuntu20.04-docker-8c-8g-1881 does not seem to be running inside a container [2023-11-28T18:59:54.037Z] $ 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-219 -v /w/workspace/edgexfoundry_device-gpio_PR-219:/w/workspace/edgexfoundry_device-gpio_PR-219:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-219@tmp:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T19:00:00.822Z] $ docker top f5520ef07957ab85714ca7e00252dd66f3aef8b81b73efa93d3373c27d22d5c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:00:01.326Z] ---> job-cost.sh [2023-11-28T19:00:01.326Z] lf-activate-venv: SKIPPING [2023-11-28T19:00:01.326Z] INFO: No Stack... [2023-11-28T19:00:01.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:00:01.846Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:00:02.157Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-219/archives/cost.csv [2023-11-28T19:00:02.157Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:00:02.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] [2023-11-28T19:00:02.203Z] Resource [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] did not exist. Created. [2023-11-28T19:00:02.203Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:00:02.663Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T19:00:02.712Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:00:02.785Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:00:02.969Z] $ docker stop --time=1 f5520ef07957ab85714ca7e00252dd66f3aef8b81b73efa93d3373c27d22d5c8 [2023-11-28T19:00:04.209Z] $ docker rm -f --volumes f5520ef07957ab85714ca7e00252dd66f3aef8b81b73efa93d3373c27d22d5c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T19:47:00.471Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4343 in /w/workspace/edgexfoundry_device-gpio_PR-219 [Pipeline] { [Pipeline] ws [2023-11-28T19:47:00.571Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-11-28T19:47:00.691Z] The recommended git tool is: git [2023-11-28T19:47:07.622Z] using credential edgex-jenkins-ssh [2023-11-28T19:47:07.652Z] Cloning the remote Git repository [2023-11-28T19:47:07.705Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-11-28T19:47:07.822Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-11-28T19:47:08.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-28T19:47:08.063Z] > git --version # timeout=10 [2023-11-28T19:47:08.103Z] > git --version # 'git version 2.25.1' [2023-11-28T19:47:08.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:47:08.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:47:11.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-28T19:47:11.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:47:14.933Z] Merging remotes/origin/main commit cacff4a2d422747bd6cf74591db2fe792ce5aaad into PR head commit cfc7dc66777cc1ef39454feaa52c446892249d91 [2023-11-28T19:47:15.257Z] Merge succeeded, producing cfc7dc66777cc1ef39454feaa52c446892249d91 [2023-11-28T19:47:15.257Z] Checking out Revision cfc7dc66777cc1ef39454feaa52c446892249d91 (PR-219) [2023-11-28T19:47:14.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-28T19:47:14.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-28T19:47:14.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:47:14.287Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T19:47:14.955Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:47:15.044Z] > git checkout -f cfc7dc66777cc1ef39454feaa52c446892249d91 # timeout=10 [2023-11-28T19:47:15.134Z] > git remote # timeout=10 [2023-11-28T19:47:15.164Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T19:47:15.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:47:15.197Z] > git merge cacff4a2d422747bd6cf74591db2fe792ce5aaad # timeout=10 [2023-11-28T19:47:15.230Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T19:47:15.265Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:47:15.287Z] > git checkout -f cfc7dc66777cc1ef39454feaa52c446892249d91 # timeout=10 [2023-11-28T19:47:19.114Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T19:47:19.187Z] > git --version # timeout=10 [2023-11-28T19:47:19.265Z] > git --version # 'git version 2.25.1' [2023-11-28T19:47:19.335Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:47:20.785Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T19:47:20.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:47:20.785Z] Dload Upload Total Spent Left Speed [2023-11-28T19:47:20.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93940 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] sh [2023-11-28T19:47:21.161Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T19:47:21.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T19:47:21.516Z] + sudo tee /etc/docker/daemon.new [2023-11-28T19:47:21.516Z] { [2023-11-28T19:47:21.516Z] "registry-mirrors": [ [2023-11-28T19:47:21.516Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T19:47:21.516Z] ], [2023-11-28T19:47:21.516Z] "bip": "10.250.0.254/24", [2023-11-28T19:47:21.516Z] "hosts": [ [2023-11-28T19:47:21.516Z] "tcp://0.0.0.0:5555", [2023-11-28T19:47:21.516Z] "unix:///var/run/docker.sock" [2023-11-28T19:47:21.516Z] ], [2023-11-28T19:47:21.516Z] "mtu": 1458, [2023-11-28T19:47:21.516Z] "selinux-enabled": true, [2023-11-28T19:47:21.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T19:47:21.516Z] } [Pipeline] sh [2023-11-28T19:47:21.893Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T19:47:22.279Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:47:40.875Z] provisioning config files... [2023-11-28T19:47:40.908Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5329208736224380980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:47:41.568Z] ---> ****-login.sh [2023-11-28T19:47:41.568Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:47:42.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:47:43.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:47:43.262Z] Configure a credential helper to remove this warning. See [2023-11-28T19:47:43.262Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:47:43.262Z] [2023-11-28T19:47:43.262Z] Login Succeeded [2023-11-28T19:47:43.262Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:47:43.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:47:43.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:47:43.802Z] Configure a credential helper to remove this warning. See [2023-11-28T19:47:43.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:47:43.802Z] [2023-11-28T19:47:43.802Z] Login Succeeded [2023-11-28T19:47:43.802Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:47:44.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:47:44.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:47:44.078Z] Configure a credential helper to remove this warning. See [2023-11-28T19:47:44.078Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:47:44.078Z] [2023-11-28T19:47:44.078Z] Login Succeeded [2023-11-28T19:47:44.078Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:47:44.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:47:44.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:47:44.347Z] Configure a credential helper to remove this warning. See [2023-11-28T19:47:44.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:47:44.347Z] [2023-11-28T19:47:44.347Z] Login Succeeded [2023-11-28T19:47:44.347Z] ****.io [2023-11-28T19:47:44.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:47:44.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:47:44.894Z] Configure a credential helper to remove this warning. See [2023-11-28T19:47:44.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:47:44.894Z] [2023-11-28T19:47:44.894Z] Login Succeeded [2023-11-28T19:47:44.894Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:47:44.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:47:45.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:47:45.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:47:45.650Z] ========================================================= [2023-11-28T19:47:45.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T19:47:45.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:47:46.294Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-28T19:47:46.563Z] Sending build context to Docker daemon 13.58MB [2023-11-28T19:47:46.839Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:47:46.839Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:47:46.839Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T19:47:46.839Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T19:47:46.839Z] 5d54e960e981: Pulling fs layer [2023-11-28T19:47:46.839Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T19:47:46.839Z] f0e02332f6b5: Pulling fs layer [2023-11-28T19:47:46.839Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T19:47:46.839Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T19:47:46.839Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T19:47:46.839Z] 872ee5b61b7b: Waiting [2023-11-28T19:47:46.839Z] 0c6a40ed1a82: Waiting [2023-11-28T19:47:46.839Z] f0e02332f6b5: Waiting [2023-11-28T19:47:46.839Z] 94ae7d8d031c: Waiting [2023-11-28T19:47:46.839Z] 5d54e960e981: Download complete [2023-11-28T19:47:46.839Z] f0e02332f6b5: Verifying Checksum [2023-11-28T19:47:46.839Z] f0e02332f6b5: Download complete [2023-11-28T19:47:47.108Z] 872ee5b61b7b: Download complete [2023-11-28T19:47:47.108Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T19:47:47.108Z] 9fda8d8052c6: Download complete [2023-11-28T19:47:47.701Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T19:47:47.701Z] 94ae7d8d031c: Download complete [2023-11-28T19:47:47.972Z] 9fda8d8052c6: Pull complete [2023-11-28T19:47:48.562Z] 5d54e960e981: Pull complete [2023-11-28T19:47:48.832Z] c4a7e357bf2a: Download complete [2023-11-28T19:47:49.796Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T19:47:49.796Z] 0c6a40ed1a82: Download complete [2023-11-28T19:48:04.840Z] c4a7e357bf2a: Pull complete [2023-11-28T19:48:04.840Z] f0e02332f6b5: Pull complete [2023-11-28T19:48:05.116Z] 872ee5b61b7b: Pull complete [2023-11-28T19:48:13.340Z] 0c6a40ed1a82: Pull complete [2023-11-28T19:48:15.286Z] 94ae7d8d031c: Pull complete [2023-11-28T19:48:15.286Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T19:48:15.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T19:48:15.286Z] ---> 86de565de09d [2023-11-28T19:48:15.286Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:48:16.245Z] ---> Running in d9111834119f [2023-11-28T19:48:16.245Z] Removing intermediate container d9111834119f [2023-11-28T19:48:16.245Z] ---> ba561b01e07f [2023-11-28T19:48:16.245Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:48:16.515Z] ---> Running in 27e95375c77b [2023-11-28T19:48:16.782Z] Removing intermediate container 27e95375c77b [2023-11-28T19:48:16.782Z] ---> 02e6edbf9d44 [2023-11-28T19:48:16.782Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-28T19:48:16.782Z] ---> Running in 65d13c1f5dc5 [2023-11-28T19:48:17.050Z] Removing intermediate container 65d13c1f5dc5 [2023-11-28T19:48:17.050Z] ---> e3ad8a510b95 [2023-11-28T19:48:17.050Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:48:17.050Z] ---> Running in b2432771fea9 [2023-11-28T19:48:17.316Z] Removing intermediate container b2432771fea9 [2023-11-28T19:48:17.316Z] ---> e6fe18d0e252 [2023-11-28T19:48:17.316Z] Step 7/12 : WORKDIR /device-gpio [2023-11-28T19:48:17.586Z] ---> Running in 6dd2a369cf3f [2023-11-28T19:48:17.857Z] Removing intermediate container 6dd2a369cf3f [2023-11-28T19:48:17.857Z] ---> e29adf5ea866 [2023-11-28T19:48:17.857Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:48:17.857Z] ---> Running in da4db1a1f3ad [2023-11-28T19:48:19.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:48:19.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:48:20.689Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:48:20.689Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T19:48:20.689Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:48:20.689Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:48:20.689Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:48:20.689Z] OK: 271 MiB in 56 packages [2023-11-28T19:48:21.662Z] Removing intermediate container da4db1a1f3ad [2023-11-28T19:48:21.662Z] ---> b77b9f328201 [2023-11-28T19:48:21.662Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T19:48:25.923Z] ---> 7199ac21142b [2023-11-28T19:48:25.923Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:48:25.923Z] ---> Running in 738ff678cd99 [2023-11-28T19:49:47.549Z] Removing intermediate container 738ff678cd99 [2023-11-28T19:49:47.549Z] ---> 08e440b525a3 [2023-11-28T19:49:47.549Z] Step 11/12 : COPY . . [2023-11-28T19:49:47.549Z] ---> bb0cae9318a0 [2023-11-28T19:49:47.549Z] Step 12/12 : RUN ${MAKE} [2023-11-28T19:49:47.549Z] ---> Running in 38d579e6c1f1 [2023-11-28T19:49:47.549Z] noop [2023-11-28T19:49:47.549Z] Removing intermediate container 38d579e6c1f1 [2023-11-28T19:49:47.549Z] ---> d50909493572 [2023-11-28T19:49:47.549Z] Successfully built d50909493572 [2023-11-28T19:49:47.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:49:48.175Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:49:48.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:49:48.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-4343 does not seem to be running inside a container [2023-11-28T19:49:48.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:49:51.209Z] $ docker top 98daf9e4ec422cd2bf19142cd0a3161d58c6096a1b94d21f35bfa07f8fec5e6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:49:52.193Z] + go version [2023-11-28T19:49:52.193Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T19:49:52.229Z] $ docker stop --time=1 98daf9e4ec422cd2bf19142cd0a3161d58c6096a1b94d21f35bfa07f8fec5e6c [2023-11-28T19:49:53.848Z] $ docker rm -f --volumes 98daf9e4ec422cd2bf19142cd0a3161d58c6096a1b94d21f35bfa07f8fec5e6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:49:55.045Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:49:55.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:49:55.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-4343 does not seem to be running inside a container [2023-11-28T19:49:55.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:49:56.560Z] $ docker top ef25447fdd0cf1444179b6ca90d25504b1d691028f698b0b0714f05c00521898 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:49:57.511Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:49:58.280Z] + make test [2023-11-28T19:49:58.280Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T19:50:02.545Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-28T19:51:39.200Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-28T19:51:39.200Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-28T19:51:39.200Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T19:51:39.200Z] go vet ./... [2023-11-28T19:51:47.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:51:47.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:51:47.398Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:51:47.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:51:47.508Z] $ docker stop --time=1 ef25447fdd0cf1444179b6ca90d25504b1d691028f698b0b0714f05c00521898 [2023-11-28T19:51:49.362Z] $ docker rm -f --volumes ef25447fdd0cf1444179b6ca90d25504b1d691028f698b0b0714f05c00521898 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:51:50.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:51:50.670Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T19:51:51.060Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:51:51.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:51:52.226Z] + ls -al . [2023-11-28T19:51:52.226Z] total 148 [2023-11-28T19:51:52.226Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 19:50 . [2023-11-28T19:51:52.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:47 .. [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 28 19:47 .dockerignore [2023-11-28T19:51:52.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:47 .git [2023-11-28T19:51:52.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:47 .github [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 28 19:47 .gitignore [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:47 .golangci.yml [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 28 19:47 Attribution.txt [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 7171 Nov 28 19:47 CHANGELOG.md [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 1661 Nov 28 19:47 Dockerfile [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:47 GOVERNANCE.md [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 28 19:47 Jenkinsfile [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:47 LICENSE [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 28 19:47 Makefile [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 28 19:47 OWNERS.md [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 28 19:47 README.md [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:57 VERSION [2023-11-28T19:51:52.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:47 bin [2023-11-28T19:51:52.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:47 cmd [2023-11-28T19:51:52.227Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 28 19:50 coverage.out [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 3693 Nov 28 19:47 go.mod [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 35440 Nov 28 19:47 go.sum [2023-11-28T19:51:52.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:47 internal [2023-11-28T19:51:52.227Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 28 19:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:51:52.718Z] + 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=cfc7dc66777cc1ef39454feaa52c446892249d91 --label arch=arm64 --label version=0.0.0 . [2023-11-28T19:51:53.304Z] Sending build context to Docker daemon 13.58MB [2023-11-28T19:51:53.304Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:51:53.304Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-28T19:51:53.304Z] ---> d50909493572 [2023-11-28T19:51:53.304Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:51:53.304Z] ---> Running in efa14e4155fd [2023-11-28T19:51:53.568Z] Removing intermediate container efa14e4155fd [2023-11-28T19:51:53.568Z] ---> 47dad8889ebd [2023-11-28T19:51:53.568Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:51:53.568Z] ---> Running in 0e90e7852160 [2023-11-28T19:51:54.153Z] Removing intermediate container 0e90e7852160 [2023-11-28T19:51:54.153Z] ---> 18f30576d580 [2023-11-28T19:51:54.153Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-28T19:51:54.153Z] ---> Running in 6deb06bf5ca3 [2023-11-28T19:51:54.432Z] Removing intermediate container 6deb06bf5ca3 [2023-11-28T19:51:54.432Z] ---> a1456f5323ac [2023-11-28T19:51:54.432Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:51:54.432Z] ---> Running in 84766f74e934 [2023-11-28T19:51:55.036Z] Removing intermediate container 84766f74e934 [2023-11-28T19:51:55.036Z] ---> 9880981576b4 [2023-11-28T19:51:55.036Z] Step 7/26 : WORKDIR /device-gpio [2023-11-28T19:51:55.036Z] ---> Running in 0344fa568d39 [2023-11-28T19:51:55.324Z] Removing intermediate container 0344fa568d39 [2023-11-28T19:51:55.324Z] ---> 1b15936fa1d6 [2023-11-28T19:51:55.324Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:51:55.324Z] ---> Running in 72fadb7e749c [2023-11-28T19:51:56.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:51:56.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:51:57.870Z] OK: 271 MiB in 56 packages [2023-11-28T19:51:58.835Z] Removing intermediate container 72fadb7e749c [2023-11-28T19:51:58.835Z] ---> 57fb7237c63a [2023-11-28T19:51:58.835Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-28T19:51:59.418Z] ---> f5a9f1f4280e [2023-11-28T19:51:59.418Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:51:59.418Z] ---> Running in ceb88315ef8b [2023-11-28T19:52:01.997Z] Removing intermediate container ceb88315ef8b [2023-11-28T19:52:01.997Z] ---> 7f6c460ac127 [2023-11-28T19:52:01.997Z] Step 11/26 : COPY . . [2023-11-28T19:52:02.952Z] ---> 96236a928012 [2023-11-28T19:52:02.952Z] Step 12/26 : RUN ${MAKE} [2023-11-28T19:52:02.952Z] ---> Running in 5c3e73c04d4c [2023-11-28T19:52:03.911Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-28T19:53:55.795Z] Removing intermediate container 5c3e73c04d4c [2023-11-28T19:53:55.795Z] ---> 40ae71a7eeb4 [2023-11-28T19:53:55.795Z] Step 13/26 : FROM alpine:3.18 [2023-11-28T19:53:55.795Z] 3.18: Pulling from library/alpine [2023-11-28T19:53:55.795Z] 579b34f0a95b: Pulling fs layer [2023-11-28T19:53:55.795Z] 579b34f0a95b: Verifying Checksum [2023-11-28T19:53:55.795Z] 579b34f0a95b: Download complete [2023-11-28T19:53:55.795Z] 579b34f0a95b: Pull complete [2023-11-28T19:53:55.795Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:53:55.795Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:53:55.795Z] ---> 3cc203321400 [2023-11-28T19:53:55.795Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-28T19:53:55.795Z] ---> Running in 5a160b3af5b9 [2023-11-28T19:53:55.795Z] Removing intermediate container 5a160b3af5b9 [2023-11-28T19:53:55.795Z] ---> 6316661934b6 [2023-11-28T19:53:55.795Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:53:55.795Z] ---> Running in e6d3d7eb2e0c [2023-11-28T19:53:55.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:53:55.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:53:55.795Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:53:55.795Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:53:55.795Z] OK: 8 MiB in 16 packages [2023-11-28T19:53:55.795Z] Removing intermediate container e6d3d7eb2e0c [2023-11-28T19:53:55.795Z] ---> 0e72f4e9f23f [2023-11-28T19:53:55.795Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-28T19:53:55.795Z] ---> Running in 0a6060c677cc [2023-11-28T19:53:56.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:53:56.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:53:57.501Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:53:57.501Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:53:57.501Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:53:57.771Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:53:57.771Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:53:57.771Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:53:57.771Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:53:57.771Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:53:57.771Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:53:57.771Z] OK: 8 MiB in 16 packages [2023-11-28T19:53:59.184Z] Removing intermediate container 0a6060c677cc [2023-11-28T19:53:59.184Z] ---> 97c41ffaff14 [2023-11-28T19:53:59.184Z] Step 17/26 : WORKDIR / [2023-11-28T19:53:59.184Z] ---> Running in e14b6e70be8c [2023-11-28T19:53:59.184Z] Removing intermediate container e14b6e70be8c [2023-11-28T19:53:59.184Z] ---> 9450d346725e [2023-11-28T19:53:59.184Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-28T19:53:59.766Z] ---> c27f38b328ef [2023-11-28T19:53:59.766Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2023-11-28T19:54:00.348Z] ---> 8b1cfa3f7722 [2023-11-28T19:54:00.348Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2023-11-28T19:54:01.752Z] ---> 574401d63c5c [2023-11-28T19:54:01.752Z] Step 21/26 : EXPOSE 59910 [2023-11-28T19:54:01.752Z] ---> Running in bbffd0655440 [2023-11-28T19:54:02.017Z] Removing intermediate container bbffd0655440 [2023-11-28T19:54:02.017Z] ---> 2f87e6f4d031 [2023-11-28T19:54:02.017Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2023-11-28T19:54:02.282Z] ---> Running in 5093eb8ae8a6 [2023-11-28T19:54:02.548Z] Removing intermediate container 5093eb8ae8a6 [2023-11-28T19:54:02.548Z] ---> bbfd571ec796 [2023-11-28T19:54:02.548Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T19:54:02.548Z] ---> Running in a07d3d834bc9 [2023-11-28T19:54:02.817Z] Removing intermediate container a07d3d834bc9 [2023-11-28T19:54:02.817Z] ---> 6d2c357abdd5 [2023-11-28T19:54:02.817Z] Step 24/26 : LABEL arch=arm64 [2023-11-28T19:54:02.817Z] ---> Running in 4564137dc4db [2023-11-28T19:54:03.084Z] Removing intermediate container 4564137dc4db [2023-11-28T19:54:03.084Z] ---> 08901da0f37c [2023-11-28T19:54:03.084Z] Step 25/26 : LABEL git_sha=cfc7dc66777cc1ef39454feaa52c446892249d91 [2023-11-28T19:54:03.084Z] ---> Running in d71793085d2f [2023-11-28T19:54:03.355Z] Removing intermediate container d71793085d2f [2023-11-28T19:54:03.355Z] ---> 03e530df8eff [2023-11-28T19:54:03.355Z] Step 26/26 : LABEL version=0.0.0 [2023-11-28T19:54:03.620Z] ---> Running in fa8f4ad343c9 [2023-11-28T19:54:03.885Z] Removing intermediate container fa8f4ad343c9 [2023-11-28T19:54:03.885Z] ---> f6f5093ffb2e [2023-11-28T19:54:03.885Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:54:03.885Z] Successfully built f6f5093ffb2e [2023-11-28T19:54:03.885Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:54:05.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:54:05.186Z] [2023-11-28T19:54:05.186Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:54:05.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:54:05.888Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T19:54:05.888Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T19:54:05.888Z] 04944245beec: Pulling fs layer [2023-11-28T19:54:05.888Z] 699f458cf7ca: Pulling fs layer [2023-11-28T19:54:05.888Z] 765212b225bb: Pulling fs layer [2023-11-28T19:54:05.888Z] f23df028b6ca: Pulling fs layer [2023-11-28T19:54:05.888Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T19:54:05.888Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T19:54:05.888Z] 765212b225bb: Waiting [2023-11-28T19:54:05.888Z] d65c8cfc05b1: Waiting [2023-11-28T19:54:05.888Z] 2437ff75d9bd: Waiting [2023-11-28T19:54:05.888Z] f23df028b6ca: Waiting [2023-11-28T19:54:05.888Z] 04944245beec: Verifying Checksum [2023-11-28T19:54:05.888Z] 04944245beec: Download complete [2023-11-28T19:54:05.888Z] 765212b225bb: Verifying Checksum [2023-11-28T19:54:05.888Z] 765212b225bb: Download complete [2023-11-28T19:54:05.888Z] f23df028b6ca: Download complete [2023-11-28T19:54:05.888Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T19:54:05.888Z] d65c8cfc05b1: Download complete [2023-11-28T19:54:06.155Z] 699f458cf7ca: Verifying Checksum [2023-11-28T19:54:06.156Z] 699f458cf7ca: Download complete [2023-11-28T19:54:06.421Z] 8998bd30e6a1: Download complete [2023-11-28T19:54:08.996Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T19:54:08.996Z] 2437ff75d9bd: Download complete [2023-11-28T19:54:10.938Z] 8998bd30e6a1: Pull complete [2023-11-28T19:54:11.211Z] 04944245beec: Pull complete [2023-11-28T19:54:12.623Z] 699f458cf7ca: Pull complete [2023-11-28T19:54:12.891Z] 765212b225bb: Pull complete [2023-11-28T19:54:13.846Z] f23df028b6ca: Pull complete [2023-11-28T19:54:13.846Z] d65c8cfc05b1: Pull complete [2023-11-28T19:54:32.039Z] 2437ff75d9bd: Pull complete [2023-11-28T19:54:32.039Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T19:54:32.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:54:32.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:54:32.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-4343 does not seem to be running inside a container [2023-11-28T19:54:32.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T19:54:35.232Z] $ docker top 7a610a9de2f5a5f431978fe6224d6acff26838affa0bc9c2e26356091749c03e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:36.210Z] ---> job-cost.sh [2023-11-28T19:54:36.210Z] lf-activate-venv: SKIPPING [2023-11-28T19:54:36.210Z] INFO: No Stack... [2023-11-28T19:54:36.477Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T19:54:37.432Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:54:37.769Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-11-28T19:54:37.769Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:54:38.104Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] [2023-11-28T19:54:38.109Z] Resource [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] did not exist. Created. [2023-11-28T19:54:38.109Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:54:38.609Z] /w/workspace/device-gpio/1@tmp/durable-9677afb1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T19:54:39.268Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T19:54:39.324Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T19:54:39.367Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:54:39.421Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:54:39.600Z] $ docker stop --time=1 7a610a9de2f5a5f431978fe6224d6acff26838affa0bc9c2e26356091749c03e [2023-11-28T19:54:41.094Z] $ docker rm -f --volumes 7a610a9de2f5a5f431978fe6224d6acff26838affa0bc9c2e26356091749c03e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-28T19:54:43.170Z] provisioning config files... [2023-11-28T19:54:43.178Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp/config11202539725868618055tmp [Pipeline] { [Pipeline] sh [2023-11-28T19:54:43.619Z] + set +x [2023-11-28T19:54:43.619Z] + + curl -s https://codecov.io/bashbash [2023-11-28T19:54:43.619Z] -s -- [2023-11-28T19:54:43.619Z] [2023-11-28T19:54:43.619Z] _____ _ [2023-11-28T19:54:43.619Z] / ____| | | [2023-11-28T19:54:43.619Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T19:54:43.619Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T19:54:43.619Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T19:54:43.619Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T19:54:43.619Z] Bash-1.0.6 [2023-11-28T19:54:43.619Z] [2023-11-28T19:54:43.619Z] [2023-11-28T19:54:43.619Z] ==> git version 2.25.1 found [2023-11-28T19:54:43.619Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-28T19:54:43.619Z] Release-Date: 2020-01-08 [2023-11-28T19:54:43.619Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-28T19:54:43.619Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T19:54:43.619Z] ==> Jenkins CI detected. [2023-11-28T19:54:43.619Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-219 [2023-11-28T19:54:43.619Z] project root: . [2023-11-28T19:54:43.619Z] --> token set from env [2023-11-28T19:54:43.620Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T19:54:43.620Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T19:54:43.620Z] ==> Python coveragepy not found [2023-11-28T19:54:43.620Z] ==> Searching for coverage reports in: [2023-11-28T19:54:43.620Z] + . [2023-11-28T19:54:43.879Z] -> Found 1 reports [2023-11-28T19:54:43.879Z] ==> Detecting git/mercurial file structure [2023-11-28T19:54:43.879Z] ==> Reading reports [2023-11-28T19:54:43.879Z] + ./coverage.out bytes=10 [2023-11-28T19:54:43.879Z] ==> Appending adjustments [2023-11-28T19:54:43.879Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T19:54:43.879Z] + Found adjustments [2023-11-28T19:54:43.879Z] ==> Gzipping contents [2023-11-28T19:54:43.879Z] 4.0K /tmp/codecov.phMvVc.gz [2023-11-28T19:54:43.879Z] ==> Uploading reports [2023-11-28T19:54:43.879Z] url: https://codecov.io [2023-11-28T19:54:43.879Z] query: branch=PR-219&commit=cfc7dc66777cc1ef39454feaa52c446892249d91&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=219&job=&cmd_args= [2023-11-28T19:54:43.879Z] -> Pinging Codecov [2023-11-28T19:54:43.879Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-219&commit=cfc7dc66777cc1ef39454feaa52c446892249d91&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=219&job=&cmd_args= [2023-11-28T19:54:44.139Z] -> Uploading to [2023-11-28T19:54:44.139Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/cfc7dc66777cc1ef39454feaa52c446892249d91/9c50e7a2-4597-4c88-8b72-2f69bb1ebc36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T195443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54fbb800feb57b1bec16820ea35c999ffe60b0ef41fe90818e531e4c68a2a78e [2023-11-28T19:54:44.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:54:44.139Z] Dload Upload Total Spent Left Speed [2023-11-28T19:54:44.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2288 --:--:-- --:--:-- --:--:-- 2288 [2023-11-28T19:54:44.399Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/cfc7dc66777cc1ef39454feaa52c446892249d91 [Pipeline] } [2023-11-28T19:54:44.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-28T19:54:47.748Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-219/archives ] [2023-11-28T19:54:47.748Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-219/archives [2023-11-28T19:54:47.748Z] total 16 [2023-11-28T19:54:47.748Z] drwxr-xr-x 3 root root 4096 Nov 28 19:00 . [2023-11-28T19:54:47.748Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:00 .. [2023-11-28T19:54:47.748Z] drwxr-xr-x 2 root root 4096 Nov 28 19:00 cost [2023-11-28T19:54:47.748Z] -rw-r--r-- 1 root root 83 Nov 28 19:00 cost.csv [2023-11-28T19:54:47.748Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-219/archives [2023-11-28T19:54:47.748Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-219/archives [2023-11-28T19:54:47.748Z] total 16 [2023-11-28T19:54:47.748Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:00 . [2023-11-28T19:54:47.748Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:00 .. [2023-11-28T19:54:47.748Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 19:00 cost [2023-11-28T19:54:47.748Z] -rw-r--r-- 1 jenkins jenkins 83 Nov 28 19:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:48.079Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:48.969Z] ---> package-listing.sh [2023-11-28T19:54:48.969Z] ++ facter osfamily [2023-11-28T19:54:48.969Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T19:54:49.228Z] + OS_FAMILY=debian [2023-11-28T19:54:49.228Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-219 [2023-11-28T19:54:49.228Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T19:54:49.228Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T19:54:49.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T19:54:49.228Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T19:54:49.228Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-219 ']' [2023-11-28T19:54:49.228Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T19:54:49.228Z] + case "${OS_FAMILY}" in [2023-11-28T19:54:49.228Z] + dpkg -l [2023-11-28T19:54:49.228Z] + grep '^ii' [2023-11-28T19:54:49.228Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T19:54:49.228Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T19:54:49.228Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T19:54:49.228Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-219 ']' [2023-11-28T19:54:49.228Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-219/archives/ [2023-11-28T19:54:49.228Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-219/archives/ [Pipeline] echo [2023-11-28T19:54:49.264Z] 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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T19:54:49.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:54:50.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:54:50.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:54:50.520Z] prd-ubuntu20.04-docker-8c-8g-1881 does not seem to be running inside a container [2023-11-28T19:54:50.546Z] $ 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-219/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-219 -v /w/workspace/edgexfoundry_device-gpio_PR-219:/w/workspace/edgexfoundry_device-gpio_PR-219:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-219@tmp:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T19:54:50.735Z] $ docker top 84fe9b1adc10c21db6fb8c0b89365b2d85cb2ff0a17611704552b1cb1c23e180 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:54:51.227Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T19:54:51.539Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T19:54:51.851Z] + ls /var/log/sa-host [2023-11-28T19:54:51.851Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:54:52.045Z] provisioning config files... [2023-11-28T19:54:52.053Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-219@tmp/config1813143762982184465tmp [Pipeline] { [Pipeline] echo [2023-11-28T19:54:52.215Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:52.532Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T19:54:52.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:53.047Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T19:54:53.080Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:53.395Z] ---> sudo-logs.sh [2023-11-28T19:54:53.395Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T19:54:53.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:53.841Z] ---> job-cost.sh [2023-11-28T19:54:53.841Z] lf-activate-venv: SKIPPING [2023-11-28T19:54:53.841Z] DEBUG: total: 0.2199999988079071 [2023-11-28T19:54:53.841Z] INFO: Retrieving Stack Cost... [2023-11-28T19:54:54.099Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:54:54.667Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T19:54:54.704Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:54:55.061Z] ---> logs-deploy.sh [2023-11-28T19:54:55.061Z] lf-activate-venv: SKIPPING [2023-11-28T19:54:55.061Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-219/1 [2023-11-28T19:54:55.061Z] INFO: archiving workspace using pattern(s): [2023-11-28T19:54:56.044Z] Archives upload complete. [2023-11-28T19:54:56.044Z] INFO: archiving logs to Nexus [2023-11-28T19:54:56.661Z] ---> uname -a: [2023-11-28T19:54:56.661Z] Linux prd-ubuntu20-04-docker-8c-8g-1881 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-28T19:54:56.661Z] [2023-11-28T19:54:56.661Z]