Pull request #218 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f+cacff4a2d422747bd6cf74591db2fe792ce5aaad (8acfecabc1f68cc4510034900b2bd9108b97cedc) 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-ssh15361339983395650204.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9926558212982914905.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-218/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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4365343587236490720.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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12780259125509318680.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14277762470455226134.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-218/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-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11779698644415240277.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-345 in /w/workspace/edgexfoundry_device-gpio_PR-218 [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-218 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cacff4a2d422747bd6cf74591db2fe792ce5aaad into PR head commit 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f > 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/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f Checking out Revision 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f (PR-218) Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-21T22:20:38.055Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-21T22:20:38.265Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git merge cacff4a2d422747bd6cf74591db2fe792ce5aaad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f # timeout=10 [Pipeline] echo [2023-11-21T22:20:38.384Z] ========================================================= [2023-11-21T22:20:38.384Z] EdgeX Global Pipelines Version Info [2023-11-21T22:20:38.384Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:20:39.510Z] ------------------- [2023-11-21T22:20:39.510Z] stable info: [2023-11-21T22:20:39.510Z] ------------------- [2023-11-21T22:20:39.510Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-21T22:20:39.510Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:20:39.510Z] Message: update stable to v1.0.258 [2023-11-21T22:20:39.770Z] ------------------- [2023-11-21T22:20:39.770Z] experimental info: [2023-11-21T22:20:39.770Z] ------------------- [2023-11-21T22:20:39.770Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-21T22:20:39.770Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:20:39.770Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-21T22:20:40.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-11-21T22:20:40.055Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-11-21T22:20:40.112Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-21T22:20:40.169Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-21T22:20:40.230Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-21T22:20:40.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-21T22:20:40.369Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-21T22:20:40.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-21T22:20:40.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-21T22:20:40.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-21T22:20:40.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-21T22:20:40.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-11-21T22:20:40.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-21T22:20:40.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-21T22:20:40.865Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:20:40.929Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:20:40.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:20:41.057Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:20:41.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-21T22:20:41.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-21T22:20:41.252Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-21T22:20:41.323Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-21T22:20:41.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-21T22:20:41.452Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-21T22:20:41.526Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-21T22:20:41.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-21T22:20:41.670Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-21T22:20:41.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-218 [Pipeline] echo [2023-11-21T22:20:41.823Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-218 [Pipeline] echo [2023-11-21T22:20:41.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-218 [Pipeline] echo [2023-11-21T22:20:41.982Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [Pipeline] echo [2023-11-21T22:20:42.055Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f4a5b0 [Pipeline] echo [2023-11-21T22:20:42.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:20:42.296Z] provisioning config files... [2023-11-21T22:20:42.309Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp/config4380876721466259590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:20:42.709Z] ---> ****-login.sh [2023-11-21T22:20:42.709Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:20:43.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:43.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:43.648Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:43.648Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:43.648Z] [2023-11-21T22:20:43.648Z] Login Succeeded [2023-11-21T22:20:43.648Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:20:43.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:43.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:43.648Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:43.648Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:43.648Z] [2023-11-21T22:20:43.648Z] Login Succeeded [2023-11-21T22:20:43.648Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:20:43.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:43.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:43.910Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:43.910Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:43.910Z] [2023-11-21T22:20:43.910Z] Login Succeeded [2023-11-21T22:20:43.910Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:20:43.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:43.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:43.910Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:43.910Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:43.910Z] [2023-11-21T22:20:43.910Z] Login Succeeded [2023-11-21T22:20:43.910Z] ****.io [2023-11-21T22:20:44.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:20:44.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:20:44.430Z] Configure a credential helper to remove this warning. See [2023-11-21T22:20:44.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:20:44.430Z] [2023-11-21T22:20:44.430Z] Login Succeeded [2023-11-21T22:20:44.430Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:20:44.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-21T22:20:45.269Z] + git rev-list -1 --merges 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f~1..9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [Pipeline] echo [2023-11-21T22:20:45.315Z] -----------> git rev-list -1 --merges 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f~1..9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [false] [Pipeline] sh [2023-11-21T22:20:45.652Z] + git log --format=format:%s -1 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [Pipeline] echo [2023-11-21T22:20:45.697Z] ========================================================= [2023-11-21T22:20:45.697Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-21T22:20:45.697Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:20:46.181Z] + git log --format=format:%s -1 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [Pipeline] echo [2023-11-21T22:20:46.216Z] [semverPrep] GIT_COMMIT: 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f, Commit Message: build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo [2023-11-21T22:20:46.265Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-21T22:20:46.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-21T22:20:46.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-21T22:20:46.679Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-21T22:20:46.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-21T22:20:46.679Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-21T22:20:46.679Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-21T22:20:46.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:20:47.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:20:47.819Z] [2023-11-21T22:20:47.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:20:49.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:20:49.092Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-21T22:20:49.092Z] b85a868b505f: Pulling fs layer [2023-11-21T22:20:49.092Z] e2be974225ed: Pulling fs layer [2023-11-21T22:20:49.092Z] 339a4e72a1f5: Pulling fs layer [2023-11-21T22:20:49.092Z] 988bab9f4d93: Pulling fs layer [2023-11-21T22:20:49.092Z] 1469e6f7b9e6: Pulling fs layer [2023-11-21T22:20:49.092Z] eaf3925da568: Pulling fs layer [2023-11-21T22:20:49.092Z] bab4dde63d76: Pulling fs layer [2023-11-21T22:20:49.092Z] bde34c3a00c8: Pulling fs layer [2023-11-21T22:20:49.092Z] b352a97aabf1: Pulling fs layer [2023-11-21T22:20:49.092Z] 4872d77fe225: Pulling fs layer [2023-11-21T22:20:49.092Z] 5851b861e8e6: Pulling fs layer [2023-11-21T22:20:49.092Z] 988bab9f4d93: Waiting [2023-11-21T22:20:49.092Z] 1469e6f7b9e6: Waiting [2023-11-21T22:20:49.092Z] bde34c3a00c8: Waiting [2023-11-21T22:20:49.092Z] eaf3925da568: Waiting [2023-11-21T22:20:49.092Z] 4872d77fe225: Waiting [2023-11-21T22:20:49.092Z] bab4dde63d76: Waiting [2023-11-21T22:20:49.092Z] 5851b861e8e6: Waiting [2023-11-21T22:20:49.092Z] b352a97aabf1: Waiting [2023-11-21T22:20:49.092Z] e2be974225ed: Download complete [2023-11-21T22:20:49.092Z] 988bab9f4d93: Verifying Checksum [2023-11-21T22:20:49.092Z] 988bab9f4d93: Download complete [2023-11-21T22:20:49.092Z] 339a4e72a1f5: Verifying Checksum [2023-11-21T22:20:49.092Z] 339a4e72a1f5: Download complete [2023-11-21T22:20:49.092Z] eaf3925da568: Download complete [2023-11-21T22:20:49.092Z] 1469e6f7b9e6: Verifying Checksum [2023-11-21T22:20:49.092Z] 1469e6f7b9e6: Download complete [2023-11-21T22:20:49.360Z] bde34c3a00c8: Verifying Checksum [2023-11-21T22:20:49.360Z] bde34c3a00c8: Download complete [2023-11-21T22:20:49.360Z] b352a97aabf1: Verifying Checksum [2023-11-21T22:20:49.360Z] b352a97aabf1: Download complete [2023-11-21T22:20:49.360Z] 4872d77fe225: Download complete [2023-11-21T22:20:49.360Z] 5851b861e8e6: Verifying Checksum [2023-11-21T22:20:49.360Z] 5851b861e8e6: Download complete [2023-11-21T22:20:49.360Z] b85a868b505f: Verifying Checksum [2023-11-21T22:20:49.360Z] b85a868b505f: Download complete [2023-11-21T22:20:49.618Z] bab4dde63d76: Verifying Checksum [2023-11-21T22:20:50.558Z] b85a868b505f: Pull complete [2023-11-21T22:20:50.558Z] e2be974225ed: Pull complete [2023-11-21T22:20:51.126Z] 339a4e72a1f5: Pull complete [2023-11-21T22:20:51.126Z] 988bab9f4d93: Pull complete [2023-11-21T22:20:51.390Z] 1469e6f7b9e6: Pull complete [2023-11-21T22:20:51.390Z] eaf3925da568: Pull complete [2023-11-21T22:20:53.545Z] bab4dde63d76: Pull complete [2023-11-21T22:20:53.545Z] bde34c3a00c8: Pull complete [2023-11-21T22:20:53.545Z] b352a97aabf1: Pull complete [2023-11-21T22:20:53.545Z] 4872d77fe225: Pull complete [2023-11-21T22:20:53.545Z] 5851b861e8e6: Pull complete [2023-11-21T22:20:53.545Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-21T22:20:53.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:20:53.545Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:20:53.892Z] prd-ubuntu20.04-docker-8c-8g-345 does not seem to be running inside a container [2023-11-21T22:20:53.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-218 -v /w/workspace/edgexfoundry_device-gpio_PR-218:/w/workspace/edgexfoundry_device-gpio_PR-218:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-218@tmp:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-21T22:20:56.662Z] $ docker top 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 -eo pid,comm [2023-11-21T22:20:56.719Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-21T22:20:56.719Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-21T22:20:56.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:20:56.912Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:20:57.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:20:57.028Z] $ docker exec 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 ssh-agent [2023-11-21T22:20:57.146Z] SSH_AUTH_SOCK=/tmp/ssh-oOYmzbJMudA5/agent.31 [2023-11-21T22:20:57.146Z] SSH_AGENT_PID=37 [2023-11-21T22:20:57.153Z] Running ssh-add (command line suppressed) [2023-11-21T22:20:57.243Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-218@tmp/private_key_12469405518991511056.key (/w/workspace/edgexfoundry_device-gpio_PR-218@tmp/private_key_12469405518991511056.key) [2023-11-21T22:20:57.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:20:57.624Z] + git tag --points-at HEAD [Pipeline] } [2023-11-21T22:20:57.646Z] $ docker exec --env ******** --env ******** 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 ssh-agent -k [2023-11-21T22:20:57.753Z] unset SSH_AUTH_SOCK; [2023-11-21T22:20:57.754Z] unset SSH_AGENT_PID; [2023-11-21T22:20:57.754Z] echo Agent pid 37 killed; [2023-11-21T22:20:57.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-21T22:20:57.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:20:57.904Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:20:58.015Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:20:58.016Z] $ docker exec 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 ssh-agent [2023-11-21T22:20:58.126Z] SSH_AUTH_SOCK=/tmp/ssh-foX6xSNjRd9L/agent.68 [2023-11-21T22:20:58.126Z] SSH_AGENT_PID=74 [2023-11-21T22:20:58.131Z] Running ssh-add (command line suppressed) [2023-11-21T22:20:58.232Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-218@tmp/private_key_4964308140287201890.key (/w/workspace/edgexfoundry_device-gpio_PR-218@tmp/private_key_4964308140287201890.key) [2023-11-21T22:20:58.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:20:58.602Z] + git semver init [2023-11-21T22:20:58.863Z] 2023-11-21 22:20:58,812 [run_init] DEBUG init version:0.0.0 force:False [2023-11-21T22:20:58.863Z] 2023-11-21 22:20:58,813 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-218/.semver [2023-11-21T22:20:58.863Z] 2023-11-21 22:20:58,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-218/.semver [2023-11-21T22:20:58.863Z] 2023-11-21 22:20:58,814 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-218/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-218, universal_newlines=False, shell=None, istream=None) [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,118 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-218/.git/info/exclude [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-218/.semver/PR-218 with force:False [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,119 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-218/.semver/PR-218 [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,123 [execute] INFO git cat-file --batch-check [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,131 [execute] INFO git cat-file --batch [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:21:00.247Z] 2023-11-21 22:21:00,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-218/.semver/PR-218 [2023-11-21T22:21:00.247Z] 0.0.0 [Pipeline] } [2023-11-21T22:21:00.271Z] $ docker exec --env ******** --env ******** 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 ssh-agent -k [2023-11-21T22:21:00.375Z] unset SSH_AUTH_SOCK; [2023-11-21T22:21:00.376Z] unset SSH_AGENT_PID; [2023-11-21T22:21:00.376Z] echo Agent pid 74 killed; [2023-11-21T22:21:00.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-21T22:21:00.892Z] + git semver [Pipeline] } [2023-11-21T22:21:01.172Z] $ docker stop --time=1 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 [2023-11-21T22:21:02.452Z] $ docker rm -f --volumes 5c436f3ba05689f7beeec2b0a8e76c9bf14fab5e7e059091d844cedf022916d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:21:02.925Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-21T22:21:03.276Z] Stashed 1 file(s) [Pipeline] echo [2023-11-21T22:21:03.292Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:21:04.178Z] provisioning config files... [2023-11-21T22:21:04.189Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp/config7323072040668124313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:04.590Z] ---> ****-login.sh [2023-11-21T22:21:04.590Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:21:04.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:04.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:04.590Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:04.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:04.590Z] [2023-11-21T22:21:04.590Z] Login Succeeded [2023-11-21T22:21:04.590Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:21:04.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:04.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:04.590Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:04.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:04.590Z] [2023-11-21T22:21:04.590Z] Login Succeeded [2023-11-21T22:21:04.590Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:21:04.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:04.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:04.849Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:04.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:04.849Z] [2023-11-21T22:21:04.849Z] Login Succeeded [2023-11-21T22:21:04.849Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:21:04.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:04.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:04.850Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:04.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:04.850Z] [2023-11-21T22:21:04.850Z] Login Succeeded [2023-11-21T22:21:04.850Z] ****.io [2023-11-21T22:21:05.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:05.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:05.109Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:05.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:05.109Z] [2023-11-21T22:21:05.109Z] Login Succeeded [2023-11-21T22:21:05.109Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:21:05.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:21:05.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:21:05.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:21:05.564Z] ========================================================= [2023-11-21T22:21:05.564Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-21T22:21:05.564Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:06.148Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-21T22:21:06.148Z] Sending build context to Docker daemon 26.99MB [2023-11-21T22:21:06.148Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:21:06.148Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:21:06.440Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-21T22:21:06.440Z] 7264a8db6415: Pulling fs layer [2023-11-21T22:21:06.440Z] c4d48a809fc2: Pulling fs layer [2023-11-21T22:21:06.440Z] 4f1c88b9dad5: Pulling fs layer [2023-11-21T22:21:06.440Z] ad3a456e5733: Pulling fs layer [2023-11-21T22:21:06.440Z] 69c7f0334f64: Pulling fs layer [2023-11-21T22:21:06.440Z] 1f1c1a5573a3: Pulling fs layer [2023-11-21T22:21:06.440Z] 69c7f0334f64: Waiting [2023-11-21T22:21:06.440Z] ad3a456e5733: Waiting [2023-11-21T22:21:06.440Z] ce7588e14bc9: Pulling fs layer [2023-11-21T22:21:06.440Z] b5e4710f87ac: Pulling fs layer [2023-11-21T22:21:06.440Z] 1f1c1a5573a3: Waiting [2023-11-21T22:21:06.440Z] b5e4710f87ac: Waiting [2023-11-21T22:21:06.440Z] ce7588e14bc9: Waiting [2023-11-21T22:21:06.440Z] c4d48a809fc2: Verifying Checksum [2023-11-21T22:21:06.440Z] c4d48a809fc2: Download complete [2023-11-21T22:21:06.440Z] ad3a456e5733: Verifying Checksum [2023-11-21T22:21:06.440Z] ad3a456e5733: Download complete [2023-11-21T22:21:06.440Z] 69c7f0334f64: Verifying Checksum [2023-11-21T22:21:06.440Z] 69c7f0334f64: Download complete [2023-11-21T22:21:06.440Z] 7264a8db6415: Verifying Checksum [2023-11-21T22:21:06.440Z] 7264a8db6415: Download complete [2023-11-21T22:21:06.440Z] 1f1c1a5573a3: Verifying Checksum [2023-11-21T22:21:06.440Z] 1f1c1a5573a3: Download complete [2023-11-21T22:21:06.702Z] 7264a8db6415: Pull complete [2023-11-21T22:21:06.702Z] b5e4710f87ac: Verifying Checksum [2023-11-21T22:21:06.702Z] b5e4710f87ac: Download complete [2023-11-21T22:21:06.702Z] c4d48a809fc2: Pull complete [2023-11-21T22:21:06.964Z] 4f1c88b9dad5: Verifying Checksum [2023-11-21T22:21:06.964Z] 4f1c88b9dad5: Download complete [2023-11-21T22:21:07.223Z] ce7588e14bc9: Verifying Checksum [2023-11-21T22:21:07.223Z] ce7588e14bc9: Download complete [2023-11-21T22:21:10.508Z] 4f1c88b9dad5: Pull complete [2023-11-21T22:21:10.766Z] ad3a456e5733: Pull complete [2023-11-21T22:21:10.766Z] 69c7f0334f64: Pull complete [2023-11-21T22:21:11.024Z] 1f1c1a5573a3: Pull complete [2023-11-21T22:21:13.553Z] ce7588e14bc9: Pull complete [2023-11-21T22:21:13.830Z] b5e4710f87ac: Pull complete [2023-11-21T22:21:13.830Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-21T22:21:13.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-21T22:21:13.830Z] ---> 88b5674ff536 [2023-11-21T22:21:13.830Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:21:18.925Z] Still waiting to schedule task [2023-11-21T22:21:18.925Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-21T22:21:19.109Z] ---> Running in 64aba4fa1879 [2023-11-21T22:21:19.109Z] Removing intermediate container 64aba4fa1879 [2023-11-21T22:21:19.109Z] ---> bdac158bb910 [2023-11-21T22:21:19.109Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:21:19.109Z] ---> Running in 2a56c66d7724 [2023-11-21T22:21:19.109Z] Removing intermediate container 2a56c66d7724 [2023-11-21T22:21:19.109Z] ---> cd2bf69c791f [2023-11-21T22:21:19.109Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-21T22:21:19.109Z] ---> Running in e95621109a86 [2023-11-21T22:21:19.109Z] Removing intermediate container e95621109a86 [2023-11-21T22:21:19.109Z] ---> c2a281994e3d [2023-11-21T22:21:19.109Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:21:19.109Z] ---> Running in 5b11b9acb505 [2023-11-21T22:21:19.369Z] Removing intermediate container 5b11b9acb505 [2023-11-21T22:21:19.369Z] ---> 4ed210090165 [2023-11-21T22:21:19.369Z] Step 7/12 : WORKDIR /device-gpio [2023-11-21T22:21:19.369Z] ---> Running in 8298806f12c1 [2023-11-21T22:21:19.369Z] Removing intermediate container 8298806f12c1 [2023-11-21T22:21:19.369Z] ---> 716183301417 [2023-11-21T22:21:19.369Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:21:19.369Z] ---> Running in d805e27a3ac4 [2023-11-21T22:21:19.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:21:19.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:21:19.886Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:21:19.886Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:21:19.886Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:21:20.146Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:21:20.146Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:21:20.146Z] OK: 268 MiB in 56 packages [2023-11-21T22:21:20.714Z] Removing intermediate container d805e27a3ac4 [2023-11-21T22:21:20.714Z] ---> e0a297c73c7a [2023-11-21T22:21:20.714Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:21:20.714Z] ---> 046d11dc2494 [2023-11-21T22:21:20.714Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:21:20.714Z] ---> Running in 51078ab8639d [2023-11-21T22:21:59.799Z] Removing intermediate container 51078ab8639d [2023-11-21T22:21:59.799Z] ---> 3a4d1644a066 [2023-11-21T22:21:59.799Z] Step 11/12 : COPY . . [2023-11-21T22:21:59.799Z] ---> 40d67efa10e0 [2023-11-21T22:21:59.799Z] Step 12/12 : RUN ${MAKE} [2023-11-21T22:21:59.799Z] ---> Running in 822600cf2122 [2023-11-21T22:21:59.799Z] noop [2023-11-21T22:22:00.214Z] Removing intermediate container 822600cf2122 [2023-11-21T22:22:00.214Z] ---> 373f6054432e [2023-11-21T22:22:00.214Z] Successfully built 373f6054432e [2023-11-21T22:22:00.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:00.892Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:22:00.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:01.113Z] prd-ubuntu20.04-docker-8c-8g-345 does not seem to be running inside a container [2023-11-21T22:22:01.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-218 -v /w/workspace/edgexfoundry_device-gpio_PR-218:/w/workspace/edgexfoundry_device-gpio_PR-218:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-218@tmp:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-21T22:22:01.505Z] $ docker top c5583d7ecc77c98b56576531f971e3e65216f17a08496a3a7569f3cb476a8741 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:22:01.960Z] + go version [2023-11-21T22:22:01.960Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-21T22:22:01.994Z] $ docker stop --time=1 c5583d7ecc77c98b56576531f971e3e65216f17a08496a3a7569f3cb476a8741 [2023-11-21T22:22:03.280Z] $ docker rm -f --volumes c5583d7ecc77c98b56576531f971e3e65216f17a08496a3a7569f3cb476a8741 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:04.349Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:22:04.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:04.672Z] prd-ubuntu20.04-docker-8c-8g-345 does not seem to be running inside a container [2023-11-21T22:22:04.711Z] $ 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-218 -v /w/workspace/edgexfoundry_device-gpio_PR-218:/w/workspace/edgexfoundry_device-gpio_PR-218:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-218@tmp:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-21T22:22:05.030Z] $ docker top a5379f573f9812b735879f408a254866ba8fbb792054fe777badf1bc5bf17f61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:22:05.483Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-218 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:22:05.885Z] + make test [2023-11-21T22:22:05.885Z] go test ./... -coverprofile=coverage.out ./... [2023-11-21T22:22:06.845Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-21T22:22:16.852Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-21T22:22:16.852Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-21T22:22:23.439Z] go vet ./... [2023-11-21T22:22:27.638Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:22:27.638Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:22:27.638Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:22:27.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:22:27.772Z] $ docker stop --time=1 a5379f573f9812b735879f408a254866ba8fbb792054fe777badf1bc5bf17f61 [2023-11-21T22:22:31.373Z] $ docker rm -f --volumes a5379f573f9812b735879f408a254866ba8fbb792054fe777badf1bc5bf17f61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:22:31.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:22:32.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-21T22:22:32.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:22:33.146Z] + ls -al . [2023-11-21T22:22:33.146Z] total 152 [2023-11-21T22:22:33.146Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:22 . [2023-11-21T22:22:33.146Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:20 .. [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 21 22:20 .dockerignore [2023-11-21T22:22:33.146Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:22 .git [2023-11-21T22:22:33.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:20 .github [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 21 22:20 .gitignore [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:20 .golangci.yml [2023-11-21T22:22:33.146Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:21 .semver [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 21 22:20 Attribution.txt [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 7171 Nov 21 22:20 CHANGELOG.md [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 1661 Nov 21 22:20 Dockerfile [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:20 GOVERNANCE.md [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 21 22:20 Jenkinsfile [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:20 LICENSE [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 21 22:20 Makefile [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 21 22:20 OWNERS.md [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 21 22:20 README.md [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:21 VERSION [2023-11-21T22:22:33.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:20 bin [2023-11-21T22:22:33.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:20 cmd [2023-11-21T22:22:33.146Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 21 22:22 coverage.out [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 3651 Nov 21 22:20 go.mod [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 35356 Nov 21 22:20 go.sum [2023-11-21T22:22:33.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:20 internal [2023-11-21T22:22:33.146Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 21 22:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:33.596Z] + 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=9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f --label arch=amd64 --label version=0.0.0 . [2023-11-21T22:22:33.596Z] Sending build context to Docker daemon 26.99MB [2023-11-21T22:22:33.596Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:22:33.596Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-21T22:22:33.596Z] ---> 373f6054432e [2023-11-21T22:22:33.596Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:22:34.168Z] ---> Running in 7bdae264280c [2023-11-21T22:22:34.168Z] Removing intermediate container 7bdae264280c [2023-11-21T22:22:34.168Z] ---> 2d3b9e6f1afa [2023-11-21T22:22:34.168Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:22:34.168Z] ---> Running in d2f81571c0d6 [2023-11-21T22:22:34.168Z] Removing intermediate container d2f81571c0d6 [2023-11-21T22:22:34.168Z] ---> e0decadd0ec7 [2023-11-21T22:22:34.168Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-21T22:22:34.168Z] ---> Running in 836d0d9e48e8 [2023-11-21T22:22:34.168Z] Removing intermediate container 836d0d9e48e8 [2023-11-21T22:22:34.168Z] ---> fa80d879dd61 [2023-11-21T22:22:34.168Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:22:34.429Z] ---> Running in 07151029a9e9 [2023-11-21T22:22:34.429Z] Removing intermediate container 07151029a9e9 [2023-11-21T22:22:34.429Z] ---> 9267a80b0156 [2023-11-21T22:22:34.429Z] Step 7/26 : WORKDIR /device-gpio [2023-11-21T22:22:34.429Z] ---> Running in 4dfb40167c21 [2023-11-21T22:22:34.429Z] Removing intermediate container 4dfb40167c21 [2023-11-21T22:22:34.429Z] ---> 5b46860cf61c [2023-11-21T22:22:34.429Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:22:34.429Z] ---> Running in 94df003f6c7a [2023-11-21T22:22:34.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:34.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:34.954Z] OK: 268 MiB in 56 packages [2023-11-21T22:22:35.522Z] Removing intermediate container 94df003f6c7a [2023-11-21T22:22:35.522Z] ---> 9e4d194cfc33 [2023-11-21T22:22:35.522Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-21T22:22:35.522Z] ---> 6292606376b6 [2023-11-21T22:22:35.522Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:22:35.522Z] ---> Running in 0e1c41228d85 [2023-11-21T22:22:36.927Z] Removing intermediate container 0e1c41228d85 [2023-11-21T22:22:36.927Z] ---> bf049a9656ae [2023-11-21T22:22:36.927Z] Step 11/26 : COPY . . [2023-11-21T22:22:38.004Z] ---> 1ac11c087911 [2023-11-21T22:22:38.004Z] Step 12/26 : RUN ${MAKE} [2023-11-21T22:22:38.004Z] ---> Running in c70acf710b0e [2023-11-21T22:22:38.572Z] 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.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-21T22:23:05.478Z] Removing intermediate container c70acf710b0e [2023-11-21T22:23:05.478Z] ---> 52a7131dbe67 [2023-11-21T22:23:05.478Z] Step 13/26 : FROM alpine:3.18 [2023-11-21T22:23:05.478Z] 3.18: Pulling from library/alpine [2023-11-21T22:23:05.478Z] 96526aa774ef: Pulling fs layer [2023-11-21T22:23:05.478Z] 96526aa774ef: Verifying Checksum [2023-11-21T22:23:05.478Z] 96526aa774ef: Download complete [2023-11-21T22:23:05.478Z] 96526aa774ef: Pull complete [2023-11-21T22:23:05.478Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:23:05.478Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:23:05.478Z] ---> 8ca4688f4f35 [2023-11-21T22:23:05.478Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-21T22:23:05.478Z] ---> Running in f16eeabac78e [2023-11-21T22:23:05.478Z] Removing intermediate container f16eeabac78e [2023-11-21T22:23:05.478Z] ---> 811773d74ee0 [2023-11-21T22:23:05.478Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:23:05.478Z] ---> Running in 2636fc03b4f7 [2023-11-21T22:23:05.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:05.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:05.736Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:23:05.736Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:23:05.736Z] OK: 7 MiB in 16 packages [2023-11-21T22:23:06.670Z] Removing intermediate container 2636fc03b4f7 [2023-11-21T22:23:06.670Z] ---> 66e5e36bf56d [2023-11-21T22:23:06.670Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-21T22:23:06.670Z] ---> Running in 736cd586cefd [2023-11-21T22:23:07.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:07.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:23:07.496Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:23:07.496Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:23:07.496Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:23:07.496Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:23:07.496Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:23:07.496Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:23:07.496Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:23:07.496Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:23:07.496Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:23:07.496Z] OK: 7 MiB in 16 packages [2023-11-21T22:23:08.437Z] Removing intermediate container 736cd586cefd [2023-11-21T22:23:08.437Z] ---> 18517779086a [2023-11-21T22:23:08.437Z] Step 17/26 : WORKDIR / [2023-11-21T22:23:08.696Z] ---> Running in 704fc21c2f34 [2023-11-21T22:23:08.696Z] Removing intermediate container 704fc21c2f34 [2023-11-21T22:23:08.696Z] ---> 06339981fa18 [2023-11-21T22:23:08.696Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-21T22:23:09.011Z] ---> 407d4012f434 [2023-11-21T22:23:09.011Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2023-11-21T22:23:09.272Z] ---> c5ab0acfdfb3 [2023-11-21T22:23:09.272Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2023-11-21T22:23:09.841Z] ---> 3b5e0c0a5aed [2023-11-21T22:23:09.841Z] Step 21/26 : EXPOSE 59910 [2023-11-21T22:23:10.100Z] ---> Running in ede1e9b259fb [2023-11-21T22:23:10.100Z] Removing intermediate container ede1e9b259fb [2023-11-21T22:23:10.100Z] ---> e8266ef051eb [2023-11-21T22:23:10.100Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2023-11-21T22:23:10.100Z] ---> Running in 16bcb3268bda [2023-11-21T22:23:10.100Z] Removing intermediate container 16bcb3268bda [2023-11-21T22:23:10.100Z] ---> 4d59f5cda9ec [2023-11-21T22:23:10.100Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:23:10.100Z] ---> Running in 19f7a266a8c4 [2023-11-21T22:23:10.359Z] Removing intermediate container 19f7a266a8c4 [2023-11-21T22:23:10.359Z] ---> 57bda1d37ee9 [2023-11-21T22:23:10.359Z] Step 24/26 : LABEL arch=amd64 [2023-11-21T22:23:10.359Z] ---> Running in 1ff4ba2926a3 [2023-11-21T22:23:10.359Z] Removing intermediate container 1ff4ba2926a3 [2023-11-21T22:23:10.359Z] ---> df474653d79c [2023-11-21T22:23:10.359Z] Step 25/26 : LABEL git_sha=9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [2023-11-21T22:23:10.359Z] ---> Running in c94de4d535c4 [2023-11-21T22:23:10.359Z] Removing intermediate container c94de4d535c4 [2023-11-21T22:23:10.359Z] ---> 3a7f67a24793 [2023-11-21T22:23:10.359Z] Step 26/26 : LABEL version=0.0.0 [2023-11-21T22:23:10.359Z] ---> Running in 2af910a270cc [2023-11-21T22:23:10.620Z] Removing intermediate container 2af910a270cc [2023-11-21T22:23:10.620Z] ---> 52c6ce13e25f [2023-11-21T22:23:10.620Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:23:10.620Z] Successfully built 52c6ce13e25f [2023-11-21T22:23:10.620Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:11.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:23:11.823Z] [2023-11-21T22:23:11.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:12.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:23:12.231Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-21T22:23:12.231Z] 5eb5b503b376: Pulling fs layer [2023-11-21T22:23:12.231Z] 5c69ac0246d0: Pulling fs layer [2023-11-21T22:23:12.231Z] ec43610c2a17: Pulling fs layer [2023-11-21T22:23:12.231Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-21T22:23:12.231Z] 33b1e0a273af: Pulling fs layer [2023-11-21T22:23:12.231Z] 5d3b04190fa2: Pulling fs layer [2023-11-21T22:23:12.231Z] 2f39f015ded8: Pulling fs layer [2023-11-21T22:23:12.231Z] 3a2ae6a8a46f: Waiting [2023-11-21T22:23:12.231Z] 33b1e0a273af: Waiting [2023-11-21T22:23:12.231Z] 5d3b04190fa2: Waiting [2023-11-21T22:23:12.231Z] 2f39f015ded8: Waiting [2023-11-21T22:23:12.231Z] 5c69ac0246d0: Verifying Checksum [2023-11-21T22:23:12.231Z] 5c69ac0246d0: Download complete [2023-11-21T22:23:12.231Z] 3a2ae6a8a46f: Download complete [2023-11-21T22:23:12.491Z] 33b1e0a273af: Verifying Checksum [2023-11-21T22:23:12.491Z] 33b1e0a273af: Download complete [2023-11-21T22:23:12.491Z] 5d3b04190fa2: Verifying Checksum [2023-11-21T22:23:12.491Z] 5d3b04190fa2: Download complete [2023-11-21T22:23:12.491Z] ec43610c2a17: Verifying Checksum [2023-11-21T22:23:12.491Z] ec43610c2a17: Download complete [2023-11-21T22:23:12.491Z] 5eb5b503b376: Verifying Checksum [2023-11-21T22:23:12.491Z] 5eb5b503b376: Download complete [2023-11-21T22:23:13.060Z] 2f39f015ded8: Download complete [2023-11-21T22:23:13.647Z] 5eb5b503b376: Pull complete [2023-11-21T22:23:13.647Z] 5c69ac0246d0: Pull complete [2023-11-21T22:23:14.214Z] ec43610c2a17: Pull complete [2023-11-21T22:23:14.214Z] 3a2ae6a8a46f: Pull complete [2023-11-21T22:23:14.472Z] 33b1e0a273af: Pull complete [2023-11-21T22:23:14.472Z] 5d3b04190fa2: Pull complete [2023-11-21T22:23:19.737Z] 2f39f015ded8: Pull complete [2023-11-21T22:23:19.737Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-21T22:23:19.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:23:19.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:23:20.097Z] prd-ubuntu20.04-docker-8c-8g-345 does not seem to be running inside a container [2023-11-21T22:23:20.135Z] $ 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-218 -v /w/workspace/edgexfoundry_device-gpio_PR-218:/w/workspace/edgexfoundry_device-gpio_PR-218:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-218@tmp:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:23:27.276Z] $ docker top e4f04af9cf70c4b38e463fe5e8a4c681a41db316c6e00b729a8744b0d7a229ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:23:27.791Z] ---> job-cost.sh [2023-11-21T22:23:27.791Z] lf-activate-venv: SKIPPING [2023-11-21T22:23:27.791Z] INFO: No Stack... [2023-11-21T22:23:28.050Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:23:28.316Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:23:28.630Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-218/archives/cost.csv [2023-11-21T22:23:28.630Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:23:28.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] [2023-11-21T22:23:28.678Z] Resource [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] did not exist. Created. [2023-11-21T22:23:28.678Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:23:29.134Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-21T22:23:29.186Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:23:29.251Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:23:29.397Z] $ docker stop --time=1 e4f04af9cf70c4b38e463fe5e8a4c681a41db316c6e00b729a8744b0d7a229ee [2023-11-21T22:23:30.610Z] $ docker rm -f --volumes e4f04af9cf70c4b38e463fe5e8a4c681a41db316c6e00b729a8744b0d7a229ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-21T22:24:40.928Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-371 in /w/workspace/edgexfoundry_device-gpio_PR-218 [Pipeline] { [Pipeline] ws [2023-11-21T22:24:41.030Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-11-21T22:24:44.149Z] The recommended git tool is: git [2023-11-21T22:24:53.562Z] using credential edgex-jenkins-ssh [2023-11-21T22:24:53.584Z] Cloning the remote Git repository [2023-11-21T22:24:53.652Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-11-21T22:24:53.809Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-11-21T22:24:54.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-21T22:24:54.023Z] > git --version # timeout=10 [2023-11-21T22:24:54.047Z] > git --version # 'git version 2.25.1' [2023-11-21T22:24:54.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:24:54.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:24:57.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-21T22:24:57.073Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:24:58.966Z] Merging remotes/origin/main commit cacff4a2d422747bd6cf74591db2fe792ce5aaad into PR head commit 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [2023-11-21T22:24:59.357Z] Merge succeeded, producing 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [2023-11-21T22:24:59.358Z] Checking out Revision 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f (PR-218) [2023-11-21T22:24:58.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-21T22:24:58.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-21T22:24:58.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:24:58.414Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-21T22:24:58.989Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:24:59.108Z] > git checkout -f 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f # timeout=10 [2023-11-21T22:24:59.220Z] > git remote # timeout=10 [2023-11-21T22:24:59.244Z] > git config --get remote.origin.url # timeout=10 [2023-11-21T22:24:59.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:24:59.299Z] > git merge cacff4a2d422747bd6cf74591db2fe792ce5aaad # timeout=10 [2023-11-21T22:24:59.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-21T22:24:59.375Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:24:59.400Z] > git checkout -f 9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f # timeout=10 [2023-11-21T22:25:00.151Z] Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" [2023-11-21T22:25:00.217Z] > git --version # timeout=10 [2023-11-21T22:25:00.232Z] > git --version # 'git version 2.25.1' [2023-11-21T22:25:00.255Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:25:01.723Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-21T22:25:01.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:25:01.723Z] Dload Upload Total Spent Left Speed [2023-11-21T22:25:01.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 160k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh [2023-11-21T22:25:02.105Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-21T22:25:02.499Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-21T22:25:02.499Z] + sudo tee /etc/docker/daemon.new [2023-11-21T22:25:02.499Z] { [2023-11-21T22:25:02.499Z] "registry-mirrors": [ [2023-11-21T22:25:02.499Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-21T22:25:02.499Z] ], [2023-11-21T22:25:02.499Z] "bip": "10.250.0.254/24", [2023-11-21T22:25:02.499Z] "hosts": [ [2023-11-21T22:25:02.499Z] "tcp://0.0.0.0:5555", [2023-11-21T22:25:02.499Z] "unix:///var/run/docker.sock" [2023-11-21T22:25:02.499Z] ], [2023-11-21T22:25:02.499Z] "mtu": 1458, [2023-11-21T22:25:02.499Z] "selinux-enabled": true, [2023-11-21T22:25:02.499Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-21T22:25:02.499Z] } [Pipeline] sh [2023-11-21T22:25:02.888Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-21T22:25:03.248Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:25:25.553Z] provisioning config files... [2023-11-21T22:25:25.594Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2069356939028245516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:25:26.140Z] ---> ****-login.sh [2023-11-21T22:25:26.140Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:25:27.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:25:27.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:25:27.135Z] Configure a credential helper to remove this warning. See [2023-11-21T22:25:27.135Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:25:27.135Z] [2023-11-21T22:25:27.135Z] Login Succeeded [2023-11-21T22:25:27.135Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:25:27.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:25:27.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:25:27.695Z] Configure a credential helper to remove this warning. See [2023-11-21T22:25:27.695Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:25:27.695Z] [2023-11-21T22:25:27.695Z] Login Succeeded [2023-11-21T22:25:27.695Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:25:27.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:25:27.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:25:27.972Z] Configure a credential helper to remove this warning. See [2023-11-21T22:25:27.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:25:27.972Z] [2023-11-21T22:25:27.972Z] Login Succeeded [2023-11-21T22:25:27.972Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:25:28.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:25:28.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:25:28.530Z] Configure a credential helper to remove this warning. See [2023-11-21T22:25:28.530Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:25:28.530Z] [2023-11-21T22:25:28.530Z] Login Succeeded [2023-11-21T22:25:28.530Z] ****.io [2023-11-21T22:25:28.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:25:29.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:25:29.075Z] Configure a credential helper to remove this warning. See [2023-11-21T22:25:29.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:25:29.075Z] [2023-11-21T22:25:29.075Z] Login Succeeded [2023-11-21T22:25:29.075Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:25:29.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:25:29.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:25:29.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:25:29.874Z] ========================================================= [2023-11-21T22:25:29.874Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-21T22:25:29.874Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:25:30.525Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-21T22:25:31.332Z] Sending build context to Docker daemon 13.56MB [2023-11-21T22:25:31.332Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:25:31.332Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:25:31.332Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-21T22:25:31.332Z] 9fda8d8052c6: Pulling fs layer [2023-11-21T22:25:31.332Z] 5d54e960e981: Pulling fs layer [2023-11-21T22:25:31.332Z] c4a7e357bf2a: Pulling fs layer [2023-11-21T22:25:31.332Z] f0e02332f6b5: Pulling fs layer [2023-11-21T22:25:31.332Z] 872ee5b61b7b: Pulling fs layer [2023-11-21T22:25:31.332Z] 0c6a40ed1a82: Pulling fs layer [2023-11-21T22:25:31.332Z] 94ae7d8d031c: Pulling fs layer [2023-11-21T22:25:31.332Z] 872ee5b61b7b: Waiting [2023-11-21T22:25:31.332Z] 94ae7d8d031c: Waiting [2023-11-21T22:25:31.332Z] 0c6a40ed1a82: Waiting [2023-11-21T22:25:31.332Z] f0e02332f6b5: Waiting [2023-11-21T22:25:31.332Z] 5d54e960e981: Verifying Checksum [2023-11-21T22:25:31.332Z] 5d54e960e981: Download complete [2023-11-21T22:25:31.332Z] f0e02332f6b5: Verifying Checksum [2023-11-21T22:25:31.332Z] f0e02332f6b5: Download complete [2023-11-21T22:25:31.332Z] 872ee5b61b7b: Verifying Checksum [2023-11-21T22:25:31.332Z] 872ee5b61b7b: Download complete [2023-11-21T22:25:32.327Z] 9fda8d8052c6: Download complete [2023-11-21T22:25:32.624Z] 94ae7d8d031c: Verifying Checksum [2023-11-21T22:25:32.625Z] 94ae7d8d031c: Download complete [2023-11-21T22:25:33.225Z] 9fda8d8052c6: Pull complete [2023-11-21T22:25:33.857Z] 5d54e960e981: Pull complete [2023-11-21T22:25:34.132Z] c4a7e357bf2a: Verifying Checksum [2023-11-21T22:25:34.132Z] c4a7e357bf2a: Download complete [2023-11-21T22:25:35.107Z] 0c6a40ed1a82: Verifying Checksum [2023-11-21T22:25:35.107Z] 0c6a40ed1a82: Download complete [2023-11-21T22:25:47.477Z] c4a7e357bf2a: Pull complete [2023-11-21T22:25:47.477Z] f0e02332f6b5: Pull complete [2023-11-21T22:25:47.747Z] 872ee5b61b7b: Pull complete [2023-11-21T22:25:57.972Z] 0c6a40ed1a82: Pull complete [2023-11-21T22:25:58.269Z] 94ae7d8d031c: Pull complete [2023-11-21T22:25:58.269Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-21T22:25:58.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-21T22:25:58.269Z] ---> 86de565de09d [2023-11-21T22:25:58.269Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:26:00.240Z] ---> Running in 4802ee7884ff [2023-11-21T22:26:00.512Z] Removing intermediate container 4802ee7884ff [2023-11-21T22:26:00.512Z] ---> a1fc71b55aad [2023-11-21T22:26:00.512Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:26:00.512Z] ---> Running in afdfd6a12b67 [2023-11-21T22:26:01.102Z] Removing intermediate container afdfd6a12b67 [2023-11-21T22:26:01.102Z] ---> 9e08373ef677 [2023-11-21T22:26:01.102Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-21T22:26:01.102Z] ---> Running in db7f1101a1ea [2023-11-21T22:26:01.379Z] Removing intermediate container db7f1101a1ea [2023-11-21T22:26:01.379Z] ---> 2b1dfd819427 [2023-11-21T22:26:01.379Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:26:01.651Z] ---> Running in e82c5463b646 [2023-11-21T22:26:01.920Z] Removing intermediate container e82c5463b646 [2023-11-21T22:26:01.920Z] ---> 31de5cc9085f [2023-11-21T22:26:01.920Z] Step 7/12 : WORKDIR /device-gpio [2023-11-21T22:26:02.191Z] ---> Running in a5ea6b04c2c2 [2023-11-21T22:26:02.783Z] Removing intermediate container a5ea6b04c2c2 [2023-11-21T22:26:02.783Z] ---> cd6ede67ec14 [2023-11-21T22:26:02.783Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:26:02.783Z] ---> Running in 68887f3719b9 [2023-11-21T22:26:04.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:26:04.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:26:05.917Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:26:06.195Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:26:06.195Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:26:06.195Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:26:06.195Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:26:06.195Z] OK: 271 MiB in 56 packages [2023-11-21T22:26:07.658Z] Removing intermediate container 68887f3719b9 [2023-11-21T22:26:07.658Z] ---> 6dae005ee285 [2023-11-21T22:26:07.658Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:26:08.252Z] ---> eafb7d09e875 [2023-11-21T22:26:08.252Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:26:08.252Z] ---> Running in 210c5618ca6d [2023-11-21T22:27:30.011Z] Removing intermediate container 210c5618ca6d [2023-11-21T22:27:30.011Z] ---> 94675038b1fe [2023-11-21T22:27:30.011Z] Step 11/12 : COPY . . [2023-11-21T22:27:30.284Z] ---> 43a1a3ea52ea [2023-11-21T22:27:30.284Z] Step 12/12 : RUN ${MAKE} [2023-11-21T22:27:30.284Z] ---> Running in 7a547b5df42e [2023-11-21T22:27:31.720Z] noop [2023-11-21T22:27:32.334Z] Removing intermediate container 7a547b5df42e [2023-11-21T22:27:32.334Z] ---> 350207de43e7 [2023-11-21T22:27:32.334Z] Successfully built 350207de43e7 [2023-11-21T22:27:32.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:27:32.952Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:27:32.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:27:33.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2023-11-21T22:27:33.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-21T22:27:34.881Z] $ docker top b36994478ec188acced374fc5f0644bafde8428d318aa9d57f1aec03ca9812a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:27:35.894Z] + go version [2023-11-21T22:27:35.894Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-21T22:27:35.934Z] $ docker stop --time=1 b36994478ec188acced374fc5f0644bafde8428d318aa9d57f1aec03ca9812a1 [2023-11-21T22:27:37.692Z] $ docker rm -f --volumes b36994478ec188acced374fc5f0644bafde8428d318aa9d57f1aec03ca9812a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:27:38.950Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:27:38.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:27:39.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2023-11-21T22:27:39.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-21T22:27:40.792Z] $ docker top 2d30a3710f1a97cdd089c7992cf1c6805369e3b36a1a3fea2dea74ab679d1eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:27:41.794Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:27:42.563Z] + make test [2023-11-21T22:27:42.563Z] go test ./... -coverprofile=coverage.out ./... [2023-11-21T22:27:50.819Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-21T22:30:13.686Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-21T22:30:13.686Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-21T22:30:13.686Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-21T22:30:13.686Z] go vet ./... [2023-11-21T22:30:40.475Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:30:40.475Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:30:40.475Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:30:40.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:30:40.598Z] $ docker stop --time=1 2d30a3710f1a97cdd089c7992cf1c6805369e3b36a1a3fea2dea74ab679d1eb0 [2023-11-21T22:30:45.256Z] $ docker rm -f --volumes 2d30a3710f1a97cdd089c7992cf1c6805369e3b36a1a3fea2dea74ab679d1eb0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:30:46.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:30:46.718Z] Warning: overwriting stash ‘coverage-report’ [2023-11-21T22:30:47.228Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:30:48.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:30:48.458Z] + ls -al . [2023-11-21T22:30:48.458Z] total 148 [2023-11-21T22:30:48.458Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 21 22:27 . [2023-11-21T22:30:48.458Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:24 .. [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 21 22:24 .dockerignore [2023-11-21T22:30:48.458Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 .git [2023-11-21T22:30:48.458Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:24 .github [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 21 22:24 .gitignore [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:24 .golangci.yml [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 21 22:24 Attribution.txt [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 7171 Nov 21 22:24 CHANGELOG.md [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 1661 Nov 21 22:24 Dockerfile [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:24 GOVERNANCE.md [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 21 22:24 Jenkinsfile [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:24 LICENSE [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 21 22:24 Makefile [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 21 22:24 OWNERS.md [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 3578 Nov 21 22:24 README.md [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:21 VERSION [2023-11-21T22:30:48.458Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:24 bin [2023-11-21T22:30:48.458Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:24 cmd [2023-11-21T22:30:48.458Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 21 22:27 coverage.out [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 3651 Nov 21 22:24 go.mod [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 35356 Nov 21 22:24 go.sum [2023-11-21T22:30:48.458Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:24 internal [2023-11-21T22:30:48.458Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 21 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:30:48.965Z] + 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=9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f --label arch=arm64 --label version=0.0.0 . [2023-11-21T22:30:49.234Z] Sending build context to Docker daemon 13.56MB [2023-11-21T22:30:49.502Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:30:49.502Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-21T22:30:49.502Z] ---> 350207de43e7 [2023-11-21T22:30:49.502Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:30:49.502Z] ---> Running in 810328b74ed1 [2023-11-21T22:30:49.778Z] Removing intermediate container 810328b74ed1 [2023-11-21T22:30:49.778Z] ---> 4362ec7144b3 [2023-11-21T22:30:49.778Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:30:50.051Z] ---> Running in b5101f039454 [2023-11-21T22:30:50.321Z] Removing intermediate container b5101f039454 [2023-11-21T22:30:50.321Z] ---> 56f76f538254 [2023-11-21T22:30:50.321Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-21T22:30:50.321Z] ---> Running in 1ecbad2c4ae1 [2023-11-21T22:30:50.600Z] Removing intermediate container 1ecbad2c4ae1 [2023-11-21T22:30:50.600Z] ---> c4bd9bd7b580 [2023-11-21T22:30:50.600Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:30:50.872Z] ---> Running in 3b6f5de64a74 [2023-11-21T22:30:51.143Z] Removing intermediate container 3b6f5de64a74 [2023-11-21T22:30:51.143Z] ---> 269e4db4c2e2 [2023-11-21T22:30:51.143Z] Step 7/26 : WORKDIR /device-gpio [2023-11-21T22:30:51.143Z] ---> Running in 87a98e40877f [2023-11-21T22:30:51.414Z] Removing intermediate container 87a98e40877f [2023-11-21T22:30:51.415Z] ---> 861f97e55c66 [2023-11-21T22:30:51.415Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:30:51.687Z] ---> Running in e77e9e1307d1 [2023-11-21T22:30:52.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:30:53.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:30:54.684Z] OK: 271 MiB in 56 packages [2023-11-21T22:30:58.127Z] Removing intermediate container e77e9e1307d1 [2023-11-21T22:30:58.127Z] ---> 9e2e906cc60f [2023-11-21T22:30:58.127Z] Step 9/26 : COPY go.mod vendor* ./ [2023-11-21T22:30:58.396Z] ---> 285a76239936 [2023-11-21T22:30:58.396Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:30:58.679Z] ---> Running in 3d60052c09ac [2023-11-21T22:31:01.271Z] Removing intermediate container 3d60052c09ac [2023-11-21T22:31:01.271Z] ---> c08cd70d8522 [2023-11-21T22:31:01.271Z] Step 11/26 : COPY . . [2023-11-21T22:31:02.243Z] ---> a8e565b7e7ba [2023-11-21T22:31:02.243Z] Step 12/26 : RUN ${MAKE} [2023-11-21T22:31:02.243Z] ---> Running in 465b40edf7c2 [2023-11-21T22:31:03.678Z] 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.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-21T22:33:25.448Z] Removing intermediate container 465b40edf7c2 [2023-11-21T22:33:25.448Z] ---> 262c734ab18c [2023-11-21T22:33:25.448Z] Step 13/26 : FROM alpine:3.18 [2023-11-21T22:33:25.448Z] 3.18: Pulling from library/alpine [2023-11-21T22:33:25.448Z] 579b34f0a95b: Pulling fs layer [2023-11-21T22:33:25.448Z] 579b34f0a95b: Verifying Checksum [2023-11-21T22:33:25.448Z] 579b34f0a95b: Download complete [2023-11-21T22:33:25.448Z] 579b34f0a95b: Pull complete [2023-11-21T22:33:25.448Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:33:25.448Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:33:25.448Z] ---> 3cc203321400 [2023-11-21T22:33:25.448Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-21T22:33:25.448Z] ---> Running in 7a34a832e8fa [2023-11-21T22:33:25.448Z] Removing intermediate container 7a34a832e8fa [2023-11-21T22:33:25.448Z] ---> 860d02dd5609 [2023-11-21T22:33:25.448Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:33:25.448Z] ---> Running in 910263b15a31 [2023-11-21T22:33:25.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:33:25.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:33:25.448Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:33:25.448Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:33:25.448Z] OK: 8 MiB in 16 packages [2023-11-21T22:33:25.448Z] Removing intermediate container 910263b15a31 [2023-11-21T22:33:25.448Z] ---> 82f8aaaf34c3 [2023-11-21T22:33:25.448Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-21T22:33:25.448Z] ---> Running in 114848adca2d [2023-11-21T22:33:25.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:33:25.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:33:25.448Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:33:25.448Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:33:25.448Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:33:25.448Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:33:25.448Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:33:25.448Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:33:25.448Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:33:25.448Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:33:25.448Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:33:25.448Z] OK: 8 MiB in 16 packages [2023-11-21T22:33:25.448Z] Removing intermediate container 114848adca2d [2023-11-21T22:33:25.448Z] ---> 1b8db3b97ce1 [2023-11-21T22:33:25.448Z] Step 17/26 : WORKDIR / [2023-11-21T22:33:25.448Z] ---> Running in 0024d2963d77 [2023-11-21T22:33:25.448Z] Removing intermediate container 0024d2963d77 [2023-11-21T22:33:25.448Z] ---> b70d13391fa5 [2023-11-21T22:33:25.448Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-21T22:33:25.448Z] ---> 9fc920157aaa [2023-11-21T22:33:25.448Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2023-11-21T22:33:25.448Z] ---> 059b865138b9 [2023-11-21T22:33:25.448Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2023-11-21T22:33:25.448Z] ---> ae6b73384c5c [2023-11-21T22:33:25.448Z] Step 21/26 : EXPOSE 59910 [2023-11-21T22:33:25.448Z] ---> Running in 15d72601dd0b [2023-11-21T22:33:25.448Z] Removing intermediate container 15d72601dd0b [2023-11-21T22:33:25.448Z] ---> 64604e9390a1 [2023-11-21T22:33:25.448Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2023-11-21T22:33:25.448Z] ---> Running in 97d34b0f9444 [2023-11-21T22:33:25.448Z] Removing intermediate container 97d34b0f9444 [2023-11-21T22:33:25.448Z] ---> 0909c6a50945 [2023-11-21T22:33:25.448Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:33:25.448Z] ---> Running in 9b1b8f3973f8 [2023-11-21T22:33:25.716Z] Removing intermediate container 9b1b8f3973f8 [2023-11-21T22:33:25.716Z] ---> 53276a5d13e0 [2023-11-21T22:33:25.716Z] Step 24/26 : LABEL arch=arm64 [2023-11-21T22:33:25.716Z] ---> Running in 50de6485133b [2023-11-21T22:33:26.301Z] Removing intermediate container 50de6485133b [2023-11-21T22:33:26.301Z] ---> a5147d29be55 [2023-11-21T22:33:26.301Z] Step 25/26 : LABEL git_sha=9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [2023-11-21T22:33:26.301Z] ---> Running in a158986c483d [2023-11-21T22:33:26.569Z] Removing intermediate container a158986c483d [2023-11-21T22:33:26.569Z] ---> 1e99f314aaf7 [2023-11-21T22:33:26.569Z] Step 26/26 : LABEL version=0.0.0 [2023-11-21T22:33:26.569Z] ---> Running in d023c616f8d0 [2023-11-21T22:33:26.837Z] Removing intermediate container d023c616f8d0 [2023-11-21T22:33:26.837Z] ---> 864a1cab014c [2023-11-21T22:33:26.837Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:33:27.104Z] Successfully built 864a1cab014c [2023-11-21T22:33:27.104Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:33:28.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:33:28.400Z] [2023-11-21T22:33:28.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:33:28.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:33:28.843Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-21T22:33:28.843Z] 8998bd30e6a1: Pulling fs layer [2023-11-21T22:33:28.843Z] 04944245beec: Pulling fs layer [2023-11-21T22:33:28.843Z] 699f458cf7ca: Pulling fs layer [2023-11-21T22:33:28.843Z] 765212b225bb: Pulling fs layer [2023-11-21T22:33:28.843Z] f23df028b6ca: Pulling fs layer [2023-11-21T22:33:28.843Z] d65c8cfc05b1: Pulling fs layer [2023-11-21T22:33:28.843Z] 2437ff75d9bd: Pulling fs layer [2023-11-21T22:33:28.843Z] f23df028b6ca: Waiting [2023-11-21T22:33:28.843Z] d65c8cfc05b1: Waiting [2023-11-21T22:33:28.843Z] 765212b225bb: Waiting [2023-11-21T22:33:28.843Z] 2437ff75d9bd: Waiting [2023-11-21T22:33:29.112Z] 04944245beec: Verifying Checksum [2023-11-21T22:33:29.112Z] 04944245beec: Download complete [2023-11-21T22:33:29.112Z] 765212b225bb: Verifying Checksum [2023-11-21T22:33:29.112Z] 765212b225bb: Download complete [2023-11-21T22:33:29.112Z] f23df028b6ca: Download complete [2023-11-21T22:33:29.112Z] d65c8cfc05b1: Download complete [2023-11-21T22:33:29.378Z] 699f458cf7ca: Verifying Checksum [2023-11-21T22:33:29.378Z] 699f458cf7ca: Download complete [2023-11-21T22:33:29.655Z] 8998bd30e6a1: Verifying Checksum [2023-11-21T22:33:29.655Z] 8998bd30e6a1: Download complete [2023-11-21T22:33:32.232Z] 2437ff75d9bd: Verifying Checksum [2023-11-21T22:33:32.232Z] 2437ff75d9bd: Download complete [2023-11-21T22:33:34.176Z] 8998bd30e6a1: Pull complete [2023-11-21T22:33:34.768Z] 04944245beec: Pull complete [2023-11-21T22:33:36.731Z] 699f458cf7ca: Pull complete [2023-11-21T22:33:36.731Z] 765212b225bb: Pull complete [2023-11-21T22:33:37.693Z] f23df028b6ca: Pull complete [2023-11-21T22:33:37.961Z] d65c8cfc05b1: Pull complete [2023-11-21T22:33:56.185Z] 2437ff75d9bd: Pull complete [2023-11-21T22:33:56.185Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-21T22:33:56.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:33:56.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:33:56.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-371 does not seem to be running inside a container [2023-11-21T22:33:56.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-21T22:33:59.757Z] $ docker top ff65a87081af2ed94d8eee5a760433101673b212a617bf8854ab3a9531bd5905 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:00.743Z] ---> job-cost.sh [2023-11-21T22:34:00.743Z] lf-activate-venv: SKIPPING [2023-11-21T22:34:00.743Z] INFO: No Stack... [2023-11-21T22:34:01.324Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-21T22:34:01.907Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:34:02.695Z] + cut -d, -f6 [2023-11-21T22:34:02.695Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2023-11-21T22:34:02.779Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] [2023-11-21T22:34:02.784Z] Resource [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] did not exist. Created. [2023-11-21T22:34:02.784Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:34:03.299Z] /w/workspace/device-gpio/1@tmp/durable-2c8bfd72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-21T22:34:03.987Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-21T22:34:04.027Z] Warning: overwriting stash ‘stack-cost’ [2023-11-21T22:34:04.073Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:34:04.121Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:34:04.310Z] $ docker stop --time=1 ff65a87081af2ed94d8eee5a760433101673b212a617bf8854ab3a9531bd5905 [2023-11-21T22:34:05.812Z] $ docker rm -f --volumes ff65a87081af2ed94d8eee5a760433101673b212a617bf8854ab3a9531bd5905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-21T22:34:07.865Z] provisioning config files... [2023-11-21T22:34:07.873Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp/config18171541878064117515tmp [Pipeline] { [Pipeline] sh [2023-11-21T22:34:08.284Z] + set +x [2023-11-21T22:34:08.284Z] + curl -s https://codecov.io/bash [2023-11-21T22:34:08.284Z] + bash -s -- [2023-11-21T22:34:08.284Z] [2023-11-21T22:34:08.284Z] _____ _ [2023-11-21T22:34:08.284Z] / ____| | | [2023-11-21T22:34:08.284Z] | | ___ __| | ___ ___ _____ __ [2023-11-21T22:34:08.284Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-21T22:34:08.284Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-21T22:34:08.284Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-21T22:34:08.284Z] Bash-1.0.6 [2023-11-21T22:34:08.284Z] [2023-11-21T22:34:08.284Z] [2023-11-21T22:34:08.284Z] ==> git version 2.25.1 found [2023-11-21T22:34:08.284Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-21T22:34:08.284Z] Release-Date: 2020-01-08 [2023-11-21T22:34:08.284Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-21T22:34:08.284Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-21T22:34:08.284Z] ==> Jenkins CI detected. [2023-11-21T22:34:08.284Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-218 [2023-11-21T22:34:08.284Z] project root: . [2023-11-21T22:34:08.284Z] --> token set from env [2023-11-21T22:34:08.284Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-21T22:34:08.284Z] ==> Running gcov in . (disable via -X gcov) [2023-11-21T22:34:08.284Z] ==> Python coveragepy not found [2023-11-21T22:34:08.284Z] ==> Searching for coverage reports in: [2023-11-21T22:34:08.284Z] + . [2023-11-21T22:34:08.284Z] -> Found 1 reports [2023-11-21T22:34:08.284Z] ==> Detecting git/mercurial file structure [2023-11-21T22:34:08.284Z] ==> Reading reports [2023-11-21T22:34:08.284Z] + ./coverage.out bytes=10 [2023-11-21T22:34:08.284Z] ==> Appending adjustments [2023-11-21T22:34:08.284Z] https://docs.codecov.io/docs/fixing-reports [2023-11-21T22:34:08.544Z] + Found adjustments [2023-11-21T22:34:08.544Z] ==> Gzipping contents [2023-11-21T22:34:08.544Z] 4.0K /tmp/codecov.czJ7Qg.gz [2023-11-21T22:34:08.544Z] ==> Uploading reports [2023-11-21T22:34:08.544Z] url: https://codecov.io [2023-11-21T22:34:08.544Z] query: branch=PR-218&commit=9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=218&job=&cmd_args= [2023-11-21T22:34:08.544Z] -> Pinging Codecov [2023-11-21T22:34:08.544Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-218&commit=9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=218&job=&cmd_args= [2023-11-21T22:34:08.544Z] -> Uploading to [2023-11-21T22:34:08.544Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-21/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f/e2f10faf-eb49-49ed-97ef-3ba48196a59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T223408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a4ebc7f65e7685a2559806835ca74825e3c8f356bc37dfb80b81c28e6f091f7 [2023-11-21T22:34:08.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:34:08.544Z] Dload Upload Total Spent Left Speed [2023-11-21T22:34:08.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2288 --:--:-- --:--:-- --:--:-- 2288 [2023-11-21T22:34:08.803Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9f4a5b08f91dccb3c659fb6b0e50996f543e0c3f [Pipeline] } [2023-11-21T22:34:08.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-21T22:34:12.153Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-218/archives ] [2023-11-21T22:34:12.153Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-218/archives [2023-11-21T22:34:12.153Z] total 16 [2023-11-21T22:34:12.153Z] drwxr-xr-x 3 root root 4096 Nov 21 22:23 . [2023-11-21T22:34:12.153Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:23 .. [2023-11-21T22:34:12.153Z] drwxr-xr-x 2 root root 4096 Nov 21 22:23 cost [2023-11-21T22:34:12.153Z] -rw-r--r-- 1 root root 83 Nov 21 22:23 cost.csv [2023-11-21T22:34:12.153Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-218/archives [2023-11-21T22:34:12.153Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-218/archives [2023-11-21T22:34:12.153Z] total 16 [2023-11-21T22:34:12.153Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:23 . [2023-11-21T22:34:12.153Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:23 .. [2023-11-21T22:34:12.153Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:23 cost [2023-11-21T22:34:12.153Z] -rw-r--r-- 1 jenkins jenkins 83 Nov 21 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:12.486Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:13.392Z] ---> package-listing.sh [2023-11-21T22:34:13.392Z] ++ facter osfamily [2023-11-21T22:34:13.392Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-21T22:34:13.652Z] + OS_FAMILY=debian [2023-11-21T22:34:13.652Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-218 [2023-11-21T22:34:13.652Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-21T22:34:13.652Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-21T22:34:13.652Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-21T22:34:13.652Z] + PACKAGES=/tmp/packages_start.txt [2023-11-21T22:34:13.652Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-218 ']' [2023-11-21T22:34:13.652Z] + PACKAGES=/tmp/packages_end.txt [2023-11-21T22:34:13.652Z] + case "${OS_FAMILY}" in [2023-11-21T22:34:13.652Z] + dpkg -l [2023-11-21T22:34:13.652Z] + grep '^ii' [2023-11-21T22:34:13.652Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-21T22:34:13.652Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-21T22:34:13.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-21T22:34:13.652Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-218 ']' [2023-11-21T22:34:13.652Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-218/archives/ [2023-11-21T22:34:13.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-218/archives/ [Pipeline] echo [2023-11-21T22:34:13.685Z] 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-218/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-21T22:34:13.981Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:34:14.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:34:14.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:34:14.906Z] prd-ubuntu20.04-docker-8c-8g-345 does not seem to be running inside a container [2023-11-21T22:34:14.934Z] $ 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-218/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-218 -v /w/workspace/edgexfoundry_device-gpio_PR-218:/w/workspace/edgexfoundry_device-gpio_PR-218:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-218@tmp:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:34:15.115Z] $ docker top 54ec5f9fbef1937064fec55270c98a1b54697d5ead5b2f00d29c5fd447501f2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:34:15.627Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-21T22:34:15.950Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-21T22:34:16.271Z] + ls /var/log/sa-host [2023-11-21T22:34:16.271Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:34:16.487Z] provisioning config files... [2023-11-21T22:34:16.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-218@tmp/config15467357981579578756tmp [Pipeline] { [Pipeline] echo [2023-11-21T22:34:16.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:16.978Z] ---> create-netrc.sh [Pipeline] } [2023-11-21T22:34:17.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:17.507Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-21T22:34:17.545Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:17.866Z] ---> sudo-logs.sh [2023-11-21T22:34:17.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-21T22:34:18.006Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:18.322Z] ---> job-cost.sh [2023-11-21T22:34:18.322Z] lf-activate-venv: SKIPPING [2023-11-21T22:34:18.322Z] DEBUG: total: 0.2199999988079071 [2023-11-21T22:34:18.322Z] INFO: Retrieving Stack Cost... [2023-11-21T22:34:18.889Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:34:19.150Z] INFO: Archiving Costs [Pipeline] echo [2023-11-21T22:34:19.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:34:19.502Z] ---> logs-deploy.sh [2023-11-21T22:34:19.502Z] lf-activate-venv: SKIPPING [2023-11-21T22:34:19.502Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-218/1 [2023-11-21T22:34:19.502Z] INFO: archiving workspace using pattern(s): [2023-11-21T22:34:20.441Z] Archives upload complete. [2023-11-21T22:34:20.441Z] INFO: archiving logs to Nexus