Pull request #240 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-gpio Obtained Jenkinsfile from 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4+681c980075653d96542449bd4b0ebc71fd39f7a7 (938a388a108279da40b6a0324525175e2d7e4338) 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-ssh13739343421162496554.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh15475211509213299648.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-240/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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17450366828975915305.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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10367135369059766773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh10600332050213119456.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-240/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-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14844978751058097300.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24119 in /w/workspace/edgexfoundry_device-gpio_PR-240 [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-240 # 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 681c980075653d96542449bd4b0ebc71fd39f7a7 into PR head commit 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 Merge succeeded, producing 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 Checking out Revision 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 (PR-240) > 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/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 681c980075653d96542449bd4b0ebc71fd39f7a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 # timeout=10 Commit message: "refactor!: update module to v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-30T07:51:44.152Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T07:51:44.386Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T07:51:44.521Z] ========================================================= [2024-10-30T07:51:44.521Z] EdgeX Global Pipelines Version Info [2024-10-30T07:51:44.521Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:51:45.283Z] ------------------- [2024-10-30T07:51:45.283Z] stable info: [2024-10-30T07:51:45.283Z] ------------------- [2024-10-30T07:51:45.283Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T07:51:45.283Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T07:51:45.283Z] Message: update stable to v1.0.265 [2024-10-30T07:51:45.852Z] ------------------- [2024-10-30T07:51:45.852Z] experimental info: [2024-10-30T07:51:45.852Z] ------------------- [2024-10-30T07:51:45.852Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T07:51:45.852Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T07:51:45.852Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T07:51:46.075Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2024-10-30T07:51:46.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2024-10-30T07:51:46.190Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T07:51:46.255Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T07:51:46.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T07:51:46.371Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T07:51:46.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T07:51:46.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T07:51:46.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T07:51:46.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T07:51:46.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T07:51:46.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2024-10-30T07:51:46.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T07:51:46.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T07:51:46.902Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T07:51:46.959Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T07:51:47.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T07:51:47.086Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T07:51:47.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T07:51:47.207Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T07:51:47.264Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T07:51:47.323Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T07:51:47.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T07:51:47.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T07:51:47.508Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T07:51:47.571Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T07:51:47.630Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T07:51:47.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2024-10-30T07:51:47.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2024-10-30T07:51:47.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2024-10-30T07:51:47.864Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [Pipeline] echo [2024-10-30T07:51:47.918Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f02b45 [Pipeline] echo [2024-10-30T07:51:47.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:51:48.129Z] provisioning config files... [2024-10-30T07:51:48.145Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp/config7682678800197449809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:51:48.542Z] ---> ****-login.sh [2024-10-30T07:51:48.542Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:51:48.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:51:48.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:51:48.803Z] Configure a credential helper to remove this warning. See [2024-10-30T07:51:48.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:51:48.803Z] [2024-10-30T07:51:48.803Z] Login Succeeded [2024-10-30T07:51:48.803Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:51:48.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:51:49.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:51:49.063Z] Configure a credential helper to remove this warning. See [2024-10-30T07:51:49.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:51:49.063Z] [2024-10-30T07:51:49.063Z] Login Succeeded [2024-10-30T07:51:49.063Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:51:49.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:51:49.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:51:49.064Z] Configure a credential helper to remove this warning. See [2024-10-30T07:51:49.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:51:49.064Z] [2024-10-30T07:51:49.064Z] Login Succeeded [2024-10-30T07:51:49.064Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:51:49.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:51:49.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:51:49.064Z] Configure a credential helper to remove this warning. See [2024-10-30T07:51:49.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:51:49.064Z] [2024-10-30T07:51:49.064Z] Login Succeeded [2024-10-30T07:51:49.064Z] ****.io [2024-10-30T07:51:49.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:51:49.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:51:49.324Z] Configure a credential helper to remove this warning. See [2024-10-30T07:51:49.324Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:51:49.324Z] [2024-10-30T07:51:49.324Z] Login Succeeded [2024-10-30T07:51:49.324Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:51:49.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T07:51:50.083Z] + git rev-list -1 --merges 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4~1..9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [Pipeline] echo [2024-10-30T07:51:50.130Z] -----------> git rev-list -1 --merges 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4~1..9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [false] [Pipeline] sh [2024-10-30T07:51:50.448Z] + git log --format=format:%s -1 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [Pipeline] echo [2024-10-30T07:51:50.489Z] ========================================================= [2024-10-30T07:51:50.489Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T07:51:50.489Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T07:51:50.944Z] + git log --format=format:%s -1 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [Pipeline] echo [2024-10-30T07:51:50.986Z] [semverPrep] GIT_COMMIT: 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4, Commit Message: refactor!: update module to v4 [Pipeline] echo [2024-10-30T07:51:51.033Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T07:51:51.451Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T07:51:51.451Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T07:51:51.451Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T07:51:51.451Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T07:51:51.451Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T07:51:51.451Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T07:51:51.451Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:51:51.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:51:51.962Z] [2024-10-30T07:51:51.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:51:52.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:51:52.361Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T07:51:52.361Z] b85a868b505f: Pulling fs layer [2024-10-30T07:51:52.361Z] e2be974225ed: Pulling fs layer [2024-10-30T07:51:52.361Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T07:51:52.361Z] 988bab9f4d93: Pulling fs layer [2024-10-30T07:51:52.361Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T07:51:52.361Z] eaf3925da568: Pulling fs layer [2024-10-30T07:51:52.361Z] bab4dde63d76: Pulling fs layer [2024-10-30T07:51:52.361Z] bde34c3a00c8: Pulling fs layer [2024-10-30T07:51:52.361Z] b352a97aabf1: Pulling fs layer [2024-10-30T07:51:52.361Z] 4872d77fe225: Pulling fs layer [2024-10-30T07:51:52.361Z] 5851b861e8e6: Pulling fs layer [2024-10-30T07:51:52.361Z] 988bab9f4d93: Waiting [2024-10-30T07:51:52.361Z] 1469e6f7b9e6: Waiting [2024-10-30T07:51:52.361Z] bab4dde63d76: Waiting [2024-10-30T07:51:52.361Z] eaf3925da568: Waiting [2024-10-30T07:51:52.361Z] 4872d77fe225: Waiting [2024-10-30T07:51:52.361Z] 5851b861e8e6: Waiting [2024-10-30T07:51:52.361Z] b352a97aabf1: Waiting [2024-10-30T07:51:52.361Z] bde34c3a00c8: Waiting [2024-10-30T07:51:52.361Z] e2be974225ed: Verifying Checksum [2024-10-30T07:51:52.361Z] e2be974225ed: Download complete [2024-10-30T07:51:52.361Z] 988bab9f4d93: Verifying Checksum [2024-10-30T07:51:52.361Z] 988bab9f4d93: Download complete [2024-10-30T07:51:52.361Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T07:51:52.361Z] 1469e6f7b9e6: Download complete [2024-10-30T07:51:52.361Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T07:51:52.361Z] 339a4e72a1f5: Download complete [2024-10-30T07:51:52.621Z] bde34c3a00c8: Verifying Checksum [2024-10-30T07:51:52.621Z] bde34c3a00c8: Download complete [2024-10-30T07:51:52.621Z] b352a97aabf1: Download complete [2024-10-30T07:51:52.621Z] 4872d77fe225: Verifying Checksum [2024-10-30T07:51:52.621Z] 4872d77fe225: Download complete [2024-10-30T07:51:52.621Z] 5851b861e8e6: Verifying Checksum [2024-10-30T07:51:52.621Z] 5851b861e8e6: Download complete [2024-10-30T07:51:52.621Z] b85a868b505f: Verifying Checksum [2024-10-30T07:51:52.621Z] b85a868b505f: Download complete [2024-10-30T07:51:52.879Z] bab4dde63d76: Verifying Checksum [2024-10-30T07:51:52.879Z] bab4dde63d76: Download complete [2024-10-30T07:51:53.815Z] b85a868b505f: Pull complete [2024-10-30T07:51:54.079Z] e2be974225ed: Pull complete [2024-10-30T07:51:54.338Z] 339a4e72a1f5: Pull complete [2024-10-30T07:51:54.599Z] 988bab9f4d93: Pull complete [2024-10-30T07:51:54.856Z] 1469e6f7b9e6: Pull complete [2024-10-30T07:51:54.857Z] eaf3925da568: Pull complete [2024-10-30T07:51:56.757Z] bab4dde63d76: Pull complete [2024-10-30T07:51:56.757Z] bde34c3a00c8: Pull complete [2024-10-30T07:51:56.757Z] b352a97aabf1: Pull complete [2024-10-30T07:51:56.757Z] 4872d77fe225: Pull complete [2024-10-30T07:51:56.757Z] 5851b861e8e6: Pull complete [2024-10-30T07:51:56.757Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T07:51:56.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T07:51:56.757Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:51:57.054Z] prd-ubuntu20.04-docker-8c-8g-24119 does not seem to be running inside a container [2024-10-30T07:51:57.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-240 -v /w/workspace/edgexfoundry_device-gpio_PR-240:/w/workspace/edgexfoundry_device-gpio_PR-240:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-240@tmp:/w/workspace/edgexfoundry_device-gpio_PR-240@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-devops/py-git-semver:0.1.4 cat [2024-10-30T07:51:58.923Z] $ docker top 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 -eo pid,comm [2024-10-30T07:51:58.986Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-30T07:51:58.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T07:51:59.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:51:59.154Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:51:59.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:51:59.276Z] $ docker exec 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 ssh-agent [2024-10-30T07:51:59.385Z] SSH_AUTH_SOCK=/tmp/ssh-21Qcom58RpKM/agent.32 [2024-10-30T07:51:59.385Z] SSH_AGENT_PID=38 [2024-10-30T07:51:59.390Z] Running ssh-add (command line suppressed) [2024-10-30T07:51:59.480Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-240@tmp/private_key_6073979688440400305.key (/w/workspace/edgexfoundry_device-gpio_PR-240@tmp/private_key_6073979688440400305.key) [2024-10-30T07:51:59.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:51:59.857Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T07:51:59.882Z] $ docker exec --env ******** --env ******** 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 ssh-agent -k [2024-10-30T07:51:59.979Z] unset SSH_AUTH_SOCK; [2024-10-30T07:51:59.980Z] unset SSH_AGENT_PID; [2024-10-30T07:51:59.980Z] echo Agent pid 38 killed; [2024-10-30T07:51:59.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T07:52:00.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T07:52:00.105Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T07:52:00.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T07:52:00.219Z] $ docker exec 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 ssh-agent [2024-10-30T07:52:00.320Z] SSH_AUTH_SOCK=/tmp/ssh-mfsXiQJ6XNar/agent.71 [2024-10-30T07:52:00.320Z] SSH_AGENT_PID=77 [2024-10-30T07:52:00.325Z] Running ssh-add (command line suppressed) [2024-10-30T07:52:00.416Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-240@tmp/private_key_7723385189395989512.key (/w/workspace/edgexfoundry_device-gpio_PR-240@tmp/private_key_7723385189395989512.key) [2024-10-30T07:52:00.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T07:52:00.776Z] + git semver init [2024-10-30T07:52:01.035Z] 2024-10-30 07:52:00,944 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T07:52:01.035Z] 2024-10-30 07:52:00,945 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-240/.semver [2024-10-30T07:52:01.035Z] 2024-10-30 07:52:00,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-240/.semver [2024-10-30T07:52:01.035Z] 2024-10-30 07:52:00,946 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-240/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-240, universal_newlines=False, shell=None, istream=None) [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,602 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-240/.git/info/exclude [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,603 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-240/.semver/PR-240 with force:False [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,603 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-240/.semver/PR-240 [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,608 [execute] INFO git cat-file --batch-check [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,615 [execute] INFO git cat-file --batch [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T07:52:02.943Z] 2024-10-30 07:52:02,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-240/.semver/PR-240 [2024-10-30T07:52:02.943Z] 0.0.0 [Pipeline] } [2024-10-30T07:52:02.969Z] $ docker exec --env ******** --env ******** 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 ssh-agent -k [2024-10-30T07:52:03.068Z] unset SSH_AUTH_SOCK; [2024-10-30T07:52:03.068Z] unset SSH_AGENT_PID; [2024-10-30T07:52:03.069Z] echo Agent pid 77 killed; [2024-10-30T07:52:03.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T07:52:03.539Z] + git semver [Pipeline] } [2024-10-30T07:52:03.820Z] $ docker stop --time=1 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 [2024-10-30T07:52:05.115Z] $ docker rm -f --volumes 57a11d66de4012717ba004b2d254e464be8ec5a8927d6433a2c120f464416d85 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:52:05.534Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T07:52:05.838Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T07:52:05.872Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:52:06.595Z] provisioning config files... [2024-10-30T07:52:06.608Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp/config11135840558881446454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:52:06.979Z] ---> ****-login.sh [2024-10-30T07:52:06.979Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:52:06.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:52:06.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:52:06.979Z] Configure a credential helper to remove this warning. See [2024-10-30T07:52:06.979Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:52:06.979Z] [2024-10-30T07:52:06.979Z] Login Succeeded [2024-10-30T07:52:06.979Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:52:06.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:52:06.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:52:06.979Z] Configure a credential helper to remove this warning. See [2024-10-30T07:52:06.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:52:06.980Z] [2024-10-30T07:52:06.980Z] Login Succeeded [2024-10-30T07:52:06.980Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:52:07.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:52:07.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:52:07.239Z] Configure a credential helper to remove this warning. See [2024-10-30T07:52:07.239Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:52:07.239Z] [2024-10-30T07:52:07.239Z] Login Succeeded [2024-10-30T07:52:07.239Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:52:07.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:52:07.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:52:07.240Z] Configure a credential helper to remove this warning. See [2024-10-30T07:52:07.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:52:07.240Z] [2024-10-30T07:52:07.240Z] Login Succeeded [2024-10-30T07:52:07.240Z] ****.io [2024-10-30T07:52:07.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:52:07.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:52:07.500Z] Configure a credential helper to remove this warning. See [2024-10-30T07:52:07.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:52:07.500Z] [2024-10-30T07:52:07.500Z] Login Succeeded [2024-10-30T07:52:07.500Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:52:07.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T07:52:07.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:52:07.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:52:07.849Z] ========================================================= [2024-10-30T07:52:07.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T07:52:07.849Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:52:08.348Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T07:52:08.348Z] Sending build context to Docker daemon 30.38MB [2024-10-30T07:52:08.348Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:52:08.348Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T07:52:08.607Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T07:52:08.607Z] 43c4264eed91: Pulling fs layer [2024-10-30T07:52:08.607Z] 4cc291be95ef: Pulling fs layer [2024-10-30T07:52:08.607Z] 2ac1f1163629: Pulling fs layer [2024-10-30T07:52:08.607Z] 5c3c966382ef: Pulling fs layer [2024-10-30T07:52:08.607Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T07:52:08.607Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T07:52:08.607Z] 9f66e0745190: Pulling fs layer [2024-10-30T07:52:08.607Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T07:52:08.607Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T07:52:08.607Z] 9f66e0745190: Waiting [2024-10-30T07:52:08.607Z] 5c3c966382ef: Waiting [2024-10-30T07:52:08.607Z] 4f4fb700ef54: Waiting [2024-10-30T07:52:08.607Z] 561ebcabdf7f: Waiting [2024-10-30T07:52:08.607Z] f49a43e4bbc0: Waiting [2024-10-30T07:52:08.607Z] 5d5c8e513c77: Waiting [2024-10-30T07:52:08.607Z] 4cc291be95ef: Verifying Checksum [2024-10-30T07:52:08.607Z] 4cc291be95ef: Download complete [2024-10-30T07:52:08.607Z] 5c3c966382ef: Verifying Checksum [2024-10-30T07:52:08.607Z] 5c3c966382ef: Download complete [2024-10-30T07:52:08.607Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T07:52:08.607Z] 4f4fb700ef54: Download complete [2024-10-30T07:52:08.607Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T07:52:08.607Z] 5d5c8e513c77: Download complete [2024-10-30T07:52:08.607Z] 43c4264eed91: Download complete [2024-10-30T07:52:08.607Z] 9f66e0745190: Verifying Checksum [2024-10-30T07:52:08.607Z] 9f66e0745190: Download complete [2024-10-30T07:52:08.867Z] 43c4264eed91: Pull complete [2024-10-30T07:52:08.867Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T07:52:08.867Z] 561ebcabdf7f: Download complete [2024-10-30T07:52:08.867Z] 4cc291be95ef: Pull complete [2024-10-30T07:52:09.127Z] 2ac1f1163629: Verifying Checksum [2024-10-30T07:52:09.127Z] 2ac1f1163629: Download complete [2024-10-30T07:52:09.389Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T07:52:09.389Z] f49a43e4bbc0: Download complete [2024-10-30T07:52:12.669Z] 2ac1f1163629: Pull complete [2024-10-30T07:52:12.669Z] 5c3c966382ef: Pull complete [2024-10-30T07:52:12.669Z] 4f4fb700ef54: Pull complete [2024-10-30T07:52:12.669Z] 5d5c8e513c77: Pull complete [2024-10-30T07:52:12.669Z] 9f66e0745190: Pull complete [2024-10-30T07:52:15.202Z] f49a43e4bbc0: Pull complete [2024-10-30T07:52:15.202Z] 561ebcabdf7f: Pull complete [2024-10-30T07:52:15.202Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T07:52:15.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T07:52:15.202Z] ---> 3a752c3f9dda [2024-10-30T07:52:15.202Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:52:17.734Z] ---> Running in a22ea6794760 [2024-10-30T07:52:17.734Z] Removing intermediate container a22ea6794760 [2024-10-30T07:52:17.734Z] ---> 69f54b09db23 [2024-10-30T07:52:17.734Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:52:17.734Z] ---> Running in d2846c159503 [2024-10-30T07:52:17.734Z] Removing intermediate container d2846c159503 [2024-10-30T07:52:17.734Z] ---> 48d5a2fcc9d5 [2024-10-30T07:52:17.734Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-30T07:52:17.734Z] ---> Running in 61b3c1d9d15c [2024-10-30T07:52:17.735Z] Removing intermediate container 61b3c1d9d15c [2024-10-30T07:52:17.735Z] ---> 7f1d2d227a21 [2024-10-30T07:52:17.735Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:52:17.735Z] ---> Running in 15115f04602b [2024-10-30T07:52:17.735Z] Removing intermediate container 15115f04602b [2024-10-30T07:52:17.735Z] ---> d608eec19656 [2024-10-30T07:52:17.735Z] Step 7/12 : WORKDIR /device-gpio [2024-10-30T07:52:17.735Z] ---> Running in 8a9e43524f61 [2024-10-30T07:52:17.735Z] Removing intermediate container 8a9e43524f61 [2024-10-30T07:52:17.735Z] ---> 33ab3311a046 [2024-10-30T07:52:17.735Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:52:17.735Z] ---> Running in fbdcfc94ac60 [2024-10-30T07:52:17.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:52:18.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:52:18.514Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T07:52:18.514Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T07:52:18.514Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T07:52:18.514Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T07:52:18.514Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:52:18.774Z] OK: 250 MiB in 58 packages [2024-10-30T07:52:19.033Z] Removing intermediate container fbdcfc94ac60 [2024-10-30T07:52:19.033Z] ---> 583d3cfda8a4 [2024-10-30T07:52:19.033Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T07:52:19.294Z] ---> 55223ce4d5d2 [2024-10-30T07:52:19.294Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:52:19.294Z] ---> Running in e80b2133ab2f [2024-10-30T07:52:21.379Z] Still waiting to schedule task [2024-10-30T07:52:21.379Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-30T07:52:58.025Z] Removing intermediate container e80b2133ab2f [2024-10-30T07:52:58.026Z] ---> 3cc64326c37b [2024-10-30T07:52:58.026Z] Step 11/12 : COPY . . [2024-10-30T07:52:58.026Z] ---> 0fb39fbf06ed [2024-10-30T07:52:58.026Z] Step 12/12 : RUN ${MAKE} [2024-10-30T07:52:58.026Z] ---> Running in 55e7b98b7bb7 [2024-10-30T07:52:58.026Z] noop [2024-10-30T07:52:58.026Z] Removing intermediate container 55e7b98b7bb7 [2024-10-30T07:52:58.026Z] ---> bf16e8227793 [2024-10-30T07:52:58.026Z] Successfully built bf16e8227793 [2024-10-30T07:52:58.026Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:52:58.514Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T07:52:58.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:52:58.689Z] prd-ubuntu20.04-docker-8c-8g-24119 does not seem to be running inside a container [2024-10-30T07:52:58.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-240 -v /w/workspace/edgexfoundry_device-gpio_PR-240:/w/workspace/edgexfoundry_device-gpio_PR-240:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-240@tmp:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T07:52:59.036Z] $ docker top eaabdfee5e972068ee1c73e757e6ba0fe99a4d765ee1db0b5e1af747ea790032 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:52:59.434Z] + go version [2024-10-30T07:52:59.434Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T07:52:59.470Z] $ docker stop --time=1 eaabdfee5e972068ee1c73e757e6ba0fe99a4d765ee1db0b5e1af747ea790032 [2024-10-30T07:53:00.720Z] $ docker rm -f --volumes eaabdfee5e972068ee1c73e757e6ba0fe99a4d765ee1db0b5e1af747ea790032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:53:01.514Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T07:53:01.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:53:01.673Z] prd-ubuntu20.04-docker-8c-8g-24119 does not seem to be running inside a container [2024-10-30T07:53:01.702Z] $ 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-240 -v /w/workspace/edgexfoundry_device-gpio_PR-240:/w/workspace/edgexfoundry_device-gpio_PR-240:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-240@tmp:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T07:53:02.029Z] $ docker top 3241481577e828b4c49a3054aa6590e69dfe4e5f45f297bd758fc6384cf83204 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:53:02.425Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-240 [Pipeline] fileExists [Pipeline] sh [2024-10-30T07:53:02.795Z] + make test [2024-10-30T07:53:02.795Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T07:53:04.170Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-10-30T07:53:22.253Z] github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements [2024-10-30T07:53:22.253Z] github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements [2024-10-30T07:53:32.215Z] go vet ./... [2024-10-30T07:53:38.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T07:53:38.767Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T07:53:38.767Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T07:53:38.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T07:53:38.864Z] $ docker stop --time=1 3241481577e828b4c49a3054aa6590e69dfe4e5f45f297bd758fc6384cf83204 [2024-10-30T07:53:41.376Z] $ docker rm -f --volumes 3241481577e828b4c49a3054aa6590e69dfe4e5f45f297bd758fc6384cf83204 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T07:53:42.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T07:53:42.093Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-30T07:53:42.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T07:53:43.120Z] + ls -al . [2024-10-30T07:53:43.120Z] total 236 [2024-10-30T07:53:43.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:53 . [2024-10-30T07:53:43.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:51 .. [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 30 07:51 .dockerignore [2024-10-30T07:53:43.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:53 .git [2024-10-30T07:53:43.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:51 .github [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 277 Oct 30 07:51 .gitignore [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 07:51 .golangci.yml [2024-10-30T07:53:43.120Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:52 .semver [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 19399 Oct 30 07:51 Attribution.txt [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 7171 Oct 30 07:51 CHANGELOG.md [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 1694 Oct 30 07:51 Dockerfile [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:51 GOVERNANCE.md [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 30 07:51 Jenkinsfile [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:51 LICENSE [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 30 07:51 Makefile [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 30 07:51 OWNERS.md [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 30 07:51 README.md [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 07:52 VERSION [2024-10-30T07:53:43.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:51 bin [2024-10-30T07:53:43.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:51 cmd [2024-10-30T07:53:43.120Z] -rw-r--r-- 1 jenkins jenkins 11486 Oct 30 07:53 coverage.out [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 6906 Oct 30 07:51 go.mod [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 30 07:51 go.sum [2024-10-30T07:53:43.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:51 internal [2024-10-30T07:53:43.120Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 30 07:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:53:43.543Z] + 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=9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 --label arch=amd64 --label version=0.0.0 . [2024-10-30T07:53:43.543Z] Sending build context to Docker daemon 30.39MB [2024-10-30T07:53:43.543Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:53:43.543Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T07:53:43.543Z] ---> bf16e8227793 [2024-10-30T07:53:43.543Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:53:43.802Z] ---> Running in 20c7caf809c2 [2024-10-30T07:53:43.802Z] Removing intermediate container 20c7caf809c2 [2024-10-30T07:53:43.802Z] ---> f53a009f8ab5 [2024-10-30T07:53:43.802Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:53:43.802Z] ---> Running in 28409eca5fac [2024-10-30T07:53:44.060Z] Removing intermediate container 28409eca5fac [2024-10-30T07:53:44.060Z] ---> d32f03e97a28 [2024-10-30T07:53:44.060Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-30T07:53:44.060Z] ---> Running in 1698b38c3dcf [2024-10-30T07:53:44.060Z] Removing intermediate container 1698b38c3dcf [2024-10-30T07:53:44.060Z] ---> 66cd0d998f1c [2024-10-30T07:53:44.060Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:53:44.060Z] ---> Running in dac631dcca4c [2024-10-30T07:53:44.325Z] Removing intermediate container dac631dcca4c [2024-10-30T07:53:44.325Z] ---> 2a2fd490dfe1 [2024-10-30T07:53:44.325Z] Step 7/26 : WORKDIR /device-gpio [2024-10-30T07:53:44.325Z] ---> Running in 27467ef330f8 [2024-10-30T07:53:44.325Z] Removing intermediate container 27467ef330f8 [2024-10-30T07:53:44.325Z] ---> 8134b31fa3cd [2024-10-30T07:53:44.325Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:53:44.325Z] ---> Running in 8fc65298557a [2024-10-30T07:53:44.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:53:44.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:53:44.843Z] OK: 250 MiB in 58 packages [2024-10-30T07:53:45.410Z] Removing intermediate container 8fc65298557a [2024-10-30T07:53:45.410Z] ---> e39fb41dd365 [2024-10-30T07:53:45.410Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-30T07:53:45.410Z] ---> e9919dcc7e3c [2024-10-30T07:53:45.410Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:53:45.410Z] ---> Running in 97cbcc9c6d43 [2024-10-30T07:53:46.352Z] Removing intermediate container 97cbcc9c6d43 [2024-10-30T07:53:46.352Z] ---> 6fd5067b1d7a [2024-10-30T07:53:46.352Z] Step 11/26 : COPY . . [2024-10-30T07:53:46.612Z] ---> 0dccb6d187be [2024-10-30T07:53:46.612Z] Step 12/26 : RUN ${MAKE} [2024-10-30T07:53:46.872Z] ---> Running in 18f6c0ee5961 [2024-10-30T07:53:47.133Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-10-30T07:54:19.202Z] Removing intermediate container 18f6c0ee5961 [2024-10-30T07:54:19.202Z] ---> 775f936200e2 [2024-10-30T07:54:19.203Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T07:54:19.203Z] 3.20: Pulling from library/alpine [2024-10-30T07:54:19.203Z] 43c4264eed91: Already exists [2024-10-30T07:54:19.203Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T07:54:19.203Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T07:54:19.203Z] ---> 91ef0af61f39 [2024-10-30T07:54:19.203Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-30T07:54:19.203Z] ---> Running in 1c773cd88e47 [2024-10-30T07:54:19.203Z] Removing intermediate container 1c773cd88e47 [2024-10-30T07:54:19.203Z] ---> 46416f5139d9 [2024-10-30T07:54:19.203Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T07:54:19.203Z] ---> Running in 89567a7bff91 [2024-10-30T07:54:19.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:54:19.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:54:19.203Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T07:54:19.203Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:54:19.203Z] OK: 8 MiB in 15 packages [2024-10-30T07:54:19.203Z] Removing intermediate container 89567a7bff91 [2024-10-30T07:54:19.203Z] ---> 6c4851a75eab [2024-10-30T07:54:19.203Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-30T07:54:19.203Z] ---> Running in 8f7084f338d4 [2024-10-30T07:54:19.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:54:19.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:54:19.203Z] Upgrading critical system libraries and apk-tools: [2024-10-30T07:54:19.203Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T07:54:19.203Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:54:19.203Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T07:54:19.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T07:54:19.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T07:54:19.468Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:54:19.468Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T07:54:19.468Z] OK: 8 MiB in 15 packages [2024-10-30T07:54:20.037Z] Removing intermediate container 8f7084f338d4 [2024-10-30T07:54:20.037Z] ---> 48ac3c07a32a [2024-10-30T07:54:20.037Z] Step 17/26 : WORKDIR / [2024-10-30T07:54:20.037Z] ---> Running in da6745d796e4 [2024-10-30T07:54:20.037Z] Removing intermediate container da6745d796e4 [2024-10-30T07:54:20.037Z] ---> 56c2db0bb21b [2024-10-30T07:54:20.037Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-10-30T07:54:20.296Z] ---> e7991b77da6d [2024-10-30T07:54:20.296Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-10-30T07:54:20.296Z] ---> d907c7d20d24 [2024-10-30T07:54:20.296Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-10-30T07:54:21.235Z] ---> abc381853d05 [2024-10-30T07:54:21.235Z] Step 21/26 : EXPOSE 59910 [2024-10-30T07:54:21.498Z] ---> Running in 724ca553a253 [2024-10-30T07:54:21.498Z] Removing intermediate container 724ca553a253 [2024-10-30T07:54:21.498Z] ---> 0dc17168365c [2024-10-30T07:54:21.498Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-10-30T07:54:21.498Z] ---> Running in 3b074685fafe [2024-10-30T07:54:21.498Z] Removing intermediate container 3b074685fafe [2024-10-30T07:54:21.498Z] ---> 7f172079a8e6 [2024-10-30T07:54:21.498Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T07:54:21.498Z] ---> Running in dacf19b9e6cc [2024-10-30T07:54:21.757Z] Removing intermediate container dacf19b9e6cc [2024-10-30T07:54:21.757Z] ---> 7091451c5ace [2024-10-30T07:54:21.757Z] Step 24/26 : LABEL arch=amd64 [2024-10-30T07:54:21.757Z] ---> Running in ff68a69f1e1e [2024-10-30T07:54:21.757Z] Removing intermediate container ff68a69f1e1e [2024-10-30T07:54:21.757Z] ---> 8e4f0808b91c [2024-10-30T07:54:21.757Z] Step 25/26 : LABEL git_sha=9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [2024-10-30T07:54:21.757Z] ---> Running in 9edb3da9300f [2024-10-30T07:54:22.017Z] Removing intermediate container 9edb3da9300f [2024-10-30T07:54:22.017Z] ---> 4292c6edc846 [2024-10-30T07:54:22.017Z] Step 26/26 : LABEL version=0.0.0 [2024-10-30T07:54:22.017Z] ---> Running in d483a6c6c0db [2024-10-30T07:54:22.017Z] Removing intermediate container d483a6c6c0db [2024-10-30T07:54:22.017Z] ---> 4bb73d24938f [2024-10-30T07:54:22.017Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T07:54:22.017Z] Successfully built 4bb73d24938f [2024-10-30T07:54:22.017Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:54:23.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:54:23.021Z] [2024-10-30T07:54:23.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:54:23.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:54:23.425Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T07:54:23.425Z] 5eb5b503b376: Pulling fs layer [2024-10-30T07:54:23.425Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T07:54:23.425Z] ec43610c2a17: Pulling fs layer [2024-10-30T07:54:23.425Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T07:54:23.425Z] 33b1e0a273af: Pulling fs layer [2024-10-30T07:54:23.425Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T07:54:23.425Z] 2f39f015ded8: Pulling fs layer [2024-10-30T07:54:23.425Z] 3a2ae6a8a46f: Waiting [2024-10-30T07:54:23.425Z] 33b1e0a273af: Waiting [2024-10-30T07:54:23.425Z] 5d3b04190fa2: Waiting [2024-10-30T07:54:23.425Z] 2f39f015ded8: Waiting [2024-10-30T07:54:23.425Z] 5c69ac0246d0: Download complete [2024-10-30T07:54:23.425Z] 3a2ae6a8a46f: Download complete [2024-10-30T07:54:23.425Z] 33b1e0a273af: Verifying Checksum [2024-10-30T07:54:23.425Z] 33b1e0a273af: Download complete [2024-10-30T07:54:23.425Z] 5d3b04190fa2: Verifying Checksum [2024-10-30T07:54:23.425Z] 5d3b04190fa2: Download complete [2024-10-30T07:54:23.425Z] ec43610c2a17: Verifying Checksum [2024-10-30T07:54:23.425Z] ec43610c2a17: Download complete [2024-10-30T07:54:23.687Z] 5eb5b503b376: Verifying Checksum [2024-10-30T07:54:23.687Z] 5eb5b503b376: Download complete [2024-10-30T07:54:24.254Z] 2f39f015ded8: Download complete [2024-10-30T07:54:24.819Z] 5eb5b503b376: Pull complete [2024-10-30T07:54:25.078Z] 5c69ac0246d0: Pull complete [2024-10-30T07:54:25.643Z] ec43610c2a17: Pull complete [2024-10-30T07:54:25.643Z] 3a2ae6a8a46f: Pull complete [2024-10-30T07:54:25.901Z] 33b1e0a273af: Pull complete [2024-10-30T07:54:25.901Z] 5d3b04190fa2: Pull complete [2024-10-30T07:54:30.088Z] 2f39f015ded8: Pull complete [2024-10-30T07:54:30.088Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T07:54:30.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T07:54:30.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:54:30.341Z] prd-ubuntu20.04-docker-8c-8g-24119 does not seem to be running inside a container [2024-10-30T07:54:30.371Z] $ 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-240 -v /w/workspace/edgexfoundry_device-gpio_PR-240:/w/workspace/edgexfoundry_device-gpio_PR-240:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-240@tmp:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T07:54:32.438Z] $ docker top 80e7de1079b4ee8ba8b94b225a0ca98f79fdeb779fd9083761f94fa62a5cccfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:54:32.928Z] ---> job-cost.sh [2024-10-30T07:54:32.928Z] lf-activate-venv: SKIPPING [2024-10-30T07:54:32.928Z] INFO: No Stack... [2024-10-30T07:54:33.496Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T07:54:33.756Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T07:54:34.068Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-240/archives/cost.csv [2024-10-30T07:54:34.069Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T07:54:34.117Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] [2024-10-30T07:54:34.123Z] Resource [jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] did not exist. Created. [2024-10-30T07:54:34.129Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T07:54:34.536Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T07:54:34.594Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T07:54:34.635Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T07:54:34.728Z] $ docker stop --time=1 80e7de1079b4ee8ba8b94b225a0ca98f79fdeb779fd9083761f94fa62a5cccfc [2024-10-30T07:54:35.902Z] $ docker rm -f --volumes 80e7de1079b4ee8ba8b94b225a0ca98f79fdeb779fd9083761f94fa62a5cccfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T07:56:13.800Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24120 in /w/workspace/edgexfoundry_device-gpio_PR-240 [Pipeline] { [Pipeline] ws [2024-10-30T07:56:13.881Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2024-10-30T07:56:16.992Z] The recommended git tool is: git [2024-10-30T07:56:22.283Z] using credential edgex-jenkins-ssh [2024-10-30T07:56:22.307Z] Cloning the remote Git repository [2024-10-30T07:56:22.354Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2024-10-30T07:56:22.459Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2024-10-30T07:56:22.616Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-10-30T07:56:22.617Z] > git --version # timeout=10 [2024-10-30T07:56:22.640Z] > git --version # 'git version 2.25.1' [2024-10-30T07:56:22.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T07:56:22.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T07:56:26.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-10-30T07:56:26.076Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T07:56:27.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-10-30T07:56:27.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-10-30T07:56:27.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T07:56:27.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-30T07:56:27.784Z] Merging remotes/origin/main commit 681c980075653d96542449bd4b0ebc71fd39f7a7 into PR head commit 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [2024-10-30T07:56:28.288Z] Merge succeeded, producing 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [2024-10-30T07:56:28.288Z] Checking out Revision 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 (PR-240) [2024-10-30T07:56:27.802Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T07:56:28.053Z] > git checkout -f 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 # timeout=10 [2024-10-30T07:56:28.165Z] > git remote # timeout=10 [2024-10-30T07:56:28.184Z] > git config --get remote.origin.url # timeout=10 [2024-10-30T07:56:28.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T07:56:28.242Z] > git merge 681c980075653d96542449bd4b0ebc71fd39f7a7 # timeout=10 [2024-10-30T07:56:28.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-30T07:56:28.294Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T07:56:28.307Z] > git checkout -f 9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 # timeout=10 [2024-10-30T07:56:32.029Z] Commit message: "refactor!: update module to v4" [2024-10-30T07:56:32.086Z] > git --version # timeout=10 [2024-10-30T07:56:32.099Z] > git --version # 'git version 2.25.1' [2024-10-30T07:56:32.118Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T07:56:34.274Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T07:56:34.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T07:56:34.274Z] Dload Upload Total Spent Left Speed [2024-10-30T07:56:34.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 82761 0 --:--:-- --:--:-- --:--:-- 82761 [Pipeline] sh [2024-10-30T07:56:34.631Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T07:56:34.990Z] + sudo tee /etc/docker/daemon.new [2024-10-30T07:56:34.990Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T07:56:34.990Z] { [2024-10-30T07:56:34.990Z] "registry-mirrors": [ [2024-10-30T07:56:34.990Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T07:56:34.990Z] ], [2024-10-30T07:56:34.990Z] "bip": "10.250.0.254/24", [2024-10-30T07:56:34.990Z] "hosts": [ [2024-10-30T07:56:34.990Z] "tcp://0.0.0.0:5555", [2024-10-30T07:56:34.990Z] "unix:///var/run/docker.sock" [2024-10-30T07:56:34.990Z] ], [2024-10-30T07:56:34.990Z] "mtu": 1458, [2024-10-30T07:56:34.990Z] "selinux-enabled": true, [2024-10-30T07:56:34.990Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T07:56:34.990Z] } [Pipeline] sh [2024-10-30T07:56:35.346Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T07:56:35.720Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T07:56:54.098Z] provisioning config files... [2024-10-30T07:56:54.139Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6946322201171887645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T07:56:54.685Z] ---> ****-login.sh [2024-10-30T07:56:54.685Z] nexus3.edgexfoundry.org:10001 [2024-10-30T07:56:55.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:56:55.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:56:55.544Z] Configure a credential helper to remove this warning. See [2024-10-30T07:56:55.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:56:55.544Z] [2024-10-30T07:56:55.544Z] Login Succeeded [2024-10-30T07:56:55.545Z] nexus3.edgexfoundry.org:10002 [2024-10-30T07:56:55.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:56:55.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:56:55.823Z] Configure a credential helper to remove this warning. See [2024-10-30T07:56:55.823Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:56:55.823Z] [2024-10-30T07:56:55.823Z] Login Succeeded [2024-10-30T07:56:55.823Z] nexus3.edgexfoundry.org:10003 [2024-10-30T07:56:56.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:56:56.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:56:56.385Z] Configure a credential helper to remove this warning. See [2024-10-30T07:56:56.385Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:56:56.385Z] [2024-10-30T07:56:56.385Z] Login Succeeded [2024-10-30T07:56:56.385Z] nexus3.edgexfoundry.org:10004 [2024-10-30T07:56:56.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:56:56.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:56:56.658Z] Configure a credential helper to remove this warning. See [2024-10-30T07:56:56.658Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:56:56.658Z] [2024-10-30T07:56:56.658Z] Login Succeeded [2024-10-30T07:56:56.658Z] ****.io [2024-10-30T07:56:56.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T07:56:57.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T07:56:57.196Z] Configure a credential helper to remove this warning. See [2024-10-30T07:56:57.196Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T07:56:57.196Z] [2024-10-30T07:56:57.196Z] Login Succeeded [2024-10-30T07:56:57.196Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T07:56:57.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T07:56:57.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:56:57.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T07:56:57.839Z] ========================================================= [2024-10-30T07:56:57.839Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T07:56:57.839Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:56:58.402Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T07:56:58.992Z] Sending build context to Docker daemon 15.3MB [2024-10-30T07:56:58.992Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T07:56:58.992Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T07:56:59.264Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T07:56:59.264Z] cf04c63912e1: Pulling fs layer [2024-10-30T07:56:59.264Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T07:56:59.264Z] a37a00ec5f00: Pulling fs layer [2024-10-30T07:56:59.264Z] 50b3750afda1: Pulling fs layer [2024-10-30T07:56:59.264Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T07:56:59.264Z] 80978eb59214: Pulling fs layer [2024-10-30T07:56:59.264Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T07:56:59.264Z] c5a475d317c9: Pulling fs layer [2024-10-30T07:56:59.264Z] 80978eb59214: Waiting [2024-10-30T07:56:59.264Z] c9f46d7d2bd2: Waiting [2024-10-30T07:56:59.264Z] c5a475d317c9: Waiting [2024-10-30T07:56:59.264Z] 50b3750afda1: Waiting [2024-10-30T07:56:59.264Z] 4f4fb700ef54: Waiting [2024-10-30T07:56:59.264Z] 55b35a11ae5e: Verifying Checksum [2024-10-30T07:56:59.264Z] 55b35a11ae5e: Download complete [2024-10-30T07:56:59.264Z] 50b3750afda1: Verifying Checksum [2024-10-30T07:56:59.264Z] 50b3750afda1: Download complete [2024-10-30T07:56:59.264Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T07:56:59.264Z] 4f4fb700ef54: Download complete [2024-10-30T07:56:59.264Z] 80978eb59214: Verifying Checksum [2024-10-30T07:56:59.264Z] 80978eb59214: Download complete [2024-10-30T07:56:59.264Z] cf04c63912e1: Verifying Checksum [2024-10-30T07:56:59.264Z] cf04c63912e1: Download complete [2024-10-30T07:56:59.856Z] c5a475d317c9: Verifying Checksum [2024-10-30T07:56:59.856Z] c5a475d317c9: Download complete [2024-10-30T07:57:00.127Z] cf04c63912e1: Pull complete [2024-10-30T07:57:00.711Z] 55b35a11ae5e: Pull complete [2024-10-30T07:57:01.298Z] a37a00ec5f00: Verifying Checksum [2024-10-30T07:57:01.298Z] a37a00ec5f00: Download complete [2024-10-30T07:57:02.266Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T07:57:02.266Z] c9f46d7d2bd2: Download complete [2024-10-30T07:57:17.300Z] a37a00ec5f00: Pull complete [2024-10-30T07:57:17.300Z] 50b3750afda1: Pull complete [2024-10-30T07:57:17.300Z] 4f4fb700ef54: Pull complete [2024-10-30T07:57:17.300Z] 80978eb59214: Pull complete [2024-10-30T07:57:23.981Z] c9f46d7d2bd2: Pull complete [2024-10-30T07:57:25.930Z] c5a475d317c9: Pull complete [2024-10-30T07:57:25.930Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T07:57:25.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T07:57:25.930Z] ---> be29e6b0f0d4 [2024-10-30T07:57:25.930Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T07:57:27.879Z] ---> Running in 2ae685c352b4 [2024-10-30T07:57:28.146Z] Removing intermediate container 2ae685c352b4 [2024-10-30T07:57:28.146Z] ---> ae632c80867e [2024-10-30T07:57:28.146Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T07:57:28.146Z] ---> Running in 33f4ef2453bc [2024-10-30T07:57:28.418Z] Removing intermediate container 33f4ef2453bc [2024-10-30T07:57:28.418Z] ---> 0e676fe608dc [2024-10-30T07:57:28.418Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-30T07:57:28.686Z] ---> Running in 28f34cf03f90 [2024-10-30T07:57:28.955Z] Removing intermediate container 28f34cf03f90 [2024-10-30T07:57:28.955Z] ---> 754938716948 [2024-10-30T07:57:28.955Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T07:57:28.955Z] ---> Running in 0b3bfce174b1 [2024-10-30T07:57:29.223Z] Removing intermediate container 0b3bfce174b1 [2024-10-30T07:57:29.223Z] ---> 8001ac12211b [2024-10-30T07:57:29.223Z] Step 7/12 : WORKDIR /device-gpio [2024-10-30T07:57:29.498Z] ---> Running in 8fd045781365 [2024-10-30T07:57:29.769Z] Removing intermediate container 8fd045781365 [2024-10-30T07:57:29.769Z] ---> 6e15f30ebc62 [2024-10-30T07:57:29.769Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T07:57:29.769Z] ---> Running in 8dd803c2a6af [2024-10-30T07:57:30.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T07:57:31.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T07:57:32.763Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T07:57:32.763Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T07:57:32.763Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T07:57:32.763Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T07:57:32.763Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T07:57:33.032Z] OK: 242 MiB in 58 packages [2024-10-30T07:57:34.001Z] Removing intermediate container 8dd803c2a6af [2024-10-30T07:57:34.001Z] ---> ad4b741e69c7 [2024-10-30T07:57:34.001Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T07:57:34.585Z] ---> b99842b1734c [2024-10-30T07:57:34.585Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T07:57:34.585Z] ---> Running in 64947e4fe4ac [2024-10-30T07:59:26.303Z] Removing intermediate container 64947e4fe4ac [2024-10-30T07:59:26.303Z] ---> 7cf02b9e3145 [2024-10-30T07:59:26.303Z] Step 11/12 : COPY . . [2024-10-30T07:59:26.303Z] ---> ed7fa1db0793 [2024-10-30T07:59:26.303Z] Step 12/12 : RUN ${MAKE} [2024-10-30T07:59:26.303Z] ---> Running in 2d5d8c9da489 [2024-10-30T07:59:27.739Z] noop [2024-10-30T07:59:28.326Z] Removing intermediate container 2d5d8c9da489 [2024-10-30T07:59:28.326Z] ---> 63f80c836dec [2024-10-30T07:59:28.326Z] Successfully built 63f80c836dec [2024-10-30T07:59:28.326Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:59:28.835Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T07:59:28.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:59:29.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-24120 does not seem to be running inside a container [2024-10-30T07:59:29.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T07:59:30.633Z] $ docker top bfb15e5a8da36cf4dc44b1b29e7ae087f9e0665ae699723c10085e422d3ff107 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:59:31.581Z] + go version [2024-10-30T07:59:31.581Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T07:59:31.622Z] $ docker stop --time=1 bfb15e5a8da36cf4dc44b1b29e7ae087f9e0665ae699723c10085e422d3ff107 [2024-10-30T07:59:33.291Z] $ docker rm -f --volumes bfb15e5a8da36cf4dc44b1b29e7ae087f9e0665ae699723c10085e422d3ff107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T07:59:34.280Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T07:59:34.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T07:59:34.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-24120 does not seem to be running inside a container [2024-10-30T07:59:34.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T07:59:35.849Z] $ docker top 22e7520b668791d2990482134f4a1d4c30f83c82f35baafd6957586c48cbcaad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T07:59:36.419Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2024-10-30T07:59:36.838Z] + make test [2024-10-30T07:59:36.838Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T07:59:43.495Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-10-30T08:03:25.897Z] github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements [2024-10-30T08:03:25.897Z] github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements [2024-10-30T08:03:25.897Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T08:03:25.897Z] go vet ./... [2024-10-30T08:04:12.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T08:04:12.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T08:04:12.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T08:04:12.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T08:04:12.857Z] $ docker stop --time=1 22e7520b668791d2990482134f4a1d4c30f83c82f35baafd6957586c48cbcaad [2024-10-30T08:04:14.982Z] $ docker rm -f --volumes 22e7520b668791d2990482134f4a1d4c30f83c82f35baafd6957586c48cbcaad [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T08:04:17.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T08:04:17.048Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T08:04:17.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T08:04:18.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T08:04:18.621Z] + ls -al . [2024-10-30T08:04:18.621Z] total 232 [2024-10-30T08:04:18.621Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 30 07:59 . [2024-10-30T08:04:18.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:56 .. [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 30 07:56 .dockerignore [2024-10-30T08:04:18.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:56 .git [2024-10-30T08:04:18.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:56 .github [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 277 Oct 30 07:56 .gitignore [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 07:56 .golangci.yml [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 19399 Oct 30 07:56 Attribution.txt [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 7171 Oct 30 07:56 CHANGELOG.md [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 1694 Oct 30 07:56 Dockerfile [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:56 GOVERNANCE.md [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 30 07:56 Jenkinsfile [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:56 LICENSE [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 30 07:56 Makefile [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 30 07:56 OWNERS.md [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 30 07:56 README.md [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 07:52 VERSION [2024-10-30T08:04:18.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:56 bin [2024-10-30T08:04:18.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:56 cmd [2024-10-30T08:04:18.621Z] -rw-r--r-- 1 jenkins jenkins 11486 Oct 30 08:03 coverage.out [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 6906 Oct 30 07:56 go.mod [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 30 07:56 go.sum [2024-10-30T08:04:18.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:56 internal [2024-10-30T08:04:18.621Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 30 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T08:04:19.106Z] + 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=9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 --label arch=arm64 --label version=0.0.0 . [2024-10-30T08:04:19.719Z] Sending build context to Docker daemon 15.31MB [2024-10-30T08:04:19.719Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T08:04:19.719Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-30T08:04:19.719Z] ---> 63f80c836dec [2024-10-30T08:04:19.719Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-30T08:04:19.989Z] ---> Running in 2a7c6ba922e8 [2024-10-30T08:04:20.257Z] Removing intermediate container 2a7c6ba922e8 [2024-10-30T08:04:20.257Z] ---> 02f06e339e24 [2024-10-30T08:04:20.257Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T08:04:20.257Z] ---> Running in 5ec39a487b33 [2024-10-30T08:04:20.845Z] Removing intermediate container 5ec39a487b33 [2024-10-30T08:04:20.845Z] ---> 94d26c6a1abc [2024-10-30T08:04:20.845Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-30T08:04:20.845Z] ---> Running in 7e065920fd28 [2024-10-30T08:04:21.115Z] Removing intermediate container 7e065920fd28 [2024-10-30T08:04:21.115Z] ---> c82dc1f11168 [2024-10-30T08:04:21.115Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T08:04:21.115Z] ---> Running in df029876b82d [2024-10-30T08:04:21.704Z] Removing intermediate container df029876b82d [2024-10-30T08:04:21.704Z] ---> 67cd854b69c7 [2024-10-30T08:04:21.704Z] Step 7/26 : WORKDIR /device-gpio [2024-10-30T08:04:21.704Z] ---> Running in 9760b5037f82 [2024-10-30T08:04:21.980Z] Removing intermediate container 9760b5037f82 [2024-10-30T08:04:21.980Z] ---> 04419573b745 [2024-10-30T08:04:21.980Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T08:04:22.257Z] ---> Running in cc4e19fd70f0 [2024-10-30T08:04:23.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T08:04:23.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T08:04:25.461Z] OK: 242 MiB in 58 packages [2024-10-30T08:04:26.046Z] Removing intermediate container cc4e19fd70f0 [2024-10-30T08:04:26.046Z] ---> 68f1f80e46c6 [2024-10-30T08:04:26.046Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-30T08:04:26.630Z] ---> 027be54031b7 [2024-10-30T08:04:26.630Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T08:04:26.898Z] ---> Running in ecbcd2876148 [2024-10-30T08:04:29.489Z] Removing intermediate container ecbcd2876148 [2024-10-30T08:04:29.489Z] ---> 5a7f3806c98d [2024-10-30T08:04:29.489Z] Step 11/26 : COPY . . [2024-10-30T08:04:30.449Z] ---> e1b81dd81b2a [2024-10-30T08:04:30.449Z] Step 12/26 : RUN ${MAKE} [2024-10-30T08:04:30.717Z] ---> Running in bb4dcbeca512 [2024-10-30T08:04:31.686Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-10-30T08:08:23.509Z] Removing intermediate container bb4dcbeca512 [2024-10-30T08:08:23.509Z] ---> dbd84b2c7adf [2024-10-30T08:08:23.509Z] Step 13/26 : FROM alpine:3.20 [2024-10-30T08:08:23.509Z] 3.20: Pulling from library/alpine [2024-10-30T08:08:23.509Z] cf04c63912e1: Already exists [2024-10-30T08:08:23.509Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T08:08:23.509Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T08:08:23.509Z] ---> c157a85ed455 [2024-10-30T08:08:23.509Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-30T08:08:23.509Z] ---> Running in 7657200e7582 [2024-10-30T08:08:23.509Z] Removing intermediate container 7657200e7582 [2024-10-30T08:08:23.509Z] ---> d9114e952e73 [2024-10-30T08:08:23.509Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-30T08:08:23.509Z] ---> Running in 58f4b9ad9c06 [2024-10-30T08:08:23.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T08:08:23.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T08:08:23.509Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T08:08:23.509Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T08:08:23.509Z] OK: 9 MiB in 15 packages [2024-10-30T08:08:23.509Z] Removing intermediate container 58f4b9ad9c06 [2024-10-30T08:08:23.509Z] ---> 6fe7ee6aa884 [2024-10-30T08:08:23.509Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-30T08:08:23.509Z] ---> Running in 075360cc5d6f [2024-10-30T08:08:23.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T08:08:23.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T08:08:23.509Z] Upgrading critical system libraries and apk-tools: [2024-10-30T08:08:23.509Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T08:08:23.509Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T08:08:23.509Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T08:08:23.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T08:08:23.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T08:08:23.509Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T08:08:23.509Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T08:08:23.509Z] OK: 9 MiB in 15 packages [2024-10-30T08:08:23.509Z] Removing intermediate container 075360cc5d6f [2024-10-30T08:08:23.509Z] ---> c53cfd5a40ef [2024-10-30T08:08:23.509Z] Step 17/26 : WORKDIR / [2024-10-30T08:08:23.509Z] ---> Running in e63eab333a73 [2024-10-30T08:08:23.509Z] Removing intermediate container e63eab333a73 [2024-10-30T08:08:23.509Z] ---> 8f53013297a7 [2024-10-30T08:08:23.509Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-10-30T08:08:23.509Z] ---> 4abf84c04567 [2024-10-30T08:08:23.509Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-10-30T08:08:23.509Z] ---> 45361e34d34d [2024-10-30T08:08:23.509Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-10-30T08:08:25.472Z] ---> 0e190d90071a [2024-10-30T08:08:25.472Z] Step 21/26 : EXPOSE 59910 [2024-10-30T08:08:25.472Z] ---> Running in c9e944c34f2c [2024-10-30T08:08:26.073Z] Removing intermediate container c9e944c34f2c [2024-10-30T08:08:26.073Z] ---> b9e1ef907869 [2024-10-30T08:08:26.073Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-10-30T08:08:26.073Z] ---> Running in 7c2ebcb44756 [2024-10-30T08:08:26.344Z] Removing intermediate container 7c2ebcb44756 [2024-10-30T08:08:26.344Z] ---> 26b372a76ce9 [2024-10-30T08:08:26.344Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T08:08:26.344Z] ---> Running in 2ff95342e6fc [2024-10-30T08:08:26.933Z] Removing intermediate container 2ff95342e6fc [2024-10-30T08:08:26.933Z] ---> 56064d87fde1 [2024-10-30T08:08:26.933Z] Step 24/26 : LABEL arch=arm64 [2024-10-30T08:08:27.206Z] ---> Running in 4a33ed901935 [2024-10-30T08:08:27.483Z] Removing intermediate container 4a33ed901935 [2024-10-30T08:08:27.483Z] ---> b3378d7b3a60 [2024-10-30T08:08:27.483Z] Step 25/26 : LABEL git_sha=9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [2024-10-30T08:08:27.483Z] ---> Running in ef24652c1d59 [2024-10-30T08:08:28.074Z] Removing intermediate container ef24652c1d59 [2024-10-30T08:08:28.074Z] ---> cf1e44a2cf13 [2024-10-30T08:08:28.074Z] Step 26/26 : LABEL version=0.0.0 [2024-10-30T08:08:28.074Z] ---> Running in 66db4e82f929 [2024-10-30T08:08:28.346Z] Removing intermediate container 66db4e82f929 [2024-10-30T08:08:28.346Z] ---> 4d25e243c52e [2024-10-30T08:08:28.346Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T08:08:28.346Z] Successfully built 4d25e243c52e [2024-10-30T08:08:28.346Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T08:08:29.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T08:08:29.577Z] [2024-10-30T08:08:29.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T08:08:30.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T08:08:30.287Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T08:08:30.287Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T08:08:30.287Z] 04944245beec: Pulling fs layer [2024-10-30T08:08:30.287Z] 699f458cf7ca: Pulling fs layer [2024-10-30T08:08:30.287Z] 765212b225bb: Pulling fs layer [2024-10-30T08:08:30.287Z] f23df028b6ca: Pulling fs layer [2024-10-30T08:08:30.287Z] 765212b225bb: Waiting [2024-10-30T08:08:30.287Z] f23df028b6ca: Waiting [2024-10-30T08:08:30.287Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T08:08:30.287Z] d65c8cfc05b1: Waiting [2024-10-30T08:08:30.287Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T08:08:30.287Z] 2437ff75d9bd: Waiting [2024-10-30T08:08:30.287Z] 04944245beec: Verifying Checksum [2024-10-30T08:08:30.287Z] 04944245beec: Download complete [2024-10-30T08:08:30.287Z] 765212b225bb: Verifying Checksum [2024-10-30T08:08:30.287Z] 765212b225bb: Download complete [2024-10-30T08:08:30.287Z] f23df028b6ca: Verifying Checksum [2024-10-30T08:08:30.287Z] f23df028b6ca: Download complete [2024-10-30T08:08:30.559Z] d65c8cfc05b1: Verifying Checksum [2024-10-30T08:08:30.559Z] d65c8cfc05b1: Download complete [2024-10-30T08:08:30.559Z] 699f458cf7ca: Verifying Checksum [2024-10-30T08:08:30.559Z] 699f458cf7ca: Download complete [2024-10-30T08:08:31.149Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T08:08:31.149Z] 8998bd30e6a1: Download complete [2024-10-30T08:08:33.747Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T08:08:33.747Z] 2437ff75d9bd: Download complete [2024-10-30T08:08:36.344Z] 8998bd30e6a1: Pull complete [2024-10-30T08:08:36.344Z] 04944245beec: Pull complete [2024-10-30T08:08:38.298Z] 699f458cf7ca: Pull complete [2024-10-30T08:08:38.298Z] 765212b225bb: Pull complete [2024-10-30T08:08:39.269Z] f23df028b6ca: Pull complete [2024-10-30T08:08:39.537Z] d65c8cfc05b1: Pull complete [2024-10-30T08:08:57.788Z] 2437ff75d9bd: Pull complete [2024-10-30T08:08:57.788Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T08:08:57.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T08:08:57.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T08:08:58.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-24120 does not seem to be running inside a container [2024-10-30T08:08:58.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-30T08:09:01.562Z] $ docker top 7545e9e69c3e247e99eb7819add09fd7505c3c0255a99e2f51bf3e13c5442887 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:02.495Z] ---> job-cost.sh [2024-10-30T08:09:02.495Z] lf-activate-venv: SKIPPING [2024-10-30T08:09:02.495Z] INFO: No Stack... [2024-10-30T08:09:02.764Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T08:09:03.733Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T08:09:04.408Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2024-10-30T08:09:04.408Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T08:09:04.499Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] [2024-10-30T08:09:04.506Z] Resource [jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] did not exist. Created. [2024-10-30T08:09:04.513Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T08:09:05.272Z] /w/workspace/device-gpio/1@tmp/durable-17639dd6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T08:09:05.952Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T08:09:06.006Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T08:09:06.066Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T08:09:06.086Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T08:09:06.182Z] $ docker stop --time=1 7545e9e69c3e247e99eb7819add09fd7505c3c0255a99e2f51bf3e13c5442887 [2024-10-30T08:09:07.796Z] $ docker rm -f --volumes 7545e9e69c3e247e99eb7819add09fd7505c3c0255a99e2f51bf3e13c5442887 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-30T08:09:08.996Z] provisioning config files... [2024-10-30T08:09:09.003Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp/config13596684709612601690tmp [Pipeline] { [Pipeline] sh [2024-10-30T08:09:09.367Z] + set +x [2024-10-30T08:09:09.367Z] + curl -s https://codecov.io/bash [2024-10-30T08:09:09.367Z] + bash -s -- [2024-10-30T08:09:09.367Z] [2024-10-30T08:09:09.367Z] _____ _ [2024-10-30T08:09:09.367Z] / ____| | | [2024-10-30T08:09:09.367Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T08:09:09.367Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T08:09:09.367Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T08:09:09.367Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T08:09:09.367Z] Bash-1.0.6 [2024-10-30T08:09:09.367Z] [2024-10-30T08:09:09.367Z] [2024-10-30T08:09:09.367Z] ==> git version 2.25.1 found [2024-10-30T08:09:09.367Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-30T08:09:09.367Z] Release-Date: 2020-01-08 [2024-10-30T08:09:09.367Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-30T08:09:09.367Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T08:09:09.367Z] ==> Jenkins CI detected. [2024-10-30T08:09:09.367Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-240 [2024-10-30T08:09:09.367Z] project root: . [2024-10-30T08:09:09.367Z] --> token set from env [2024-10-30T08:09:09.367Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T08:09:09.367Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T08:09:09.367Z] ==> Python coveragepy not found [2024-10-30T08:09:09.367Z] ==> Searching for coverage reports in: [2024-10-30T08:09:09.367Z] + . [2024-10-30T08:09:09.367Z] -> Found 1 reports [2024-10-30T08:09:09.367Z] ==> Detecting git/mercurial file structure [2024-10-30T08:09:09.628Z] ==> Reading reports [2024-10-30T08:09:09.629Z] + ./coverage.out bytes=11486 [2024-10-30T08:09:09.629Z] ==> Appending adjustments [2024-10-30T08:09:09.629Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T08:09:09.629Z] + Found adjustments [2024-10-30T08:09:09.629Z] ==> Gzipping contents [2024-10-30T08:09:09.629Z] 4.0K /tmp/codecov.a1kEhz.gz [2024-10-30T08:09:09.629Z] ==> Uploading reports [2024-10-30T08:09:09.629Z] url: https://codecov.io [2024-10-30T08:09:09.629Z] query: branch=PR-240&commit=9f02b45e77d0e53a10c3bbe3e35621a61112d3b4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-240%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=240&job=&cmd_args= [2024-10-30T08:09:09.629Z] -> Pinging Codecov [2024-10-30T08:09:09.629Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-240&commit=9f02b45e77d0e53a10c3bbe3e35621a61112d3b4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-240%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=240&job=&cmd_args= [2024-10-30T08:09:09.890Z] -> Uploading to [2024-10-30T08:09:09.890Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-gpio/9f02b45e77d0e53a10c3bbe3e35621a61112d3b4/668034e7-6c7b-46cf-9080-dc6798ea2d08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T080909Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=ca324c012b747e75e8b6b5f3f14a985e9644bad9e7eb7759e54ad23e426d1e29 [2024-10-30T08:09:09.890Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T08:09:09.890Z] Dload Upload Total Spent Left Speed [2024-10-30T08:09:10.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 8157 --:--:-- --:--:-- --:--:-- 8157 [2024-10-30T08:09:10.150Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9f02b45e77d0e53a10c3bbe3e35621a61112d3b4 [Pipeline] } [2024-10-30T08:09:10.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-30T08:09:12.473Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-240/archives ] [2024-10-30T08:09:12.474Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-240/archives [2024-10-30T08:09:12.474Z] total 16 [2024-10-30T08:09:12.474Z] drwxr-xr-x 3 root root 4096 Oct 30 07:54 . [2024-10-30T08:09:12.474Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 07:54 .. [2024-10-30T08:09:12.474Z] drwxr-xr-x 2 root root 4096 Oct 30 07:54 cost [2024-10-30T08:09:12.474Z] -rw-r--r-- 1 root root 83 Oct 30 07:54 cost.csv [2024-10-30T08:09:12.474Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-240/archives [2024-10-30T08:09:12.474Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-240/archives [2024-10-30T08:09:12.474Z] total 16 [2024-10-30T08:09:12.474Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:54 . [2024-10-30T08:09:12.474Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 07:54 .. [2024-10-30T08:09:12.474Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 07:54 cost [2024-10-30T08:09:12.474Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 30 07:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:12.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:13.734Z] ---> package-listing.sh [2024-10-30T08:09:13.734Z] ++ facter osfamily [2024-10-30T08:09:13.734Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T08:09:13.994Z] + OS_FAMILY=debian [2024-10-30T08:09:13.994Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-240 [2024-10-30T08:09:13.994Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T08:09:13.994Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T08:09:13.994Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T08:09:13.994Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T08:09:13.994Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-240 ']' [2024-10-30T08:09:13.994Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T08:09:13.994Z] + case "${OS_FAMILY}" in [2024-10-30T08:09:13.994Z] + dpkg -l [2024-10-30T08:09:13.994Z] + grep '^ii' [2024-10-30T08:09:13.994Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T08:09:13.994Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T08:09:13.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T08:09:13.994Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-240 ']' [2024-10-30T08:09:13.994Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-240/archives/ [2024-10-30T08:09:13.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-240/archives/ [Pipeline] echo [2024-10-30T08:09:14.036Z] 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-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-30T08:09:14.339Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T08:09:15.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T08:09:15.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T08:09:15.171Z] prd-ubuntu20.04-docker-8c-8g-24119 does not seem to be running inside a container [2024-10-30T08:09:15.200Z] $ 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-240/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-240 -v /w/workspace/edgexfoundry_device-gpio_PR-240:/w/workspace/edgexfoundry_device-gpio_PR-240:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-240@tmp:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T08:09:15.449Z] $ docker top 51841a69dde89921565020e8beaae0d37b13b378241d27f750428ef31b4dd349 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T08:09:15.858Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T08:09:16.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T08:09:16.503Z] + ls /var/log/sa-host [2024-10-30T08:09:16.503Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T08:09:16.764Z] provisioning config files... [2024-10-30T08:09:16.774Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-240@tmp/config9311598742054142152tmp [Pipeline] { [Pipeline] echo [2024-10-30T08:09:16.846Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:17.165Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T08:09:17.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:17.620Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T08:09:17.659Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:17.979Z] ---> sudo-logs.sh [2024-10-30T08:09:17.979Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T08:09:18.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:18.411Z] ---> job-cost.sh [2024-10-30T08:09:18.411Z] lf-activate-venv: SKIPPING [2024-10-30T08:09:18.411Z] DEBUG: total: 0.2199999988079071 [2024-10-30T08:09:18.411Z] INFO: Retrieving Stack Cost... [2024-10-30T08:09:18.670Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T08:09:19.242Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T08:09:19.289Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T08:09:19.611Z] ---> logs-deploy.sh [2024-10-30T08:09:19.611Z] lf-activate-venv: SKIPPING [2024-10-30T08:09:19.611Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-240/1 [2024-10-30T08:09:19.611Z] INFO: archiving workspace using pattern(s): [2024-10-30T08:09:20.550Z] Archives upload complete. [2024-10-30T08:09:20.550Z] INFO: archiving logs to Nexus