Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40e947a709d50bd7f8efbbb4adaff282e4b864bd+f3c8a999d00a9f0c6dac2773c41abd43344389a2 (921deff792f0932955047a9706d1ca4aed0695b8) 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-ssh13133666366071959622.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-ssh9550794497234023582.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-234/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-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3899013218865748824.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-234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13171361158253973472.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-ssh7641014235993620603.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-234/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-234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7330772231895148.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-502 in /w/workspace/edgexfoundry_device-gpio_PR-234 [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-234 # 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 > 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/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f3c8a999d00a9f0c6dac2773c41abd43344389a2 into PR head commit 40e947a709d50bd7f8efbbb4adaff282e4b864bd Merge succeeded, producing 40e947a709d50bd7f8efbbb4adaff282e4b864bd Checking out Revision 40e947a709d50bd7f8efbbb4adaff282e4b864bd (PR-234) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # 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 f3c8a999d00a9f0c6dac2773c41abd43344389a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-21T00:54:46.844Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-21T00:54:47.059Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-21T00:54:47.166Z] ========================================================= [2024-03-21T00:54:47.166Z] EdgeX Global Pipelines Version Info [2024-03-21T00:54:47.166Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-21T00:54:47.926Z] ------------------- [2024-03-21T00:54:47.926Z] stable info: [2024-03-21T00:54:47.926Z] ------------------- [2024-03-21T00:54:47.926Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-21T00:54:47.926Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T00:54:47.926Z] Message: update stable to v1.0.258 [2024-03-21T00:54:48.497Z] ------------------- [2024-03-21T00:54:48.497Z] experimental info: [2024-03-21T00:54:48.497Z] ------------------- [2024-03-21T00:54:48.497Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-21T00:54:48.497Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T00:54:48.497Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-21T00:54:48.712Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2024-03-21T00:54:48.764Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2024-03-21T00:54:48.815Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-21T00:54:48.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-21T00:54:48.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-21T00:54:48.972Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-21T00:54:49.024Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-21T00:54:49.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-21T00:54:49.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-21T00:54:49.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-21T00:54:49.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-21T00:54:49.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2024-03-21T00:54:49.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-21T00:54:49.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-21T00:54:49.437Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T00:54:49.494Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T00:54:49.552Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T00:54:49.612Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T00:54:49.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-21T00:54:49.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-21T00:54:49.766Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-21T00:54:49.832Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-21T00:54:49.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-21T00:54:49.944Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-21T00:54:49.997Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-21T00:54:50.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-21T00:54:50.109Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-21T00:54:50.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo [2024-03-21T00:54:50.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo [2024-03-21T00:54:50.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo [2024-03-21T00:54:50.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo [2024-03-21T00:54:50.375Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40e947a [Pipeline] echo [2024-03-21T00:54:50.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T00:54:50.576Z] provisioning config files... [2024-03-21T00:54:50.603Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config6071290091244271700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T00:54:50.983Z] ---> ****-login.sh [2024-03-21T00:54:50.983Z] nexus3.edgexfoundry.org:10001 [2024-03-21T00:54:50.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:54:51.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:54:51.244Z] Configure a credential helper to remove this warning. See [2024-03-21T00:54:51.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:54:51.244Z] [2024-03-21T00:54:51.244Z] Login Succeeded [2024-03-21T00:54:51.244Z] nexus3.edgexfoundry.org:10002 [2024-03-21T00:54:51.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:54:51.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:54:51.504Z] Configure a credential helper to remove this warning. See [2024-03-21T00:54:51.504Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:54:51.504Z] [2024-03-21T00:54:51.504Z] Login Succeeded [2024-03-21T00:54:51.504Z] nexus3.edgexfoundry.org:10003 [2024-03-21T00:54:51.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:54:51.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:54:51.504Z] Configure a credential helper to remove this warning. See [2024-03-21T00:54:51.505Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:54:51.505Z] [2024-03-21T00:54:51.505Z] Login Succeeded [2024-03-21T00:54:51.505Z] nexus3.edgexfoundry.org:10004 [2024-03-21T00:54:51.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:54:51.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:54:51.766Z] Configure a credential helper to remove this warning. See [2024-03-21T00:54:51.766Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:54:51.766Z] [2024-03-21T00:54:51.766Z] Login Succeeded [2024-03-21T00:54:51.766Z] ****.io [2024-03-21T00:54:51.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:54:52.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:54:52.027Z] Configure a credential helper to remove this warning. See [2024-03-21T00:54:52.027Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:54:52.027Z] [2024-03-21T00:54:52.027Z] Login Succeeded [2024-03-21T00:54:52.027Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T00:54:52.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-21T00:54:52.739Z] + git rev-list -1 --merges 40e947a709d50bd7f8efbbb4adaff282e4b864bd~1..40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo [2024-03-21T00:54:52.785Z] -----------> git rev-list -1 --merges 40e947a709d50bd7f8efbbb4adaff282e4b864bd~1..40e947a709d50bd7f8efbbb4adaff282e4b864bd 40e947a709d50bd7f8efbbb4adaff282e4b864bd [false] [Pipeline] sh [2024-03-21T00:54:53.118Z] + git log --format=format:%s -1 40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo [2024-03-21T00:54:53.159Z] ========================================================= [2024-03-21T00:54:53.159Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-21T00:54:53.159Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T00:54:53.630Z] + git log --format=format:%s -1 40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] echo [2024-03-21T00:54:53.672Z] [semverPrep] GIT_COMMIT: 40e947a709d50bd7f8efbbb4adaff282e4b864bd, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-21T00:54:53.710Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-21T00:54:54.129Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T00:54:54.129Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-21T00:54:54.129Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-21T00:54:54.129Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-21T00:54:54.129Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-21T00:54:54.129Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-21T00:54:54.129Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:54:54.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T00:54:54.638Z] [2024-03-21T00:54:54.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:54:55.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T00:54:55.015Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-21T00:54:55.015Z] b85a868b505f: Pulling fs layer [2024-03-21T00:54:55.015Z] e2be974225ed: Pulling fs layer [2024-03-21T00:54:55.015Z] 339a4e72a1f5: Pulling fs layer [2024-03-21T00:54:55.015Z] 988bab9f4d93: Pulling fs layer [2024-03-21T00:54:55.015Z] 1469e6f7b9e6: Pulling fs layer [2024-03-21T00:54:55.015Z] eaf3925da568: Pulling fs layer [2024-03-21T00:54:55.015Z] bab4dde63d76: Pulling fs layer [2024-03-21T00:54:55.015Z] bde34c3a00c8: Pulling fs layer [2024-03-21T00:54:55.015Z] b352a97aabf1: Pulling fs layer [2024-03-21T00:54:55.015Z] 4872d77fe225: Pulling fs layer [2024-03-21T00:54:55.015Z] 5851b861e8e6: Pulling fs layer [2024-03-21T00:54:55.015Z] 988bab9f4d93: Waiting [2024-03-21T00:54:55.015Z] 1469e6f7b9e6: Waiting [2024-03-21T00:54:55.015Z] bde34c3a00c8: Waiting [2024-03-21T00:54:55.015Z] eaf3925da568: Waiting [2024-03-21T00:54:55.015Z] b352a97aabf1: Waiting [2024-03-21T00:54:55.015Z] bab4dde63d76: Waiting [2024-03-21T00:54:55.015Z] 4872d77fe225: Waiting [2024-03-21T00:54:55.015Z] e2be974225ed: Download complete [2024-03-21T00:54:55.015Z] 988bab9f4d93: Verifying Checksum [2024-03-21T00:54:55.015Z] 988bab9f4d93: Download complete [2024-03-21T00:54:55.015Z] 339a4e72a1f5: Verifying Checksum [2024-03-21T00:54:55.015Z] 339a4e72a1f5: Download complete [2024-03-21T00:54:55.015Z] 1469e6f7b9e6: Verifying Checksum [2024-03-21T00:54:55.015Z] 1469e6f7b9e6: Download complete [2024-03-21T00:54:55.280Z] eaf3925da568: Verifying Checksum [2024-03-21T00:54:55.280Z] eaf3925da568: Download complete [2024-03-21T00:54:55.280Z] bde34c3a00c8: Verifying Checksum [2024-03-21T00:54:55.280Z] bde34c3a00c8: Download complete [2024-03-21T00:54:55.280Z] b352a97aabf1: Download complete [2024-03-21T00:54:55.280Z] 4872d77fe225: Verifying Checksum [2024-03-21T00:54:55.280Z] 4872d77fe225: Download complete [2024-03-21T00:54:55.280Z] 5851b861e8e6: Verifying Checksum [2024-03-21T00:54:55.280Z] 5851b861e8e6: Download complete [2024-03-21T00:54:55.280Z] b85a868b505f: Verifying Checksum [2024-03-21T00:54:55.280Z] b85a868b505f: Download complete [2024-03-21T00:54:55.540Z] bab4dde63d76: Verifying Checksum [2024-03-21T00:54:55.540Z] bab4dde63d76: Download complete [2024-03-21T00:54:56.477Z] b85a868b505f: Pull complete [2024-03-21T00:54:56.742Z] e2be974225ed: Pull complete [2024-03-21T00:54:57.314Z] 339a4e72a1f5: Pull complete [2024-03-21T00:54:57.314Z] 988bab9f4d93: Pull complete [2024-03-21T00:54:57.574Z] 1469e6f7b9e6: Pull complete [2024-03-21T00:54:57.574Z] eaf3925da568: Pull complete [2024-03-21T00:54:59.479Z] bab4dde63d76: Pull complete [2024-03-21T00:54:59.479Z] bde34c3a00c8: Pull complete [2024-03-21T00:54:59.739Z] b352a97aabf1: Pull complete [2024-03-21T00:54:59.739Z] 4872d77fe225: Pull complete [2024-03-21T00:54:59.739Z] 5851b861e8e6: Pull complete [2024-03-21T00:55:00.000Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-21T00:55:00.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T00:55:00.000Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T00:55:00.294Z] prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container [2024-03-21T00:55:00.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-21T00:55:03.144Z] $ docker top 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 -eo pid,comm [2024-03-21T00:55:03.209Z] 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). [2024-03-21T00:55:03.209Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T00:55:03.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T00:55:03.352Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T00:55:03.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T00:55:03.467Z] $ docker exec 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent [2024-03-21T00:55:03.581Z] SSH_AUTH_SOCK=/tmp/ssh-ztE8iB1RfgsX/agent.32 [2024-03-21T00:55:03.581Z] SSH_AGENT_PID=38 [2024-03-21T00:55:03.589Z] Running ssh-add (command line suppressed) [2024-03-21T00:55:03.689Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6982777943761817741.key (/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6982777943761817741.key) [2024-03-21T00:55:03.710Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T00:55:04.047Z] + git tag --points-at HEAD [Pipeline] } [2024-03-21T00:55:04.065Z] $ docker exec --env ******** --env ******** 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent -k [2024-03-21T00:55:04.156Z] unset SSH_AUTH_SOCK; [2024-03-21T00:55:04.157Z] unset SSH_AGENT_PID; [2024-03-21T00:55:04.157Z] echo Agent pid 38 killed; [2024-03-21T00:55:04.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-21T00:55:04.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T00:55:04.273Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T00:55:04.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T00:55:04.386Z] $ docker exec 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent [2024-03-21T00:55:04.501Z] SSH_AUTH_SOCK=/tmp/ssh-x29I3QTNVq2O/agent.72 [2024-03-21T00:55:04.501Z] SSH_AGENT_PID=78 [2024-03-21T00:55:04.505Z] Running ssh-add (command line suppressed) [2024-03-21T00:55:04.592Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6299119865202031714.key (/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/private_key_6299119865202031714.key) [2024-03-21T00:55:04.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T00:55:04.950Z] + git semver init [2024-03-21T00:55:05.209Z] 2024-03-21 00:55:05,126 [run_init] DEBUG init version:0.0.0 force:False [2024-03-21T00:55:05.209Z] 2024-03-21 00:55:05,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-234/.semver [2024-03-21T00:55:05.209Z] 2024-03-21 00:55:05,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-234/.semver [2024-03-21T00:55:05.209Z] 2024-03-21 00:55:05,127 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-234/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-234, universal_newlines=False, shell=None, istream=None) [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,322 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-234/.git/info/exclude [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,323 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-234/.semver/PR-234 with force:False [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,323 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-234/.semver/PR-234 [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,327 [execute] INFO git cat-file --batch-check [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-234/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,334 [execute] INFO git cat-file --batch [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-234/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T00:55:06.586Z] 2024-03-21 00:55:06,339 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-234/.semver/PR-234 [2024-03-21T00:55:06.586Z] 0.0.0 [Pipeline] } [2024-03-21T00:55:06.607Z] $ docker exec --env ******** --env ******** 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 ssh-agent -k [2024-03-21T00:55:06.715Z] unset SSH_AUTH_SOCK; [2024-03-21T00:55:06.715Z] unset SSH_AGENT_PID; [2024-03-21T00:55:06.715Z] echo Agent pid 78 killed; [2024-03-21T00:55:06.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T00:55:07.181Z] + git semver [Pipeline] } [2024-03-21T00:55:07.457Z] $ docker stop --time=1 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 [2024-03-21T00:55:08.747Z] $ docker rm -f --volumes 3f386536e04adb2892c6d46856494cad0efacd553ef0f6f5fa7047df689e43d2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T00:55:09.161Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-21T00:55:09.433Z] Stashed 1 file(s) [Pipeline] echo [2024-03-21T00:55:09.450Z] [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 [2024-03-21T00:55:10.114Z] provisioning config files... [2024-03-21T00:55:10.124Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config4091548517071941507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T00:55:10.479Z] ---> ****-login.sh [2024-03-21T00:55:10.480Z] nexus3.edgexfoundry.org:10001 [2024-03-21T00:55:10.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:55:10.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:55:10.480Z] Configure a credential helper to remove this warning. See [2024-03-21T00:55:10.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:55:10.480Z] [2024-03-21T00:55:10.480Z] Login Succeeded [2024-03-21T00:55:10.480Z] nexus3.edgexfoundry.org:10002 [2024-03-21T00:55:10.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:55:10.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:55:10.480Z] Configure a credential helper to remove this warning. See [2024-03-21T00:55:10.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:55:10.480Z] [2024-03-21T00:55:10.480Z] Login Succeeded [2024-03-21T00:55:10.480Z] nexus3.edgexfoundry.org:10003 [2024-03-21T00:55:10.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:55:10.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:55:10.740Z] Configure a credential helper to remove this warning. See [2024-03-21T00:55:10.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:55:10.740Z] [2024-03-21T00:55:10.740Z] Login Succeeded [2024-03-21T00:55:10.740Z] nexus3.edgexfoundry.org:10004 [2024-03-21T00:55:10.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:55:10.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:55:10.740Z] Configure a credential helper to remove this warning. See [2024-03-21T00:55:10.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:55:10.740Z] [2024-03-21T00:55:10.740Z] Login Succeeded [2024-03-21T00:55:10.740Z] ****.io [2024-03-21T00:55:10.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:55:10.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:55:10.998Z] Configure a credential helper to remove this warning. See [2024-03-21T00:55:10.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:55:10.998Z] [2024-03-21T00:55:10.998Z] Login Succeeded [2024-03-21T00:55:10.998Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T00:55:11.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T00:55:11.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T00:55:11.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T00:55:11.311Z] ========================================================= [2024-03-21T00:55:11.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-21T00:55:11.311Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:55:11.784Z] + 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 . [2024-03-21T00:55:11.784Z] Sending build context to Docker daemon 24.64MB [2024-03-21T00:55:11.784Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T00:55:11.784Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T00:55:12.046Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-21T00:55:12.046Z] 7264a8db6415: Pulling fs layer [2024-03-21T00:55:12.046Z] c4d48a809fc2: Pulling fs layer [2024-03-21T00:55:12.046Z] 4f1c88b9dad5: Pulling fs layer [2024-03-21T00:55:12.046Z] ad3a456e5733: Pulling fs layer [2024-03-21T00:55:12.046Z] 69c7f0334f64: Pulling fs layer [2024-03-21T00:55:12.046Z] 1f1c1a5573a3: Pulling fs layer [2024-03-21T00:55:12.046Z] ce7588e14bc9: Pulling fs layer [2024-03-21T00:55:12.046Z] b5e4710f87ac: Pulling fs layer [2024-03-21T00:55:12.046Z] 69c7f0334f64: Waiting [2024-03-21T00:55:12.046Z] ad3a456e5733: Waiting [2024-03-21T00:55:12.046Z] ce7588e14bc9: Waiting [2024-03-21T00:55:12.046Z] b5e4710f87ac: Waiting [2024-03-21T00:55:12.046Z] 1f1c1a5573a3: Waiting [2024-03-21T00:55:12.046Z] c4d48a809fc2: Verifying Checksum [2024-03-21T00:55:12.046Z] c4d48a809fc2: Download complete [2024-03-21T00:55:12.046Z] ad3a456e5733: Verifying Checksum [2024-03-21T00:55:12.046Z] ad3a456e5733: Download complete [2024-03-21T00:55:12.046Z] 69c7f0334f64: Verifying Checksum [2024-03-21T00:55:12.046Z] 69c7f0334f64: Download complete [2024-03-21T00:55:12.046Z] 7264a8db6415: Verifying Checksum [2024-03-21T00:55:12.046Z] 7264a8db6415: Download complete [2024-03-21T00:55:12.046Z] 1f1c1a5573a3: Verifying Checksum [2024-03-21T00:55:12.046Z] 1f1c1a5573a3: Download complete [2024-03-21T00:55:12.306Z] 7264a8db6415: Pull complete [2024-03-21T00:55:12.306Z] b5e4710f87ac: Verifying Checksum [2024-03-21T00:55:12.306Z] b5e4710f87ac: Download complete [2024-03-21T00:55:12.306Z] c4d48a809fc2: Pull complete [2024-03-21T00:55:12.564Z] 4f1c88b9dad5: Verifying Checksum [2024-03-21T00:55:12.564Z] 4f1c88b9dad5: Download complete [2024-03-21T00:55:12.822Z] ce7588e14bc9: Verifying Checksum [2024-03-21T00:55:12.822Z] ce7588e14bc9: Download complete [2024-03-21T00:55:16.104Z] 4f1c88b9dad5: Pull complete [2024-03-21T00:55:16.104Z] ad3a456e5733: Pull complete [2024-03-21T00:55:16.104Z] 69c7f0334f64: Pull complete [2024-03-21T00:55:16.104Z] 1f1c1a5573a3: Pull complete [2024-03-21T00:55:18.004Z] ce7588e14bc9: Pull complete [2024-03-21T00:55:18.571Z] b5e4710f87ac: Pull complete [2024-03-21T00:55:18.571Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-21T00:55:18.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-21T00:55:18.571Z] ---> 88b5674ff536 [2024-03-21T00:55:18.571Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T00:55:22.872Z] ---> Running in 7d4e15913e29 [2024-03-21T00:55:22.872Z] Removing intermediate container 7d4e15913e29 [2024-03-21T00:55:22.872Z] ---> 39c25a29e05a [2024-03-21T00:55:22.872Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T00:55:22.872Z] ---> Running in c3cd7fe41927 [2024-03-21T00:55:22.872Z] Removing intermediate container c3cd7fe41927 [2024-03-21T00:55:22.872Z] ---> 6f59c78fd443 [2024-03-21T00:55:22.872Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-21T00:55:22.872Z] ---> Running in 396d1739d161 [2024-03-21T00:55:22.872Z] Removing intermediate container 396d1739d161 [2024-03-21T00:55:22.872Z] ---> ec99a0d336bb [2024-03-21T00:55:22.872Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T00:55:22.872Z] ---> Running in 3636fddf6166 [2024-03-21T00:55:22.872Z] Removing intermediate container 3636fddf6166 [2024-03-21T00:55:22.872Z] ---> 49db34366d05 [2024-03-21T00:55:22.872Z] Step 7/12 : WORKDIR /device-gpio [2024-03-21T00:55:22.872Z] ---> Running in fe41441af2e2 [2024-03-21T00:55:22.872Z] Removing intermediate container fe41441af2e2 [2024-03-21T00:55:22.872Z] ---> 7ea37293e649 [2024-03-21T00:55:22.872Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T00:55:22.872Z] ---> Running in 97213c168e55 [2024-03-21T00:55:22.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T00:55:23.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T00:55:23.388Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T00:55:23.388Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T00:55:23.388Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T00:55:23.388Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T00:55:23.388Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T00:55:23.388Z] OK: 268 MiB in 56 packages [2024-03-21T00:55:23.979Z] Removing intermediate container 97213c168e55 [2024-03-21T00:55:23.979Z] ---> bd549b269b2d [2024-03-21T00:55:23.979Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-21T00:55:23.979Z] ---> 2752bf51f7cd [2024-03-21T00:55:23.979Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T00:55:23.979Z] ---> Running in 43ffe8f1f45c [2024-03-21T00:55:24.920Z] Still waiting to schedule task [2024-03-21T00:55:24.920Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-501’ [2024-03-21T00:56:31.681Z] Removing intermediate container 43ffe8f1f45c [2024-03-21T00:56:31.681Z] ---> 02fffc053637 [2024-03-21T00:56:31.681Z] Step 11/12 : COPY . . [2024-03-21T00:56:31.681Z] ---> 9f734225e65e [2024-03-21T00:56:31.681Z] Step 12/12 : RUN ${MAKE} [2024-03-21T00:56:31.681Z] ---> Running in e2d5f382a788 [2024-03-21T00:56:31.681Z] noop [2024-03-21T00:56:31.940Z] Removing intermediate container e2d5f382a788 [2024-03-21T00:56:31.940Z] ---> e1a79a25ba67 [2024-03-21T00:56:31.940Z] Successfully built e1a79a25ba67 [2024-03-21T00:56:31.940Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:56:32.403Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T00:56:32.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T00:56:32.578Z] prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container [2024-03-21T00:56:32.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-21T00:56:32.930Z] $ docker top 2aa7acccc4810ce56f45a2df5974a5d0537375ac42b0ae96426c04c34f2df752 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T00:56:33.340Z] + go version [2024-03-21T00:56:33.340Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-21T00:56:33.363Z] $ docker stop --time=1 2aa7acccc4810ce56f45a2df5974a5d0537375ac42b0ae96426c04c34f2df752 [2024-03-21T00:56:34.624Z] $ docker rm -f --volumes 2aa7acccc4810ce56f45a2df5974a5d0537375ac42b0ae96426c04c34f2df752 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:56:35.391Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T00:56:35.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T00:56:35.544Z] prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container [2024-03-21T00:56:35.558Z] $ 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-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-21T00:56:35.877Z] $ docker top ca6e29c014cf906583093ac1f0a2f5fd2ab01e7de17a2cb040cfa2602800a488 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T00:56:36.303Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-234 [Pipeline] fileExists [Pipeline] sh [2024-03-21T00:56:36.665Z] + make test [2024-03-21T00:56:36.665Z] go test ./... -coverprofile=coverage.out ./... [2024-03-21T00:56:38.051Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-03-21T00:56:56.120Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-03-21T00:56:56.120Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-03-21T00:57:04.224Z] go vet ./... [2024-03-21T00:57:09.488Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T00:57:09.488Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T00:57:09.488Z] ./bin/test-attribution-txt.sh [2024-03-21T00:57:09.488Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T00:57:09.488Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T00:57:09.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T00:57:09.557Z] $ docker stop --time=1 ca6e29c014cf906583093ac1f0a2f5fd2ab01e7de17a2cb040cfa2602800a488 [2024-03-21T00:57:13.689Z] $ docker rm -f --volumes ca6e29c014cf906583093ac1f0a2f5fd2ab01e7de17a2cb040cfa2602800a488 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T00:57:14.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T00:57:14.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-21T00:57:16.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T00:57:16.487Z] + ls -al . [2024-03-21T00:57:16.487Z] total 220 [2024-03-21T00:57:16.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 00:56 . [2024-03-21T00:57:16.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 00:54 .. [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 21 00:54 .dockerignore [2024-03-21T00:57:16.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 00:56 .git [2024-03-21T00:57:16.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:54 .github [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 277 Mar 21 00:54 .gitignore [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 00:54 .golangci.yml [2024-03-21T00:57:16.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 00:55 .semver [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 10671 Mar 21 00:54 Attribution.txt [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 7171 Mar 21 00:54 CHANGELOG.md [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 21 00:54 Dockerfile [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 00:54 GOVERNANCE.md [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 00:54 Jenkinsfile [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 00:54 LICENSE [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 1923 Mar 21 00:54 Makefile [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 00:54 OWNERS.md [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 21 00:54 README.md [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 00:55 VERSION [2024-03-21T00:57:16.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 00:54 bin [2024-03-21T00:57:16.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:54 cmd [2024-03-21T00:57:16.487Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 21 00:56 coverage.out [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 7045 Mar 21 00:54 go.mod [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 101873 Mar 21 00:54 go.sum [2024-03-21T00:57:16.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:54 internal [2024-03-21T00:57:16.487Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:57:16.891Z] + 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=40e947a709d50bd7f8efbbb4adaff282e4b864bd --label arch=amd64 --label version=0.0.0 . [2024-03-21T00:57:16.891Z] Sending build context to Docker daemon 24.64MB [2024-03-21T00:57:16.891Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T00:57:16.891Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-21T00:57:16.891Z] ---> e1a79a25ba67 [2024-03-21T00:57:16.891Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-21T00:57:17.458Z] ---> Running in 2a753345c26f [2024-03-21T00:57:17.458Z] Removing intermediate container 2a753345c26f [2024-03-21T00:57:17.458Z] ---> e228d18b7597 [2024-03-21T00:57:17.458Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T00:57:17.458Z] ---> Running in 5150c37be307 [2024-03-21T00:57:17.458Z] Removing intermediate container 5150c37be307 [2024-03-21T00:57:17.458Z] ---> a168de873d4a [2024-03-21T00:57:17.458Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-21T00:57:17.458Z] ---> Running in c205640e6130 [2024-03-21T00:57:17.716Z] Removing intermediate container c205640e6130 [2024-03-21T00:57:17.716Z] ---> 13c63f51abe1 [2024-03-21T00:57:17.716Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T00:57:17.716Z] ---> Running in 5bc2c9b7ce4c [2024-03-21T00:57:17.716Z] Removing intermediate container 5bc2c9b7ce4c [2024-03-21T00:57:17.716Z] ---> 0c5a0de49b5c [2024-03-21T00:57:17.716Z] Step 7/26 : WORKDIR /device-gpio [2024-03-21T00:57:17.716Z] ---> Running in 0465dc926423 [2024-03-21T00:57:17.716Z] Removing intermediate container 0465dc926423 [2024-03-21T00:57:17.716Z] ---> f8c288f95745 [2024-03-21T00:57:17.716Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T00:57:17.716Z] ---> Running in cbcca6fd8487 [2024-03-21T00:57:17.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T00:57:18.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T00:57:18.491Z] OK: 268 MiB in 56 packages [2024-03-21T00:57:18.748Z] Removing intermediate container cbcca6fd8487 [2024-03-21T00:57:18.748Z] ---> 3d416e42720e [2024-03-21T00:57:18.748Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-21T00:57:19.006Z] ---> 44e7d43efd72 [2024-03-21T00:57:19.006Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T00:57:19.006Z] ---> Running in ff6d25658bed [2024-03-21T00:57:19.572Z] Removing intermediate container ff6d25658bed [2024-03-21T00:57:19.572Z] ---> f019078d9911 [2024-03-21T00:57:19.572Z] Step 11/26 : COPY . . [2024-03-21T00:57:20.515Z] ---> 7ec9eb1f5b06 [2024-03-21T00:57:20.515Z] Step 12/26 : RUN ${MAKE} [2024-03-21T00:57:20.515Z] ---> Running in eb7a2c1fbdda [2024-03-21T00:57:20.515Z] 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.12" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-03-21T00:57:52.583Z] Removing intermediate container eb7a2c1fbdda [2024-03-21T00:57:52.583Z] ---> f9d631f8a504 [2024-03-21T00:57:52.583Z] Step 13/26 : FROM alpine:3.18 [2024-03-21T00:57:52.583Z] 3.18: Pulling from library/alpine [2024-03-21T00:57:52.583Z] 619be1103602: Pulling fs layer [2024-03-21T00:57:52.583Z] 619be1103602: Download complete [2024-03-21T00:57:52.583Z] 619be1103602: Pull complete [2024-03-21T00:57:52.583Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T00:57:52.583Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T00:57:52.583Z] ---> d3782b16ccc9 [2024-03-21T00:57:52.583Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-21T00:57:52.583Z] ---> Running in bd2ce867fa0d [2024-03-21T00:57:52.583Z] Removing intermediate container bd2ce867fa0d [2024-03-21T00:57:52.583Z] ---> 8ac499972700 [2024-03-21T00:57:52.583Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-21T00:57:52.583Z] ---> Running in a473579412fc [2024-03-21T00:57:52.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T00:57:52.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T00:57:52.583Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T00:57:52.583Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T00:57:52.583Z] OK: 7 MiB in 16 packages [2024-03-21T00:57:52.583Z] Removing intermediate container a473579412fc [2024-03-21T00:57:52.583Z] ---> 87210c1044da [2024-03-21T00:57:52.583Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-21T00:57:52.583Z] ---> Running in 4d796c4be436 [2024-03-21T00:57:52.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T00:57:52.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T00:57:52.583Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T00:57:52.583Z] OK: 7 MiB in 16 packages [2024-03-21T00:57:52.583Z] Removing intermediate container 4d796c4be436 [2024-03-21T00:57:52.583Z] ---> bc93fb37005c [2024-03-21T00:57:52.583Z] Step 17/26 : WORKDIR / [2024-03-21T00:57:52.583Z] ---> Running in 953faa9657e4 [2024-03-21T00:57:52.583Z] Removing intermediate container 953faa9657e4 [2024-03-21T00:57:52.583Z] ---> d587482bd082 [2024-03-21T00:57:52.583Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-03-21T00:57:52.583Z] ---> 75e45edbb58d [2024-03-21T00:57:52.583Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-03-21T00:57:52.583Z] ---> 758b1515ede5 [2024-03-21T00:57:52.583Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-03-21T00:57:52.583Z] ---> f9b81fb0bc56 [2024-03-21T00:57:52.583Z] Step 21/26 : EXPOSE 59910 [2024-03-21T00:57:52.583Z] ---> Running in 544f7087bd94 [2024-03-21T00:57:52.583Z] Removing intermediate container 544f7087bd94 [2024-03-21T00:57:52.583Z] ---> bd4d87b94a2d [2024-03-21T00:57:52.583Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-03-21T00:57:52.583Z] ---> Running in 13b133dcaf5a [2024-03-21T00:57:52.583Z] Removing intermediate container 13b133dcaf5a [2024-03-21T00:57:52.583Z] ---> d5ac35d2017c [2024-03-21T00:57:52.583Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T00:57:52.583Z] ---> Running in 2d5e6c76a861 [2024-03-21T00:57:52.583Z] Removing intermediate container 2d5e6c76a861 [2024-03-21T00:57:52.583Z] ---> a1dbfdb2bb8c [2024-03-21T00:57:52.583Z] Step 24/26 : LABEL arch=amd64 [2024-03-21T00:57:52.583Z] ---> Running in b97199d20ce4 [2024-03-21T00:57:52.583Z] Removing intermediate container b97199d20ce4 [2024-03-21T00:57:52.583Z] ---> a85d7b42d83e [2024-03-21T00:57:52.583Z] Step 25/26 : LABEL git_sha=40e947a709d50bd7f8efbbb4adaff282e4b864bd [2024-03-21T00:57:52.583Z] ---> Running in c66dd4a486d9 [2024-03-21T00:57:52.583Z] Removing intermediate container c66dd4a486d9 [2024-03-21T00:57:52.583Z] ---> 74648603304c [2024-03-21T00:57:52.583Z] Step 26/26 : LABEL version=0.0.0 [2024-03-21T00:57:52.583Z] ---> Running in 73586fad1535 [2024-03-21T00:57:52.584Z] Removing intermediate container 73586fad1535 [2024-03-21T00:57:52.584Z] ---> 5a7ece76a820 [2024-03-21T00:57:52.584Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T00:57:52.584Z] Successfully built 5a7ece76a820 [2024-03-21T00:57:52.584Z] 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 [2024-03-21T00:57:53.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T00:57:53.593Z] [2024-03-21T00:57:53.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:57:53.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T00:57:53.997Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-21T00:57:53.997Z] 5eb5b503b376: Pulling fs layer [2024-03-21T00:57:53.997Z] 5c69ac0246d0: Pulling fs layer [2024-03-21T00:57:53.997Z] ec43610c2a17: Pulling fs layer [2024-03-21T00:57:53.997Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-21T00:57:53.997Z] 33b1e0a273af: Pulling fs layer [2024-03-21T00:57:53.997Z] 5d3b04190fa2: Pulling fs layer [2024-03-21T00:57:53.997Z] 2f39f015ded8: Pulling fs layer [2024-03-21T00:57:53.997Z] 33b1e0a273af: Waiting [2024-03-21T00:57:53.997Z] 5d3b04190fa2: Waiting [2024-03-21T00:57:53.997Z] 2f39f015ded8: Waiting [2024-03-21T00:57:53.997Z] 5c69ac0246d0: Verifying Checksum [2024-03-21T00:57:53.997Z] 5c69ac0246d0: Download complete [2024-03-21T00:57:53.997Z] 3a2ae6a8a46f: Download complete [2024-03-21T00:57:53.997Z] 33b1e0a273af: Verifying Checksum [2024-03-21T00:57:53.997Z] 33b1e0a273af: Download complete [2024-03-21T00:57:53.997Z] 5d3b04190fa2: Verifying Checksum [2024-03-21T00:57:53.997Z] 5d3b04190fa2: Download complete [2024-03-21T00:57:53.997Z] ec43610c2a17: Verifying Checksum [2024-03-21T00:57:53.997Z] ec43610c2a17: Download complete [2024-03-21T00:57:54.256Z] 5eb5b503b376: Download complete [2024-03-21T00:57:54.821Z] 2f39f015ded8: Download complete [2024-03-21T00:57:55.388Z] 5eb5b503b376: Pull complete [2024-03-21T00:57:55.388Z] 5c69ac0246d0: Pull complete [2024-03-21T00:57:55.955Z] ec43610c2a17: Pull complete [2024-03-21T00:57:55.955Z] 3a2ae6a8a46f: Pull complete [2024-03-21T00:57:56.213Z] 33b1e0a273af: Pull complete [2024-03-21T00:57:56.213Z] 5d3b04190fa2: Pull complete [2024-03-21T00:58:00.392Z] 2f39f015ded8: Pull complete [2024-03-21T00:58:00.392Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-21T00:58:00.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T00:58:00.392Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T00:58:00.654Z] prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container [2024-03-21T00:58:00.664Z] $ 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-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-21T00:58:04.221Z] $ docker top acf69507db3120c4d8f6ef2e42a729c8a57a3c7beccb0deb6fedfc5b42006f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T00:58:04.704Z] ---> job-cost.sh [2024-03-21T00:58:04.705Z] lf-activate-venv: SKIPPING [2024-03-21T00:58:04.705Z] INFO: No Stack... [2024-03-21T00:58:04.965Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T00:58:05.271Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T00:58:05.612Z] + cut -d, -f6 [2024-03-21T00:58:05.612Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-234/archives/cost.csv [Pipeline] lock [2024-03-21T00:58:05.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [2024-03-21T00:58:05.659Z] Resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] did not exist. Created. [2024-03-21T00:58:05.663Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T00:58:06.097Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-21T00:58:06.151Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T00:58:06.190Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T00:58:06.256Z] $ docker stop --time=1 acf69507db3120c4d8f6ef2e42a729c8a57a3c7beccb0deb6fedfc5b42006f50 [2024-03-21T00:58:07.403Z] $ docker rm -f --volumes acf69507db3120c4d8f6ef2e42a729c8a57a3c7beccb0deb6fedfc5b42006f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-21T00:59:01.020Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-503 in /w/workspace/edgexfoundry_device-gpio_PR-234 [Pipeline] { [Pipeline] ws [2024-03-21T00:59:01.084Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2024-03-21T00:59:04.183Z] The recommended git tool is: git [2024-03-21T00:59:09.073Z] using credential edgex-jenkins-ssh [2024-03-21T00:59:09.094Z] Cloning the remote Git repository [2024-03-21T00:59:09.126Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2024-03-21T00:59:09.217Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2024-03-21T00:59:09.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-03-21T00:59:09.345Z] > git --version # timeout=10 [2024-03-21T00:59:09.366Z] > git --version # 'git version 2.25.1' [2024-03-21T00:59:09.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T00:59:09.531Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T00:59:11.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-03-21T00:59:11.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T00:59:12.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-03-21T00:59:12.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-03-21T00:59:12.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T00:59:12.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-21T00:59:13.127Z] Merging remotes/origin/main commit f3c8a999d00a9f0c6dac2773c41abd43344389a2 into PR head commit 40e947a709d50bd7f8efbbb4adaff282e4b864bd [2024-03-21T00:59:13.430Z] Merge succeeded, producing 40e947a709d50bd7f8efbbb4adaff282e4b864bd [2024-03-21T00:59:13.431Z] Checking out Revision 40e947a709d50bd7f8efbbb4adaff282e4b864bd (PR-234) [2024-03-21T00:59:13.958Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-21T00:59:13.993Z] > git --version # timeout=10 [2024-03-21T00:59:14.004Z] > git --version # 'git version 2.25.1' [2024-03-21T00:59:14.023Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T00:59:13.133Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T00:59:13.232Z] > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # timeout=10 [2024-03-21T00:59:13.322Z] > git remote # timeout=10 [2024-03-21T00:59:13.339Z] > git config --get remote.origin.url # timeout=10 [2024-03-21T00:59:13.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T00:59:13.377Z] > git merge f3c8a999d00a9f0c6dac2773c41abd43344389a2 # timeout=10 [2024-03-21T00:59:13.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-21T00:59:13.424Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T00:59:13.434Z] > git checkout -f 40e947a709d50bd7f8efbbb4adaff282e4b864bd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T00:59:18.940Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-21T00:59:18.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T00:59:18.940Z] Dload Upload Total Spent Left Speed [2024-03-21T00:59:19.211Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 39109 0 --:--:-- --:--:-- --:--:-- 39229 [Pipeline] sh [2024-03-21T00:59:19.574Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-21T00:59:19.926Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-03-21T00:59:19.926Z] /etc/docker/daemon.new [2024-03-21T00:59:19.926Z] { [2024-03-21T00:59:19.926Z] "registry-mirrors": [ [2024-03-21T00:59:19.926Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-21T00:59:19.926Z] ], [2024-03-21T00:59:19.926Z] "bip": "10.250.0.254/24", [2024-03-21T00:59:19.926Z] "hosts": [ [2024-03-21T00:59:19.926Z] "tcp://0.0.0.0:5555", [2024-03-21T00:59:19.926Z] "unix:///var/run/docker.sock" [2024-03-21T00:59:19.926Z] ], [2024-03-21T00:59:19.926Z] "mtu": 1458, [2024-03-21T00:59:19.926Z] "selinux-enabled": true, [2024-03-21T00:59:19.926Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-21T00:59:19.926Z] } [Pipeline] sh [2024-03-21T00:59:20.337Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-21T00:59:20.682Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T00:59:39.007Z] provisioning config files... [2024-03-21T00:59:39.029Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config10192676554151781680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T00:59:39.512Z] ---> ****-login.sh [2024-03-21T00:59:39.512Z] nexus3.edgexfoundry.org:10001 [2024-03-21T00:59:39.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:59:40.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:59:40.053Z] Configure a credential helper to remove this warning. See [2024-03-21T00:59:40.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:59:40.053Z] [2024-03-21T00:59:40.053Z] Login Succeeded [2024-03-21T00:59:40.053Z] nexus3.edgexfoundry.org:10002 [2024-03-21T00:59:40.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:59:40.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:59:40.595Z] Configure a credential helper to remove this warning. See [2024-03-21T00:59:40.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:59:40.595Z] [2024-03-21T00:59:40.595Z] Login Succeeded [2024-03-21T00:59:40.595Z] nexus3.edgexfoundry.org:10003 [2024-03-21T00:59:40.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:59:40.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:59:40.863Z] Configure a credential helper to remove this warning. See [2024-03-21T00:59:40.863Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:59:40.863Z] [2024-03-21T00:59:40.863Z] Login Succeeded [2024-03-21T00:59:40.863Z] nexus3.edgexfoundry.org:10004 [2024-03-21T00:59:41.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:59:41.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:59:41.132Z] Configure a credential helper to remove this warning. See [2024-03-21T00:59:41.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:59:41.132Z] [2024-03-21T00:59:41.132Z] Login Succeeded [2024-03-21T00:59:41.132Z] ****.io [2024-03-21T00:59:41.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T00:59:41.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T00:59:41.672Z] Configure a credential helper to remove this warning. See [2024-03-21T00:59:41.672Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T00:59:41.672Z] [2024-03-21T00:59:41.672Z] Login Succeeded [2024-03-21T00:59:41.941Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T00:59:41.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T00:59:42.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T00:59:42.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T00:59:42.452Z] ========================================================= [2024-03-21T00:59:42.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-21T00:59:42.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T00:59:42.987Z] + 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 . [2024-03-21T00:59:43.259Z] Sending build context to Docker daemon 12.39MB [2024-03-21T00:59:43.537Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T00:59:43.537Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T00:59:43.537Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-21T00:59:43.537Z] 9fda8d8052c6: Pulling fs layer [2024-03-21T00:59:43.537Z] 5d54e960e981: Pulling fs layer [2024-03-21T00:59:43.537Z] c4a7e357bf2a: Pulling fs layer [2024-03-21T00:59:43.537Z] f0e02332f6b5: Pulling fs layer [2024-03-21T00:59:43.537Z] 872ee5b61b7b: Pulling fs layer [2024-03-21T00:59:43.537Z] 0c6a40ed1a82: Pulling fs layer [2024-03-21T00:59:43.537Z] 94ae7d8d031c: Pulling fs layer [2024-03-21T00:59:43.537Z] f0e02332f6b5: Waiting [2024-03-21T00:59:43.537Z] 872ee5b61b7b: Waiting [2024-03-21T00:59:43.537Z] 0c6a40ed1a82: Waiting [2024-03-21T00:59:43.537Z] 94ae7d8d031c: Waiting [2024-03-21T00:59:43.537Z] 5d54e960e981: Verifying Checksum [2024-03-21T00:59:43.537Z] 5d54e960e981: Download complete [2024-03-21T00:59:43.537Z] f0e02332f6b5: Verifying Checksum [2024-03-21T00:59:43.537Z] f0e02332f6b5: Download complete [2024-03-21T00:59:43.811Z] 872ee5b61b7b: Verifying Checksum [2024-03-21T00:59:43.811Z] 872ee5b61b7b: Download complete [2024-03-21T00:59:43.811Z] 9fda8d8052c6: Download complete [2024-03-21T00:59:44.085Z] 94ae7d8d031c: Verifying Checksum [2024-03-21T00:59:44.085Z] 94ae7d8d031c: Download complete [2024-03-21T00:59:44.670Z] 9fda8d8052c6: Pull complete [2024-03-21T00:59:45.260Z] 5d54e960e981: Pull complete [2024-03-21T00:59:45.529Z] c4a7e357bf2a: Verifying Checksum [2024-03-21T00:59:45.529Z] c4a7e357bf2a: Download complete [2024-03-21T00:59:46.497Z] 0c6a40ed1a82: Verifying Checksum [2024-03-21T00:59:46.497Z] 0c6a40ed1a82: Download complete [2024-03-21T00:59:58.827Z] c4a7e357bf2a: Pull complete [2024-03-21T00:59:58.827Z] f0e02332f6b5: Pull complete [2024-03-21T00:59:58.827Z] 872ee5b61b7b: Pull complete [2024-03-21T01:00:08.923Z] 0c6a40ed1a82: Pull complete [2024-03-21T01:00:09.505Z] 94ae7d8d031c: Pull complete [2024-03-21T01:00:09.505Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-21T01:00:09.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-21T01:00:09.505Z] ---> 86de565de09d [2024-03-21T01:00:09.505Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T01:00:10.088Z] ---> Running in 02777ba959c9 [2024-03-21T01:00:10.685Z] Removing intermediate container 02777ba959c9 [2024-03-21T01:00:10.685Z] ---> 218aeb21ecc6 [2024-03-21T01:00:10.685Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T01:00:10.685Z] ---> Running in b6e08616c197 [2024-03-21T01:00:10.951Z] Removing intermediate container b6e08616c197 [2024-03-21T01:00:10.951Z] ---> b7a6bfe6f09a [2024-03-21T01:00:10.951Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-21T01:00:10.951Z] ---> Running in 68a91ebeb08d [2024-03-21T01:00:11.226Z] Removing intermediate container 68a91ebeb08d [2024-03-21T01:00:11.226Z] ---> e8cf1dd1f959 [2024-03-21T01:00:11.226Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T01:00:11.501Z] ---> Running in 6bd7a4aad468 [2024-03-21T01:00:11.778Z] Removing intermediate container 6bd7a4aad468 [2024-03-21T01:00:11.778Z] ---> d4731a7ad53e [2024-03-21T01:00:11.778Z] Step 7/12 : WORKDIR /device-gpio [2024-03-21T01:00:11.778Z] ---> Running in 921ff29a7967 [2024-03-21T01:00:12.051Z] Removing intermediate container 921ff29a7967 [2024-03-21T01:00:12.051Z] ---> 0cf837442c68 [2024-03-21T01:00:12.051Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T01:00:12.318Z] ---> Running in 75f194acc8a1 [2024-03-21T01:00:13.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T01:00:13.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T01:00:14.835Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T01:00:15.106Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T01:00:15.106Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T01:00:15.106Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T01:00:15.106Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T01:00:15.106Z] OK: 271 MiB in 56 packages [2024-03-21T01:00:16.095Z] Removing intermediate container 75f194acc8a1 [2024-03-21T01:00:16.095Z] ---> b6a71ad23ab0 [2024-03-21T01:00:16.095Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-21T01:00:16.681Z] ---> c0696df54e7c [2024-03-21T01:00:16.681Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T01:00:16.681Z] ---> Running in 124257b560e1 [2024-03-21T01:02:23.348Z] Removing intermediate container 124257b560e1 [2024-03-21T01:02:23.348Z] ---> a397461571ca [2024-03-21T01:02:23.348Z] Step 11/12 : COPY . . [2024-03-21T01:02:23.348Z] ---> bac6e5b7fa3c [2024-03-21T01:02:23.348Z] Step 12/12 : RUN ${MAKE} [2024-03-21T01:02:23.348Z] ---> Running in 90d5cfb5e1c4 [2024-03-21T01:02:23.348Z] noop [2024-03-21T01:02:23.348Z] Removing intermediate container 90d5cfb5e1c4 [2024-03-21T01:02:23.348Z] ---> 992d07948af3 [2024-03-21T01:02:23.348Z] Successfully built 992d07948af3 [2024-03-21T01:02:23.348Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T01:02:23.854Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T01:02:23.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T01:02:24.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-503 does not seem to be running inside a container [2024-03-21T01:02:24.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-21T01:02:25.255Z] $ docker top 0552c3cbc761f60c6b8504bb91783ad38f31dcef6c15e3e459f19a8682bfb210 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T01:02:26.112Z] + go version [2024-03-21T01:02:26.112Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-21T01:02:26.139Z] $ docker stop --time=1 0552c3cbc761f60c6b8504bb91783ad38f31dcef6c15e3e459f19a8682bfb210 [2024-03-21T01:02:27.661Z] $ docker rm -f --volumes 0552c3cbc761f60c6b8504bb91783ad38f31dcef6c15e3e459f19a8682bfb210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T01:02:28.548Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T01:02:28.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T01:02:28.789Z] prd-ubuntu20.04-docker-arm64-4c-16g-503 does not seem to be running inside a container [2024-03-21T01:02:28.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-21T01:02:29.920Z] $ docker top 1e477bc58edbc9be2247825f83d0861338878966ff9d52190fde21c00eb73e76 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T01:02:30.463Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2024-03-21T01:02:30.851Z] + make test [2024-03-21T01:02:30.851Z] go test ./... -coverprofile=coverage.out ./... [2024-03-21T01:02:36.186Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-03-21T01:04:57.845Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-03-21T01:04:57.845Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-03-21T01:04:57.845Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-21T01:04:57.845Z] go vet ./... [2024-03-21T01:05:36.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T01:05:36.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T01:05:36.688Z] ./bin/test-attribution-txt.sh [2024-03-21T01:05:36.688Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T01:05:36.688Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T01:05:36.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T01:05:36.776Z] $ docker stop --time=1 1e477bc58edbc9be2247825f83d0861338878966ff9d52190fde21c00eb73e76 [2024-03-21T01:05:38.754Z] $ docker rm -f --volumes 1e477bc58edbc9be2247825f83d0861338878966ff9d52190fde21c00eb73e76 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T01:05:40.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T01:05:40.352Z] Warning: overwriting stash ‘coverage-report’ [2024-03-21T01:05:40.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T01:05:41.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T01:05:41.819Z] + ls -al . [2024-03-21T01:05:41.819Z] total 216 [2024-03-21T01:05:41.819Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 01:02 . [2024-03-21T01:05:41.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 00:59 .. [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 21 00:59 .dockerignore [2024-03-21T01:05:41.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 00:59 .git [2024-03-21T01:05:41.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:59 .github [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 277 Mar 21 00:59 .gitignore [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 00:59 .golangci.yml [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 10671 Mar 21 00:59 Attribution.txt [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 7171 Mar 21 00:59 CHANGELOG.md [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 1661 Mar 21 00:59 Dockerfile [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 00:59 GOVERNANCE.md [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 00:59 Jenkinsfile [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 00:59 LICENSE [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 1923 Mar 21 00:59 Makefile [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 21 00:59 OWNERS.md [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 21 00:59 README.md [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 00:55 VERSION [2024-03-21T01:05:41.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 00:59 bin [2024-03-21T01:05:41.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:59 cmd [2024-03-21T01:05:41.819Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 21 01:02 coverage.out [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 7045 Mar 21 00:59 go.mod [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 101873 Mar 21 00:59 go.sum [2024-03-21T01:05:41.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 00:59 internal [2024-03-21T01:05:41.819Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 21 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T01:05:42.267Z] + 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=40e947a709d50bd7f8efbbb4adaff282e4b864bd --label arch=arm64 --label version=0.0.0 . [2024-03-21T01:05:42.536Z] Sending build context to Docker daemon 12.39MB [2024-03-21T01:05:42.805Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T01:05:42.805Z] Step 2/26 : FROM ${BASE} AS builder [2024-03-21T01:05:42.805Z] ---> 992d07948af3 [2024-03-21T01:05:42.805Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-03-21T01:05:42.805Z] ---> Running in 6c8c2eaf9197 [2024-03-21T01:05:43.074Z] Removing intermediate container 6c8c2eaf9197 [2024-03-21T01:05:43.074Z] ---> a477d71610ee [2024-03-21T01:05:43.074Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T01:05:43.074Z] ---> Running in 8ec622d35a75 [2024-03-21T01:05:43.342Z] Removing intermediate container 8ec622d35a75 [2024-03-21T01:05:43.342Z] ---> 4bdf01ea5783 [2024-03-21T01:05:43.342Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-03-21T01:05:43.609Z] ---> Running in 2dc930a125a4 [2024-03-21T01:05:43.876Z] Removing intermediate container 2dc930a125a4 [2024-03-21T01:05:43.876Z] ---> 066378fe84be [2024-03-21T01:05:43.876Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T01:05:43.876Z] ---> Running in 936efe807a3c [2024-03-21T01:05:44.143Z] Removing intermediate container 936efe807a3c [2024-03-21T01:05:44.143Z] ---> f763ef33a683 [2024-03-21T01:05:44.143Z] Step 7/26 : WORKDIR /device-gpio [2024-03-21T01:05:44.411Z] ---> Running in b5f5e295fe0f [2024-03-21T01:05:44.680Z] Removing intermediate container b5f5e295fe0f [2024-03-21T01:05:44.680Z] ---> 67713de73607 [2024-03-21T01:05:44.680Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T01:05:44.680Z] ---> Running in 4ddbe433f66a [2024-03-21T01:05:45.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T01:05:45.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T01:05:47.314Z] OK: 271 MiB in 56 packages [2024-03-21T01:05:47.900Z] Removing intermediate container 4ddbe433f66a [2024-03-21T01:05:47.900Z] ---> a8d363f0c899 [2024-03-21T01:05:47.900Z] Step 9/26 : COPY go.mod vendor* ./ [2024-03-21T01:05:48.485Z] ---> aca620be0e50 [2024-03-21T01:05:48.485Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T01:05:48.485Z] ---> Running in d8f179933ca9 [2024-03-21T01:05:51.069Z] Removing intermediate container d8f179933ca9 [2024-03-21T01:05:51.069Z] ---> 4da5484b2caa [2024-03-21T01:05:51.069Z] Step 11/26 : COPY . . [2024-03-21T01:05:52.035Z] ---> 6ddf00de6bdc [2024-03-21T01:05:52.035Z] Step 12/26 : RUN ${MAKE} [2024-03-21T01:05:52.035Z] ---> Running in 7c175fd31510 [2024-03-21T01:05:52.996Z] 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.12" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-03-21T01:08:44.705Z] Removing intermediate container 7c175fd31510 [2024-03-21T01:08:44.705Z] ---> bd75c5297d35 [2024-03-21T01:08:44.705Z] Step 13/26 : FROM alpine:3.18 [2024-03-21T01:08:44.705Z] 3.18: Pulling from library/alpine [2024-03-21T01:08:44.705Z] c6b39de5b339: Pulling fs layer [2024-03-21T01:08:44.705Z] c6b39de5b339: Verifying Checksum [2024-03-21T01:08:44.705Z] c6b39de5b339: Download complete [2024-03-21T01:08:44.705Z] c6b39de5b339: Pull complete [2024-03-21T01:08:44.705Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T01:08:44.705Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T01:08:44.705Z] ---> 33abbf032149 [2024-03-21T01:08:44.705Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-03-21T01:08:44.705Z] ---> Running in 488dff3f7ff6 [2024-03-21T01:08:44.705Z] Removing intermediate container 488dff3f7ff6 [2024-03-21T01:08:44.705Z] ---> 53f90710dd0a [2024-03-21T01:08:44.705Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-03-21T01:08:44.705Z] ---> Running in c371e7223492 [2024-03-21T01:08:44.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T01:08:44.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T01:08:44.705Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T01:08:44.705Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T01:08:44.705Z] OK: 8 MiB in 16 packages [2024-03-21T01:08:44.705Z] Removing intermediate container c371e7223492 [2024-03-21T01:08:44.705Z] ---> 7fa21424cf26 [2024-03-21T01:08:44.705Z] Step 16/26 : RUN apk --no-cache upgrade [2024-03-21T01:08:44.705Z] ---> Running in ba40faec6235 [2024-03-21T01:08:44.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T01:08:44.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T01:08:44.705Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T01:08:44.705Z] OK: 8 MiB in 16 packages [2024-03-21T01:08:44.705Z] Removing intermediate container ba40faec6235 [2024-03-21T01:08:44.705Z] ---> ca4eb6322f54 [2024-03-21T01:08:44.705Z] Step 17/26 : WORKDIR / [2024-03-21T01:08:44.705Z] ---> Running in 8b84f49e0609 [2024-03-21T01:08:44.705Z] Removing intermediate container 8b84f49e0609 [2024-03-21T01:08:44.705Z] ---> d732edeb8b9e [2024-03-21T01:08:44.705Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-03-21T01:08:44.705Z] ---> bee00432541f [2024-03-21T01:08:44.705Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-03-21T01:08:44.705Z] ---> 1293db68b3ab [2024-03-21T01:08:44.705Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-03-21T01:08:44.705Z] ---> 750b7a56ee7f [2024-03-21T01:08:44.705Z] Step 21/26 : EXPOSE 59910 [2024-03-21T01:08:44.705Z] ---> Running in 1a8423389211 [2024-03-21T01:08:44.705Z] Removing intermediate container 1a8423389211 [2024-03-21T01:08:44.705Z] ---> 44483c5526a2 [2024-03-21T01:08:44.705Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-03-21T01:08:44.705Z] ---> Running in a8ec5d346a6e [2024-03-21T01:08:44.705Z] Removing intermediate container a8ec5d346a6e [2024-03-21T01:08:44.705Z] ---> cb035e466a26 [2024-03-21T01:08:44.705Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T01:08:44.705Z] ---> Running in 42f658dd7b73 [2024-03-21T01:08:44.705Z] Removing intermediate container 42f658dd7b73 [2024-03-21T01:08:44.705Z] ---> cc475d54e497 [2024-03-21T01:08:44.705Z] Step 24/26 : LABEL arch=arm64 [2024-03-21T01:08:44.705Z] ---> Running in 86059bc0e16c [2024-03-21T01:08:44.705Z] Removing intermediate container 86059bc0e16c [2024-03-21T01:08:44.705Z] ---> 354bccc0e21d [2024-03-21T01:08:44.705Z] Step 25/26 : LABEL git_sha=40e947a709d50bd7f8efbbb4adaff282e4b864bd [2024-03-21T01:08:44.705Z] ---> Running in 6dba928fc2c9 [2024-03-21T01:08:44.971Z] Removing intermediate container 6dba928fc2c9 [2024-03-21T01:08:44.971Z] ---> 5a8bb68375ec [2024-03-21T01:08:44.971Z] Step 26/26 : LABEL version=0.0.0 [2024-03-21T01:08:44.971Z] ---> Running in a6072b4d2d56 [2024-03-21T01:08:45.237Z] Removing intermediate container a6072b4d2d56 [2024-03-21T01:08:45.237Z] ---> 7bb6e813cf4c [2024-03-21T01:08:45.237Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T01:08:45.237Z] Successfully built 7bb6e813cf4c [2024-03-21T01:08:45.237Z] 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 [2024-03-21T01:08:46.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T01:08:46.116Z] [2024-03-21T01:08:46.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T01:08:46.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T01:08:46.532Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-21T01:08:46.532Z] 8998bd30e6a1: Pulling fs layer [2024-03-21T01:08:46.532Z] 04944245beec: Pulling fs layer [2024-03-21T01:08:46.532Z] 699f458cf7ca: Pulling fs layer [2024-03-21T01:08:46.532Z] 765212b225bb: Pulling fs layer [2024-03-21T01:08:46.532Z] f23df028b6ca: Pulling fs layer [2024-03-21T01:08:46.532Z] d65c8cfc05b1: Pulling fs layer [2024-03-21T01:08:46.532Z] 2437ff75d9bd: Pulling fs layer [2024-03-21T01:08:46.532Z] f23df028b6ca: Waiting [2024-03-21T01:08:46.532Z] d65c8cfc05b1: Waiting [2024-03-21T01:08:46.532Z] 2437ff75d9bd: Waiting [2024-03-21T01:08:46.532Z] 765212b225bb: Waiting [2024-03-21T01:08:46.802Z] 04944245beec: Verifying Checksum [2024-03-21T01:08:46.802Z] 04944245beec: Download complete [2024-03-21T01:08:46.802Z] 765212b225bb: Verifying Checksum [2024-03-21T01:08:46.802Z] f23df028b6ca: Verifying Checksum [2024-03-21T01:08:46.802Z] f23df028b6ca: Download complete [2024-03-21T01:08:46.802Z] d65c8cfc05b1: Verifying Checksum [2024-03-21T01:08:46.802Z] d65c8cfc05b1: Download complete [2024-03-21T01:08:46.802Z] 699f458cf7ca: Verifying Checksum [2024-03-21T01:08:46.802Z] 699f458cf7ca: Download complete [2024-03-21T01:08:47.390Z] 8998bd30e6a1: Verifying Checksum [2024-03-21T01:08:47.390Z] 8998bd30e6a1: Download complete [2024-03-21T01:08:49.967Z] 2437ff75d9bd: Verifying Checksum [2024-03-21T01:08:49.967Z] 2437ff75d9bd: Download complete [2024-03-21T01:08:52.549Z] 8998bd30e6a1: Pull complete [2024-03-21T01:08:52.549Z] 04944245beec: Pull complete [2024-03-21T01:08:54.493Z] 699f458cf7ca: Pull complete [2024-03-21T01:08:54.493Z] 765212b225bb: Pull complete [2024-03-21T01:08:55.078Z] f23df028b6ca: Pull complete [2024-03-21T01:08:55.349Z] d65c8cfc05b1: Pull complete [2024-03-21T01:09:13.552Z] 2437ff75d9bd: Pull complete [2024-03-21T01:09:13.552Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-21T01:09:13.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T01:09:13.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T01:09:13.898Z] prd-ubuntu20.04-docker-arm64-4c-16g-503 does not seem to be running inside a container [2024-03-21T01:09:13.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-21T01:09:16.645Z] $ docker top 742f67d7da927ce087e4aa64e88746cdaaf9b135e44842d67ebbffbc939feb1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:17.542Z] ---> job-cost.sh [2024-03-21T01:09:17.542Z] lf-activate-venv: SKIPPING [2024-03-21T01:09:17.542Z] INFO: No Stack... [2024-03-21T01:09:17.806Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-21T01:09:18.764Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T01:09:19.116Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2024-03-21T01:09:19.116Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T01:09:19.461Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [2024-03-21T01:09:19.466Z] Resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] did not exist. Created. [2024-03-21T01:09:19.471Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T01:09:20.220Z] /w/workspace/device-gpio/1@tmp/durable-565ec729/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-21T01:09:20.572Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-21T01:09:20.613Z] Warning: overwriting stash ‘stack-cost’ [2024-03-21T01:09:20.664Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T01:09:20.681Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T01:09:20.778Z] $ docker stop --time=1 742f67d7da927ce087e4aa64e88746cdaaf9b135e44842d67ebbffbc939feb1b [2024-03-21T01:09:22.247Z] $ docker rm -f --volumes 742f67d7da927ce087e4aa64e88746cdaaf9b135e44842d67ebbffbc939feb1b [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 [2024-03-21T01:09:23.338Z] provisioning config files... [2024-03-21T01:09:23.348Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config9812787791809651446tmp [Pipeline] { [Pipeline] sh [2024-03-21T01:09:23.697Z] + set +x [2024-03-21T01:09:23.697Z] + curl -s https://codecov.io/bash [2024-03-21T01:09:23.697Z] + bash -s -- [2024-03-21T01:09:24.273Z] [2024-03-21T01:09:24.273Z] _____ _ [2024-03-21T01:09:24.273Z] / ____| | | [2024-03-21T01:09:24.273Z] | | ___ __| | ___ ___ _____ __ [2024-03-21T01:09:24.273Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-21T01:09:24.273Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-21T01:09:24.273Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-21T01:09:24.273Z] Bash-1.0.6 [2024-03-21T01:09:24.273Z] [2024-03-21T01:09:24.273Z] [2024-03-21T01:09:24.273Z] ==> git version 2.25.1 found [2024-03-21T01:09:24.273Z] ==> 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 [2024-03-21T01:09:24.273Z] Release-Date: 2020-01-08 [2024-03-21T01:09:24.273Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-21T01:09:24.273Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-21T01:09:24.273Z] ==> Jenkins CI detected. [2024-03-21T01:09:24.273Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-234 [2024-03-21T01:09:24.273Z] project root: . [2024-03-21T01:09:24.273Z] --> token set from env [2024-03-21T01:09:24.273Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-21T01:09:24.273Z] ==> Running gcov in . (disable via -X gcov) [2024-03-21T01:09:24.273Z] ==> Python coveragepy not found [2024-03-21T01:09:24.273Z] ==> Searching for coverage reports in: [2024-03-21T01:09:24.273Z] + . [2024-03-21T01:09:24.273Z] -> Found 1 reports [2024-03-21T01:09:24.273Z] ==> Detecting git/mercurial file structure [2024-03-21T01:09:24.273Z] ==> Reading reports [2024-03-21T01:09:24.273Z] + ./coverage.out bytes=10 [2024-03-21T01:09:24.533Z] ==> Appending adjustments [2024-03-21T01:09:24.533Z] https://docs.codecov.io/docs/fixing-reports [2024-03-21T01:09:24.533Z] + Found adjustments [2024-03-21T01:09:24.533Z] ==> Gzipping contents [2024-03-21T01:09:24.533Z] 4.0K /tmp/codecov.gxqHh1.gz [2024-03-21T01:09:24.533Z] ==> Uploading reports [2024-03-21T01:09:24.533Z] url: https://codecov.io [2024-03-21T01:09:24.533Z] query: branch=PR-234&commit=40e947a709d50bd7f8efbbb4adaff282e4b864bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=234&job=&cmd_args= [2024-03-21T01:09:24.533Z] -> Pinging Codecov [2024-03-21T01:09:24.533Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-234&commit=40e947a709d50bd7f8efbbb4adaff282e4b864bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=234&job=&cmd_args= [2024-03-21T01:09:24.792Z] -> Uploading to [2024-03-21T01:09:24.792Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-21/3EC07B1A8CA8AF9BCAA0BB9F0134797F/40e947a709d50bd7f8efbbb4adaff282e4b864bd/e42cb873-18db-4ae8-bb82-1fddbcb589d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T010924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b16a253c82b65bb67d047165a2b903a8e386d6a9a819191afc5b40823ff4ffdb [2024-03-21T01:09:24.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T01:09:24.792Z] Dload Upload Total Spent Left Speed [2024-03-21T01:09:25.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2216 --:--:-- --:--:-- --:--:-- 2216 [2024-03-21T01:09:25.052Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/40e947a709d50bd7f8efbbb4adaff282e4b864bd [Pipeline] } [2024-03-21T01:09:25.080Z] 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 [2024-03-21T01:09:27.042Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-234/archives ] [2024-03-21T01:09:27.042Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-234/archives [2024-03-21T01:09:27.042Z] total 16 [2024-03-21T01:09:27.042Z] drwxr-xr-x 3 root root 4096 Mar 21 00:58 . [2024-03-21T01:09:27.042Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 00:58 .. [2024-03-21T01:09:27.042Z] drwxr-xr-x 2 root root 4096 Mar 21 00:58 cost [2024-03-21T01:09:27.042Z] -rw-r--r-- 1 root root 83 Mar 21 00:58 cost.csv [2024-03-21T01:09:27.042Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-234/archives [2024-03-21T01:09:27.042Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-234/archives [2024-03-21T01:09:27.042Z] total 16 [2024-03-21T01:09:27.042Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 00:58 . [2024-03-21T01:09:27.042Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 00:58 .. [2024-03-21T01:09:27.042Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 00:58 cost [2024-03-21T01:09:27.042Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 21 00:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:27.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:28.255Z] ---> package-listing.sh [2024-03-21T01:09:28.255Z] ++ facter osfamily [2024-03-21T01:09:28.255Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-21T01:09:28.515Z] + OS_FAMILY=debian [2024-03-21T01:09:28.515Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-234 [2024-03-21T01:09:28.515Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-21T01:09:28.515Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-21T01:09:28.515Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-21T01:09:28.515Z] + PACKAGES=/tmp/packages_start.txt [2024-03-21T01:09:28.515Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-234 ']' [2024-03-21T01:09:28.515Z] + PACKAGES=/tmp/packages_end.txt [2024-03-21T01:09:28.515Z] + case "${OS_FAMILY}" in [2024-03-21T01:09:28.515Z] + dpkg -l [2024-03-21T01:09:28.515Z] + grep '^ii' [2024-03-21T01:09:28.515Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-21T01:09:28.515Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-21T01:09:28.515Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-21T01:09:28.515Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-234 ']' [2024-03-21T01:09:28.515Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-234/archives/ [2024-03-21T01:09:28.515Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-234/archives/ [Pipeline] echo [2024-03-21T01:09:28.546Z] 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-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-21T01:09:28.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T01:09:29.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T01:09:29.462Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T01:09:29.616Z] prd-ubuntu20.04-docker-8c-8g-502 does not seem to be running inside a container [2024-03-21T01:09:29.612Z] $ 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-234/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-234 -v /w/workspace/edgexfoundry_device-gpio_PR-234:/w/workspace/edgexfoundry_device-gpio_PR-234:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-234@tmp:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-21T01:09:29.798Z] $ docker top 0132c30d496f6d72586cbae7eb0a3767a7636a036e657e46e0b7efdee9bdffe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T01:09:30.243Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-21T01:09:30.553Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-21T01:09:30.865Z] + ls /var/log/sa-host [2024-03-21T01:09:30.865Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T01:09:31.093Z] provisioning config files... [2024-03-21T01:09:31.102Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-234@tmp/config15394837294264042295tmp [Pipeline] { [Pipeline] echo [2024-03-21T01:09:31.165Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:31.477Z] ---> create-netrc.sh [Pipeline] } [2024-03-21T01:09:31.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:31.908Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-21T01:09:31.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:32.253Z] ---> sudo-logs.sh [2024-03-21T01:09:32.253Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-21T01:09:32.349Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:32.661Z] ---> job-cost.sh [2024-03-21T01:09:32.661Z] lf-activate-venv: SKIPPING [2024-03-21T01:09:32.661Z] DEBUG: total: 0.2199999988079071 [2024-03-21T01:09:32.661Z] INFO: Retrieving Stack Cost... [2024-03-21T01:09:32.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T01:09:33.490Z] INFO: Archiving Costs [Pipeline] echo [2024-03-21T01:09:33.523Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T01:09:33.832Z] ---> logs-deploy.sh [2024-03-21T01:09:33.832Z] lf-activate-venv: SKIPPING [2024-03-21T01:09:33.832Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-234/1 [2024-03-21T01:09:33.832Z] INFO: archiving workspace using pattern(s): [2024-03-21T01:09:34.769Z] Archives upload complete. [2024-03-21T01:09:34.769Z] INFO: archiving logs to Nexus