Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-gpio Obtained Jenkinsfile from fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c+af07e13c4a6a32ed5d117362dee089b4564efe25 (ec56920e69d896dcb7df0a1597fc46f83b542601) 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-ssh4756212200045934936.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh18306368552034920638.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 590556114a56c6d90cc8043840e039c2f74196dc 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-236/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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3109967419208938089.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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12809571892425657326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh7474969658685307885.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-236/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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5301027557359705659.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 590556114a56c6d90cc8043840e039c2f74196dc 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 ‘prd-ubuntu20.04-docker-8c-8g-1016’ Running on prd-ubuntu20.04-docker-8c-8g-1018 in /w/workspace/edgexfoundry_device-gpio_PR-236 [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-236 # 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/236/head:refs/remotes/origin/PR-236 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit af07e13c4a6a32ed5d117362dee089b4564efe25 into PR head commit fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c Merge succeeded, producing fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c Checking out Revision fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c (PR-236) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # 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 af07e13c4a6a32ed5d117362dee089b4564efe25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-29T08:09:35.998Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-29T08:09:36.321Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-29T08:09:36.460Z] ========================================================= [2024-05-29T08:09:36.460Z] EdgeX Global Pipelines Version Info [2024-05-29T08:09:36.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:09:37.314Z] ------------------- [2024-05-29T08:09:37.314Z] stable info: [2024-05-29T08:09:37.314Z] ------------------- [2024-05-29T08:09:37.314Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T08:09:37.314Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-29T08:09:37.314Z] Message: update stable to v1.0.260 [2024-05-29T08:09:37.885Z] ------------------- [2024-05-29T08:09:37.885Z] experimental info: [2024-05-29T08:09:37.885Z] ------------------- [2024-05-29T08:09:37.885Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-29T08:09:37.885Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-29T08:09:37.885Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-29T08:09:38.125Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2024-05-29T08:09:38.183Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2024-05-29T08:09:38.239Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-29T08:09:38.293Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-29T08:09:38.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-29T08:09:38.412Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-29T08:09:38.471Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-29T08:09:38.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-29T08:09:38.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-29T08:09:38.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-29T08:09:38.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-29T08:09:38.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2024-05-29T08:09:38.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-29T08:09:38.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-29T08:09:39.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T08:09:39.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-29T08:09:39.129Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T08:09:39.191Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-29T08:09:39.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-29T08:09:39.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-29T08:09:39.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-29T08:09:39.443Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-29T08:09:39.503Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-29T08:09:39.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-29T08:09:39.613Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-29T08:09:39.678Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-29T08:09:39.738Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-29T08:09:39.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo [2024-05-29T08:09:39.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo [2024-05-29T08:09:39.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo [2024-05-29T08:09:39.975Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo [2024-05-29T08:09:40.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb2476f [Pipeline] echo [2024-05-29T08:09:40.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T08:09:40.233Z] provisioning config files... [2024-05-29T08:09:40.248Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config4462337140258502225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:09:40.635Z] ---> ****-login.sh [2024-05-29T08:09:40.635Z] nexus3.edgexfoundry.org:10001 [2024-05-29T08:09:40.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:09:40.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:09:40.898Z] Configure a credential helper to remove this warning. See [2024-05-29T08:09:40.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:09:40.898Z] [2024-05-29T08:09:40.898Z] Login Succeeded [2024-05-29T08:09:40.898Z] nexus3.edgexfoundry.org:10002 [2024-05-29T08:09:40.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:09:40.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:09:40.898Z] Configure a credential helper to remove this warning. See [2024-05-29T08:09:40.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:09:40.898Z] [2024-05-29T08:09:40.898Z] Login Succeeded [2024-05-29T08:09:40.898Z] nexus3.edgexfoundry.org:10003 [2024-05-29T08:09:41.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:09:41.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:09:41.159Z] Configure a credential helper to remove this warning. See [2024-05-29T08:09:41.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:09:41.159Z] [2024-05-29T08:09:41.159Z] Login Succeeded [2024-05-29T08:09:41.159Z] nexus3.edgexfoundry.org:10004 [2024-05-29T08:09:41.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:09:41.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:09:41.159Z] Configure a credential helper to remove this warning. See [2024-05-29T08:09:41.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:09:41.159Z] [2024-05-29T08:09:41.159Z] Login Succeeded [2024-05-29T08:09:41.159Z] ****.io [2024-05-29T08:09:41.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:09:41.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:09:41.419Z] Configure a credential helper to remove this warning. See [2024-05-29T08:09:41.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:09:41.419Z] [2024-05-29T08:09:41.419Z] Login Succeeded [2024-05-29T08:09:41.419Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T08:09:41.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-29T08:09:42.173Z] + git rev-list -1 --merges fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c~1..fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo [2024-05-29T08:09:42.222Z] -----------> git rev-list -1 --merges fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c~1..fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [false] [Pipeline] sh [2024-05-29T08:09:42.549Z] + git log --format=format:%s -1 fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo [2024-05-29T08:09:42.591Z] ========================================================= [2024-05-29T08:09:42.591Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-29T08:09:42.591Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T08:09:44.830Z] + git log --format=format:%s -1 fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo [2024-05-29T08:09:44.870Z] [semverPrep] GIT_COMMIT: fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo [2024-05-29T08:09:44.910Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-29T08:09:47.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-29T08:09:47.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-29T08:09:47.488Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-29T08:09:47.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-29T08:09:47.488Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-29T08:09:47.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-29T08:09:47.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:09:47.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T08:09:47.945Z] [2024-05-29T08:09:47.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:09:48.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T08:09:48.351Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-29T08:09:48.351Z] b85a868b505f: Pulling fs layer [2024-05-29T08:09:48.351Z] e2be974225ed: Pulling fs layer [2024-05-29T08:09:48.351Z] 339a4e72a1f5: Pulling fs layer [2024-05-29T08:09:48.351Z] 988bab9f4d93: Pulling fs layer [2024-05-29T08:09:48.351Z] 1469e6f7b9e6: Pulling fs layer [2024-05-29T08:09:48.351Z] eaf3925da568: Pulling fs layer [2024-05-29T08:09:48.351Z] bab4dde63d76: Pulling fs layer [2024-05-29T08:09:48.351Z] bde34c3a00c8: Pulling fs layer [2024-05-29T08:09:48.351Z] b352a97aabf1: Pulling fs layer [2024-05-29T08:09:48.351Z] 4872d77fe225: Pulling fs layer [2024-05-29T08:09:48.351Z] 5851b861e8e6: Pulling fs layer [2024-05-29T08:09:48.351Z] bab4dde63d76: Waiting [2024-05-29T08:09:48.351Z] bde34c3a00c8: Waiting [2024-05-29T08:09:48.351Z] b352a97aabf1: Waiting [2024-05-29T08:09:48.351Z] 4872d77fe225: Waiting [2024-05-29T08:09:48.351Z] 5851b861e8e6: Waiting [2024-05-29T08:09:48.351Z] 988bab9f4d93: Waiting [2024-05-29T08:09:48.351Z] 1469e6f7b9e6: Waiting [2024-05-29T08:09:48.351Z] eaf3925da568: Waiting [2024-05-29T08:09:48.351Z] 988bab9f4d93: Verifying Checksum [2024-05-29T08:09:48.351Z] 988bab9f4d93: Download complete [2024-05-29T08:09:48.351Z] 1469e6f7b9e6: Verifying Checksum [2024-05-29T08:09:48.351Z] 1469e6f7b9e6: Download complete [2024-05-29T08:09:48.615Z] eaf3925da568: Verifying Checksum [2024-05-29T08:09:48.615Z] eaf3925da568: Download complete [2024-05-29T08:09:48.615Z] 339a4e72a1f5: Verifying Checksum [2024-05-29T08:09:48.615Z] 339a4e72a1f5: Download complete [2024-05-29T08:09:48.615Z] bde34c3a00c8: Verifying Checksum [2024-05-29T08:09:48.615Z] bde34c3a00c8: Download complete [2024-05-29T08:09:48.615Z] b352a97aabf1: Verifying Checksum [2024-05-29T08:09:48.615Z] b352a97aabf1: Download complete [2024-05-29T08:09:48.615Z] 4872d77fe225: Download complete [2024-05-29T08:09:48.615Z] 5851b861e8e6: Verifying Checksum [2024-05-29T08:09:48.615Z] 5851b861e8e6: Download complete [2024-05-29T08:09:48.615Z] b85a868b505f: Verifying Checksum [2024-05-29T08:09:48.615Z] b85a868b505f: Download complete [2024-05-29T08:09:48.873Z] bab4dde63d76: Verifying Checksum [2024-05-29T08:09:48.873Z] bab4dde63d76: Download complete [2024-05-29T08:09:49.810Z] b85a868b505f: Pull complete [2024-05-29T08:09:49.810Z] e2be974225ed: Pull complete [2024-05-29T08:09:50.377Z] 339a4e72a1f5: Pull complete [2024-05-29T08:09:50.377Z] 988bab9f4d93: Pull complete [2024-05-29T08:09:50.643Z] 1469e6f7b9e6: Pull complete [2024-05-29T08:09:50.643Z] eaf3925da568: Pull complete [2024-05-29T08:09:52.556Z] bab4dde63d76: Pull complete [2024-05-29T08:09:52.556Z] bde34c3a00c8: Pull complete [2024-05-29T08:09:52.556Z] b352a97aabf1: Pull complete [2024-05-29T08:09:52.818Z] 4872d77fe225: Pull complete [2024-05-29T08:09:52.818Z] 5851b861e8e6: Pull complete [2024-05-29T08:09:52.818Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-29T08:09:52.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-29T08:09:52.818Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:09:53.198Z] prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container [2024-05-29T08:09:53.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-29T08:09:57.075Z] $ docker top 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a -eo pid,comm [2024-05-29T08:09:57.011Z] 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-05-29T08:09:57.011Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-29T08:09:57.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T08:09:57.242Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T08:09:57.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T08:09:57.466Z] $ docker exec 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent [2024-05-29T08:09:57.478Z] SSH_AUTH_SOCK=/tmp/ssh-vrf8Fu6kwZL8/agent.32 [2024-05-29T08:09:57.478Z] SSH_AGENT_PID=38 [2024-05-29T08:09:57.484Z] Running ssh-add (command line suppressed) [2024-05-29T08:09:57.700Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_10600685266949048924.key (/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_10600685266949048924.key) [2024-05-29T08:09:57.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T08:09:57.980Z] + git tag --points-at HEAD [Pipeline] } [2024-05-29T08:09:58.283Z] $ docker exec --env ******** --env ******** 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent -k [2024-05-29T08:09:58.390Z] unset SSH_AUTH_SOCK; [2024-05-29T08:09:58.391Z] unset SSH_AGENT_PID; [2024-05-29T08:09:58.391Z] echo Agent pid 38 killed; [2024-05-29T08:09:58.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-29T08:09:58.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-29T08:09:58.395Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-29T08:09:58.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-29T08:09:58.630Z] $ docker exec 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent [2024-05-29T08:09:58.627Z] SSH_AUTH_SOCK=/tmp/ssh-tFLa438rljZU/agent.71 [2024-05-29T08:09:58.627Z] SSH_AGENT_PID=77 [2024-05-29T08:09:58.632Z] Running ssh-add (command line suppressed) [2024-05-29T08:09:58.851Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_5076385770019442166.key (/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_5076385770019442166.key) [2024-05-29T08:09:58.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-29T08:09:59.092Z] + git semver init [2024-05-29T08:09:59.353Z] 2024-05-29 08:09:59,423 [run_init] DEBUG init version:0.0.0 force:False [2024-05-29T08:09:59.353Z] 2024-05-29 08:09:59,424 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-236/.semver [2024-05-29T08:09:59.353Z] 2024-05-29 08:09:59,425 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-236/.semver [2024-05-29T08:09:59.353Z] 2024-05-29 08:09:59,425 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-236/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-236, universal_newlines=False, shell=None, istream=None) [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,572 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-236/.git/info/exclude [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,572 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-236/.semver/PR-236 with force:False [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,572 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-236/.semver/PR-236 [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,576 [execute] INFO git cat-file --batch-check [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,582 [execute] INFO git cat-file --batch [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2024-05-29T08:10:00.732Z] 2024-05-29 08:10:00,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-236/.semver/PR-236 [2024-05-29T08:10:00.732Z] 0.0.0 [Pipeline] } [2024-05-29T08:10:00.887Z] $ docker exec --env ******** --env ******** 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent -k [2024-05-29T08:10:00.992Z] unset SSH_AUTH_SOCK; [2024-05-29T08:10:00.992Z] unset SSH_AGENT_PID; [2024-05-29T08:10:00.993Z] echo Agent pid 77 killed; [2024-05-29T08:10:00.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-29T08:10:01.376Z] + git semver [Pipeline] } [2024-05-29T08:10:01.802Z] $ docker stop --time=1 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a [2024-05-29T08:10:03.096Z] $ docker rm -f --volumes 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T08:10:03.386Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-29T08:10:03.672Z] Stashed 1 file(s) [Pipeline] echo [2024-05-29T08:10:03.710Z] [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-05-29T08:10:04.391Z] provisioning config files... [2024-05-29T08:10:04.401Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config17890639232864769839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:10:04.773Z] ---> ****-login.sh [2024-05-29T08:10:04.774Z] nexus3.edgexfoundry.org:10001 [2024-05-29T08:10:04.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:10:04.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:10:04.774Z] Configure a credential helper to remove this warning. See [2024-05-29T08:10:04.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:10:04.774Z] [2024-05-29T08:10:04.774Z] Login Succeeded [2024-05-29T08:10:04.774Z] nexus3.edgexfoundry.org:10002 [2024-05-29T08:10:04.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:10:04.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:10:04.774Z] Configure a credential helper to remove this warning. See [2024-05-29T08:10:04.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:10:04.774Z] [2024-05-29T08:10:04.774Z] Login Succeeded [2024-05-29T08:10:04.774Z] nexus3.edgexfoundry.org:10003 [2024-05-29T08:10:05.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:10:05.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:10:05.033Z] Configure a credential helper to remove this warning. See [2024-05-29T08:10:05.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:10:05.033Z] [2024-05-29T08:10:05.033Z] Login Succeeded [2024-05-29T08:10:05.033Z] nexus3.edgexfoundry.org:10004 [2024-05-29T08:10:05.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:10:05.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:10:05.034Z] Configure a credential helper to remove this warning. See [2024-05-29T08:10:05.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:10:05.034Z] [2024-05-29T08:10:05.034Z] Login Succeeded [2024-05-29T08:10:05.034Z] ****.io [2024-05-29T08:10:05.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:10:05.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:10:05.293Z] Configure a credential helper to remove this warning. See [2024-05-29T08:10:05.293Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:10:05.293Z] [2024-05-29T08:10:05.293Z] Login Succeeded [2024-05-29T08:10:05.293Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T08:10:05.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T08:10:05.553Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-29T08:10:05.875Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-29T08:10:05.875Z] + cut -d -f 2 [Pipeline] echo [2024-05-29T08:10:05.926Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T08:10:05.970Z] ========================================================= [2024-05-29T08:10:05.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-29T08:10:05.970Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:10:06.490Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-29T08:10:06.760Z] Sending build context to Docker daemon 55.67MB [2024-05-29T08:10:06.761Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:10:06.761Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T08:10:07.021Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-29T08:10:07.021Z] 619be1103602: Pulling fs layer [2024-05-29T08:10:07.021Z] 7862e08f4a3e: Pulling fs layer [2024-05-29T08:10:07.021Z] 5df492c9dc93: Pulling fs layer [2024-05-29T08:10:07.021Z] 7629e6793208: Pulling fs layer [2024-05-29T08:10:07.021Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T08:10:07.021Z] 8de7f028bff5: Pulling fs layer [2024-05-29T08:10:07.021Z] 44042ff1420b: Pulling fs layer [2024-05-29T08:10:07.021Z] 5cdaf54b7214: Pulling fs layer [2024-05-29T08:10:07.021Z] 38f3e5a9071a: Pulling fs layer [2024-05-29T08:10:07.021Z] 7629e6793208: Waiting [2024-05-29T08:10:07.021Z] 44042ff1420b: Waiting [2024-05-29T08:10:07.021Z] 8de7f028bff5: Waiting [2024-05-29T08:10:07.021Z] 4f4fb700ef54: Waiting [2024-05-29T08:10:07.021Z] 5cdaf54b7214: Waiting [2024-05-29T08:10:07.021Z] 38f3e5a9071a: Waiting [2024-05-29T08:10:07.021Z] 7862e08f4a3e: Download complete [2024-05-29T08:10:07.021Z] 7629e6793208: Verifying Checksum [2024-05-29T08:10:07.021Z] 7629e6793208: Download complete [2024-05-29T08:10:07.021Z] 4f4fb700ef54: Verifying Checksum [2024-05-29T08:10:07.021Z] 4f4fb700ef54: Download complete [2024-05-29T08:10:07.021Z] 8de7f028bff5: Verifying Checksum [2024-05-29T08:10:07.021Z] 8de7f028bff5: Download complete [2024-05-29T08:10:07.021Z] 619be1103602: Verifying Checksum [2024-05-29T08:10:07.021Z] 619be1103602: Download complete [2024-05-29T08:10:07.021Z] 44042ff1420b: Verifying Checksum [2024-05-29T08:10:07.021Z] 44042ff1420b: Download complete [2024-05-29T08:10:07.279Z] 619be1103602: Pull complete [2024-05-29T08:10:07.279Z] 38f3e5a9071a: Verifying Checksum [2024-05-29T08:10:07.279Z] 38f3e5a9071a: Download complete [2024-05-29T08:10:07.279Z] 7862e08f4a3e: Pull complete [2024-05-29T08:10:07.536Z] 5df492c9dc93: Verifying Checksum [2024-05-29T08:10:07.536Z] 5df492c9dc93: Download complete [2024-05-29T08:10:07.793Z] 5cdaf54b7214: Verifying Checksum [2024-05-29T08:10:07.793Z] 5cdaf54b7214: Download complete [2024-05-29T08:10:10.323Z] 5df492c9dc93: Pull complete [2024-05-29T08:10:10.584Z] 7629e6793208: Pull complete [2024-05-29T08:10:10.584Z] 4f4fb700ef54: Pull complete [2024-05-29T08:10:10.584Z] 8de7f028bff5: Pull complete [2024-05-29T08:10:10.842Z] 44042ff1420b: Pull complete [2024-05-29T08:10:13.383Z] 5cdaf54b7214: Pull complete [2024-05-29T08:10:13.383Z] 38f3e5a9071a: Pull complete [2024-05-29T08:10:13.383Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-29T08:10:13.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-29T08:10:13.383Z] ---> 60b93f829570 [2024-05-29T08:10:13.383Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:10:18.684Z] ---> Running in 64b766b2fc0f [2024-05-29T08:10:18.684Z] Removing intermediate container 64b766b2fc0f [2024-05-29T08:10:18.684Z] ---> 424b58d9be31 [2024-05-29T08:10:18.684Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:10:18.684Z] ---> Running in c8b78db00392 [2024-05-29T08:10:18.684Z] Removing intermediate container c8b78db00392 [2024-05-29T08:10:18.684Z] ---> e9afa16bd1c0 [2024-05-29T08:10:18.684Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-05-29T08:10:18.684Z] ---> Running in c1acff502930 [2024-05-29T08:10:18.684Z] Removing intermediate container c1acff502930 [2024-05-29T08:10:18.684Z] ---> 5769d0e92c01 [2024-05-29T08:10:18.684Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:10:18.684Z] ---> Running in dfefccc01a24 [2024-05-29T08:10:18.684Z] Removing intermediate container dfefccc01a24 [2024-05-29T08:10:18.684Z] ---> 1bed57d496ec [2024-05-29T08:10:18.684Z] Step 7/12 : WORKDIR /device-gpio [2024-05-29T08:10:18.684Z] ---> Running in 372df005d269 [2024-05-29T08:10:18.684Z] Removing intermediate container 372df005d269 [2024-05-29T08:10:18.684Z] ---> d8f9b4d596dd [2024-05-29T08:10:18.684Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:10:18.684Z] ---> Running in f466d4a7c243 [2024-05-29T08:10:18.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:10:18.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:10:19.174Z] Still waiting to schedule task [2024-05-29T08:10:19.174Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1017’ [2024-05-29T08:10:19.201Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T08:10:19.201Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T08:10:19.201Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T08:10:19.201Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T08:10:19.201Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:10:19.201Z] OK: 268 MiB in 56 packages [2024-05-29T08:10:19.768Z] Removing intermediate container f466d4a7c243 [2024-05-29T08:10:19.768Z] ---> 5f4d11ac670c [2024-05-29T08:10:19.768Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-29T08:10:21.689Z] ---> 3784ba82caca [2024-05-29T08:10:21.689Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:10:21.947Z] ---> Running in fc8f2bebd655 [2024-05-29T08:10:48.580Z] Removing intermediate container fc8f2bebd655 [2024-05-29T08:10:48.580Z] ---> 93faa2685eeb [2024-05-29T08:10:48.580Z] Step 11/12 : COPY . . [2024-05-29T08:10:49.958Z] ---> 7e97c8bbabf5 [2024-05-29T08:10:49.958Z] Step 12/12 : RUN ${MAKE} [2024-05-29T08:10:49.958Z] ---> Running in f9c18edb0c22 [2024-05-29T08:10:49.958Z] noop [2024-05-29T08:10:50.217Z] Removing intermediate container f9c18edb0c22 [2024-05-29T08:10:50.218Z] ---> 6fd4aa9332a5 [2024-05-29T08:10:50.477Z] Successfully built 6fd4aa9332a5 [2024-05-29T08:10:50.477Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:10:50.987Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T08:10:50.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:10:51.170Z] prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container [2024-05-29T08:10:51.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T08:10:51.529Z] $ docker top 6d4fe7ee53872353173df0f5ff7df0ba6d403276cca28e0d154605838682eb6f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:10:51.948Z] + go version [2024-05-29T08:10:51.948Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-29T08:10:51.970Z] $ docker stop --time=1 6d4fe7ee53872353173df0f5ff7df0ba6d403276cca28e0d154605838682eb6f [2024-05-29T08:10:53.218Z] $ docker rm -f --volumes 6d4fe7ee53872353173df0f5ff7df0ba6d403276cca28e0d154605838682eb6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:10:54.156Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-29T08:10:54.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:10:54.389Z] prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container [2024-05-29T08:10:54.408Z] $ 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-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-29T08:10:54.706Z] $ docker top 5f210b04360876d793d9dd1c0c30452a5399aeb7a1e14e359e2c768ce8ee31a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:10:55.132Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-236 [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:10:55.510Z] + make test [2024-05-29T08:10:55.510Z] go test ./... -coverprofile=coverage.out ./... [2024-05-29T08:10:56.887Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-05-29T08:11:06.861Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-05-29T08:11:06.861Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-05-29T08:11:12.124Z] go vet ./... [2024-05-29T08:11:15.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T08:11:15.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T08:11:15.409Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-29T08:11:15.452Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:11:15.825Z] + go mod tidy [Pipeline] } [2024-05-29T08:11:16.093Z] $ docker stop --time=1 5f210b04360876d793d9dd1c0c30452a5399aeb7a1e14e359e2c768ce8ee31a8 [2024-05-29T08:11:19.449Z] $ docker rm -f --volumes 5f210b04360876d793d9dd1c0c30452a5399aeb7a1e14e359e2c768ce8ee31a8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T08:11:20.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T08:11:20.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-29T08:11:20.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T08:11:21.105Z] + ls -al . [2024-05-29T08:11:21.105Z] total 156 [2024-05-29T08:11:21.105Z] drwxrwxr-x 9 jenkins jenkins 4096 May 29 08:10 . [2024-05-29T08:11:21.105Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:09 .. [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 120 May 29 08:09 .dockerignore [2024-05-29T08:11:21.105Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:11 .git [2024-05-29T08:11:21.105Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:09 .github [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 269 May 29 08:09 .gitignore [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 08:09 .golangci.yml [2024-05-29T08:11:21.105Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 08:10 .semver [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 10690 May 29 08:09 Attribution.txt [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 7171 May 29 08:09 CHANGELOG.md [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 1661 May 29 08:09 Dockerfile [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 08:09 GOVERNANCE.md [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 657 May 29 08:09 Jenkinsfile [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 08:09 LICENSE [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 1923 May 29 08:09 Makefile [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 617 May 29 08:09 OWNERS.md [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 3578 May 29 08:09 README.md [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 08:10 VERSION [2024-05-29T08:11:21.105Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:09 bin [2024-05-29T08:11:21.105Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:09 cmd [2024-05-29T08:11:21.105Z] -rw-r--r-- 1 jenkins jenkins 10 May 29 08:10 coverage.out [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 3621 May 29 08:09 go.mod [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 34551 May 29 08:09 go.sum [2024-05-29T08:11:21.105Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:09 internal [2024-05-29T08:11:21.105Z] drwxrwxr-x 6 jenkins jenkins 4096 May 29 08:09 vendor [2024-05-29T08:11:21.105Z] -rw-rw-r-- 1 jenkins jenkins 209 May 29 08:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:11:21.527Z] + 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=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c --label arch=amd64 --label version=0.0.0 . [2024-05-29T08:11:21.787Z] Sending build context to Docker daemon 55.67MB [2024-05-29T08:11:21.787Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:11:21.787Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T08:11:21.787Z] ---> 6fd4aa9332a5 [2024-05-29T08:11:21.787Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:11:22.839Z] ---> Running in 4d56e27478e6 [2024-05-29T08:11:22.839Z] Removing intermediate container 4d56e27478e6 [2024-05-29T08:11:22.839Z] ---> 98553e9017bd [2024-05-29T08:11:22.839Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:11:22.839Z] ---> Running in fad4292852a2 [2024-05-29T08:11:22.839Z] Removing intermediate container fad4292852a2 [2024-05-29T08:11:22.839Z] ---> 55936a222151 [2024-05-29T08:11:22.839Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-05-29T08:11:22.839Z] ---> Running in 035f668e5ea8 [2024-05-29T08:11:23.097Z] Removing intermediate container 035f668e5ea8 [2024-05-29T08:11:23.097Z] ---> ec4daa9dcf77 [2024-05-29T08:11:23.097Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:11:23.097Z] ---> Running in 50588f2c0bf0 [2024-05-29T08:11:23.097Z] Removing intermediate container 50588f2c0bf0 [2024-05-29T08:11:23.097Z] ---> d65bea67a043 [2024-05-29T08:11:23.097Z] Step 7/26 : WORKDIR /device-gpio [2024-05-29T08:11:23.097Z] ---> Running in 478334417c6f [2024-05-29T08:11:23.097Z] Removing intermediate container 478334417c6f [2024-05-29T08:11:23.097Z] ---> e9c987475997 [2024-05-29T08:11:23.097Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:11:23.097Z] ---> Running in 4e8a3f676a2b [2024-05-29T08:11:23.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:23.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:23.874Z] OK: 268 MiB in 56 packages [2024-05-29T08:11:24.133Z] Removing intermediate container 4e8a3f676a2b [2024-05-29T08:11:24.133Z] ---> d0c0f5d23891 [2024-05-29T08:11:24.133Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-29T08:11:26.055Z] ---> cabefe5afd42 [2024-05-29T08:11:26.055Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:11:26.055Z] ---> Running in 5dbbc6dd0887 [2024-05-29T08:11:26.055Z] skipping... [2024-05-29T08:11:26.621Z] Removing intermediate container 5dbbc6dd0887 [2024-05-29T08:11:26.621Z] ---> 3bbfdbbb21ad [2024-05-29T08:11:26.621Z] Step 11/26 : COPY . . [2024-05-29T08:11:29.155Z] ---> b6911635f1e3 [2024-05-29T08:11:29.155Z] Step 12/26 : RUN ${MAKE} [2024-05-29T08:11:29.415Z] ---> Running in bd34d844b276 [2024-05-29T08:11:29.415Z] 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.1.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-05-29T08:11:51.343Z] Removing intermediate container bd34d844b276 [2024-05-29T08:11:51.343Z] ---> 74c926f348ac [2024-05-29T08:11:51.343Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T08:11:51.343Z] 3.18: Pulling from library/alpine [2024-05-29T08:11:51.343Z] 619be1103602: Already exists [2024-05-29T08:11:51.343Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T08:11:51.343Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T08:11:51.343Z] ---> d3782b16ccc9 [2024-05-29T08:11:51.343Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-29T08:11:51.343Z] ---> Running in 1484cb8e6984 [2024-05-29T08:11:51.343Z] Removing intermediate container 1484cb8e6984 [2024-05-29T08:11:51.343Z] ---> c6d0d147ca0e [2024-05-29T08:11:51.343Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T08:11:51.343Z] ---> Running in 8368251b669c [2024-05-29T08:11:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:51.343Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T08:11:51.343Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:11:51.343Z] OK: 7 MiB in 16 packages [2024-05-29T08:11:51.343Z] Removing intermediate container 8368251b669c [2024-05-29T08:11:51.343Z] ---> b0d82b67fdf6 [2024-05-29T08:11:51.343Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-29T08:11:51.343Z] ---> Running in 2e385cadf878 [2024-05-29T08:11:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:51.343Z] Upgrading critical system libraries and apk-tools: [2024-05-29T08:11:51.343Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T08:11:51.343Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:11:51.343Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T08:11:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-29T08:11:51.343Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:11:51.343Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T08:11:51.343Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:11:51.343Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T08:11:51.343Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:11:51.343Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:11:51.343Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:11:51.343Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T08:11:51.343Z] OK: 7 MiB in 16 packages [2024-05-29T08:11:51.343Z] Removing intermediate container 2e385cadf878 [2024-05-29T08:11:51.343Z] ---> b6db7937edf1 [2024-05-29T08:11:51.343Z] Step 17/26 : WORKDIR / [2024-05-29T08:11:51.343Z] ---> Running in dd1e0c5f8565 [2024-05-29T08:11:51.343Z] Removing intermediate container dd1e0c5f8565 [2024-05-29T08:11:51.343Z] ---> da803d5a8dcc [2024-05-29T08:11:51.343Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-05-29T08:11:51.343Z] ---> f9c938c03f6d [2024-05-29T08:11:51.343Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-05-29T08:11:51.343Z] ---> a2fdbc2bf72c [2024-05-29T08:11:51.343Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-05-29T08:11:52.280Z] ---> b4be19692183 [2024-05-29T08:11:52.280Z] Step 21/26 : EXPOSE 59910 [2024-05-29T08:11:52.280Z] ---> Running in f32aa97cc39c [2024-05-29T08:11:52.280Z] Removing intermediate container f32aa97cc39c [2024-05-29T08:11:52.280Z] ---> 5d01b6170c13 [2024-05-29T08:11:52.280Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-05-29T08:11:52.280Z] ---> Running in b475e81fa3c3 [2024-05-29T08:11:52.280Z] Removing intermediate container b475e81fa3c3 [2024-05-29T08:11:52.280Z] ---> 264564db3066 [2024-05-29T08:11:52.280Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T08:11:52.280Z] ---> Running in fc47256da562 [2024-05-29T08:11:52.280Z] Removing intermediate container fc47256da562 [2024-05-29T08:11:52.280Z] ---> 7a3c70ab94ea [2024-05-29T08:11:52.280Z] Step 24/26 : LABEL arch=amd64 [2024-05-29T08:11:52.280Z] ---> Running in bfa6b92b9bd1 [2024-05-29T08:11:52.280Z] Removing intermediate container bfa6b92b9bd1 [2024-05-29T08:11:52.280Z] ---> 94ad1681488e [2024-05-29T08:11:52.280Z] Step 25/26 : LABEL git_sha=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [2024-05-29T08:11:52.280Z] ---> Running in 2789aa595b2b [2024-05-29T08:11:52.539Z] Removing intermediate container 2789aa595b2b [2024-05-29T08:11:52.539Z] ---> ec0e253cd776 [2024-05-29T08:11:52.539Z] Step 26/26 : LABEL version=0.0.0 [2024-05-29T08:11:52.539Z] ---> Running in 25087bce93fe [2024-05-29T08:11:52.539Z] Removing intermediate container 25087bce93fe [2024-05-29T08:11:52.539Z] ---> e5ec00869da3 [2024-05-29T08:11:52.539Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T08:11:52.539Z] Successfully built e5ec00869da3 [2024-05-29T08:11:52.539Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:11:53.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:11:53.626Z] [2024-05-29T08:11:53.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:11:54.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:11:54.021Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-29T08:11:54.021Z] 5eb5b503b376: Pulling fs layer [2024-05-29T08:11:54.021Z] 5c69ac0246d0: Pulling fs layer [2024-05-29T08:11:54.021Z] ec43610c2a17: Pulling fs layer [2024-05-29T08:11:54.021Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-29T08:11:54.021Z] 33b1e0a273af: Pulling fs layer [2024-05-29T08:11:54.021Z] 5d3b04190fa2: Pulling fs layer [2024-05-29T08:11:54.021Z] 2f39f015ded8: Pulling fs layer [2024-05-29T08:11:54.021Z] 33b1e0a273af: Waiting [2024-05-29T08:11:54.021Z] 5d3b04190fa2: Waiting [2024-05-29T08:11:54.021Z] 2f39f015ded8: Waiting [2024-05-29T08:11:54.021Z] 3a2ae6a8a46f: Waiting [2024-05-29T08:11:54.021Z] 5c69ac0246d0: Verifying Checksum [2024-05-29T08:11:54.021Z] 5c69ac0246d0: Download complete [2024-05-29T08:11:54.021Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-29T08:11:54.021Z] 3a2ae6a8a46f: Download complete [2024-05-29T08:11:54.021Z] 33b1e0a273af: Verifying Checksum [2024-05-29T08:11:54.021Z] 33b1e0a273af: Download complete [2024-05-29T08:11:54.021Z] 5d3b04190fa2: Verifying Checksum [2024-05-29T08:11:54.021Z] 5d3b04190fa2: Download complete [2024-05-29T08:11:54.021Z] ec43610c2a17: Verifying Checksum [2024-05-29T08:11:54.021Z] ec43610c2a17: Download complete [2024-05-29T08:11:54.282Z] 5eb5b503b376: Verifying Checksum [2024-05-29T08:11:54.282Z] 5eb5b503b376: Download complete [2024-05-29T08:11:54.849Z] 2f39f015ded8: Download complete [2024-05-29T08:11:55.415Z] 5eb5b503b376: Pull complete [2024-05-29T08:11:55.415Z] 5c69ac0246d0: Pull complete [2024-05-29T08:11:55.985Z] ec43610c2a17: Pull complete [2024-05-29T08:11:55.985Z] 3a2ae6a8a46f: Pull complete [2024-05-29T08:11:56.245Z] 33b1e0a273af: Pull complete [2024-05-29T08:11:56.245Z] 5d3b04190fa2: Pull complete [2024-05-29T08:12:00.435Z] 2f39f015ded8: Pull complete [2024-05-29T08:12:00.435Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-29T08:12:00.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:12:00.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:12:00.760Z] prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container [2024-05-29T08:12:00.769Z] $ 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-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T08:12:06.402Z] $ docker top 52778a5199e8b46d08ab3175e8e73e87c1d4e50b31bcfe74ba3d8bf9f5e23e4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:12:06.879Z] ---> job-cost.sh [2024-05-29T08:12:06.879Z] lf-activate-venv: SKIPPING [2024-05-29T08:12:06.879Z] INFO: No Stack... [2024-05-29T08:12:07.138Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T08:12:07.398Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T08:12:07.713Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-236/archives/cost.csv [2024-05-29T08:12:07.713Z] + cut -d, -f6 [Pipeline] lock [2024-05-29T08:12:07.762Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [2024-05-29T08:12:07.768Z] Resource [jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] did not exist. Created. [2024-05-29T08:12:07.774Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T08:12:08.203Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-29T08:12:08.278Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T08:12:08.300Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T08:12:08.386Z] $ docker stop --time=1 52778a5199e8b46d08ab3175e8e73e87c1d4e50b31bcfe74ba3d8bf9f5e23e4b [2024-05-29T08:12:09.536Z] $ docker rm -f --volumes 52778a5199e8b46d08ab3175e8e73e87c1d4e50b31bcfe74ba3d8bf9f5e23e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-29T08:13:48.470Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1019 in /w/workspace/edgexfoundry_device-gpio_PR-236 [Pipeline] { [Pipeline] ws [2024-05-29T08:13:48.550Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2024-05-29T08:13:48.660Z] The recommended git tool is: git [2024-05-29T08:13:57.077Z] using credential edgex-jenkins-ssh [2024-05-29T08:13:57.102Z] Cloning the remote Git repository [2024-05-29T08:13:57.165Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2024-05-29T08:13:57.403Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2024-05-29T08:13:57.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-05-29T08:13:57.668Z] > git --version # timeout=10 [2024-05-29T08:13:57.698Z] > git --version # 'git version 2.25.1' [2024-05-29T08:13:57.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T08:13:57.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T08:14:00.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-05-29T08:14:00.364Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-29T08:14:01.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-05-29T08:14:01.853Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-05-29T08:14:01.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T08:14:01.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-29T08:14:03.419Z] Merging remotes/origin/napa commit af07e13c4a6a32ed5d117362dee089b4564efe25 into PR head commit fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [2024-05-29T08:14:03.447Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T08:14:03.541Z] > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # timeout=10 [2024-05-29T08:14:04.640Z] Merge succeeded, producing fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [2024-05-29T08:14:04.641Z] Checking out Revision fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c (PR-236) [2024-05-29T08:14:04.549Z] > git remote # timeout=10 [2024-05-29T08:14:04.566Z] > git config --get remote.origin.url # timeout=10 [2024-05-29T08:14:04.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-29T08:14:04.601Z] > git merge af07e13c4a6a32ed5d117362dee089b4564efe25 # timeout=10 [2024-05-29T08:14:04.626Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-29T08:14:04.648Z] > git config core.sparsecheckout # timeout=10 [2024-05-29T08:14:04.660Z] > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # timeout=10 [2024-05-29T08:14:05.781Z] Commit message: "build: Bump SDK to v3.1.1" [2024-05-29T08:14:05.832Z] > git --version # timeout=10 [2024-05-29T08:14:05.841Z] > git --version # 'git version 2.25.1' [2024-05-29T08:14:05.857Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T08:14:10.764Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-29T08:14:10.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T08:14:10.764Z] Dload Upload Total Spent Left Speed [2024-05-29T08:14:10.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2024-05-29T08:14:11.128Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-29T08:14:11.478Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-29T08:14:11.478Z] + sudo tee /etc/docker/daemon.new [2024-05-29T08:14:11.478Z] { [2024-05-29T08:14:11.478Z] "registry-mirrors": [ [2024-05-29T08:14:11.478Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-29T08:14:11.478Z] ], [2024-05-29T08:14:11.478Z] "bip": "10.250.0.254/24", [2024-05-29T08:14:11.478Z] "hosts": [ [2024-05-29T08:14:11.478Z] "tcp://0.0.0.0:5555", [2024-05-29T08:14:11.478Z] "unix:///var/run/docker.sock" [2024-05-29T08:14:11.478Z] ], [2024-05-29T08:14:11.478Z] "mtu": 1458, [2024-05-29T08:14:11.478Z] "selinux-enabled": true, [2024-05-29T08:14:11.478Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-29T08:14:11.478Z] } [Pipeline] sh [2024-05-29T08:14:11.839Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-29T08:14:12.205Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T08:14:30.591Z] provisioning config files... [2024-05-29T08:14:30.616Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config466415270058259697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:14:31.153Z] ---> ****-login.sh [2024-05-29T08:14:31.153Z] nexus3.edgexfoundry.org:10001 [2024-05-29T08:14:31.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:14:31.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:14:31.746Z] Configure a credential helper to remove this warning. See [2024-05-29T08:14:31.746Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:14:31.746Z] [2024-05-29T08:14:31.746Z] Login Succeeded [2024-05-29T08:14:31.746Z] nexus3.edgexfoundry.org:10002 [2024-05-29T08:14:32.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:14:32.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:14:32.288Z] Configure a credential helper to remove this warning. See [2024-05-29T08:14:32.288Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:14:32.288Z] [2024-05-29T08:14:32.288Z] Login Succeeded [2024-05-29T08:14:32.288Z] nexus3.edgexfoundry.org:10003 [2024-05-29T08:14:32.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:14:32.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:14:32.568Z] Configure a credential helper to remove this warning. See [2024-05-29T08:14:32.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:14:32.568Z] [2024-05-29T08:14:32.568Z] Login Succeeded [2024-05-29T08:14:32.568Z] nexus3.edgexfoundry.org:10004 [2024-05-29T08:14:32.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:14:32.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:14:32.853Z] Configure a credential helper to remove this warning. See [2024-05-29T08:14:32.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:14:32.853Z] [2024-05-29T08:14:32.853Z] Login Succeeded [2024-05-29T08:14:32.853Z] ****.io [2024-05-29T08:14:33.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-29T08:14:33.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-29T08:14:33.395Z] Configure a credential helper to remove this warning. See [2024-05-29T08:14:33.395Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-29T08:14:33.395Z] [2024-05-29T08:14:33.395Z] Login Succeeded [2024-05-29T08:14:33.395Z] ---> ****-login.sh ends [Pipeline] } [2024-05-29T08:14:33.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-29T08:14:33.907Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-29T08:14:34.265Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-29T08:14:34.265Z] + cut -d -f 2 [Pipeline] echo [2024-05-29T08:14:34.349Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-29T08:14:34.393Z] ========================================================= [2024-05-29T08:14:34.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-29T08:14:34.393Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:14:34.946Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-29T08:14:37.537Z] Sending build context to Docker daemon 43.43MB [2024-05-29T08:14:37.537Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:14:37.537Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-29T08:14:37.537Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-29T08:14:37.537Z] c6b39de5b339: Pulling fs layer [2024-05-29T08:14:37.537Z] a69c41024577: Pulling fs layer [2024-05-29T08:14:37.537Z] d6de4b400683: Pulling fs layer [2024-05-29T08:14:37.537Z] 35cb2a7552d0: Pulling fs layer [2024-05-29T08:14:37.537Z] 4f4fb700ef54: Pulling fs layer [2024-05-29T08:14:37.537Z] 9e011611b7f5: Pulling fs layer [2024-05-29T08:14:37.537Z] 3bd174042beb: Pulling fs layer [2024-05-29T08:14:37.537Z] 4476f39b5e91: Pulling fs layer [2024-05-29T08:14:37.537Z] 4f4fb700ef54: Waiting [2024-05-29T08:14:37.537Z] 9e011611b7f5: Waiting [2024-05-29T08:14:37.537Z] 3bd174042beb: Waiting [2024-05-29T08:14:37.537Z] 4476f39b5e91: Waiting [2024-05-29T08:14:37.537Z] 35cb2a7552d0: Waiting [2024-05-29T08:14:37.537Z] a69c41024577: Download complete [2024-05-29T08:14:37.537Z] 35cb2a7552d0: Verifying Checksum [2024-05-29T08:14:37.537Z] 35cb2a7552d0: Download complete [2024-05-29T08:14:37.537Z] 4f4fb700ef54: Download complete [2024-05-29T08:14:37.805Z] 9e011611b7f5: Verifying Checksum [2024-05-29T08:14:37.805Z] 9e011611b7f5: Download complete [2024-05-29T08:14:37.805Z] c6b39de5b339: Verifying Checksum [2024-05-29T08:14:37.805Z] c6b39de5b339: Download complete [2024-05-29T08:14:38.071Z] 4476f39b5e91: Verifying Checksum [2024-05-29T08:14:38.072Z] 4476f39b5e91: Download complete [2024-05-29T08:14:38.656Z] c6b39de5b339: Pull complete [2024-05-29T08:14:39.242Z] a69c41024577: Pull complete [2024-05-29T08:14:39.510Z] d6de4b400683: Verifying Checksum [2024-05-29T08:14:39.510Z] d6de4b400683: Download complete [2024-05-29T08:14:40.916Z] 3bd174042beb: Verifying Checksum [2024-05-29T08:14:40.916Z] 3bd174042beb: Download complete [2024-05-29T08:14:53.237Z] d6de4b400683: Pull complete [2024-05-29T08:14:53.237Z] 35cb2a7552d0: Pull complete [2024-05-29T08:14:53.237Z] 4f4fb700ef54: Pull complete [2024-05-29T08:14:53.237Z] 9e011611b7f5: Pull complete [2024-05-29T08:15:03.336Z] 3bd174042beb: Pull complete [2024-05-29T08:15:03.601Z] 4476f39b5e91: Pull complete [2024-05-29T08:15:03.601Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-29T08:15:03.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-29T08:15:03.601Z] ---> 981a0608b64a [2024-05-29T08:15:03.601Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:15:05.557Z] ---> Running in 722e6b087a28 [2024-05-29T08:15:05.832Z] Removing intermediate container 722e6b087a28 [2024-05-29T08:15:05.832Z] ---> d6884ffa1420 [2024-05-29T08:15:05.832Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:15:06.112Z] ---> Running in 37bc8dbd3298 [2024-05-29T08:15:07.526Z] Removing intermediate container 37bc8dbd3298 [2024-05-29T08:15:07.526Z] ---> 777755fc71f0 [2024-05-29T08:15:07.526Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-05-29T08:15:07.526Z] ---> Running in 4ae8dce914a7 [2024-05-29T08:15:07.794Z] Removing intermediate container 4ae8dce914a7 [2024-05-29T08:15:07.794Z] ---> 6a0aa6aec080 [2024-05-29T08:15:07.794Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:15:07.794Z] ---> Running in c854fbd4cbe9 [2024-05-29T08:15:08.063Z] Removing intermediate container c854fbd4cbe9 [2024-05-29T08:15:08.063Z] ---> b6346c9ac54e [2024-05-29T08:15:08.063Z] Step 7/12 : WORKDIR /device-gpio [2024-05-29T08:15:08.331Z] ---> Running in 8b929b5254fc [2024-05-29T08:15:08.602Z] Removing intermediate container 8b929b5254fc [2024-05-29T08:15:08.602Z] ---> 889a84b1e91f [2024-05-29T08:15:08.602Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:15:08.602Z] ---> Running in ade190cc3748 [2024-05-29T08:15:10.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:15:10.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:15:10.890Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-29T08:15:11.167Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-29T08:15:11.167Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-29T08:15:11.167Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-29T08:15:11.167Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:15:11.167Z] OK: 271 MiB in 56 packages [2024-05-29T08:15:12.140Z] Removing intermediate container ade190cc3748 [2024-05-29T08:15:12.140Z] ---> 4f6c06699596 [2024-05-29T08:15:12.140Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-29T08:15:18.812Z] ---> 1d09f7a42a0f [2024-05-29T08:15:18.812Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:15:18.812Z] ---> Running in 19d3d7471770 [2024-05-29T08:16:15.179Z] Removing intermediate container 19d3d7471770 [2024-05-29T08:16:15.179Z] ---> 32df59794647 [2024-05-29T08:16:15.179Z] Step 11/12 : COPY . . [2024-05-29T08:16:19.434Z] ---> 1d67631170a1 [2024-05-29T08:16:19.434Z] Step 12/12 : RUN ${MAKE} [2024-05-29T08:16:19.434Z] ---> Running in 7e66d88105ba [2024-05-29T08:16:20.026Z] noop [2024-05-29T08:16:20.609Z] Removing intermediate container 7e66d88105ba [2024-05-29T08:16:20.609Z] ---> 3bc433b530af [2024-05-29T08:16:20.930Z] Successfully built 3bc433b530af [2024-05-29T08:16:20.930Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:16:21.414Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T08:16:21.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:16:21.713Z] prd-ubuntu20.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container [2024-05-29T08:16:21.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T08:16:22.985Z] $ docker top 00bb0737614071e532d0627e74bee8584f148f41a87cb8526ff60bc1fcca2642 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:16:23.876Z] + go version [2024-05-29T08:16:23.876Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-29T08:16:23.917Z] $ docker stop --time=1 00bb0737614071e532d0627e74bee8584f148f41a87cb8526ff60bc1fcca2642 [2024-05-29T08:16:25.549Z] $ docker rm -f --volumes 00bb0737614071e532d0627e74bee8584f148f41a87cb8526ff60bc1fcca2642 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:16:26.498Z] + docker inspect -f . ci-base-image-arm64 [2024-05-29T08:16:26.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:16:26.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container [2024-05-29T08:16:26.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-29T08:16:27.985Z] $ docker top 3e2743f586f3521550d1e0b2525c4f48927cb2a44535f09c23846c4299abbfb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:16:28.873Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:16:29.304Z] + make test [2024-05-29T08:16:29.576Z] go test ./... -coverprofile=coverage.out ./... [2024-05-29T08:16:32.160Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-05-29T08:18:23.810Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2024-05-29T08:18:23.810Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2024-05-29T08:18:23.810Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-29T08:18:23.810Z] go vet ./... [2024-05-29T08:18:45.856Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-29T08:18:45.856Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-29T08:18:45.856Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-29T08:18:45.903Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-29T08:18:46.295Z] + go mod tidy [Pipeline] } [2024-05-29T08:18:49.666Z] $ docker stop --time=1 3e2743f586f3521550d1e0b2525c4f48927cb2a44535f09c23846c4299abbfb7 [2024-05-29T08:18:51.575Z] $ docker rm -f --volumes 3e2743f586f3521550d1e0b2525c4f48927cb2a44535f09c23846c4299abbfb7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-29T08:18:52.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-29T08:18:52.919Z] Warning: overwriting stash ‘coverage-report’ [2024-05-29T08:18:53.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-29T08:18:54.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-29T08:18:54.868Z] + ls -al . [2024-05-29T08:18:54.868Z] total 152 [2024-05-29T08:18:54.868Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:16 . [2024-05-29T08:18:54.868Z] drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:13 .. [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 120 May 29 08:14 .dockerignore [2024-05-29T08:18:54.868Z] drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:14 .git [2024-05-29T08:18:54.868Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:14 .github [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 269 May 29 08:14 .gitignore [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 41 May 29 08:14 .golangci.yml [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 10690 May 29 08:14 Attribution.txt [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 7171 May 29 08:14 CHANGELOG.md [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 1661 May 29 08:14 Dockerfile [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 677 May 29 08:14 GOVERNANCE.md [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 657 May 29 08:14 Jenkinsfile [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 29 08:14 LICENSE [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 1923 May 29 08:14 Makefile [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 617 May 29 08:14 OWNERS.md [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 3578 May 29 08:14 README.md [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 5 May 29 08:10 VERSION [2024-05-29T08:18:54.868Z] drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:14 bin [2024-05-29T08:18:54.868Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:14 cmd [2024-05-29T08:18:54.868Z] -rw-r--r-- 1 jenkins jenkins 10 May 29 08:16 coverage.out [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 3621 May 29 08:14 go.mod [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 34551 May 29 08:14 go.sum [2024-05-29T08:18:54.868Z] drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:14 internal [2024-05-29T08:18:54.868Z] drwxrwxr-x 6 jenkins jenkins 4096 May 29 08:14 vendor [2024-05-29T08:18:54.868Z] -rw-rw-r-- 1 jenkins jenkins 209 May 29 08:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:18:55.337Z] + 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=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c --label arch=arm64 --label version=0.0.0 . [2024-05-29T08:18:57.940Z] Sending build context to Docker daemon 43.43MB [2024-05-29T08:18:57.940Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-29T08:18:57.940Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-29T08:18:57.940Z] ---> 3bc433b530af [2024-05-29T08:18:57.941Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-29T08:18:57.941Z] ---> Running in 22b91559308b [2024-05-29T08:18:58.207Z] Removing intermediate container 22b91559308b [2024-05-29T08:18:58.207Z] ---> c10b7598bc3e [2024-05-29T08:18:58.207Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-29T08:18:58.477Z] ---> Running in 3824f4098b7d [2024-05-29T08:18:58.742Z] Removing intermediate container 3824f4098b7d [2024-05-29T08:18:58.742Z] ---> bebe1c1eabdd [2024-05-29T08:18:58.742Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-05-29T08:18:58.742Z] ---> Running in 1bd23cda24e1 [2024-05-29T08:18:59.006Z] Removing intermediate container 1bd23cda24e1 [2024-05-29T08:18:59.006Z] ---> eef1ed7641a5 [2024-05-29T08:18:59.006Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-29T08:18:59.006Z] ---> Running in 63a5fdf4ef23 [2024-05-29T08:18:59.273Z] Removing intermediate container 63a5fdf4ef23 [2024-05-29T08:18:59.273Z] ---> 9bc9d41d3ca7 [2024-05-29T08:18:59.273Z] Step 7/26 : WORKDIR /device-gpio [2024-05-29T08:18:59.273Z] ---> Running in 5e92f674e751 [2024-05-29T08:18:59.539Z] Removing intermediate container 5e92f674e751 [2024-05-29T08:18:59.539Z] ---> 90968ec0dbe8 [2024-05-29T08:18:59.539Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-29T08:18:59.806Z] ---> Running in 055f73cb61ff [2024-05-29T08:19:00.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:19:01.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:19:01.975Z] OK: 271 MiB in 56 packages [2024-05-29T08:19:02.931Z] Removing intermediate container 055f73cb61ff [2024-05-29T08:19:02.931Z] ---> 1fbed9aa0454 [2024-05-29T08:19:02.931Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-29T08:19:09.571Z] ---> 075201e3a2f8 [2024-05-29T08:19:09.571Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-29T08:19:09.571Z] ---> Running in aad909d3208e [2024-05-29T08:19:10.524Z] skipping... [2024-05-29T08:19:11.027Z] Removing intermediate container aad909d3208e [2024-05-29T08:19:11.027Z] ---> 87899628aab8 [2024-05-29T08:19:11.027Z] Step 11/26 : COPY . . [2024-05-29T08:19:19.211Z] ---> 7ef3d3770153 [2024-05-29T08:19:19.211Z] Step 12/26 : RUN ${MAKE} [2024-05-29T08:19:19.211Z] ---> Running in 442dcf33450f [2024-05-29T08:19:19.211Z] 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.1.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-05-29T08:21:40.876Z] Removing intermediate container 442dcf33450f [2024-05-29T08:21:40.876Z] ---> 339a7c976d4e [2024-05-29T08:21:40.876Z] Step 13/26 : FROM alpine:3.18 [2024-05-29T08:21:40.876Z] 3.18: Pulling from library/alpine [2024-05-29T08:21:40.876Z] c6b39de5b339: Already exists [2024-05-29T08:21:40.876Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-29T08:21:40.876Z] Status: Downloaded newer image for alpine:3.18 [2024-05-29T08:21:40.876Z] ---> 33abbf032149 [2024-05-29T08:21:40.876Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-05-29T08:21:40.876Z] ---> Running in 16c4777d4c5a [2024-05-29T08:21:40.876Z] Removing intermediate container 16c4777d4c5a [2024-05-29T08:21:40.876Z] ---> 8c03da192406 [2024-05-29T08:21:40.876Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-29T08:21:40.876Z] ---> Running in 48c3834f6721 [2024-05-29T08:21:40.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:21:40.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:21:40.876Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-29T08:21:40.876Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:21:40.876Z] OK: 8 MiB in 16 packages [2024-05-29T08:21:40.876Z] Removing intermediate container 48c3834f6721 [2024-05-29T08:21:40.876Z] ---> 43cae31fb468 [2024-05-29T08:21:40.876Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-29T08:21:40.876Z] ---> Running in d495119fed3c [2024-05-29T08:21:40.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:21:40.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:21:40.876Z] Upgrading critical system libraries and apk-tools: [2024-05-29T08:21:40.876Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-29T08:21:40.876Z] Executing busybox-1.36.1-r5.trigger [2024-05-29T08:21:40.876Z] Continuing the upgrade transaction with new apk-tools: [2024-05-29T08:21:40.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-29T08:21:40.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-29T08:21:41.461Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:21:41.733Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-29T08:21:41.733Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:21:41.733Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-29T08:21:41.733Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:21:41.733Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-29T08:21:41.733Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-29T08:21:41.733Z] Executing busybox-1.36.1-r6.trigger [2024-05-29T08:21:41.733Z] OK: 8 MiB in 16 packages [2024-05-29T08:21:43.142Z] Removing intermediate container d495119fed3c [2024-05-29T08:21:43.143Z] ---> 7bf103eeff84 [2024-05-29T08:21:43.143Z] Step 17/26 : WORKDIR / [2024-05-29T08:21:43.143Z] ---> Running in abbc61210d5a [2024-05-29T08:21:43.409Z] Removing intermediate container abbc61210d5a [2024-05-29T08:21:43.409Z] ---> 352a0670f376 [2024-05-29T08:21:43.409Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-05-29T08:21:43.992Z] ---> c163995c454e [2024-05-29T08:21:43.992Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-05-29T08:21:44.259Z] ---> dd0d00b2e6fb [2024-05-29T08:21:44.259Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-05-29T08:21:46.214Z] ---> b164a2635156 [2024-05-29T08:21:46.214Z] Step 21/26 : EXPOSE 59910 [2024-05-29T08:21:46.214Z] ---> Running in 364902245aec [2024-05-29T08:21:46.214Z] Removing intermediate container 364902245aec [2024-05-29T08:21:46.214Z] ---> 0f6876134de5 [2024-05-29T08:21:46.214Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-05-29T08:21:46.484Z] ---> Running in 66df6f7b240c [2024-05-29T08:21:46.751Z] Removing intermediate container 66df6f7b240c [2024-05-29T08:21:46.751Z] ---> 56f4dee3be97 [2024-05-29T08:21:46.751Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-29T08:21:46.751Z] ---> Running in bc5b5a36b427 [2024-05-29T08:21:47.016Z] Removing intermediate container bc5b5a36b427 [2024-05-29T08:21:47.016Z] ---> e11455419e8f [2024-05-29T08:21:47.016Z] Step 24/26 : LABEL arch=arm64 [2024-05-29T08:21:47.286Z] ---> Running in 1fd632f8a30a [2024-05-29T08:21:47.553Z] Removing intermediate container 1fd632f8a30a [2024-05-29T08:21:47.553Z] ---> 768149cb4943 [2024-05-29T08:21:47.553Z] Step 25/26 : LABEL git_sha=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [2024-05-29T08:21:47.553Z] ---> Running in 7b556dd5e473 [2024-05-29T08:21:47.819Z] Removing intermediate container 7b556dd5e473 [2024-05-29T08:21:47.819Z] ---> b92f85a32f90 [2024-05-29T08:21:47.819Z] Step 26/26 : LABEL version=0.0.0 [2024-05-29T08:21:47.819Z] ---> Running in 616528a8dd6c [2024-05-29T08:21:48.085Z] Removing intermediate container 616528a8dd6c [2024-05-29T08:21:48.085Z] ---> 65540ca2eb12 [2024-05-29T08:21:48.085Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-29T08:21:48.665Z] Successfully built 65540ca2eb12 [2024-05-29T08:21:48.665Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:21:49.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T08:21:49.593Z] [2024-05-29T08:21:49.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:21:50.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T08:21:50.028Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-29T08:21:50.028Z] 8998bd30e6a1: Pulling fs layer [2024-05-29T08:21:50.028Z] 04944245beec: Pulling fs layer [2024-05-29T08:21:50.028Z] 699f458cf7ca: Pulling fs layer [2024-05-29T08:21:50.028Z] 765212b225bb: Pulling fs layer [2024-05-29T08:21:50.028Z] f23df028b6ca: Pulling fs layer [2024-05-29T08:21:50.028Z] d65c8cfc05b1: Pulling fs layer [2024-05-29T08:21:50.028Z] 2437ff75d9bd: Pulling fs layer [2024-05-29T08:21:50.028Z] f23df028b6ca: Waiting [2024-05-29T08:21:50.028Z] d65c8cfc05b1: Waiting [2024-05-29T08:21:50.028Z] 2437ff75d9bd: Waiting [2024-05-29T08:21:50.295Z] 04944245beec: Verifying Checksum [2024-05-29T08:21:50.295Z] 04944245beec: Download complete [2024-05-29T08:21:50.295Z] 765212b225bb: Download complete [2024-05-29T08:21:50.295Z] f23df028b6ca: Verifying Checksum [2024-05-29T08:21:50.295Z] f23df028b6ca: Download complete [2024-05-29T08:21:50.295Z] d65c8cfc05b1: Verifying Checksum [2024-05-29T08:21:50.295Z] d65c8cfc05b1: Download complete [2024-05-29T08:21:50.561Z] 699f458cf7ca: Verifying Checksum [2024-05-29T08:21:50.561Z] 699f458cf7ca: Download complete [2024-05-29T08:21:50.827Z] 8998bd30e6a1: Download complete [2024-05-29T08:21:53.396Z] 2437ff75d9bd: Verifying Checksum [2024-05-29T08:21:53.396Z] 2437ff75d9bd: Download complete [2024-05-29T08:21:55.974Z] 8998bd30e6a1: Pull complete [2024-05-29T08:21:56.241Z] 04944245beec: Pull complete [2024-05-29T08:21:57.650Z] 699f458cf7ca: Pull complete [2024-05-29T08:21:57.916Z] 765212b225bb: Pull complete [2024-05-29T08:21:58.875Z] f23df028b6ca: Pull complete [2024-05-29T08:21:59.141Z] d65c8cfc05b1: Pull complete [2024-05-29T08:22:17.356Z] 2437ff75d9bd: Pull complete [2024-05-29T08:22:17.356Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-29T08:22:17.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-29T08:22:17.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:22:17.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container [2024-05-29T08:22:17.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-29T08:22:20.688Z] $ docker top e37c88aa45706dca05eb23ce878b63d917424496f7a771cc59c9d5ec7cedb7c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:21.608Z] ---> job-cost.sh [2024-05-29T08:22:21.608Z] lf-activate-venv: SKIPPING [2024-05-29T08:22:21.608Z] INFO: No Stack... [2024-05-29T08:22:22.191Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-29T08:22:23.149Z] INFO: Archiving Costs [Pipeline] sh [2024-05-29T08:22:23.812Z] + + cat /w/workspace/device-gpio/1/archives/cost.csv [2024-05-29T08:22:23.812Z] cut -d, -f6 [Pipeline] lock [2024-05-29T08:22:23.860Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [2024-05-29T08:22:23.866Z] Resource [jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] did not exist. Created. [2024-05-29T08:22:23.872Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-29T08:22:24.609Z] /w/workspace/device-gpio/1@tmp/durable-bf42074f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-29T08:22:24.958Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-29T08:22:25.000Z] Warning: overwriting stash ‘stack-cost’ [2024-05-29T08:22:25.373Z] Stashed 1 file(s) [Pipeline] } [2024-05-29T08:22:25.395Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-29T08:22:25.487Z] $ docker stop --time=1 e37c88aa45706dca05eb23ce878b63d917424496f7a771cc59c9d5ec7cedb7c6 [2024-05-29T08:22:26.964Z] $ docker rm -f --volumes e37c88aa45706dca05eb23ce878b63d917424496f7a771cc59c9d5ec7cedb7c6 [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-05-29T08:22:28.090Z] provisioning config files... [2024-05-29T08:22:28.097Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config17210419491044112939tmp [Pipeline] { [Pipeline] sh [2024-05-29T08:22:28.451Z] + set +x [2024-05-29T08:22:28.451Z] + curl -s https://codecov.io/bash [2024-05-29T08:22:28.451Z] + bash -s -- [2024-05-29T08:22:28.451Z] [2024-05-29T08:22:28.451Z] _____ _ [2024-05-29T08:22:28.451Z] / ____| | | [2024-05-29T08:22:28.451Z] | | ___ __| | ___ ___ _____ __ [2024-05-29T08:22:28.451Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-29T08:22:28.451Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-29T08:22:28.451Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-29T08:22:28.451Z] Bash-1.0.6 [2024-05-29T08:22:28.451Z] [2024-05-29T08:22:28.451Z] [2024-05-29T08:22:28.451Z] ==> git version 2.25.1 found [2024-05-29T08:22:28.451Z] ==> 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-05-29T08:22:28.451Z] Release-Date: 2020-01-08 [2024-05-29T08:22:28.451Z] 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-05-29T08:22:28.451Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-29T08:22:28.451Z] ==> Jenkins CI detected. [2024-05-29T08:22:28.451Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-236 [2024-05-29T08:22:28.451Z] project root: . [2024-05-29T08:22:28.451Z] --> token set from env [2024-05-29T08:22:28.451Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-29T08:22:28.451Z] ==> Running gcov in . (disable via -X gcov) [2024-05-29T08:22:28.451Z] ==> Python coveragepy not found [2024-05-29T08:22:28.451Z] ==> Searching for coverage reports in: [2024-05-29T08:22:28.451Z] + . [2024-05-29T08:22:28.451Z] -> Found 1 reports [2024-05-29T08:22:28.451Z] ==> Detecting git/mercurial file structure [2024-05-29T08:22:28.710Z] ==> Reading reports [2024-05-29T08:22:28.710Z] + ./coverage.out bytes=10 [2024-05-29T08:22:28.710Z] ==> Appending adjustments [2024-05-29T08:22:28.710Z] https://docs.codecov.io/docs/fixing-reports [2024-05-29T08:22:28.710Z] + Found adjustments [2024-05-29T08:22:28.710Z] ==> Gzipping contents [2024-05-29T08:22:28.710Z] 12K /tmp/codecov.Nt2ma8.gz [2024-05-29T08:22:28.710Z] ==> Uploading reports [2024-05-29T08:22:28.710Z] url: https://codecov.io [2024-05-29T08:22:28.710Z] query: branch=PR-236&commit=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=236&job=&cmd_args= [2024-05-29T08:22:28.710Z] -> Pinging Codecov [2024-05-29T08:22:28.710Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-236&commit=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=236&job=&cmd_args= [2024-05-29T08:22:28.970Z] -> Uploading to [2024-05-29T08:22:28.970Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-29/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c/b6fed04d-f03f-43d8-bdfc-0a3d337e6a05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T082228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6255aa394c4dfe82b0e0fcdf12c02e5315256deae530f4fd2bdadf3c443d9037 [2024-05-29T08:22:28.970Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-29T08:22:28.970Z] Dload Upload Total Spent Left Speed [2024-05-29T08:22:29.230Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11967 0 0 100 11967 0 45675 --:--:-- --:--:-- --:--:-- 45675 [2024-05-29T08:22:29.230Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] } [2024-05-29T08:22:29.265Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-05-29T08:22:31.630Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-236/archives ] [2024-05-29T08:22:31.630Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-236/archives [2024-05-29T08:22:31.630Z] total 16 [2024-05-29T08:22:31.630Z] drwxr-xr-x 3 root root 4096 May 29 08:12 . [2024-05-29T08:22:31.630Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 08:12 .. [2024-05-29T08:22:31.630Z] drwxr-xr-x 2 root root 4096 May 29 08:12 cost [2024-05-29T08:22:31.630Z] -rw-r--r-- 1 root root 83 May 29 08:12 cost.csv [2024-05-29T08:22:31.630Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-236/archives [2024-05-29T08:22:31.630Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-236/archives [2024-05-29T08:22:31.630Z] total 16 [2024-05-29T08:22:31.630Z] drwxr-xr-x 3 jenkins jenkins 4096 May 29 08:12 . [2024-05-29T08:22:31.630Z] drwxrwxr-x 10 jenkins jenkins 4096 May 29 08:12 .. [2024-05-29T08:22:31.630Z] drwxr-xr-x 2 jenkins jenkins 4096 May 29 08:12 cost [2024-05-29T08:22:31.630Z] -rw-r--r-- 1 jenkins jenkins 83 May 29 08:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:31.962Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:32.864Z] ---> package-listing.sh [2024-05-29T08:22:32.864Z] ++ facter osfamily [2024-05-29T08:22:32.864Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-29T08:22:33.123Z] + OS_FAMILY=debian [2024-05-29T08:22:33.123Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-236 [2024-05-29T08:22:33.123Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-29T08:22:33.123Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-29T08:22:33.123Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-29T08:22:33.123Z] + PACKAGES=/tmp/packages_start.txt [2024-05-29T08:22:33.123Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-236 ']' [2024-05-29T08:22:33.123Z] + PACKAGES=/tmp/packages_end.txt [2024-05-29T08:22:33.123Z] + case "${OS_FAMILY}" in [2024-05-29T08:22:33.123Z] + dpkg -l [2024-05-29T08:22:33.123Z] + grep '^ii' [2024-05-29T08:22:33.123Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-29T08:22:33.123Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-29T08:22:33.123Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-29T08:22:33.123Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-236 ']' [2024-05-29T08:22:33.123Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-236/archives/ [2024-05-29T08:22:33.123Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-236/archives/ [Pipeline] echo [2024-05-29T08:22:33.164Z] 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-29T08:22:33.464Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-29T08:22:34.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-29T08:22:34.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-29T08:22:34.279Z] prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container [2024-05-29T08:22:34.342Z] $ 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-236/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-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-29T08:22:34.517Z] $ docker top 7ae048cf72482641c103093ddc5f754dffea56b50968272bab56f5b7688d1d56 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-29T08:22:35.032Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-29T08:22:35.361Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-29T08:22:35.685Z] + ls /var/log/sa-host [2024-05-29T08:22:35.685Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-29T08:22:35.883Z] provisioning config files... [2024-05-29T08:22:35.893Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config5839886580528547372tmp [Pipeline] { [Pipeline] echo [2024-05-29T08:22:35.970Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:36.293Z] ---> create-netrc.sh [Pipeline] } [2024-05-29T08:22:36.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:36.761Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-29T08:22:36.802Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:37.128Z] ---> sudo-logs.sh [2024-05-29T08:22:37.128Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-29T08:22:37.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:37.561Z] ---> job-cost.sh [2024-05-29T08:22:37.561Z] lf-activate-venv: SKIPPING [2024-05-29T08:22:37.561Z] DEBUG: total: 0.2199999988079071 [2024-05-29T08:22:37.561Z] INFO: Retrieving Stack Cost... [2024-05-29T08:22:38.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-29T08:22:38.698Z] INFO: Archiving Costs [Pipeline] echo [2024-05-29T08:22:38.735Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-29T08:22:39.056Z] ---> logs-deploy.sh [2024-05-29T08:22:39.056Z] lf-activate-venv: SKIPPING [2024-05-29T08:22:39.056Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-236/1 [2024-05-29T08:22:39.056Z] INFO: archiving workspace using pattern(s): [2024-05-29T08:22:39.995Z] Archives upload complete. [2024-05-29T08:22:39.995Z] INFO: archiving logs to Nexus