Pull request #239 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 jinlinGuan for edgexfoundry/device-gpio Obtained Jenkinsfile from 6b5a75e1356565ab4be406e01d3911e6398d22a8+5e48db97a8988fffcfcc719ccc3171eb5c7f9682 (10b1f3dd2beaa6d9e371138376a9cff86086e2c6) 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-ssh4362094911235949802.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-ssh130976432630520936.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-239/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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14859363463241870277.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-239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8992334016398344805.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-ssh15471309112703706181.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-239/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-239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4370057845662937728.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-17306 in /w/workspace/edgexfoundry_device-gpio_PR-239 [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-239 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5e48db97a8988fffcfcc719ccc3171eb5c7f9682 into PR head commit 6b5a75e1356565ab4be406e01d3911e6398d22a8 Merge succeeded, producing 6b5a75e1356565ab4be406e01d3911e6398d22a8 Checking out Revision 6b5a75e1356565ab4be406e01d3911e6398d22a8 (PR-239) > 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/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b5a75e1356565ab4be406e01d3911e6398d22a8 # 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 5e48db97a8988fffcfcc719ccc3171eb5c7f9682 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b5a75e1356565ab4be406e01d3911e6398d22a8 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" 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-04T08:27:35.829Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T08:27:36.106Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T08:27:36.239Z] ========================================================= [2024-10-04T08:27:36.239Z] EdgeX Global Pipelines Version Info [2024-10-04T08:27:36.239Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:27:37.023Z] ------------------- [2024-10-04T08:27:37.023Z] stable info: [2024-10-04T08:27:37.023Z] ------------------- [2024-10-04T08:27:37.023Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T08:27:37.023Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T08:27:37.023Z] Message: update stable to v1.0.265 [2024-10-04T08:27:37.596Z] ------------------- [2024-10-04T08:27:37.596Z] experimental info: [2024-10-04T08:27:37.596Z] ------------------- [2024-10-04T08:27:37.596Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T08:27:37.596Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T08:27:37.596Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T08:27:37.867Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2024-10-04T08:27:37.963Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2024-10-04T08:27:38.027Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T08:27:38.091Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T08:27:38.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T08:27:38.267Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T08:27:38.342Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T08:27:38.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T08:27:38.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T08:27:38.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T08:27:38.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T08:27:38.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2024-10-04T08:27:38.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T08:27:38.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T08:27:39.034Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T08:27:39.100Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T08:27:39.163Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:27:39.237Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:27:39.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T08:27:39.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T08:27:39.484Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T08:27:39.551Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T08:27:39.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T08:27:39.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T08:27:39.744Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T08:27:39.810Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T08:27:39.880Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T08:27:39.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-239 [Pipeline] echo [2024-10-04T08:27:40.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-239 [Pipeline] echo [2024-10-04T08:27:40.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-239 [Pipeline] echo [2024-10-04T08:27:40.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b5a75e1356565ab4be406e01d3911e6398d22a8 [Pipeline] echo [2024-10-04T08:27:40.232Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b5a75e [Pipeline] echo [2024-10-04T08:27:40.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T08:27:40.516Z] provisioning config files... [2024-10-04T08:27:40.534Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-239@tmp/config17162459687392103250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:27:40.960Z] ---> ****-login.sh [2024-10-04T08:27:40.960Z] nexus3.edgexfoundry.org:10001 [2024-10-04T08:27:41.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:27:41.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:27:41.224Z] Configure a credential helper to remove this warning. See [2024-10-04T08:27:41.224Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:27:41.224Z] [2024-10-04T08:27:41.224Z] Login Succeeded [2024-10-04T08:27:41.224Z] nexus3.edgexfoundry.org:10002 [2024-10-04T08:27:41.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:27:41.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:27:41.488Z] Configure a credential helper to remove this warning. See [2024-10-04T08:27:41.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:27:41.488Z] [2024-10-04T08:27:41.488Z] Login Succeeded [2024-10-04T08:27:41.488Z] nexus3.edgexfoundry.org:10003 [2024-10-04T08:27:41.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:27:41.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:27:41.488Z] Configure a credential helper to remove this warning. See [2024-10-04T08:27:41.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:27:41.488Z] [2024-10-04T08:27:41.488Z] Login Succeeded [2024-10-04T08:27:41.488Z] nexus3.edgexfoundry.org:10004 [2024-10-04T08:27:41.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:27:41.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:27:41.749Z] Configure a credential helper to remove this warning. See [2024-10-04T08:27:41.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:27:41.749Z] [2024-10-04T08:27:41.749Z] Login Succeeded [2024-10-04T08:27:41.749Z] ****.io [2024-10-04T08:27:41.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:27:42.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:27:42.017Z] Configure a credential helper to remove this warning. See [2024-10-04T08:27:42.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:27:42.017Z] [2024-10-04T08:27:42.017Z] Login Succeeded [2024-10-04T08:27:42.017Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T08:27:42.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T08:27:42.797Z] + git rev-list -1 --merges 6b5a75e1356565ab4be406e01d3911e6398d22a8~1..6b5a75e1356565ab4be406e01d3911e6398d22a8 [Pipeline] echo [2024-10-04T08:27:42.852Z] -----------> git rev-list -1 --merges 6b5a75e1356565ab4be406e01d3911e6398d22a8~1..6b5a75e1356565ab4be406e01d3911e6398d22a8 6b5a75e1356565ab4be406e01d3911e6398d22a8 [false] [Pipeline] sh [2024-10-04T08:27:43.182Z] + git log --format=format:%s -1 6b5a75e1356565ab4be406e01d3911e6398d22a8 [Pipeline] echo [2024-10-04T08:27:43.228Z] ========================================================= [2024-10-04T08:27:43.229Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T08:27:43.229Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T08:27:43.711Z] + git log --format=format:%s -1 6b5a75e1356565ab4be406e01d3911e6398d22a8 [Pipeline] echo [2024-10-04T08:27:43.751Z] [semverPrep] GIT_COMMIT: 6b5a75e1356565ab4be406e01d3911e6398d22a8, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T08:27:43.798Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T08:27:44.237Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T08:27:44.237Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T08:27:44.237Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T08:27:44.237Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T08:27:44.237Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T08:27:44.237Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T08:27:44.237Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:27:44.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:27:44.807Z] [2024-10-04T08:27:44.807Z] 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-04T08:27:45.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:27:45.230Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T08:27:45.230Z] b85a868b505f: Pulling fs layer [2024-10-04T08:27:45.230Z] e2be974225ed: Pulling fs layer [2024-10-04T08:27:45.230Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T08:27:45.230Z] 988bab9f4d93: Pulling fs layer [2024-10-04T08:27:45.230Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T08:27:45.230Z] eaf3925da568: Pulling fs layer [2024-10-04T08:27:45.230Z] bab4dde63d76: Pulling fs layer [2024-10-04T08:27:45.230Z] bde34c3a00c8: Pulling fs layer [2024-10-04T08:27:45.230Z] b352a97aabf1: Pulling fs layer [2024-10-04T08:27:45.230Z] 4872d77fe225: Pulling fs layer [2024-10-04T08:27:45.230Z] 5851b861e8e6: Pulling fs layer [2024-10-04T08:27:45.230Z] 988bab9f4d93: Waiting [2024-10-04T08:27:45.230Z] 1469e6f7b9e6: Waiting [2024-10-04T08:27:45.230Z] bde34c3a00c8: Waiting [2024-10-04T08:27:45.230Z] eaf3925da568: Waiting [2024-10-04T08:27:45.230Z] b352a97aabf1: Waiting [2024-10-04T08:27:45.230Z] bab4dde63d76: Waiting [2024-10-04T08:27:45.230Z] 4872d77fe225: Waiting [2024-10-04T08:27:45.230Z] 5851b861e8e6: Waiting [2024-10-04T08:27:45.230Z] e2be974225ed: Verifying Checksum [2024-10-04T08:27:45.230Z] e2be974225ed: Download complete [2024-10-04T08:27:45.230Z] 988bab9f4d93: Verifying Checksum [2024-10-04T08:27:45.230Z] 988bab9f4d93: Download complete [2024-10-04T08:27:45.230Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T08:27:45.230Z] 1469e6f7b9e6: Download complete [2024-10-04T08:27:45.230Z] eaf3925da568: Verifying Checksum [2024-10-04T08:27:45.230Z] eaf3925da568: Download complete [2024-10-04T08:27:45.492Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T08:27:45.492Z] 339a4e72a1f5: Download complete [2024-10-04T08:27:45.492Z] bde34c3a00c8: Download complete [2024-10-04T08:27:45.492Z] b352a97aabf1: Verifying Checksum [2024-10-04T08:27:45.492Z] b352a97aabf1: Download complete [2024-10-04T08:27:45.492Z] 4872d77fe225: Verifying Checksum [2024-10-04T08:27:45.492Z] 4872d77fe225: Download complete [2024-10-04T08:27:45.492Z] 5851b861e8e6: Verifying Checksum [2024-10-04T08:27:45.492Z] 5851b861e8e6: Download complete [2024-10-04T08:27:45.492Z] b85a868b505f: Download complete [2024-10-04T08:27:45.757Z] bab4dde63d76: Verifying Checksum [2024-10-04T08:27:45.757Z] bab4dde63d76: Download complete [2024-10-04T08:27:46.697Z] b85a868b505f: Pull complete [2024-10-04T08:27:46.697Z] e2be974225ed: Pull complete [2024-10-04T08:27:47.265Z] 339a4e72a1f5: Pull complete [2024-10-04T08:27:47.265Z] 988bab9f4d93: Pull complete [2024-10-04T08:27:47.524Z] 1469e6f7b9e6: Pull complete [2024-10-04T08:27:47.524Z] eaf3925da568: Pull complete [2024-10-04T08:27:49.453Z] bab4dde63d76: Pull complete [2024-10-04T08:27:49.453Z] bde34c3a00c8: Pull complete [2024-10-04T08:27:49.453Z] b352a97aabf1: Pull complete [2024-10-04T08:27:49.453Z] 4872d77fe225: Pull complete [2024-10-04T08:27:49.714Z] 5851b861e8e6: Pull complete [2024-10-04T08:27:49.714Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T08:27:49.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:27:49.714Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:27:50.019Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2024-10-04T08:27:50.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-239 -v /w/workspace/edgexfoundry_device-gpio_PR-239:/w/workspace/edgexfoundry_device-gpio_PR-239:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-239@tmp:/w/workspace/edgexfoundry_device-gpio_PR-239@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T08:27:52.511Z] $ docker top 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 -eo pid,comm [2024-10-04T08:27:52.565Z] 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-04T08:27:52.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T08:27:52.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T08:27:52.758Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T08:27:52.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T08:27:52.886Z] $ docker exec 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 ssh-agent [2024-10-04T08:27:53.014Z] SSH_AUTH_SOCK=/tmp/ssh-tl7eJQtfgIMv/agent.31 [2024-10-04T08:27:53.014Z] SSH_AGENT_PID=37 [2024-10-04T08:27:53.022Z] Running ssh-add (command line suppressed) [2024-10-04T08:27:53.137Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-239@tmp/private_key_17025542019852870991.key (/w/workspace/edgexfoundry_device-gpio_PR-239@tmp/private_key_17025542019852870991.key) [2024-10-04T08:27:53.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T08:27:53.494Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T08:27:53.526Z] $ docker exec --env ******** --env ******** 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 ssh-agent -k [2024-10-04T08:27:53.619Z] unset SSH_AUTH_SOCK; [2024-10-04T08:27:53.621Z] unset SSH_AGENT_PID; [2024-10-04T08:27:53.622Z] echo Agent pid 37 killed; [2024-10-04T08:27:53.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T08:27:53.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T08:27:53.747Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T08:27:53.845Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T08:27:53.850Z] $ docker exec 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 ssh-agent [2024-10-04T08:27:53.959Z] SSH_AUTH_SOCK=/tmp/ssh-VNKydNHu453b/agent.69 [2024-10-04T08:27:53.959Z] SSH_AGENT_PID=75 [2024-10-04T08:27:53.964Z] Running ssh-add (command line suppressed) [2024-10-04T08:27:54.068Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-239@tmp/private_key_11957717569518002191.key (/w/workspace/edgexfoundry_device-gpio_PR-239@tmp/private_key_11957717569518002191.key) [2024-10-04T08:27:54.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T08:27:54.434Z] + git semver init [2024-10-04T08:27:54.694Z] 2024-10-04 08:27:54,639 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T08:27:54.694Z] 2024-10-04 08:27:54,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-239/.semver [2024-10-04T08:27:54.694Z] 2024-10-04 08:27:54,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-239/.semver [2024-10-04T08:27:54.694Z] 2024-10-04 08:27:54,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-239/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-239, universal_newlines=False, shell=None, istream=None) [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,021 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-239/.git/info/exclude [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-239/.semver/PR-239 with force:False [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,022 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-239/.semver/PR-239 [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,026 [execute] INFO git cat-file --batch-check [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,032 [execute] INFO git cat-file --batch [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-239/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T08:27:56.075Z] 2024-10-04 08:27:56,038 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-239/.semver/PR-239 [2024-10-04T08:27:56.075Z] 0.0.0 [Pipeline] } [2024-10-04T08:27:56.125Z] $ docker exec --env ******** --env ******** 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 ssh-agent -k [2024-10-04T08:27:56.238Z] unset SSH_AUTH_SOCK; [2024-10-04T08:27:56.238Z] unset SSH_AGENT_PID; [2024-10-04T08:27:56.240Z] echo Agent pid 75 killed; [2024-10-04T08:27:56.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T08:27:56.790Z] + git semver [Pipeline] } [2024-10-04T08:27:57.080Z] $ docker stop --time=1 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 [2024-10-04T08:27:58.375Z] $ docker rm -f --volumes 772d75cd366130fbac84ba7f28dbc9c227698f308e64d4cb6ea83cd5e09ae292 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T08:27:58.808Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T08:27:59.144Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T08:27:59.170Z] [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-04T08:28:00.080Z] provisioning config files... [2024-10-04T08:28:00.091Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-239@tmp/config3795023739982012501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:28:00.531Z] ---> ****-login.sh [2024-10-04T08:28:00.531Z] nexus3.edgexfoundry.org:10001 [2024-10-04T08:28:00.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:28:00.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:28:00.532Z] Configure a credential helper to remove this warning. See [2024-10-04T08:28:00.532Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:28:00.532Z] [2024-10-04T08:28:00.532Z] Login Succeeded [2024-10-04T08:28:00.532Z] nexus3.edgexfoundry.org:10002 [2024-10-04T08:28:00.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:28:00.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:28:00.793Z] Configure a credential helper to remove this warning. See [2024-10-04T08:28:00.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:28:00.793Z] [2024-10-04T08:28:00.793Z] Login Succeeded [2024-10-04T08:28:00.793Z] nexus3.edgexfoundry.org:10003 [2024-10-04T08:28:00.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:28:00.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:28:00.793Z] Configure a credential helper to remove this warning. See [2024-10-04T08:28:00.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:28:00.793Z] [2024-10-04T08:28:00.793Z] Login Succeeded [2024-10-04T08:28:00.793Z] nexus3.edgexfoundry.org:10004 [2024-10-04T08:28:01.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:28:01.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:28:01.054Z] Configure a credential helper to remove this warning. See [2024-10-04T08:28:01.054Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:28:01.054Z] [2024-10-04T08:28:01.054Z] Login Succeeded [2024-10-04T08:28:01.054Z] ****.io [2024-10-04T08:28:01.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:28:01.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:28:01.313Z] Configure a credential helper to remove this warning. See [2024-10-04T08:28:01.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:28:01.314Z] [2024-10-04T08:28:01.314Z] Login Succeeded [2024-10-04T08:28:01.314Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T08:28:01.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T08:28:01.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T08:28:01.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T08:28:01.787Z] ========================================================= [2024-10-04T08:28:01.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T08:28:01.787Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:28:02.332Z] + 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-04T08:28:02.332Z] Sending build context to Docker daemon 30.63MB [2024-10-04T08:28:02.332Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T08:28:02.332Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T08:28:02.595Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T08:28:02.595Z] 43c4264eed91: Pulling fs layer [2024-10-04T08:28:02.595Z] 4cc291be95ef: Pulling fs layer [2024-10-04T08:28:02.595Z] 2ac1f1163629: Pulling fs layer [2024-10-04T08:28:02.595Z] 5c3c966382ef: Pulling fs layer [2024-10-04T08:28:02.595Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T08:28:02.595Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T08:28:02.595Z] 9f66e0745190: Pulling fs layer [2024-10-04T08:28:02.595Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T08:28:02.595Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T08:28:02.595Z] 5c3c966382ef: Waiting [2024-10-04T08:28:02.595Z] 4f4fb700ef54: Waiting [2024-10-04T08:28:02.595Z] 5d5c8e513c77: Waiting [2024-10-04T08:28:02.595Z] 9f66e0745190: Waiting [2024-10-04T08:28:02.595Z] f49a43e4bbc0: Waiting [2024-10-04T08:28:02.595Z] 4cc291be95ef: Verifying Checksum [2024-10-04T08:28:02.595Z] 4cc291be95ef: Download complete [2024-10-04T08:28:02.595Z] 5c3c966382ef: Verifying Checksum [2024-10-04T08:28:02.595Z] 5c3c966382ef: Download complete [2024-10-04T08:28:02.595Z] 4f4fb700ef54: Download complete [2024-10-04T08:28:02.595Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T08:28:02.595Z] 5d5c8e513c77: Download complete [2024-10-04T08:28:02.595Z] 43c4264eed91: Download complete [2024-10-04T08:28:02.595Z] 9f66e0745190: Verifying Checksum [2024-10-04T08:28:02.595Z] 9f66e0745190: Download complete [2024-10-04T08:28:02.854Z] 43c4264eed91: Pull complete [2024-10-04T08:28:02.854Z] 561ebcabdf7f: Download complete [2024-10-04T08:28:02.854Z] 4cc291be95ef: Pull complete [2024-10-04T08:28:03.114Z] 2ac1f1163629: Download complete [2024-10-04T08:28:03.372Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T08:28:03.372Z] f49a43e4bbc0: Download complete [2024-10-04T08:28:06.659Z] 2ac1f1163629: Pull complete [2024-10-04T08:28:06.659Z] 5c3c966382ef: Pull complete [2024-10-04T08:28:06.659Z] 4f4fb700ef54: Pull complete [2024-10-04T08:28:06.659Z] 5d5c8e513c77: Pull complete [2024-10-04T08:28:06.659Z] 9f66e0745190: Pull complete [2024-10-04T08:28:08.587Z] f49a43e4bbc0: Pull complete [2024-10-04T08:28:09.155Z] 561ebcabdf7f: Pull complete [2024-10-04T08:28:09.155Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T08:28:09.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T08:28:09.155Z] ---> 3a752c3f9dda [2024-10-04T08:28:09.155Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T08:28:12.442Z] ---> Running in 350cf2503e6b [2024-10-04T08:28:12.442Z] Removing intermediate container 350cf2503e6b [2024-10-04T08:28:12.442Z] ---> 87b71f60bef3 [2024-10-04T08:28:12.442Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T08:28:12.442Z] ---> Running in e61cd0716ff8 [2024-10-04T08:28:12.442Z] Removing intermediate container e61cd0716ff8 [2024-10-04T08:28:12.442Z] ---> 89e09ea5fbed [2024-10-04T08:28:12.442Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-04T08:28:12.442Z] ---> Running in a354cd7887a2 [2024-10-04T08:28:12.442Z] Removing intermediate container a354cd7887a2 [2024-10-04T08:28:12.442Z] ---> 28e4d2c429b8 [2024-10-04T08:28:12.442Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T08:28:12.442Z] ---> Running in 526f3acc51f4 [2024-10-04T08:28:12.442Z] Removing intermediate container 526f3acc51f4 [2024-10-04T08:28:12.442Z] ---> 2a7ecdbd50c8 [2024-10-04T08:28:12.442Z] Step 7/12 : WORKDIR /device-gpio [2024-10-04T08:28:12.442Z] ---> Running in 04aef4755c73 [2024-10-04T08:28:12.442Z] Removing intermediate container 04aef4755c73 [2024-10-04T08:28:12.442Z] ---> 997e52e5acc5 [2024-10-04T08:28:12.442Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T08:28:12.442Z] ---> Running in 4d88adee6889 [2024-10-04T08:28:12.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:28:12.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:28:13.232Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T08:28:13.232Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T08:28:13.232Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T08:28:13.232Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T08:28:13.232Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:28:13.232Z] OK: 250 MiB in 58 packages [2024-10-04T08:28:13.798Z] Removing intermediate container 4d88adee6889 [2024-10-04T08:28:13.798Z] ---> 7d5bf6a90928 [2024-10-04T08:28:13.798Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T08:28:13.798Z] ---> 76ad3852d948 [2024-10-04T08:28:13.798Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T08:28:13.798Z] ---> Running in 5ffea652cc78 [2024-10-04T08:28:14.832Z] Still waiting to schedule task [2024-10-04T08:28:14.833Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16704’ [2024-10-04T08:29:02.933Z] Removing intermediate container 5ffea652cc78 [2024-10-04T08:29:02.933Z] ---> 7e41230e6c32 [2024-10-04T08:29:02.933Z] Step 11/12 : COPY . . [2024-10-04T08:29:02.933Z] ---> 6583d9b71678 [2024-10-04T08:29:02.933Z] Step 12/12 : RUN ${MAKE} [2024-10-04T08:29:02.933Z] ---> Running in 07e825e60185 [2024-10-04T08:29:02.933Z] noop [2024-10-04T08:29:02.933Z] Removing intermediate container 07e825e60185 [2024-10-04T08:29:02.933Z] ---> d4676cf76527 [2024-10-04T08:29:02.933Z] Successfully built d4676cf76527 [2024-10-04T08:29:02.933Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:29:03.479Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T08:29:03.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:29:03.725Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2024-10-04T08:29:03.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-239 -v /w/workspace/edgexfoundry_device-gpio_PR-239:/w/workspace/edgexfoundry_device-gpio_PR-239:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-239@tmp:/w/workspace/edgexfoundry_device-gpio_PR-239@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 ******** ci-base-image-x86_64 cat [2024-10-04T08:29:04.140Z] $ docker top ce8604543d8e0a84918851b94d29600145ac2813956c3a7bc100efbc2663c6b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T08:29:04.605Z] + go version [2024-10-04T08:29:04.605Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T08:29:04.661Z] $ docker stop --time=1 ce8604543d8e0a84918851b94d29600145ac2813956c3a7bc100efbc2663c6b3 [2024-10-04T08:29:05.937Z] $ docker rm -f --volumes ce8604543d8e0a84918851b94d29600145ac2813956c3a7bc100efbc2663c6b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:29:06.778Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T08:29:06.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:29:07.015Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2024-10-04T08:29:07.051Z] $ 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-239 -v /w/workspace/edgexfoundry_device-gpio_PR-239:/w/workspace/edgexfoundry_device-gpio_PR-239:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-239@tmp:/w/workspace/edgexfoundry_device-gpio_PR-239@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 ******** ci-base-image-x86_64 cat [2024-10-04T08:29:07.373Z] $ docker top ee79239db8023ce28431221e424eaea9eee834d639251c08b4ca1ec6e93bef8d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T08:29:07.800Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-239 [Pipeline] fileExists [Pipeline] sh [2024-10-04T08:29:08.241Z] + make test [2024-10-04T08:29:08.241Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T08:29:09.625Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-10-04T08:29:27.708Z] github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements [2024-10-04T08:29:27.708Z] github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements [2024-10-04T08:29:35.828Z] go vet ./... [2024-10-04T08:29:41.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T08:29:41.089Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T08:29:41.089Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T08:29:41.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T08:29:41.188Z] $ docker stop --time=1 ee79239db8023ce28431221e424eaea9eee834d639251c08b4ca1ec6e93bef8d [2024-10-04T08:29:44.962Z] $ docker rm -f --volumes ee79239db8023ce28431221e424eaea9eee834d639251c08b4ca1ec6e93bef8d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T08:29:45.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T08:29:45.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T08:29:46.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T08:29:46.682Z] + ls -al . [2024-10-04T08:29:46.682Z] total 236 [2024-10-04T08:29:46.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:29 . [2024-10-04T08:29:46.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:27 .. [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 4 08:27 .dockerignore [2024-10-04T08:29:46.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:29 .git [2024-10-04T08:29:46.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:27 .github [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 277 Oct 4 08:27 .gitignore [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 08:27 .golangci.yml [2024-10-04T08:29:46.682Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:27 .semver [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 19399 Oct 4 08:27 Attribution.txt [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 7171 Oct 4 08:27 CHANGELOG.md [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 1693 Oct 4 08:27 Dockerfile [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 08:27 GOVERNANCE.md [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 4 08:27 Jenkinsfile [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 08:27 LICENSE [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 4 08:27 Makefile [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 08:27 OWNERS.md [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 4 08:27 README.md [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:27 VERSION [2024-10-04T08:29:46.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 08:27 bin [2024-10-04T08:29:46.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:27 cmd [2024-10-04T08:29:46.682Z] -rw-r--r-- 1 jenkins jenkins 11486 Oct 4 08:29 coverage.out [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 6913 Oct 4 08:27 go.mod [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 100532 Oct 4 08:27 go.sum [2024-10-04T08:29:46.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:27 internal [2024-10-04T08:29:46.682Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 08:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:29:47.115Z] + 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=6b5a75e1356565ab4be406e01d3911e6398d22a8 --label arch=amd64 --label version=0.0.0 . [2024-10-04T08:29:47.115Z] Sending build context to Docker daemon 30.64MB [2024-10-04T08:29:47.115Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T08:29:47.115Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T08:29:47.115Z] ---> d4676cf76527 [2024-10-04T08:29:47.115Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T08:29:47.702Z] ---> Running in bac3b4356163 [2024-10-04T08:29:47.702Z] Removing intermediate container bac3b4356163 [2024-10-04T08:29:47.702Z] ---> dc900e91eeba [2024-10-04T08:29:47.702Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T08:29:47.702Z] ---> Running in e3f6a5a2b3be [2024-10-04T08:29:47.702Z] Removing intermediate container e3f6a5a2b3be [2024-10-04T08:29:47.702Z] ---> 3f35ba4ad3a6 [2024-10-04T08:29:47.702Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-04T08:29:47.702Z] ---> Running in 176c4595daa0 [2024-10-04T08:29:47.961Z] Removing intermediate container 176c4595daa0 [2024-10-04T08:29:47.961Z] ---> cd4adb03dc61 [2024-10-04T08:29:47.961Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T08:29:47.961Z] ---> Running in 9906dd248cf7 [2024-10-04T08:29:47.961Z] Removing intermediate container 9906dd248cf7 [2024-10-04T08:29:47.961Z] ---> d410b9a0f687 [2024-10-04T08:29:47.961Z] Step 7/26 : WORKDIR /device-gpio [2024-10-04T08:29:47.961Z] ---> Running in 1b1ad2e2828b [2024-10-04T08:29:47.961Z] Removing intermediate container 1b1ad2e2828b [2024-10-04T08:29:47.961Z] ---> 018bf42d341a [2024-10-04T08:29:47.961Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T08:29:47.961Z] ---> Running in 00365d481428 [2024-10-04T08:29:48.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:29:48.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:29:48.789Z] OK: 250 MiB in 58 packages [2024-10-04T08:29:49.356Z] Removing intermediate container 00365d481428 [2024-10-04T08:29:49.356Z] ---> b5de653be4b4 [2024-10-04T08:29:49.356Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-04T08:29:49.356Z] ---> c7ab16e3da51 [2024-10-04T08:29:49.356Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T08:29:49.356Z] ---> Running in 11490ef85a02 [2024-10-04T08:29:49.922Z] Removing intermediate container 11490ef85a02 [2024-10-04T08:29:49.922Z] ---> 13ccc3628de6 [2024-10-04T08:29:49.922Z] Step 11/26 : COPY . . [2024-10-04T08:29:50.489Z] ---> a70689ab5eed [2024-10-04T08:29:50.490Z] Step 12/26 : RUN ${MAKE} [2024-10-04T08:29:50.490Z] ---> Running in f57debaffafa [2024-10-04T08:29:51.058Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-10-04T08:30:23.138Z] Removing intermediate container f57debaffafa [2024-10-04T08:30:23.138Z] ---> e1dc49eca152 [2024-10-04T08:30:23.138Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T08:30:23.138Z] 3.20: Pulling from library/alpine [2024-10-04T08:30:23.138Z] 43c4264eed91: Already exists [2024-10-04T08:30:23.138Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T08:30:23.138Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T08:30:23.138Z] ---> 91ef0af61f39 [2024-10-04T08:30:23.138Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-04T08:30:23.138Z] ---> Running in 0e07829072fe [2024-10-04T08:30:23.138Z] Removing intermediate container 0e07829072fe [2024-10-04T08:30:23.138Z] ---> 5c2c6c56ef4b [2024-10-04T08:30:23.138Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T08:30:23.138Z] ---> Running in e529d04bdd92 [2024-10-04T08:30:23.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:30:23.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:30:23.138Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T08:30:23.138Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:30:23.138Z] OK: 8 MiB in 15 packages [2024-10-04T08:30:23.138Z] Removing intermediate container e529d04bdd92 [2024-10-04T08:30:23.138Z] ---> 6e2e4d1062dd [2024-10-04T08:30:23.138Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T08:30:23.138Z] ---> Running in 7feaf8d1a600 [2024-10-04T08:30:23.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:30:23.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:30:23.138Z] Upgrading critical system libraries and apk-tools: [2024-10-04T08:30:23.138Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T08:30:23.138Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:30:23.138Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T08:30:23.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:30:23.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:30:23.138Z] OK: 8 MiB in 15 packages [2024-10-04T08:30:23.138Z] Removing intermediate container 7feaf8d1a600 [2024-10-04T08:30:23.138Z] ---> 2ada3ea55dd1 [2024-10-04T08:30:23.138Z] Step 17/26 : WORKDIR / [2024-10-04T08:30:23.138Z] ---> Running in 4aa8aec2c4fb [2024-10-04T08:30:23.138Z] Removing intermediate container 4aa8aec2c4fb [2024-10-04T08:30:23.138Z] ---> 3794758a1605 [2024-10-04T08:30:23.138Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-10-04T08:30:23.138Z] ---> 4c2108d42df4 [2024-10-04T08:30:23.138Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-10-04T08:30:23.398Z] ---> e3c97749366c [2024-10-04T08:30:23.398Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-10-04T08:30:24.357Z] ---> 44ddeafda7b7 [2024-10-04T08:30:24.357Z] Step 21/26 : EXPOSE 59910 [2024-10-04T08:30:24.615Z] ---> Running in 07047395be34 [2024-10-04T08:30:24.615Z] Removing intermediate container 07047395be34 [2024-10-04T08:30:24.615Z] ---> bd9d06609ac1 [2024-10-04T08:30:24.615Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-10-04T08:30:24.615Z] ---> Running in ec722f85253c [2024-10-04T08:30:24.615Z] Removing intermediate container ec722f85253c [2024-10-04T08:30:24.615Z] ---> 1adb7cb41ea4 [2024-10-04T08:30:24.615Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T08:30:24.615Z] ---> Running in 2b4823c3e3ad [2024-10-04T08:30:24.876Z] Removing intermediate container 2b4823c3e3ad [2024-10-04T08:30:24.876Z] ---> e45384aa91cb [2024-10-04T08:30:24.876Z] Step 24/26 : LABEL arch=amd64 [2024-10-04T08:30:24.876Z] ---> Running in e1046d10d7ce [2024-10-04T08:30:24.876Z] Removing intermediate container e1046d10d7ce [2024-10-04T08:30:24.876Z] ---> 7eb78720c4b4 [2024-10-04T08:30:24.877Z] Step 25/26 : LABEL git_sha=6b5a75e1356565ab4be406e01d3911e6398d22a8 [2024-10-04T08:30:24.877Z] ---> Running in d53744b91cc4 [2024-10-04T08:30:24.877Z] Removing intermediate container d53744b91cc4 [2024-10-04T08:30:24.877Z] ---> bd2d11592176 [2024-10-04T08:30:24.877Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T08:30:25.139Z] ---> Running in f3e923fb77c9 [2024-10-04T08:30:25.139Z] Removing intermediate container f3e923fb77c9 [2024-10-04T08:30:25.139Z] ---> 40a33c62f007 [2024-10-04T08:30:25.139Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T08:30:25.139Z] Successfully built 40a33c62f007 [2024-10-04T08:30:25.139Z] 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-04T08:30:26.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:30:26.166Z] [2024-10-04T08:30:26.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:30:26.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:30:26.574Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T08:30:26.574Z] 5eb5b503b376: Pulling fs layer [2024-10-04T08:30:26.574Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T08:30:26.574Z] ec43610c2a17: Pulling fs layer [2024-10-04T08:30:26.574Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T08:30:26.574Z] 33b1e0a273af: Pulling fs layer [2024-10-04T08:30:26.574Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T08:30:26.574Z] 2f39f015ded8: Pulling fs layer [2024-10-04T08:30:26.574Z] 3a2ae6a8a46f: Waiting [2024-10-04T08:30:26.574Z] 5d3b04190fa2: Waiting [2024-10-04T08:30:26.574Z] 2f39f015ded8: Waiting [2024-10-04T08:30:26.574Z] 33b1e0a273af: Waiting [2024-10-04T08:30:26.574Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T08:30:26.574Z] 5c69ac0246d0: Download complete [2024-10-04T08:30:26.574Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T08:30:26.574Z] 3a2ae6a8a46f: Download complete [2024-10-04T08:30:26.574Z] 33b1e0a273af: Download complete [2024-10-04T08:30:26.574Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T08:30:26.574Z] 5d3b04190fa2: Download complete [2024-10-04T08:30:26.574Z] ec43610c2a17: Verifying Checksum [2024-10-04T08:30:26.574Z] ec43610c2a17: Download complete [2024-10-04T08:30:26.833Z] 5eb5b503b376: Verifying Checksum [2024-10-04T08:30:26.833Z] 5eb5b503b376: Download complete [2024-10-04T08:30:27.400Z] 2f39f015ded8: Download complete [2024-10-04T08:30:27.966Z] 5eb5b503b376: Pull complete [2024-10-04T08:30:27.966Z] 5c69ac0246d0: Pull complete [2024-10-04T08:30:28.535Z] ec43610c2a17: Pull complete [2024-10-04T08:30:28.535Z] 3a2ae6a8a46f: Pull complete [2024-10-04T08:30:28.794Z] 33b1e0a273af: Pull complete [2024-10-04T08:30:28.794Z] 5d3b04190fa2: Pull complete [2024-10-04T08:30:32.991Z] 2f39f015ded8: Pull complete [2024-10-04T08:30:32.991Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T08:30:32.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:30:32.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:30:33.274Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2024-10-04T08:30:33.312Z] $ 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-239 -v /w/workspace/edgexfoundry_device-gpio_PR-239:/w/workspace/edgexfoundry_device-gpio_PR-239:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-239@tmp:/w/workspace/edgexfoundry_device-gpio_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T08:30:37.384Z] $ docker top 97580c071fe6cbe95d3514c3c0f30a21ebe6c0d1fc24b8ccf8b9576b613180ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:30:37.924Z] ---> job-cost.sh [2024-10-04T08:30:37.924Z] lf-activate-venv: SKIPPING [2024-10-04T08:30:37.924Z] INFO: No Stack... [2024-10-04T08:30:38.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T08:30:38.797Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T08:30:39.161Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-239/archives/cost.csv [2024-10-04T08:30:39.161Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T08:30:39.343Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] [2024-10-04T08:30:39.357Z] Resource [jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] did not exist. Created. [2024-10-04T08:30:39.364Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T08:30:39.896Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T08:30:39.951Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T08:30:39.990Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T08:30:40.093Z] $ docker stop --time=1 97580c071fe6cbe95d3514c3c0f30a21ebe6c0d1fc24b8ccf8b9576b613180ff [2024-10-04T08:30:41.254Z] $ docker rm -f --volumes 97580c071fe6cbe95d3514c3c0f30a21ebe6c0d1fc24b8ccf8b9576b613180ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T10:33:42.317Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21524 in /w/workspace/edgexfoundry_device-gpio_PR-239 [Pipeline] { [Pipeline] ws [2024-10-04T10:33:42.401Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2024-10-04T10:33:45.525Z] The recommended git tool is: git [2024-10-04T10:33:53.760Z] using credential edgex-jenkins-ssh [2024-10-04T10:33:53.787Z] Cloning the remote Git repository [2024-10-04T10:33:53.848Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2024-10-04T10:33:54.023Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2024-10-04T10:33:54.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-10-04T10:33:54.278Z] > git --version # timeout=10 [2024-10-04T10:33:54.319Z] > git --version # 'git version 2.25.1' [2024-10-04T10:33:54.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T10:33:54.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T10:33:57.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-10-04T10:33:57.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T10:33:59.284Z] Merging remotes/origin/main commit 5e48db97a8988fffcfcc719ccc3171eb5c7f9682 into PR head commit 6b5a75e1356565ab4be406e01d3911e6398d22a8 [2024-10-04T10:33:59.548Z] Merge succeeded, producing 6b5a75e1356565ab4be406e01d3911e6398d22a8 [2024-10-04T10:33:59.548Z] Checking out Revision 6b5a75e1356565ab4be406e01d3911e6398d22a8 (PR-239) [2024-10-04T10:33:58.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2024-10-04T10:33:58.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2024-10-04T10:33:58.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T10:33:58.703Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T10:33:59.300Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T10:33:59.370Z] > git checkout -f 6b5a75e1356565ab4be406e01d3911e6398d22a8 # timeout=10 [2024-10-04T10:33:59.453Z] > git remote # timeout=10 [2024-10-04T10:33:59.472Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T10:33:59.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T10:33:59.507Z] > git merge 5e48db97a8988fffcfcc719ccc3171eb5c7f9682 # timeout=10 [2024-10-04T10:33:59.529Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T10:33:59.552Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T10:33:59.566Z] > git checkout -f 6b5a75e1356565ab4be406e01d3911e6398d22a8 # timeout=10 [2024-10-04T10:34:03.172Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T10:34:03.230Z] > git --version # timeout=10 [2024-10-04T10:34:03.242Z] > git --version # 'git version 2.25.1' [2024-10-04T10:34:03.254Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T10:34:05.357Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T10:34:05.357Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T10:34:05.357Z] Dload Upload Total Spent Left Speed [2024-10-04T10:34:05.357Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80679 0 --:--:-- --:--:-- --:--:-- 81189 [Pipeline] sh [2024-10-04T10:34:05.713Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T10:34:06.074Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T10:34:06.074Z] + sudo tee /etc/docker/daemon.new [2024-10-04T10:34:06.074Z] { [2024-10-04T10:34:06.074Z] "registry-mirrors": [ [2024-10-04T10:34:06.074Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T10:34:06.074Z] ], [2024-10-04T10:34:06.074Z] "bip": "10.250.0.254/24", [2024-10-04T10:34:06.074Z] "hosts": [ [2024-10-04T10:34:06.074Z] "tcp://0.0.0.0:5555", [2024-10-04T10:34:06.074Z] "unix:///var/run/docker.sock" [2024-10-04T10:34:06.074Z] ], [2024-10-04T10:34:06.074Z] "mtu": 1458, [2024-10-04T10:34:06.074Z] "selinux-enabled": true, [2024-10-04T10:34:06.074Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T10:34:06.074Z] } [Pipeline] sh [2024-10-04T10:34:06.427Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T10:34:06.777Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T10:34:25.138Z] provisioning config files... [2024-10-04T10:34:25.171Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5851482909550752992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:34:25.697Z] ---> ****-login.sh [2024-10-04T10:34:25.697Z] nexus3.edgexfoundry.org:10001 [2024-10-04T10:34:26.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:26.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:26.284Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:26.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:26.284Z] [2024-10-04T10:34:26.284Z] Login Succeeded [2024-10-04T10:34:26.284Z] nexus3.edgexfoundry.org:10002 [2024-10-04T10:34:26.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:26.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:26.833Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:26.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:26.833Z] [2024-10-04T10:34:26.833Z] Login Succeeded [2024-10-04T10:34:26.833Z] nexus3.edgexfoundry.org:10003 [2024-10-04T10:34:27.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:27.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:27.104Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:27.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:27.104Z] [2024-10-04T10:34:27.104Z] Login Succeeded [2024-10-04T10:34:27.104Z] nexus3.edgexfoundry.org:10004 [2024-10-04T10:34:27.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:27.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:27.651Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:27.651Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:27.651Z] [2024-10-04T10:34:27.651Z] Login Succeeded [2024-10-04T10:34:27.651Z] ****.io [2024-10-04T10:34:27.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T10:34:27.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T10:34:27.918Z] Configure a credential helper to remove this warning. See [2024-10-04T10:34:27.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T10:34:27.918Z] [2024-10-04T10:34:27.918Z] Login Succeeded [2024-10-04T10:34:27.918Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T10:34:27.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T10:34:28.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T10:34:28.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T10:34:28.562Z] ========================================================= [2024-10-04T10:34:28.562Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T10:34:28.562Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:34:29.124Z] + 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-04T10:34:29.710Z] Sending build context to Docker daemon 15.42MB [2024-10-04T10:34:29.710Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T10:34:29.710Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T10:34:29.710Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T10:34:29.710Z] cf04c63912e1: Pulling fs layer [2024-10-04T10:34:29.710Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T10:34:29.710Z] a37a00ec5f00: Pulling fs layer [2024-10-04T10:34:29.710Z] 50b3750afda1: Pulling fs layer [2024-10-04T10:34:29.710Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T10:34:29.710Z] 80978eb59214: Pulling fs layer [2024-10-04T10:34:29.710Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T10:34:29.710Z] c5a475d317c9: Pulling fs layer [2024-10-04T10:34:29.710Z] 4f4fb700ef54: Waiting [2024-10-04T10:34:29.710Z] 80978eb59214: Waiting [2024-10-04T10:34:29.710Z] c9f46d7d2bd2: Waiting [2024-10-04T10:34:29.710Z] c5a475d317c9: Waiting [2024-10-04T10:34:29.710Z] 50b3750afda1: Waiting [2024-10-04T10:34:29.980Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T10:34:29.980Z] 55b35a11ae5e: Download complete [2024-10-04T10:34:29.980Z] 50b3750afda1: Verifying Checksum [2024-10-04T10:34:29.980Z] 50b3750afda1: Download complete [2024-10-04T10:34:29.980Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T10:34:29.980Z] 4f4fb700ef54: Download complete [2024-10-04T10:34:29.980Z] 80978eb59214: Verifying Checksum [2024-10-04T10:34:29.980Z] 80978eb59214: Download complete [2024-10-04T10:34:29.980Z] cf04c63912e1: Verifying Checksum [2024-10-04T10:34:29.980Z] cf04c63912e1: Download complete [2024-10-04T10:34:30.573Z] c5a475d317c9: Verifying Checksum [2024-10-04T10:34:30.573Z] c5a475d317c9: Download complete [2024-10-04T10:34:30.843Z] cf04c63912e1: Pull complete [2024-10-04T10:34:31.432Z] 55b35a11ae5e: Pull complete [2024-10-04T10:34:32.020Z] a37a00ec5f00: Verifying Checksum [2024-10-04T10:34:32.020Z] a37a00ec5f00: Download complete [2024-10-04T10:34:32.611Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T10:34:32.611Z] c9f46d7d2bd2: Download complete [2024-10-04T10:34:44.948Z] a37a00ec5f00: Pull complete [2024-10-04T10:34:45.217Z] 50b3750afda1: Pull complete [2024-10-04T10:34:45.485Z] 4f4fb700ef54: Pull complete [2024-10-04T10:34:45.754Z] 80978eb59214: Pull complete [2024-10-04T10:34:54.016Z] c9f46d7d2bd2: Pull complete [2024-10-04T10:34:55.967Z] c5a475d317c9: Pull complete [2024-10-04T10:34:55.967Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T10:34:55.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T10:34:55.967Z] ---> be29e6b0f0d4 [2024-10-04T10:34:55.967Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T10:34:56.563Z] ---> Running in b2b67f9a68f5 [2024-10-04T10:34:56.833Z] Removing intermediate container b2b67f9a68f5 [2024-10-04T10:34:56.833Z] ---> 1ba05c0f37b0 [2024-10-04T10:34:56.833Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T10:34:57.114Z] ---> Running in f34eaeea7050 [2024-10-04T10:34:57.387Z] Removing intermediate container f34eaeea7050 [2024-10-04T10:34:57.387Z] ---> dd932f82c7c8 [2024-10-04T10:34:57.387Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-04T10:34:57.672Z] ---> Running in 2c7f5136b0d3 [2024-10-04T10:34:59.097Z] Removing intermediate container 2c7f5136b0d3 [2024-10-04T10:34:59.097Z] ---> e614c6416daf [2024-10-04T10:34:59.097Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T10:34:59.097Z] ---> Running in 6c643cbdc29c [2024-10-04T10:34:59.365Z] Removing intermediate container 6c643cbdc29c [2024-10-04T10:34:59.365Z] ---> 8f658664ba5d [2024-10-04T10:34:59.365Z] Step 7/12 : WORKDIR /device-gpio [2024-10-04T10:34:59.632Z] ---> Running in 7648cc645692 [2024-10-04T10:34:59.900Z] Removing intermediate container 7648cc645692 [2024-10-04T10:34:59.900Z] ---> 4746c08c1ec5 [2024-10-04T10:34:59.900Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T10:34:59.900Z] ---> Running in d863b3b62e77 [2024-10-04T10:35:01.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:35:01.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:35:02.752Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T10:35:02.752Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T10:35:03.031Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T10:35:03.031Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T10:35:03.031Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:35:03.031Z] OK: 242 MiB in 58 packages [2024-10-04T10:35:03.993Z] Removing intermediate container d863b3b62e77 [2024-10-04T10:35:03.993Z] ---> 597e2239dbba [2024-10-04T10:35:03.993Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T10:35:04.579Z] ---> 6de4bb9e33ca [2024-10-04T10:35:04.579Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T10:35:04.579Z] ---> Running in 745958eea8bf [2024-10-04T10:36:57.226Z] Removing intermediate container 745958eea8bf [2024-10-04T10:36:57.226Z] ---> c32f6406de56 [2024-10-04T10:36:57.226Z] Step 11/12 : COPY . . [2024-10-04T10:36:57.226Z] ---> e99312daf19a [2024-10-04T10:36:57.226Z] Step 12/12 : RUN ${MAKE} [2024-10-04T10:36:57.226Z] ---> Running in 5ac880323d84 [2024-10-04T10:36:57.226Z] noop [2024-10-04T10:36:57.226Z] Removing intermediate container 5ac880323d84 [2024-10-04T10:36:57.226Z] ---> 267b6cec086c [2024-10-04T10:36:57.226Z] Successfully built 267b6cec086c [2024-10-04T10:36:57.226Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:36:57.747Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T10:36:57.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:36:58.044Z] prd-ubuntu20.04-docker-arm64-4c-16g-21524 does not seem to be running inside a container [2024-10-04T10:36:58.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T10:37:00.396Z] $ docker top 182787a03370e7c968acf025723ce0bd9c48385705c5554a6153eb0c1efdcdd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:37:01.387Z] + go version [2024-10-04T10:37:01.387Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T10:37:01.414Z] $ docker stop --time=1 182787a03370e7c968acf025723ce0bd9c48385705c5554a6153eb0c1efdcdd5 [2024-10-04T10:37:03.044Z] $ docker rm -f --volumes 182787a03370e7c968acf025723ce0bd9c48385705c5554a6153eb0c1efdcdd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:37:03.995Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T10:37:03.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:37:04.295Z] prd-ubuntu20.04-docker-arm64-4c-16g-21524 does not seem to be running inside a container [2024-10-04T10:37:04.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T10:37:05.597Z] $ docker top 8684638fa5ab41bc5c6dd6b03820c5cb1606c105a29ea104caaefeb8b387525e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:37:06.176Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T10:37:07.178Z] + make test [2024-10-04T10:37:07.178Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T10:37:12.527Z] ? github.com/edgexfoundry/device-gpio [no test files] [2024-10-04T10:40:34.358Z] github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements [2024-10-04T10:40:34.358Z] github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements [2024-10-04T10:40:34.358Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T10:40:34.358Z] go vet ./... [2024-10-04T10:41:30.774Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T10:41:30.774Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T10:41:30.774Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T10:41:31.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T10:41:31.059Z] $ docker stop --time=1 8684638fa5ab41bc5c6dd6b03820c5cb1606c105a29ea104caaefeb8b387525e [2024-10-04T10:41:32.984Z] $ docker rm -f --volumes 8684638fa5ab41bc5c6dd6b03820c5cb1606c105a29ea104caaefeb8b387525e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T10:41:34.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T10:41:34.613Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T10:41:35.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T10:41:35.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T10:41:36.176Z] + ls -al . [2024-10-04T10:41:36.176Z] total 232 [2024-10-04T10:41:36.176Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 10:37 . [2024-10-04T10:41:36.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 10:33 .. [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 4 10:33 .dockerignore [2024-10-04T10:41:36.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 10:33 .git [2024-10-04T10:41:36.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:33 .github [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 277 Oct 4 10:33 .gitignore [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 10:33 .golangci.yml [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 19399 Oct 4 10:33 Attribution.txt [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 7171 Oct 4 10:33 CHANGELOG.md [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 1693 Oct 4 10:33 Dockerfile [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 10:33 GOVERNANCE.md [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 4 10:33 Jenkinsfile [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 10:33 LICENSE [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 4 10:33 Makefile [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 10:33 OWNERS.md [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 4 10:33 README.md [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:27 VERSION [2024-10-04T10:41:36.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 10:33 bin [2024-10-04T10:41:36.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:33 cmd [2024-10-04T10:41:36.176Z] -rw-r--r-- 1 jenkins jenkins 11486 Oct 4 10:40 coverage.out [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 6913 Oct 4 10:33 go.mod [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 100532 Oct 4 10:33 go.sum [2024-10-04T10:41:36.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:33 internal [2024-10-04T10:41:36.176Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 10:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:41:36.656Z] + 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=6b5a75e1356565ab4be406e01d3911e6398d22a8 --label arch=arm64 --label version=0.0.0 . [2024-10-04T10:41:37.261Z] Sending build context to Docker daemon 15.43MB [2024-10-04T10:41:37.261Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T10:41:37.261Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-04T10:41:37.261Z] ---> 267b6cec086c [2024-10-04T10:41:37.261Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-04T10:41:37.261Z] ---> Running in 479ff04c5641 [2024-10-04T10:41:37.845Z] Removing intermediate container 479ff04c5641 [2024-10-04T10:41:37.845Z] ---> 8873a195fb6c [2024-10-04T10:41:37.845Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T10:41:37.845Z] ---> Running in 5e4e1e5a5663 [2024-10-04T10:41:38.119Z] Removing intermediate container 5e4e1e5a5663 [2024-10-04T10:41:38.119Z] ---> 1239c82a293d [2024-10-04T10:41:38.119Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " [2024-10-04T10:41:38.119Z] ---> Running in d57e2a6c11cd [2024-10-04T10:41:38.388Z] Removing intermediate container d57e2a6c11cd [2024-10-04T10:41:38.388Z] ---> 6069380e9e7d [2024-10-04T10:41:38.388Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T10:41:38.658Z] ---> Running in a200e6d45e0b [2024-10-04T10:41:38.931Z] Removing intermediate container a200e6d45e0b [2024-10-04T10:41:38.931Z] ---> e58ebdf3cfa1 [2024-10-04T10:41:38.931Z] Step 7/26 : WORKDIR /device-gpio [2024-10-04T10:41:38.931Z] ---> Running in 5bf26be08448 [2024-10-04T10:41:39.517Z] Removing intermediate container 5bf26be08448 [2024-10-04T10:41:39.517Z] ---> 80ee4f31d56c [2024-10-04T10:41:39.517Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T10:41:39.517Z] ---> Running in 1194f980a622 [2024-10-04T10:41:40.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:41:40.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:41:42.685Z] OK: 242 MiB in 58 packages [2024-10-04T10:41:43.645Z] Removing intermediate container 1194f980a622 [2024-10-04T10:41:43.645Z] ---> 4263f8fa1520 [2024-10-04T10:41:43.645Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-04T10:41:43.920Z] ---> 5aa38bd1a513 [2024-10-04T10:41:43.920Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T10:41:44.192Z] ---> Running in 1a07a687279e [2024-10-04T10:41:46.157Z] Removing intermediate container 1a07a687279e [2024-10-04T10:41:46.157Z] ---> 3340dbc4e0d7 [2024-10-04T10:41:46.157Z] Step 11/26 : COPY . . [2024-10-04T10:41:47.573Z] ---> c83f17c478c0 [2024-10-04T10:41:47.573Z] Step 12/26 : RUN ${MAKE} [2024-10-04T10:41:47.573Z] ---> Running in 10bbaa8e2490 [2024-10-04T10:41:48.532Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2024-10-04T10:45:25.348Z] Removing intermediate container 10bbaa8e2490 [2024-10-04T10:45:25.348Z] ---> 537bbcf56803 [2024-10-04T10:45:25.348Z] Step 13/26 : FROM alpine:3.20 [2024-10-04T10:45:25.348Z] 3.20: Pulling from library/alpine [2024-10-04T10:45:25.348Z] cf04c63912e1: Already exists [2024-10-04T10:45:25.348Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T10:45:25.348Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T10:45:25.348Z] ---> c157a85ed455 [2024-10-04T10:45:25.348Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-10-04T10:45:25.348Z] ---> Running in 73b0838c66ec [2024-10-04T10:45:25.348Z] Removing intermediate container 73b0838c66ec [2024-10-04T10:45:25.348Z] ---> 0b698155e876 [2024-10-04T10:45:25.348Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-04T10:45:25.348Z] ---> Running in 96649ec7d1aa [2024-10-04T10:45:25.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:25.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:25.616Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T10:45:25.616Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:45:25.616Z] OK: 9 MiB in 15 packages [2024-10-04T10:45:26.583Z] Removing intermediate container 96649ec7d1aa [2024-10-04T10:45:26.583Z] ---> 57307a2f34e8 [2024-10-04T10:45:26.583Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-04T10:45:26.583Z] ---> Running in be8480495e20 [2024-10-04T10:45:27.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:27.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:29.223Z] Upgrading critical system libraries and apk-tools: [2024-10-04T10:45:29.223Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T10:45:29.223Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:45:29.490Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T10:45:29.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:29.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:45:31.164Z] OK: 9 MiB in 15 packages [2024-10-04T10:45:32.131Z] Removing intermediate container be8480495e20 [2024-10-04T10:45:32.131Z] ---> 5b1e642aa1fb [2024-10-04T10:45:32.131Z] Step 17/26 : WORKDIR / [2024-10-04T10:45:32.131Z] ---> Running in 82045888ace5 [2024-10-04T10:45:32.131Z] Removing intermediate container 82045888ace5 [2024-10-04T10:45:32.131Z] ---> 3773f2a16b18 [2024-10-04T10:45:32.131Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2024-10-04T10:45:32.718Z] ---> 4fc2cbe14cac [2024-10-04T10:45:32.718Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2024-10-04T10:45:33.307Z] ---> 2ab718018a40 [2024-10-04T10:45:33.307Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2024-10-04T10:45:35.889Z] ---> bee41ccdbe65 [2024-10-04T10:45:35.889Z] Step 21/26 : EXPOSE 59910 [2024-10-04T10:45:35.889Z] ---> Running in 145f66400c64 [2024-10-04T10:45:35.889Z] Removing intermediate container 145f66400c64 [2024-10-04T10:45:35.889Z] ---> cec876476747 [2024-10-04T10:45:35.889Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2024-10-04T10:45:35.889Z] ---> Running in 6ba9f3e9c548 [2024-10-04T10:45:36.236Z] Removing intermediate container 6ba9f3e9c548 [2024-10-04T10:45:36.236Z] ---> 659509f0d15d [2024-10-04T10:45:36.236Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T10:45:36.236Z] ---> Running in 9a1eba20dc10 [2024-10-04T10:45:36.502Z] Removing intermediate container 9a1eba20dc10 [2024-10-04T10:45:36.502Z] ---> dbdcae979c18 [2024-10-04T10:45:36.502Z] Step 24/26 : LABEL arch=arm64 [2024-10-04T10:45:36.768Z] ---> Running in 77f98466bb0f [2024-10-04T10:45:37.035Z] Removing intermediate container 77f98466bb0f [2024-10-04T10:45:37.035Z] ---> e4294cbff29b [2024-10-04T10:45:37.035Z] Step 25/26 : LABEL git_sha=6b5a75e1356565ab4be406e01d3911e6398d22a8 [2024-10-04T10:45:37.035Z] ---> Running in ebf2cf0a3a0e [2024-10-04T10:45:37.300Z] Removing intermediate container ebf2cf0a3a0e [2024-10-04T10:45:37.300Z] ---> aa8d381a8e5b [2024-10-04T10:45:37.300Z] Step 26/26 : LABEL version=0.0.0 [2024-10-04T10:45:37.300Z] ---> Running in 81bccb005690 [2024-10-04T10:45:37.567Z] Removing intermediate container 81bccb005690 [2024-10-04T10:45:37.567Z] ---> 4e8f4e262863 [2024-10-04T10:45:37.567Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T10:45:37.567Z] Successfully built 4e8f4e262863 [2024-10-04T10:45:37.567Z] 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-04T10:45:38.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:45:38.574Z] [2024-10-04T10:45:38.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:45:39.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:45:39.020Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T10:45:39.020Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T10:45:39.020Z] 04944245beec: Pulling fs layer [2024-10-04T10:45:39.020Z] 699f458cf7ca: Pulling fs layer [2024-10-04T10:45:39.020Z] 765212b225bb: Pulling fs layer [2024-10-04T10:45:39.020Z] f23df028b6ca: Pulling fs layer [2024-10-04T10:45:39.020Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T10:45:39.020Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T10:45:39.020Z] 765212b225bb: Waiting [2024-10-04T10:45:39.020Z] f23df028b6ca: Waiting [2024-10-04T10:45:39.020Z] 2437ff75d9bd: Waiting [2024-10-04T10:45:39.287Z] 04944245beec: Verifying Checksum [2024-10-04T10:45:39.287Z] 04944245beec: Download complete [2024-10-04T10:45:39.287Z] 765212b225bb: Verifying Checksum [2024-10-04T10:45:39.287Z] 765212b225bb: Download complete [2024-10-04T10:45:39.287Z] f23df028b6ca: Verifying Checksum [2024-10-04T10:45:39.287Z] f23df028b6ca: Download complete [2024-10-04T10:45:39.287Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T10:45:39.287Z] d65c8cfc05b1: Download complete [2024-10-04T10:45:39.287Z] 699f458cf7ca: Verifying Checksum [2024-10-04T10:45:39.287Z] 699f458cf7ca: Download complete [2024-10-04T10:45:39.871Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T10:45:39.871Z] 8998bd30e6a1: Download complete [2024-10-04T10:45:42.449Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T10:45:42.449Z] 2437ff75d9bd: Download complete [2024-10-04T10:45:44.388Z] 8998bd30e6a1: Pull complete [2024-10-04T10:45:44.653Z] 04944245beec: Pull complete [2024-10-04T10:45:46.057Z] 699f458cf7ca: Pull complete [2024-10-04T10:45:46.322Z] 765212b225bb: Pull complete [2024-10-04T10:45:47.277Z] f23df028b6ca: Pull complete [2024-10-04T10:45:47.277Z] d65c8cfc05b1: Pull complete [2024-10-04T10:46:05.491Z] 2437ff75d9bd: Pull complete [2024-10-04T10:46:05.491Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T10:46:05.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:46:05.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:46:05.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-21524 does not seem to be running inside a container [2024-10-04T10:46:05.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T10:46:08.791Z] $ docker top 33fa54ef26048d53defff2e42a9a8c3fc0fb11a395e9f4f3e0f036949575d596 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:09.745Z] ---> job-cost.sh [2024-10-04T10:46:09.745Z] lf-activate-venv: SKIPPING [2024-10-04T10:46:09.745Z] INFO: No Stack... [2024-10-04T10:46:10.011Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T10:46:10.973Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T10:46:11.338Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2024-10-04T10:46:11.611Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T10:46:11.699Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] [2024-10-04T10:46:11.705Z] Resource [jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] did not exist. Created. [2024-10-04T10:46:11.711Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T10:46:12.154Z] /w/workspace/device-gpio/1@tmp/durable-458e2fc7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T10:46:12.773Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T10:46:12.816Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T10:46:12.861Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T10:46:12.881Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T10:46:12.969Z] $ docker stop --time=1 33fa54ef26048d53defff2e42a9a8c3fc0fb11a395e9f4f3e0f036949575d596 [2024-10-04T10:46:14.459Z] $ docker rm -f --volumes 33fa54ef26048d53defff2e42a9a8c3fc0fb11a395e9f4f3e0f036949575d596 [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-04T10:46:15.708Z] provisioning config files... [2024-10-04T10:46:15.717Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-239@tmp/config11639186094313419014tmp [Pipeline] { [Pipeline] sh [2024-10-04T10:46:16.081Z] + set +x [2024-10-04T10:46:16.081Z] + curl -s https://codecov.io/bash [2024-10-04T10:46:16.081Z] + bash -s -- [2024-10-04T10:46:16.081Z] [2024-10-04T10:46:16.081Z] _____ _ [2024-10-04T10:46:16.081Z] / ____| | | [2024-10-04T10:46:16.081Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T10:46:16.081Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T10:46:16.081Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T10:46:16.081Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T10:46:16.081Z] Bash-1.0.6 [2024-10-04T10:46:16.081Z] [2024-10-04T10:46:16.081Z] [2024-10-04T10:46:16.081Z] ==> git version 2.25.1 found [2024-10-04T10:46:16.081Z] ==> 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-04T10:46:16.081Z] Release-Date: 2020-01-08 [2024-10-04T10:46:16.081Z] 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-04T10:46:16.081Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T10:46:16.081Z] ==> Jenkins CI detected. [2024-10-04T10:46:16.081Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-239 [2024-10-04T10:46:16.081Z] project root: . [2024-10-04T10:46:16.081Z] --> token set from env [2024-10-04T10:46:16.081Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T10:46:16.081Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T10:46:16.081Z] ==> Python coveragepy not found [2024-10-04T10:46:16.081Z] ==> Searching for coverage reports in: [2024-10-04T10:46:16.081Z] + . [2024-10-04T10:46:16.081Z] -> Found 1 reports [2024-10-04T10:46:16.081Z] ==> Detecting git/mercurial file structure [2024-10-04T10:46:16.340Z] ==> Reading reports [2024-10-04T10:46:16.340Z] + ./coverage.out bytes=11486 [2024-10-04T10:46:16.340Z] ==> Appending adjustments [2024-10-04T10:46:16.340Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T10:46:16.340Z] + Found adjustments [2024-10-04T10:46:16.340Z] ==> Gzipping contents [2024-10-04T10:46:16.340Z] 4.0K /tmp/codecov.Olkl1T.gz [2024-10-04T10:46:16.340Z] ==> Uploading reports [2024-10-04T10:46:16.340Z] url: https://codecov.io [2024-10-04T10:46:16.340Z] query: branch=PR-239&commit=6b5a75e1356565ab4be406e01d3911e6398d22a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-239%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=239&job=&cmd_args= [2024-10-04T10:46:16.340Z] -> Pinging Codecov [2024-10-04T10:46:16.340Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-239&commit=6b5a75e1356565ab4be406e01d3911e6398d22a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-239%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=239&job=&cmd_args= [2024-10-04T10:46:16.599Z] -> Uploading to [2024-10-04T10:46:16.599Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-gpio/6b5a75e1356565ab4be406e01d3911e6398d22a8/d9354fee-cc01-44e6-a835-19c3d63f0dde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T104616Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5156e698c616b7a2ab2009b4b4ffee8da4897ee2fdbd14fe392ee6dcab441d46 [2024-10-04T10:46:16.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T10:46:16.599Z] Dload Upload Total Spent Left Speed [2024-10-04T10:46:16.859Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 8157 --:--:-- --:--:-- --:--:-- 8157 [2024-10-04T10:46:16.859Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/6b5a75e1356565ab4be406e01d3911e6398d22a8 [Pipeline] } [2024-10-04T10:46:16.895Z] 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-04T10:46:19.833Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-239/archives ] [2024-10-04T10:46:19.833Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-239/archives [2024-10-04T10:46:19.833Z] total 16 [2024-10-04T10:46:19.833Z] drwxr-xr-x 3 root root 4096 Oct 4 08:30 . [2024-10-04T10:46:19.833Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 08:30 .. [2024-10-04T10:46:19.833Z] drwxr-xr-x 2 root root 4096 Oct 4 08:30 cost [2024-10-04T10:46:19.833Z] -rw-r--r-- 1 root root 83 Oct 4 08:30 cost.csv [2024-10-04T10:46:19.833Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-239/archives [2024-10-04T10:46:19.833Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-239/archives [2024-10-04T10:46:19.833Z] total 16 [2024-10-04T10:46:19.833Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:30 . [2024-10-04T10:46:19.833Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 08:30 .. [2024-10-04T10:46:19.833Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 08:30 cost [2024-10-04T10:46:19.833Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 4 08:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:20.178Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:21.082Z] ---> package-listing.sh [2024-10-04T10:46:21.082Z] ++ facter osfamily [2024-10-04T10:46:21.082Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T10:46:21.342Z] + OS_FAMILY=debian [2024-10-04T10:46:21.342Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-239 [2024-10-04T10:46:21.342Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T10:46:21.342Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T10:46:21.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T10:46:21.342Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T10:46:21.342Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-239 ']' [2024-10-04T10:46:21.342Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T10:46:21.342Z] + case "${OS_FAMILY}" in [2024-10-04T10:46:21.342Z] + dpkg -l [2024-10-04T10:46:21.342Z] + grep '^ii' [2024-10-04T10:46:21.342Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T10:46:21.342Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T10:46:21.342Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T10:46:21.342Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-239 ']' [2024-10-04T10:46:21.342Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-239/archives/ [2024-10-04T10:46:21.342Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-239/archives/ [Pipeline] echo [2024-10-04T10:46:21.386Z] 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-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T10:46:21.683Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:46:22.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T10:46:22.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:46:22.543Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2024-10-04T10:46:22.574Z] $ 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-239/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-239 -v /w/workspace/edgexfoundry_device-gpio_PR-239:/w/workspace/edgexfoundry_device-gpio_PR-239:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-239@tmp:/w/workspace/edgexfoundry_device-gpio_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T10:46:22.783Z] $ docker top 04867a045d7dac63826444cf9a7e550006101958b50ed10d3a7fe904474f49b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:46:23.197Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T10:46:23.520Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T10:46:23.845Z] + ls /var/log/sa-host [2024-10-04T10:46:23.845Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T10:46:24.101Z] provisioning config files... [2024-10-04T10:46:24.111Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-239@tmp/config1299386140238055519tmp [Pipeline] { [Pipeline] echo [2024-10-04T10:46:24.195Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:24.528Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T10:46:24.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:24.996Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T10:46:25.038Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:25.379Z] ---> sudo-logs.sh [2024-10-04T10:46:25.379Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T10:46:25.490Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:25.819Z] ---> job-cost.sh [2024-10-04T10:46:25.819Z] lf-activate-venv: SKIPPING [2024-10-04T10:46:25.819Z] DEBUG: total: 0.2199999988079071 [2024-10-04T10:46:25.819Z] INFO: Retrieving Stack Cost... [2024-10-04T10:46:26.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T10:46:26.646Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T10:46:26.694Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:46:27.014Z] ---> logs-deploy.sh [2024-10-04T10:46:27.014Z] lf-activate-venv: SKIPPING [2024-10-04T10:46:27.014Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-239/1 [2024-10-04T10:46:27.014Z] INFO: archiving workspace using pattern(s): [2024-10-04T10:46:27.956Z] Archives upload complete. [2024-10-04T10:46:27.956Z] INFO: archiving logs to Nexus