Pull request #98 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 chc69 for edgexfoundry/device-gpio Loading trusted files from base branch main at 9fd98a26a9ea9701925160950e3b0ed34522a85d rather than 59ca52f84761cac981ca8e4d7194529eb2dd44d5 Obtained Jenkinsfile from 9fd98a26a9ea9701925160950e3b0ed34522a85d 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-ssh6259585575216272255.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh310827054724549008.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-98/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-98/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6979622989408243056.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-98/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7274158500621289230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12068327629992096672.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-98/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-98/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12840874409101027366.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5533’ Running on prd-ubuntu20.04-docker-8c-8g-5536 in /w/workspace/edgexfoundry_device-gpio_PR-98 [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-98 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit 59ca52f84761cac981ca8e4d7194529eb2dd44d5 Merge succeeded, producing fb02767085fc42f6f71579c36602ed654e3f0bba Checking out Revision fb02767085fc42f6f71579c36602ed654e3f0bba (PR-98) > git config core.sparsecheckout # timeout=10 > git checkout -f 59ca52f84761cac981ca8e4d7194529eb2dd44d5 # 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 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb02767085fc42f6f71579c36602ed654e3f0bba # timeout=10 Commit message: "Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T11:06:20.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T11:06:21.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T11:06:21.249Z] ========================================================= [2023-02-13T11:06:21.249Z] EdgeX Global Pipelines Version Info [2023-02-13T11:06:21.249Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:06:21.975Z] ------------------- [2023-02-13T11:06:21.975Z] stable info: [2023-02-13T11:06:21.975Z] ------------------- [2023-02-13T11:06:21.975Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T11:06:21.976Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T11:06:21.976Z] Message: update stable to v1.0.244 [2023-02-13T11:06:22.545Z] ------------------- [2023-02-13T11:06:22.545Z] experimental info: [2023-02-13T11:06:22.545Z] ------------------- [2023-02-13T11:06:22.545Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T11:06:22.545Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T11:06:22.545Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T11:06:22.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-02-13T11:06:22.877Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-02-13T11:06:22.921Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T11:06:22.965Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T11:06:23.002Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T11:06:23.039Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T11:06:23.076Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T11:06:23.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T11:06:23.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T11:06:23.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T11:06:23.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T11:06:23.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-02-13T11:06:23.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T11:06:23.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T11:06:23.450Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T11:06:23.492Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T11:06:23.538Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T11:06:23.576Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T11:06:23.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T11:06:23.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T11:06:23.693Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T11:06:23.734Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T11:06:23.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T11:06:23.805Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T11:06:23.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T11:06:23.884Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T11:06:23.925Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T11:06:23.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-98 [Pipeline] echo [2023-02-13T11:06:24.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-98 [Pipeline] echo [2023-02-13T11:06:24.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-98 [Pipeline] echo [2023-02-13T11:06:24.089Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb02767085fc42f6f71579c36602ed654e3f0bba [Pipeline] echo [2023-02-13T11:06:24.130Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb02767 [Pipeline] echo [2023-02-13T11:06:24.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T11:06:24.292Z] provisioning config files... [2023-02-13T11:06:24.304Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config15497572584279466461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:06:24.659Z] ---> docker-login.sh [2023-02-13T11:06:24.659Z] nexus3.edgexfoundry.org:10001 [2023-02-13T11:06:24.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:24.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:24.925Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:24.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:24.925Z] [2023-02-13T11:06:24.925Z] Login Succeeded [2023-02-13T11:06:24.925Z] nexus3.edgexfoundry.org:10002 [2023-02-13T11:06:24.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:24.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:24.925Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:24.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:24.925Z] [2023-02-13T11:06:24.925Z] Login Succeeded [2023-02-13T11:06:24.925Z] nexus3.edgexfoundry.org:10003 [2023-02-13T11:06:25.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:25.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:25.185Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:25.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:25.185Z] [2023-02-13T11:06:25.185Z] Login Succeeded [2023-02-13T11:06:25.185Z] nexus3.edgexfoundry.org:10004 [2023-02-13T11:06:25.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:25.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:25.185Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:25.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:25.185Z] [2023-02-13T11:06:25.185Z] Login Succeeded [2023-02-13T11:06:25.185Z] docker.io [2023-02-13T11:06:25.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:25.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:25.706Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:25.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:25.706Z] [2023-02-13T11:06:25.706Z] Login Succeeded [2023-02-13T11:06:25.706Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T11:06:25.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T11:06:26.374Z] + git rev-list -1 --merges fb02767085fc42f6f71579c36602ed654e3f0bba~1..fb02767085fc42f6f71579c36602ed654e3f0bba [Pipeline] echo [2023-02-13T11:06:26.433Z] -----------> git rev-list -1 --merges fb02767085fc42f6f71579c36602ed654e3f0bba~1..fb02767085fc42f6f71579c36602ed654e3f0bba fb02767085fc42f6f71579c36602ed654e3f0bba [2023-02-13T11:06:26.433Z] fb02767085fc42f6f71579c36602ed654e3f0bba [false] [Pipeline] sh [2023-02-13T11:06:26.792Z] + git log --format=format:%s -1 fb02767085fc42f6f71579c36602ed654e3f0bba [Pipeline] echo [2023-02-13T11:06:26.835Z] ========================================================= [2023-02-13T11:06:26.835Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T11:06:26.835Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T11:06:27.268Z] + git log --format=format:%s -1 fb02767085fc42f6f71579c36602ed654e3f0bba [Pipeline] echo [2023-02-13T11:06:27.301Z] [semverPrep] GIT_COMMIT: fb02767085fc42f6f71579c36602ed654e3f0bba, Commit Message: Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD [Pipeline] echo [2023-02-13T11:06:27.333Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T11:06:27.704Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T11:06:27.704Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T11:06:27.704Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T11:06:27.704Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T11:06:27.704Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T11:06:27.704Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T11:06:27.704Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:06:28.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T11:06:28.138Z] [2023-02-13T11:06:28.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:06:28.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T11:06:28.537Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T11:06:28.537Z] b85a868b505f: Pulling fs layer [2023-02-13T11:06:28.537Z] e2be974225ed: Pulling fs layer [2023-02-13T11:06:28.537Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T11:06:28.537Z] 988bab9f4d93: Pulling fs layer [2023-02-13T11:06:28.537Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T11:06:28.537Z] eaf3925da568: Pulling fs layer [2023-02-13T11:06:28.537Z] bab4dde63d76: Pulling fs layer [2023-02-13T11:06:28.537Z] bde34c3a00c8: Pulling fs layer [2023-02-13T11:06:28.537Z] b352a97aabf1: Pulling fs layer [2023-02-13T11:06:28.537Z] 4872d77fe225: Pulling fs layer [2023-02-13T11:06:28.537Z] 5851b861e8e6: Pulling fs layer [2023-02-13T11:06:28.537Z] 988bab9f4d93: Waiting [2023-02-13T11:06:28.537Z] bde34c3a00c8: Waiting [2023-02-13T11:06:28.537Z] b352a97aabf1: Waiting [2023-02-13T11:06:28.537Z] 4872d77fe225: Waiting [2023-02-13T11:06:28.537Z] 1469e6f7b9e6: Waiting [2023-02-13T11:06:28.537Z] 5851b861e8e6: Waiting [2023-02-13T11:06:28.537Z] eaf3925da568: Waiting [2023-02-13T11:06:28.537Z] bab4dde63d76: Waiting [2023-02-13T11:06:28.537Z] e2be974225ed: Verifying Checksum [2023-02-13T11:06:28.537Z] e2be974225ed: Download complete [2023-02-13T11:06:28.537Z] 988bab9f4d93: Download complete [2023-02-13T11:06:28.800Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T11:06:28.800Z] 1469e6f7b9e6: Download complete [2023-02-13T11:06:28.800Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T11:06:28.800Z] 339a4e72a1f5: Download complete [2023-02-13T11:06:28.800Z] bde34c3a00c8: Download complete [2023-02-13T11:06:28.800Z] b352a97aabf1: Verifying Checksum [2023-02-13T11:06:28.800Z] b352a97aabf1: Download complete [2023-02-13T11:06:28.800Z] 4872d77fe225: Verifying Checksum [2023-02-13T11:06:28.800Z] 4872d77fe225: Download complete [2023-02-13T11:06:29.062Z] 5851b861e8e6: Verifying Checksum [2023-02-13T11:06:29.062Z] 5851b861e8e6: Download complete [2023-02-13T11:06:29.062Z] b85a868b505f: Verifying Checksum [2023-02-13T11:06:29.062Z] b85a868b505f: Download complete [2023-02-13T11:06:29.321Z] bab4dde63d76: Verifying Checksum [2023-02-13T11:06:29.321Z] bab4dde63d76: Download complete [2023-02-13T11:06:30.260Z] b85a868b505f: Pull complete [2023-02-13T11:06:30.260Z] e2be974225ed: Pull complete [2023-02-13T11:06:30.828Z] 339a4e72a1f5: Pull complete [2023-02-13T11:06:30.828Z] 988bab9f4d93: Pull complete [2023-02-13T11:06:31.086Z] 1469e6f7b9e6: Pull complete [2023-02-13T11:06:31.086Z] eaf3925da568: Pull complete [2023-02-13T11:06:32.988Z] bab4dde63d76: Pull complete [2023-02-13T11:06:32.988Z] bde34c3a00c8: Pull complete [2023-02-13T11:06:32.988Z] b352a97aabf1: Pull complete [2023-02-13T11:06:32.988Z] 4872d77fe225: Pull complete [2023-02-13T11:06:32.988Z] 5851b861e8e6: Pull complete [2023-02-13T11:06:32.988Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T11:06:32.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T11:06:32.988Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:06:33.216Z] prd-ubuntu20.04-docker-8c-8g-5536 does not seem to be running inside a container [2023-02-13T11:06:33.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T11:06:36.670Z] $ docker top e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce -eo pid,comm [2023-02-13T11:06:36.727Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T11:06:36.727Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T11:06:36.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T11:06:36.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T11:06:36.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T11:06:36.963Z] $ docker exec e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce ssh-agent [2023-02-13T11:06:37.068Z] SSH_AUTH_SOCK=/tmp/ssh-dDhxEtcNBqME/agent.31 [2023-02-13T11:06:37.068Z] SSH_AGENT_PID=37 [2023-02-13T11:06:37.076Z] Running ssh-add (command line suppressed) [2023-02-13T11:06:37.185Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_13130568090977856202.key (/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_13130568090977856202.key) [2023-02-13T11:06:37.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T11:06:37.523Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T11:06:37.560Z] $ docker exec --env ******** --env ******** e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce ssh-agent -k [2023-02-13T11:06:37.656Z] unset SSH_AUTH_SOCK; [2023-02-13T11:06:37.656Z] unset SSH_AGENT_PID; [2023-02-13T11:06:37.656Z] echo Agent pid 37 killed; [2023-02-13T11:06:37.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T11:06:37.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T11:06:37.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T11:06:37.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T11:06:37.866Z] $ docker exec e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce ssh-agent [2023-02-13T11:06:37.956Z] SSH_AUTH_SOCK=/tmp/ssh-g73w13mLazXc/agent.69 [2023-02-13T11:06:37.956Z] SSH_AGENT_PID=75 [2023-02-13T11:06:37.960Z] Running ssh-add (command line suppressed) [2023-02-13T11:06:38.063Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_8169824446282556602.key (/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/private_key_8169824446282556602.key) [2023-02-13T11:06:38.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T11:06:38.410Z] + git semver init [2023-02-13T11:06:38.669Z] 2023-02-13 11:06:38,596 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T11:06:38.669Z] 2023-02-13 11:06:38,597 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-98/.semver [2023-02-13T11:06:38.669Z] 2023-02-13 11:06:38,598 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-98/.semver [2023-02-13T11:06:38.670Z] 2023-02-13 11:06:38,598 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-98/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-98, universal_newlines=False, shell=None, istream=None) [2023-02-13T11:06:40.059Z] 2023-02-13 11:06:39,737 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-98/.git/info/exclude [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-98/.semver/PR-98 with force:False [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,737 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-98/.semver/PR-98 [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,742 [execute] INFO git cat-file --batch-check [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-98/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,748 [execute] INFO git cat-file --batch [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-98/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T11:06:40.060Z] 2023-02-13 11:06:39,752 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-98/.semver/PR-98 [2023-02-13T11:06:40.060Z] 0.0.0 [Pipeline] } [2023-02-13T11:06:40.082Z] $ docker exec --env ******** --env ******** e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce ssh-agent -k [2023-02-13T11:06:40.191Z] unset SSH_AUTH_SOCK; [2023-02-13T11:06:40.191Z] unset SSH_AGENT_PID; [2023-02-13T11:06:40.191Z] echo Agent pid 75 killed; [2023-02-13T11:06:40.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T11:06:40.634Z] + git semver [Pipeline] } [2023-02-13T11:06:40.916Z] $ docker stop --time=1 e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce [2023-02-13T11:06:42.199Z] $ docker rm -f --volumes e34a7d2e2a07f4084ad60cb11e09ae3c9e24216a390c5d84203bc37f5171c2ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T11:06:42.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T11:06:42.864Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T11:06:42.880Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T11:06:43.446Z] provisioning config files... [2023-02-13T11:06:43.454Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config14561519925694293613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:06:43.798Z] ---> docker-login.sh [2023-02-13T11:06:43.798Z] nexus3.edgexfoundry.org:10001 [2023-02-13T11:06:43.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:43.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:43.798Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:43.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:43.798Z] [2023-02-13T11:06:43.798Z] Login Succeeded [2023-02-13T11:06:43.798Z] nexus3.edgexfoundry.org:10002 [2023-02-13T11:06:43.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:43.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:43.798Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:43.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:43.798Z] [2023-02-13T11:06:43.798Z] Login Succeeded [2023-02-13T11:06:43.798Z] nexus3.edgexfoundry.org:10003 [2023-02-13T11:06:44.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:44.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:44.057Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:44.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:44.057Z] [2023-02-13T11:06:44.057Z] Login Succeeded [2023-02-13T11:06:44.057Z] nexus3.edgexfoundry.org:10004 [2023-02-13T11:06:44.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:44.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:44.057Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:44.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:44.057Z] [2023-02-13T11:06:44.057Z] Login Succeeded [2023-02-13T11:06:44.057Z] docker.io [2023-02-13T11:06:44.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:06:44.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:06:44.316Z] Configure a credential helper to remove this warning. See [2023-02-13T11:06:44.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:06:44.316Z] [2023-02-13T11:06:44.316Z] Login Succeeded [2023-02-13T11:06:44.316Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T11:06:44.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T11:06:44.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T11:06:44.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T11:06:44.615Z] ========================================================= [2023-02-13T11:06:44.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T11:06:44.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:06:45.075Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T11:06:45.075Z] Sending build context to Docker daemon 16MB [2023-02-13T11:06:45.075Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T11:06:45.075Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T11:06:45.075Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T11:06:45.075Z] 213ec9aee27d: Pulling fs layer [2023-02-13T11:06:45.075Z] 4583459ba037: Pulling fs layer [2023-02-13T11:06:45.075Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T11:06:45.075Z] 53926ce57604: Pulling fs layer [2023-02-13T11:06:45.075Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T11:06:45.075Z] 22ff95d597cd: Pulling fs layer [2023-02-13T11:06:45.075Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T11:06:45.075Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T11:06:45.075Z] a7acece74701: Pulling fs layer [2023-02-13T11:06:45.075Z] 21b2b0c7a3f4: Waiting [2023-02-13T11:06:45.075Z] 22ff95d597cd: Waiting [2023-02-13T11:06:45.075Z] 12d6caf4c0d1: Waiting [2023-02-13T11:06:45.075Z] 96b7cbca73a9: Waiting [2023-02-13T11:06:45.075Z] a7acece74701: Waiting [2023-02-13T11:06:45.075Z] 53926ce57604: Waiting [2023-02-13T11:06:45.336Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T11:06:45.336Z] 93c1e223e6f2: Download complete [2023-02-13T11:06:45.336Z] 4583459ba037: Download complete [2023-02-13T11:06:45.336Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T11:06:45.336Z] 21b2b0c7a3f4: Download complete [2023-02-13T11:06:45.336Z] 22ff95d597cd: Verifying Checksum [2023-02-13T11:06:45.336Z] 22ff95d597cd: Download complete [2023-02-13T11:06:45.336Z] 213ec9aee27d: Verifying Checksum [2023-02-13T11:06:45.336Z] 213ec9aee27d: Download complete [2023-02-13T11:06:45.336Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T11:06:45.336Z] 12d6caf4c0d1: Download complete [2023-02-13T11:06:45.602Z] 213ec9aee27d: Pull complete [2023-02-13T11:06:45.602Z] 4583459ba037: Pull complete [2023-02-13T11:06:45.602Z] 93c1e223e6f2: Pull complete [2023-02-13T11:06:46.597Z] a7acece74701: Verifying Checksum [2023-02-13T11:06:46.597Z] a7acece74701: Download complete [2023-02-13T11:06:46.597Z] 53926ce57604: Download complete [2023-02-13T11:06:46.856Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T11:06:46.856Z] 96b7cbca73a9: Download complete [2023-02-13T11:06:50.150Z] 53926ce57604: Pull complete [2023-02-13T11:06:50.150Z] 21b2b0c7a3f4: Pull complete [2023-02-13T11:06:50.150Z] 22ff95d597cd: Pull complete [2023-02-13T11:06:50.150Z] 12d6caf4c0d1: Pull complete [2023-02-13T11:06:52.090Z] 96b7cbca73a9: Pull complete [2023-02-13T11:06:53.033Z] a7acece74701: Pull complete [2023-02-13T11:06:53.033Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T11:06:53.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T11:06:53.033Z] ---> db6d94c90886 [2023-02-13T11:06:53.033Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T11:06:58.273Z] Still waiting to schedule task [2023-02-13T11:06:58.273Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5535’ [2023-02-13T11:06:58.342Z] ---> Running in cc233ed17ceb [2023-02-13T11:06:58.601Z] Removing intermediate container cc233ed17ceb [2023-02-13T11:06:58.601Z] ---> 57b5d9b8c768 [2023-02-13T11:06:58.601Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T11:06:58.601Z] ---> Running in cafc9e992b25 [2023-02-13T11:06:58.601Z] Removing intermediate container cafc9e992b25 [2023-02-13T11:06:58.601Z] ---> 3c65f1617182 [2023-02-13T11:06:58.601Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-13T11:06:58.601Z] ---> Running in 071b28f9dec7 [2023-02-13T11:06:58.863Z] Removing intermediate container 071b28f9dec7 [2023-02-13T11:06:58.863Z] ---> 7a5cfef48330 [2023-02-13T11:06:58.863Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T11:06:58.863Z] ---> Running in 0ebbf750e833 [2023-02-13T11:06:58.863Z] Removing intermediate container 0ebbf750e833 [2023-02-13T11:06:58.863Z] ---> 66cb01b5fea0 [2023-02-13T11:06:58.863Z] Step 7/12 : WORKDIR /device-gpio [2023-02-13T11:06:58.863Z] ---> Running in 77607be0c450 [2023-02-13T11:06:58.863Z] Removing intermediate container 77607be0c450 [2023-02-13T11:06:58.863Z] ---> b575d0f1fd5e [2023-02-13T11:06:58.863Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T11:06:58.863Z] ---> Running in 018f708d02c1 [2023-02-13T11:06:59.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T11:07:00.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T11:07:00.759Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T11:07:00.759Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T11:07:00.759Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T11:07:00.759Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T11:07:00.759Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T11:07:00.759Z] OK: 216 MiB in 55 packages [2023-02-13T11:07:01.325Z] Removing intermediate container 018f708d02c1 [2023-02-13T11:07:01.325Z] ---> dcb96d7a0173 [2023-02-13T11:07:01.325Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-13T11:07:01.325Z] ---> 69eba81ea6c7 [2023-02-13T11:07:01.325Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T11:07:01.325Z] ---> Running in 77418570a0ca [2023-02-13T11:07:33.432Z] Removing intermediate container 77418570a0ca [2023-02-13T11:07:33.432Z] ---> 8f40a391b48d [2023-02-13T11:07:33.432Z] Step 11/12 : COPY . . [2023-02-13T11:07:33.432Z] ---> 7c9a8b080297 [2023-02-13T11:07:33.432Z] Step 12/12 : RUN ${MAKE} [2023-02-13T11:07:33.432Z] ---> Running in 29638fcc094e [2023-02-13T11:07:33.432Z] noop [2023-02-13T11:07:33.432Z] Removing intermediate container 29638fcc094e [2023-02-13T11:07:33.432Z] ---> d3170197b069 [2023-02-13T11:07:33.432Z] Successfully built d3170197b069 [2023-02-13T11:07:33.432Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:07:33.883Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T11:07:33.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:07:34.024Z] prd-ubuntu20.04-docker-8c-8g-5536 does not seem to be running inside a container [2023-02-13T11:07:34.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T11:07:34.391Z] $ docker top 3ea18b02619f0f2bfe916141db5baaf5665f5388733a07600c665f8555c74a05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T11:07:34.790Z] + go version [2023-02-13T11:07:34.791Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T11:07:34.829Z] $ docker stop --time=1 3ea18b02619f0f2bfe916141db5baaf5665f5388733a07600c665f8555c74a05 [2023-02-13T11:07:36.109Z] $ docker rm -f --volumes 3ea18b02619f0f2bfe916141db5baaf5665f5388733a07600c665f8555c74a05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:07:36.982Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T11:07:36.982Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:07:37.139Z] prd-ubuntu20.04-docker-8c-8g-5536 does not seem to be running inside a container [2023-02-13T11:07:37.180Z] $ 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-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T11:07:37.509Z] $ docker top 14bf0a3b136024675048bba3bef7cfb9feaae14f8f883aeb406194d75bf50f76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T11:07:37.890Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-98 [Pipeline] fileExists [Pipeline] sh [2023-02-13T11:07:38.284Z] + make test [2023-02-13T11:07:38.284Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T11:07:38.542Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-13T11:07:46.650Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-02-13T11:07:46.650Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-02-13T11:07:51.914Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T11:07:51.914Z] go vet ./... [2023-02-13T11:07:55.203Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T11:07:55.203Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T11:07:55.203Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T11:07:55.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T11:07:55.274Z] $ docker stop --time=1 14bf0a3b136024675048bba3bef7cfb9feaae14f8f883aeb406194d75bf50f76 [2023-02-13T11:07:57.903Z] $ docker rm -f --volumes 14bf0a3b136024675048bba3bef7cfb9feaae14f8f883aeb406194d75bf50f76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T11:07:58.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T11:07:58.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T11:07:59.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T11:07:59.459Z] + ls -al . [2023-02-13T11:07:59.459Z] total 168 [2023-02-13T11:07:59.459Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 11:07 . [2023-02-13T11:07:59.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 11:06 .. [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 120 Feb 13 11:06 .dockerignore [2023-02-13T11:07:59.459Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 11:07 .git [2023-02-13T11:07:59.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 11:06 .github [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 13 11:06 .gitignore [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 11:06 .golangci.yml [2023-02-13T11:07:59.459Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 11:06 .semver [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 9587 Feb 13 11:06 Attribution.txt [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 4069 Feb 13 11:06 CHANGELOG.md [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 1542 Feb 13 11:06 Dockerfile [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 11:06 GOVERNANCE.md [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 657 Feb 13 11:06 Jenkinsfile [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 11:06 LICENSE [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 1657 Feb 13 11:06 Makefile [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 13 11:06 OWNERS.md [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 11842 Feb 13 11:06 README.md [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 11:06 VERSION [2023-02-13T11:07:59.459Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 11:06 bin [2023-02-13T11:07:59.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 11:06 cmd [2023-02-13T11:07:59.459Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 13 11:07 coverage.out [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 13 11:06 go.mod [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 44944 Feb 13 11:06 go.sum [2023-02-13T11:07:59.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 11:06 internal [2023-02-13T11:07:59.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 11:06 snap [2023-02-13T11:07:59.459Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 13 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:07:59.864Z] + 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=fb02767085fc42f6f71579c36602ed654e3f0bba --label arch=amd64 --label version=0.0.0 . [2023-02-13T11:07:59.864Z] Sending build context to Docker daemon 16MB [2023-02-13T11:07:59.864Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T11:07:59.864Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T11:07:59.864Z] ---> d3170197b069 [2023-02-13T11:07:59.864Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T11:08:00.122Z] ---> Running in b061d6e1c676 [2023-02-13T11:08:00.122Z] Removing intermediate container b061d6e1c676 [2023-02-13T11:08:00.122Z] ---> f1471647db4e [2023-02-13T11:08:00.122Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T11:08:00.122Z] ---> Running in 10fd3509c99e [2023-02-13T11:08:00.380Z] Removing intermediate container 10fd3509c99e [2023-02-13T11:08:00.380Z] ---> 39f3ed133ea0 [2023-02-13T11:08:00.380Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-13T11:08:00.380Z] ---> Running in bb87004b13cd [2023-02-13T11:08:00.380Z] Removing intermediate container bb87004b13cd [2023-02-13T11:08:00.380Z] ---> 65787c2a99f4 [2023-02-13T11:08:00.380Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T11:08:00.380Z] ---> Running in 7914a6e8d678 [2023-02-13T11:08:00.380Z] Removing intermediate container 7914a6e8d678 [2023-02-13T11:08:00.380Z] ---> 83c86c3e116b [2023-02-13T11:08:00.380Z] Step 7/25 : WORKDIR /device-gpio [2023-02-13T11:08:00.380Z] ---> Running in 4a44291e37e6 [2023-02-13T11:08:00.639Z] Removing intermediate container 4a44291e37e6 [2023-02-13T11:08:00.639Z] ---> 6fc4d253f4d4 [2023-02-13T11:08:00.639Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T11:08:00.639Z] ---> Running in 5829af1f5d96 [2023-02-13T11:08:00.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T11:08:00.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T11:08:01.463Z] OK: 216 MiB in 55 packages [2023-02-13T11:08:01.721Z] Removing intermediate container 5829af1f5d96 [2023-02-13T11:08:01.721Z] ---> 31b8eb37d516 [2023-02-13T11:08:01.721Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-13T11:08:01.721Z] ---> fe485ff6b1de [2023-02-13T11:08:01.721Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T11:08:01.721Z] ---> Running in b648d0c11497 [2023-02-13T11:08:02.291Z] Removing intermediate container b648d0c11497 [2023-02-13T11:08:02.291Z] ---> 962036a510ae [2023-02-13T11:08:02.291Z] Step 11/25 : COPY . . [2023-02-13T11:08:02.858Z] ---> eccf1050efcb [2023-02-13T11:08:02.858Z] Step 12/25 : RUN ${MAKE} [2023-02-13T11:08:02.858Z] ---> Running in 85824cd1ab77 [2023-02-13T11:08:03.117Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-02-13T11:08:25.045Z] Removing intermediate container 85824cd1ab77 [2023-02-13T11:08:25.045Z] ---> dd3ea0d40368 [2023-02-13T11:08:25.045Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T11:08:25.045Z] 3.16: Pulling from library/alpine [2023-02-13T11:08:25.045Z] ef5531b6e74e: Pulling fs layer [2023-02-13T11:08:25.045Z] ef5531b6e74e: Verifying Checksum [2023-02-13T11:08:25.045Z] ef5531b6e74e: Download complete [2023-02-13T11:08:25.045Z] ef5531b6e74e: Pull complete [2023-02-13T11:08:25.045Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T11:08:25.045Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T11:08:25.045Z] ---> dfd21b5a31f5 [2023-02-13T11:08:25.045Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-02-13T11:08:25.045Z] ---> Running in e90c15ed8b94 [2023-02-13T11:08:25.612Z] Removing intermediate container e90c15ed8b94 [2023-02-13T11:08:25.612Z] ---> 9f951fb28567 [2023-02-13T11:08:25.612Z] Step 15/25 : RUN apk add --update --no-cache [2023-02-13T11:08:25.612Z] ---> Running in 670a28f73d00 [2023-02-13T11:08:26.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T11:08:26.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T11:08:26.699Z] OK: 6 MiB in 14 packages [2023-02-13T11:08:26.960Z] Removing intermediate container 670a28f73d00 [2023-02-13T11:08:26.960Z] ---> a2da1129ba09 [2023-02-13T11:08:26.960Z] Step 16/25 : WORKDIR / [2023-02-13T11:08:26.960Z] ---> Running in a13e5331b04e [2023-02-13T11:08:26.960Z] Removing intermediate container a13e5331b04e [2023-02-13T11:08:26.960Z] ---> c6c27aa39e47 [2023-02-13T11:08:26.960Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-02-13T11:08:27.218Z] ---> af16dbdb891c [2023-02-13T11:08:27.218Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-02-13T11:08:27.218Z] ---> 69abd7edf2d5 [2023-02-13T11:08:27.218Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-02-13T11:08:28.152Z] ---> f9abe0f2e277 [2023-02-13T11:08:28.152Z] Step 20/25 : EXPOSE 59910 [2023-02-13T11:08:28.152Z] ---> Running in 27f824ef2c75 [2023-02-13T11:08:28.152Z] Removing intermediate container 27f824ef2c75 [2023-02-13T11:08:28.152Z] ---> 8990c1e477f1 [2023-02-13T11:08:28.152Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-02-13T11:08:28.152Z] ---> Running in 927b9b0dcd05 [2023-02-13T11:08:28.411Z] Removing intermediate container 927b9b0dcd05 [2023-02-13T11:08:28.411Z] ---> 58a708c89f90 [2023-02-13T11:08:28.411Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T11:08:28.411Z] ---> Running in a68ef50e4658 [2023-02-13T11:08:28.411Z] Removing intermediate container a68ef50e4658 [2023-02-13T11:08:28.411Z] ---> 32a847e5383e [2023-02-13T11:08:28.411Z] Step 23/25 : LABEL arch=amd64 [2023-02-13T11:08:28.411Z] ---> Running in 1149edf8fb60 [2023-02-13T11:08:28.411Z] Removing intermediate container 1149edf8fb60 [2023-02-13T11:08:28.411Z] ---> 8b12fec9f83e [2023-02-13T11:08:28.411Z] Step 24/25 : LABEL git_sha=fb02767085fc42f6f71579c36602ed654e3f0bba [2023-02-13T11:08:28.411Z] ---> Running in 9495f25b64ad [2023-02-13T11:08:28.669Z] Removing intermediate container 9495f25b64ad [2023-02-13T11:08:28.669Z] ---> 77c437d9fdd6 [2023-02-13T11:08:28.669Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T11:08:28.669Z] ---> Running in 02d494c0534e [2023-02-13T11:08:28.669Z] Removing intermediate container 02d494c0534e [2023-02-13T11:08:28.669Z] ---> 67a40fb20be4 [2023-02-13T11:08:28.669Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T11:08:28.669Z] Successfully built 67a40fb20be4 [2023-02-13T11:08:28.669Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:08:29.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T11:08:29.484Z] [2023-02-13T11:08:29.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:08:29.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T11:08:29.858Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T11:08:29.858Z] 5eb5b503b376: Pulling fs layer [2023-02-13T11:08:29.858Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T11:08:29.858Z] ec43610c2a17: Pulling fs layer [2023-02-13T11:08:29.858Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T11:08:29.858Z] 33b1e0a273af: Pulling fs layer [2023-02-13T11:08:29.858Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T11:08:29.858Z] 2f39f015ded8: Pulling fs layer [2023-02-13T11:08:29.858Z] 3a2ae6a8a46f: Waiting [2023-02-13T11:08:29.858Z] 5d3b04190fa2: Waiting [2023-02-13T11:08:29.858Z] 33b1e0a273af: Waiting [2023-02-13T11:08:29.858Z] 2f39f015ded8: Waiting [2023-02-13T11:08:29.858Z] 5c69ac0246d0: Download complete [2023-02-13T11:08:29.858Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T11:08:29.858Z] 3a2ae6a8a46f: Download complete [2023-02-13T11:08:30.122Z] 33b1e0a273af: Verifying Checksum [2023-02-13T11:08:30.122Z] 33b1e0a273af: Download complete [2023-02-13T11:08:30.122Z] ec43610c2a17: Verifying Checksum [2023-02-13T11:08:30.122Z] ec43610c2a17: Download complete [2023-02-13T11:08:30.122Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T11:08:30.122Z] 5d3b04190fa2: Download complete [2023-02-13T11:08:30.382Z] 5eb5b503b376: Verifying Checksum [2023-02-13T11:08:30.382Z] 5eb5b503b376: Download complete [2023-02-13T11:08:30.945Z] 2f39f015ded8: Download complete [2023-02-13T11:08:31.511Z] 5eb5b503b376: Pull complete [2023-02-13T11:08:31.511Z] 5c69ac0246d0: Pull complete [2023-02-13T11:08:32.077Z] ec43610c2a17: Pull complete [2023-02-13T11:08:32.077Z] 3a2ae6a8a46f: Pull complete [2023-02-13T11:08:32.334Z] 33b1e0a273af: Pull complete [2023-02-13T11:08:32.335Z] 5d3b04190fa2: Pull complete [2023-02-13T11:08:36.512Z] 2f39f015ded8: Pull complete [2023-02-13T11:08:36.512Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T11:08:36.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T11:08:36.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:08:36.729Z] prd-ubuntu20.04-docker-8c-8g-5536 does not seem to be running inside a container [2023-02-13T11:08:36.764Z] $ 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-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T11:08:44.088Z] $ docker top 3c0e0fd0c3724a8eb655afb299593d3eff81dac598e341332a6c4b98db2dd9c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:08:44.544Z] ---> job-cost.sh [2023-02-13T11:08:44.544Z] lf-activate-venv: SKIPPING [2023-02-13T11:08:44.544Z] INFO: No Stack... [2023-02-13T11:08:44.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T11:08:45.063Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T11:08:45.383Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-98/archives/cost.csv [2023-02-13T11:08:45.384Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T11:08:45.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] [2023-02-13T11:08:45.430Z] Resource [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] did not exist. Created. [2023-02-13T11:08:45.431Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T11:08:45.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T11:08:45.880Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T11:08:45.962Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T11:08:46.109Z] $ docker stop --time=1 3c0e0fd0c3724a8eb655afb299593d3eff81dac598e341332a6c4b98db2dd9c3 [2023-02-13T11:08:47.404Z] $ docker rm -f --volumes 3c0e0fd0c3724a8eb655afb299593d3eff81dac598e341332a6c4b98db2dd9c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T11:09:53.515Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5537 in /w/workspace/edgexfoundry_device-gpio_PR-98 [Pipeline] { [Pipeline] ws [2023-02-13T11:09:53.569Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-02-13T11:09:53.648Z] The recommended git tool is: git [2023-02-13T11:09:59.499Z] using credential edgex-jenkins-ssh [2023-02-13T11:09:59.523Z] Cloning the remote Git repository [2023-02-13T11:09:59.571Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-02-13T11:09:59.649Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-02-13T11:09:59.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-13T11:09:59.797Z] > git --version # timeout=10 [2023-02-13T11:09:59.819Z] > git --version # 'git version 2.25.1' [2023-02-13T11:09:59.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T11:09:59.887Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T11:10:01.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-13T11:10:01.540Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T11:10:02.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-13T11:10:02.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-13T11:10:02.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T11:10:02.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/98/head:refs/remotes/origin/PR-98 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T11:10:03.182Z] Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit 59ca52f84761cac981ca8e4d7194529eb2dd44d5 [2023-02-13T11:10:03.470Z] Merge succeeded, producing ff8bb68e441526cea16a0a5388ee5caadf4535af [2023-02-13T11:10:03.470Z] Checking out Revision ff8bb68e441526cea16a0a5388ee5caadf4535af (PR-98) [2023-02-13T11:10:03.200Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T11:10:03.221Z] > git checkout -f 59ca52f84761cac981ca8e4d7194529eb2dd44d5 # timeout=10 [2023-02-13T11:10:03.305Z] > git remote # timeout=10 [2023-02-13T11:10:03.326Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T11:10:03.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T11:10:03.371Z] > git merge 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 [2023-02-13T11:10:03.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T11:10:03.475Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T11:10:03.491Z] > git checkout -f ff8bb68e441526cea16a0a5388ee5caadf4535af # timeout=10 [2023-02-13T11:10:07.022Z] Commit message: "Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD" [2023-02-13T11:10:07.023Z] First time build. Skipping changelog. [2023-02-13T11:10:07.076Z] > git --version # timeout=10 [2023-02-13T11:10:07.087Z] > git --version # 'git version 2.25.1' [2023-02-13T11:10:07.106Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T11:10:08.372Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T11:10:08.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T11:10:08.372Z] Dload Upload Total Spent Left Speed [2023-02-13T11:10:08.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-02-13T11:10:09.141Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T11:10:09.501Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-02-13T11:10:09.501Z] /etc/docker/daemon.new [2023-02-13T11:10:09.501Z] { [2023-02-13T11:10:09.501Z] "registry-mirrors": [ [2023-02-13T11:10:09.501Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T11:10:09.501Z] ], [2023-02-13T11:10:09.501Z] "bip": "10.250.0.254/24", [2023-02-13T11:10:09.501Z] "hosts": [ [2023-02-13T11:10:09.501Z] "tcp://0.0.0.0:5555", [2023-02-13T11:10:09.501Z] "unix:///var/run/docker.sock" [2023-02-13T11:10:09.501Z] ], [2023-02-13T11:10:09.501Z] "mtu": 1458, [2023-02-13T11:10:09.501Z] "selinux-enabled": true, [2023-02-13T11:10:09.501Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T11:10:09.501Z] } [Pipeline] sh [2023-02-13T11:10:09.850Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T11:10:10.226Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T11:10:28.602Z] provisioning config files... [2023-02-13T11:10:28.631Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2499088955022977675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:10:29.024Z] ---> docker-login.sh [2023-02-13T11:10:29.024Z] nexus3.edgexfoundry.org:10001 [2023-02-13T11:10:29.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:10:29.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:10:29.569Z] Configure a credential helper to remove this warning. See [2023-02-13T11:10:29.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:10:29.569Z] [2023-02-13T11:10:29.569Z] Login Succeeded [2023-02-13T11:10:29.569Z] nexus3.edgexfoundry.org:10002 [2023-02-13T11:10:29.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:10:30.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:10:30.111Z] Configure a credential helper to remove this warning. See [2023-02-13T11:10:30.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:10:30.111Z] [2023-02-13T11:10:30.111Z] Login Succeeded [2023-02-13T11:10:30.111Z] nexus3.edgexfoundry.org:10003 [2023-02-13T11:10:30.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:10:30.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:10:30.381Z] Configure a credential helper to remove this warning. See [2023-02-13T11:10:30.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:10:30.381Z] [2023-02-13T11:10:30.381Z] Login Succeeded [2023-02-13T11:10:30.381Z] nexus3.edgexfoundry.org:10004 [2023-02-13T11:10:30.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:10:30.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:10:30.654Z] Configure a credential helper to remove this warning. See [2023-02-13T11:10:30.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:10:30.654Z] [2023-02-13T11:10:30.654Z] Login Succeeded [2023-02-13T11:10:30.654Z] docker.io [2023-02-13T11:10:30.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T11:10:31.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T11:10:31.194Z] Configure a credential helper to remove this warning. See [2023-02-13T11:10:31.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T11:10:31.194Z] [2023-02-13T11:10:31.194Z] Login Succeeded [2023-02-13T11:10:31.194Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T11:10:31.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T11:10:31.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T11:10:31.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T11:10:31.700Z] ========================================================= [2023-02-13T11:10:31.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T11:10:31.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:10:32.179Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T11:10:32.450Z] Sending build context to Docker daemon 8.088MB [2023-02-13T11:10:32.450Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T11:10:32.450Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T11:10:32.720Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T11:10:32.720Z] 9b18e9b68314: Pulling fs layer [2023-02-13T11:10:32.720Z] 35d82f9e3411: Pulling fs layer [2023-02-13T11:10:32.720Z] e16973657156: Pulling fs layer [2023-02-13T11:10:32.720Z] fc693d55d65f: Pulling fs layer [2023-02-13T11:10:32.720Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T11:10:32.720Z] dda99020689f: Pulling fs layer [2023-02-13T11:10:32.720Z] db1c61fa0a46: Pulling fs layer [2023-02-13T11:10:32.720Z] 891c053d2c06: Pulling fs layer [2023-02-13T11:10:32.720Z] fc693d55d65f: Waiting [2023-02-13T11:10:32.720Z] 7e9fc2657dce: Waiting [2023-02-13T11:10:32.720Z] dda99020689f: Waiting [2023-02-13T11:10:32.720Z] db1c61fa0a46: Waiting [2023-02-13T11:10:32.720Z] 891c053d2c06: Waiting [2023-02-13T11:10:32.720Z] e16973657156: Verifying Checksum [2023-02-13T11:10:32.720Z] e16973657156: Download complete [2023-02-13T11:10:32.720Z] 35d82f9e3411: Download complete [2023-02-13T11:10:32.720Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T11:10:32.720Z] 7e9fc2657dce: Download complete [2023-02-13T11:10:32.720Z] dda99020689f: Download complete [2023-02-13T11:10:32.720Z] 9b18e9b68314: Verifying Checksum [2023-02-13T11:10:33.699Z] 9b18e9b68314: Pull complete [2023-02-13T11:10:33.699Z] 891c053d2c06: Verifying Checksum [2023-02-13T11:10:33.699Z] 891c053d2c06: Download complete [2023-02-13T11:10:34.294Z] 35d82f9e3411: Pull complete [2023-02-13T11:10:34.294Z] e16973657156: Pull complete [2023-02-13T11:10:34.892Z] db1c61fa0a46: Verifying Checksum [2023-02-13T11:10:34.892Z] db1c61fa0a46: Download complete [2023-02-13T11:10:35.480Z] fc693d55d65f: Download complete [2023-02-13T11:10:47.847Z] fc693d55d65f: Pull complete [2023-02-13T11:10:47.847Z] 7e9fc2657dce: Pull complete [2023-02-13T11:10:47.847Z] dda99020689f: Pull complete [2023-02-13T11:10:53.229Z] db1c61fa0a46: Pull complete [2023-02-13T11:10:55.850Z] 891c053d2c06: Pull complete [2023-02-13T11:10:55.850Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T11:10:55.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T11:10:55.850Z] ---> f96f9c87975a [2023-02-13T11:10:55.850Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T11:10:58.464Z] ---> Running in aacc1e56b248 [2023-02-13T11:10:58.464Z] Removing intermediate container aacc1e56b248 [2023-02-13T11:10:58.464Z] ---> 87013864e2d6 [2023-02-13T11:10:58.464Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T11:10:58.464Z] ---> Running in 1bbd1450f3d1 [2023-02-13T11:10:58.735Z] Removing intermediate container 1bbd1450f3d1 [2023-02-13T11:10:58.735Z] ---> e0fad8a6aff8 [2023-02-13T11:10:58.735Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-13T11:10:58.735Z] ---> Running in c31d5b7b2d58 [2023-02-13T11:10:59.007Z] Removing intermediate container c31d5b7b2d58 [2023-02-13T11:10:59.007Z] ---> 550ff33bb7a8 [2023-02-13T11:10:59.007Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T11:10:59.277Z] ---> Running in 06924c07943e [2023-02-13T11:10:59.549Z] Removing intermediate container 06924c07943e [2023-02-13T11:10:59.549Z] ---> bd6356a730a6 [2023-02-13T11:10:59.549Z] Step 7/12 : WORKDIR /device-gpio [2023-02-13T11:10:59.549Z] ---> Running in afc1c0546191 [2023-02-13T11:10:59.823Z] Removing intermediate container afc1c0546191 [2023-02-13T11:10:59.824Z] ---> 85f0e4836c01 [2023-02-13T11:10:59.824Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T11:11:00.095Z] ---> Running in ea21e0a00c96 [2023-02-13T11:11:01.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T11:11:01.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T11:11:02.653Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T11:11:02.653Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T11:11:02.653Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T11:11:02.653Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T11:11:02.653Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T11:11:02.653Z] OK: 226 MiB in 55 packages [2023-02-13T11:11:03.628Z] Removing intermediate container ea21e0a00c96 [2023-02-13T11:11:03.628Z] ---> e4500be3fb33 [2023-02-13T11:11:03.628Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-13T11:11:04.219Z] ---> 045960ec6b0b [2023-02-13T11:11:04.219Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T11:11:04.219Z] ---> Running in e228d48e03fe [2023-02-13T11:12:12.125Z] Removing intermediate container e228d48e03fe [2023-02-13T11:12:12.125Z] ---> 9907cb27b721 [2023-02-13T11:12:12.125Z] Step 11/12 : COPY . . [2023-02-13T11:12:12.125Z] ---> 2f724dce6c92 [2023-02-13T11:12:12.125Z] Step 12/12 : RUN ${MAKE} [2023-02-13T11:12:12.125Z] ---> Running in fadd83e47450 [2023-02-13T11:12:12.125Z] noop [2023-02-13T11:12:12.125Z] Removing intermediate container fadd83e47450 [2023-02-13T11:12:12.125Z] ---> a61e2f674fff [2023-02-13T11:12:12.125Z] Successfully built a61e2f674fff [2023-02-13T11:12:12.125Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:12:12.597Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T11:12:12.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:12:12.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-5537 does not seem to be running inside a container [2023-02-13T11:12:12.914Z] $ 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 [2023-02-13T11:12:14.432Z] $ docker top 74c9530a995107ef434d3870e283ce4ab745363eeff10ef3e5ec18e6ef4a9fd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T11:12:15.322Z] + go version [2023-02-13T11:12:15.322Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T11:12:15.353Z] $ docker stop --time=1 74c9530a995107ef434d3870e283ce4ab745363eeff10ef3e5ec18e6ef4a9fd4 [2023-02-13T11:12:16.989Z] $ docker rm -f --volumes 74c9530a995107ef434d3870e283ce4ab745363eeff10ef3e5ec18e6ef4a9fd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:12:17.851Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T11:12:17.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:12:18.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-5537 does not seem to be running inside a container [2023-02-13T11:12:18.157Z] $ 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 [2023-02-13T11:12:19.312Z] $ docker top c355ddee11458225859356c240401b29ad1d9d2921d44aadce348e0989f0c178 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T11:12:19.866Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T11:12:20.247Z] + make test [2023-02-13T11:12:20.518Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T11:12:21.929Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-13T11:13:43.565Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-02-13T11:13:43.565Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-02-13T11:13:43.565Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T11:13:43.565Z] go vet ./... [2023-02-13T11:13:58.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T11:13:58.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T11:13:58.613Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T11:13:58.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T11:13:58.679Z] $ docker stop --time=1 c355ddee11458225859356c240401b29ad1d9d2921d44aadce348e0989f0c178 [2023-02-13T11:14:00.441Z] $ docker rm -f --volumes c355ddee11458225859356c240401b29ad1d9d2921d44aadce348e0989f0c178 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T11:14:01.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T11:14:01.426Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T11:14:01.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T11:14:02.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T11:14:02.764Z] + ls -al . [2023-02-13T11:14:02.764Z] total 164 [2023-02-13T11:14:02.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 11:12 . [2023-02-13T11:14:02.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 11:09 .. [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 120 Feb 13 11:10 .dockerignore [2023-02-13T11:14:02.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 11:10 .git [2023-02-13T11:14:02.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 11:10 .github [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 13 11:10 .gitignore [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 11:10 .golangci.yml [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 9587 Feb 13 11:10 Attribution.txt [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 4069 Feb 13 11:10 CHANGELOG.md [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 1542 Feb 13 11:10 Dockerfile [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 11:10 GOVERNANCE.md [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 657 Feb 13 11:10 Jenkinsfile [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 11:10 LICENSE [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 1657 Feb 13 11:10 Makefile [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 13 11:10 OWNERS.md [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 11842 Feb 13 11:10 README.md [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 11:06 VERSION [2023-02-13T11:14:02.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 11:10 bin [2023-02-13T11:14:02.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 11:10 cmd [2023-02-13T11:14:02.764Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 13 11:12 coverage.out [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 13 11:10 go.mod [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 44944 Feb 13 11:10 go.sum [2023-02-13T11:14:02.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 11:10 internal [2023-02-13T11:14:02.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 11:10 snap [2023-02-13T11:14:02.764Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 13 11:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:14:03.182Z] + 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=ff8bb68e441526cea16a0a5388ee5caadf4535af --label arch=arm64 --label version=0.0.0 . [2023-02-13T11:14:03.448Z] Sending build context to Docker daemon 8.089MB [2023-02-13T11:14:03.448Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T11:14:03.448Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-13T11:14:03.448Z] ---> a61e2f674fff [2023-02-13T11:14:03.448Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-13T11:14:03.715Z] ---> Running in 67c261b6f553 [2023-02-13T11:14:03.981Z] Removing intermediate container 67c261b6f553 [2023-02-13T11:14:03.981Z] ---> ff88b399a6e0 [2023-02-13T11:14:03.981Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T11:14:03.981Z] ---> Running in a9a91dad17f6 [2023-02-13T11:14:04.255Z] Removing intermediate container a9a91dad17f6 [2023-02-13T11:14:04.255Z] ---> 283818f0a468 [2023-02-13T11:14:04.255Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-13T11:14:04.255Z] ---> Running in d2f918ce0046 [2023-02-13T11:14:04.522Z] Removing intermediate container d2f918ce0046 [2023-02-13T11:14:04.522Z] ---> fb4fa990b1bb [2023-02-13T11:14:04.522Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T11:14:04.791Z] ---> Running in 7cd9d84cb89e [2023-02-13T11:14:05.058Z] Removing intermediate container 7cd9d84cb89e [2023-02-13T11:14:05.058Z] ---> daaa48048d8f [2023-02-13T11:14:05.058Z] Step 7/25 : WORKDIR /device-gpio [2023-02-13T11:14:05.058Z] ---> Running in 2430ff1773be [2023-02-13T11:14:05.326Z] Removing intermediate container 2430ff1773be [2023-02-13T11:14:05.326Z] ---> a03a1947e25d [2023-02-13T11:14:05.326Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T11:14:05.326Z] ---> Running in 3ad5a6bfd379 [2023-02-13T11:14:06.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T11:14:06.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T11:14:07.835Z] OK: 226 MiB in 55 packages [2023-02-13T11:14:11.179Z] Removing intermediate container 3ad5a6bfd379 [2023-02-13T11:14:11.179Z] ---> 6eefd5ac2639 [2023-02-13T11:14:11.179Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-13T11:14:11.445Z] ---> dedc96da5418 [2023-02-13T11:14:11.445Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T11:14:11.445Z] ---> Running in a73e352fca02 [2023-02-13T11:14:14.791Z] Removing intermediate container a73e352fca02 [2023-02-13T11:14:14.791Z] ---> 0dded504b97d [2023-02-13T11:14:14.791Z] Step 11/25 : COPY . . [2023-02-13T11:14:15.755Z] ---> 421fbf81cea5 [2023-02-13T11:14:15.755Z] Step 12/25 : RUN ${MAKE} [2023-02-13T11:14:16.032Z] ---> Running in 21e3f7b9e934 [2023-02-13T11:14:16.994Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-02-13T11:16:38.746Z] Removing intermediate container 21e3f7b9e934 [2023-02-13T11:16:38.747Z] ---> 2c6ab956a1f9 [2023-02-13T11:16:38.747Z] Step 13/25 : FROM alpine:3.16 [2023-02-13T11:16:38.747Z] 3.16: Pulling from library/alpine [2023-02-13T11:16:38.747Z] 3760b48202b3: Pulling fs layer [2023-02-13T11:16:38.747Z] 3760b48202b3: Verifying Checksum [2023-02-13T11:16:38.747Z] 3760b48202b3: Download complete [2023-02-13T11:16:38.747Z] 3760b48202b3: Pull complete [2023-02-13T11:16:38.747Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T11:16:38.747Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T11:16:38.747Z] ---> 4c81e5bf8899 [2023-02-13T11:16:38.747Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-02-13T11:16:38.747Z] ---> Running in 54fbc6a0fb29 [2023-02-13T11:16:38.747Z] Removing intermediate container 54fbc6a0fb29 [2023-02-13T11:16:38.747Z] ---> 297a56bfac6d [2023-02-13T11:16:38.747Z] Step 15/25 : RUN apk add --update --no-cache [2023-02-13T11:16:38.747Z] ---> Running in 56beda17634f [2023-02-13T11:16:38.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T11:16:38.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T11:16:38.747Z] OK: 5 MiB in 14 packages [2023-02-13T11:16:38.747Z] Removing intermediate container 56beda17634f [2023-02-13T11:16:38.747Z] ---> 6c5209d1c29b [2023-02-13T11:16:38.747Z] Step 16/25 : WORKDIR / [2023-02-13T11:16:38.747Z] ---> Running in 4f7bb63501d3 [2023-02-13T11:16:38.747Z] Removing intermediate container 4f7bb63501d3 [2023-02-13T11:16:38.747Z] ---> 7c4b5f72f182 [2023-02-13T11:16:38.747Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-02-13T11:16:38.747Z] ---> 80bf69f61c69 [2023-02-13T11:16:38.747Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-02-13T11:16:38.747Z] ---> d6edfae341e4 [2023-02-13T11:16:38.747Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-02-13T11:16:38.747Z] ---> fa4eff64228a [2023-02-13T11:16:38.747Z] Step 20/25 : EXPOSE 59910 [2023-02-13T11:16:38.747Z] ---> Running in 99d0e5a2a20a [2023-02-13T11:16:38.747Z] Removing intermediate container 99d0e5a2a20a [2023-02-13T11:16:38.747Z] ---> d8df5f872166 [2023-02-13T11:16:38.747Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-02-13T11:16:39.014Z] ---> Running in bd68ff93329b [2023-02-13T11:16:39.282Z] Removing intermediate container bd68ff93329b [2023-02-13T11:16:39.282Z] ---> c8511e39b2f3 [2023-02-13T11:16:39.282Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T11:16:39.282Z] ---> Running in ca2ee2087054 [2023-02-13T11:16:39.549Z] Removing intermediate container ca2ee2087054 [2023-02-13T11:16:39.549Z] ---> 0461420d9c1d [2023-02-13T11:16:39.549Z] Step 23/25 : LABEL arch=arm64 [2023-02-13T11:16:39.549Z] ---> Running in 0cf95e17a00b [2023-02-13T11:16:39.816Z] Removing intermediate container 0cf95e17a00b [2023-02-13T11:16:39.816Z] ---> 585ba6b71843 [2023-02-13T11:16:39.816Z] Step 24/25 : LABEL git_sha=ff8bb68e441526cea16a0a5388ee5caadf4535af [2023-02-13T11:16:39.816Z] ---> Running in d603f014ce0b [2023-02-13T11:16:40.081Z] Removing intermediate container d603f014ce0b [2023-02-13T11:16:40.081Z] ---> cec1fd057801 [2023-02-13T11:16:40.081Z] Step 25/25 : LABEL version=0.0.0 [2023-02-13T11:16:40.346Z] ---> Running in 44857178b214 [2023-02-13T11:16:40.612Z] Removing intermediate container 44857178b214 [2023-02-13T11:16:40.612Z] ---> 2a2d73fc54b9 [2023-02-13T11:16:40.612Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T11:16:40.612Z] Successfully built 2a2d73fc54b9 [2023-02-13T11:16:40.612Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:16:41.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T11:16:41.416Z] [2023-02-13T11:16:41.416Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:16:41.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T11:16:41.827Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T11:16:41.827Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T11:16:41.827Z] 04944245beec: Pulling fs layer [2023-02-13T11:16:41.827Z] 699f458cf7ca: Pulling fs layer [2023-02-13T11:16:41.827Z] 765212b225bb: Pulling fs layer [2023-02-13T11:16:41.827Z] f23df028b6ca: Pulling fs layer [2023-02-13T11:16:41.827Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T11:16:41.827Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T11:16:41.827Z] f23df028b6ca: Waiting [2023-02-13T11:16:41.827Z] d65c8cfc05b1: Waiting [2023-02-13T11:16:41.827Z] 2437ff75d9bd: Waiting [2023-02-13T11:16:41.827Z] 765212b225bb: Waiting [2023-02-13T11:16:42.097Z] 04944245beec: Verifying Checksum [2023-02-13T11:16:42.097Z] 04944245beec: Download complete [2023-02-13T11:16:42.097Z] 765212b225bb: Verifying Checksum [2023-02-13T11:16:42.097Z] 765212b225bb: Download complete [2023-02-13T11:16:42.097Z] f23df028b6ca: Verifying Checksum [2023-02-13T11:16:42.097Z] f23df028b6ca: Download complete [2023-02-13T11:16:42.097Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T11:16:42.097Z] d65c8cfc05b1: Download complete [2023-02-13T11:16:42.367Z] 699f458cf7ca: Download complete [2023-02-13T11:16:42.636Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T11:16:42.636Z] 8998bd30e6a1: Download complete [2023-02-13T11:16:45.218Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T11:16:45.218Z] 2437ff75d9bd: Download complete [2023-02-13T11:16:46.626Z] 8998bd30e6a1: Pull complete [2023-02-13T11:16:46.893Z] 04944245beec: Pull complete [2023-02-13T11:16:48.302Z] 699f458cf7ca: Pull complete [2023-02-13T11:16:48.302Z] 765212b225bb: Pull complete [2023-02-13T11:16:49.260Z] f23df028b6ca: Pull complete [2023-02-13T11:16:49.260Z] d65c8cfc05b1: Pull complete [2023-02-13T11:17:04.237Z] 2437ff75d9bd: Pull complete [2023-02-13T11:17:04.237Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T11:17:04.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T11:17:04.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:17:04.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-5537 does not seem to be running inside a container [2023-02-13T11:17:04.612Z] $ 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 [2023-02-13T11:17:07.033Z] $ docker top 2081cb80158522014a9ab5e6c75e2332a59840fe4e7304cd2b266d32d1351131 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:07.915Z] ---> job-cost.sh [2023-02-13T11:17:07.915Z] lf-activate-venv: SKIPPING [2023-02-13T11:17:07.915Z] INFO: No Stack... [2023-02-13T11:17:08.494Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T11:17:11.492Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T11:17:11.837Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-02-13T11:17:11.837Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T11:17:12.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] [2023-02-13T11:17:12.191Z] Resource [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] did not exist. Created. [2023-02-13T11:17:12.191Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T11:17:12.674Z] /w/workspace/device-gpio/1@tmp/durable-2eb4e68b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T11:17:13.363Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T11:17:13.403Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T11:17:13.453Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T11:17:13.467Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-98-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T11:17:13.541Z] $ docker stop --time=1 2081cb80158522014a9ab5e6c75e2332a59840fe4e7304cd2b266d32d1351131 [2023-02-13T11:17:15.034Z] $ docker rm -f --volumes 2081cb80158522014a9ab5e6c75e2332a59840fe4e7304cd2b266d32d1351131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-13T11:17:16.021Z] provisioning config files... [2023-02-13T11:17:16.029Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config6861086260909239092tmp [Pipeline] { [Pipeline] sh [2023-02-13T11:17:16.351Z] + set +x [2023-02-13T11:17:16.351Z] + curl -s https://codecov.io/bash [2023-02-13T11:17:16.351Z] + bash -s -- [2023-02-13T11:17:16.351Z] [2023-02-13T11:17:16.351Z] _____ _ [2023-02-13T11:17:16.351Z] / ____| | | [2023-02-13T11:17:16.351Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T11:17:16.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T11:17:16.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T11:17:16.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T11:17:16.351Z] Bash-1.0.6 [2023-02-13T11:17:16.351Z] [2023-02-13T11:17:16.351Z] [2023-02-13T11:17:16.351Z] ==> git version 2.25.1 found [2023-02-13T11:17:16.351Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-13T11:17:16.351Z] Release-Date: 2020-01-08 [2023-02-13T11:17:16.351Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T11:17:16.351Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T11:17:16.351Z] ==> Jenkins CI detected. [2023-02-13T11:17:16.351Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-98 [2023-02-13T11:17:16.351Z] project root: . [2023-02-13T11:17:16.351Z] --> token set from env [2023-02-13T11:17:16.351Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T11:17:16.351Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T11:17:16.351Z] ==> Python coveragepy not found [2023-02-13T11:17:16.351Z] ==> Searching for coverage reports in: [2023-02-13T11:17:16.351Z] + . [2023-02-13T11:17:16.351Z] -> Found 1 reports [2023-02-13T11:17:16.351Z] ==> Detecting git/mercurial file structure [2023-02-13T11:17:16.351Z] ==> Reading reports [2023-02-13T11:17:16.351Z] + ./coverage.out bytes=10 [2023-02-13T11:17:16.351Z] ==> Appending adjustments [2023-02-13T11:17:16.351Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T11:17:16.610Z] + Found adjustments [2023-02-13T11:17:16.610Z] ==> Gzipping contents [2023-02-13T11:17:16.610Z] 4.0K /tmp/codecov.tz2eME.gz [2023-02-13T11:17:16.610Z] ==> Uploading reports [2023-02-13T11:17:16.610Z] url: https://codecov.io [2023-02-13T11:17:16.610Z] query: branch=PR-98&commit=fb02767085fc42f6f71579c36602ed654e3f0bba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-98%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=98&job=&cmd_args= [2023-02-13T11:17:16.610Z] -> Pinging Codecov [2023-02-13T11:17:16.610Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-98&commit=fb02767085fc42f6f71579c36602ed654e3f0bba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-98%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=98&job=&cmd_args= [2023-02-13T11:17:16.869Z] -> Uploading to [2023-02-13T11:17:16.869Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fb02767085fc42f6f71579c36602ed654e3f0bba/e6141748-a7f6-4039-962f-48ac0eed2006.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T111716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b30cf64175ec1216f50537c1f7306b022c6525fcfbdaf2f7386f626d321375c [2023-02-13T11:17:16.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T11:17:16.869Z] Dload Upload Total Spent Left Speed [2023-02-13T11:17:17.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2489 --:--:-- --:--:-- --:--:-- 2489 [2023-02-13T11:17:17.128Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/fb02767085fc42f6f71579c36602ed654e3f0bba [Pipeline] } [2023-02-13T11:17:17.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-13T11:17:18.799Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-98/archives ] [2023-02-13T11:17:18.799Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-98/archives [2023-02-13T11:17:18.799Z] total 16 [2023-02-13T11:17:18.799Z] drwxr-xr-x 3 root root 4096 Feb 13 11:08 . [2023-02-13T11:17:18.799Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 11:08 .. [2023-02-13T11:17:18.799Z] drwxr-xr-x 2 root root 4096 Feb 13 11:08 cost [2023-02-13T11:17:18.799Z] -rw-r--r-- 1 root root 82 Feb 13 11:08 cost.csv [2023-02-13T11:17:18.799Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-98/archives [2023-02-13T11:17:18.799Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-98/archives [2023-02-13T11:17:18.799Z] total 16 [2023-02-13T11:17:18.799Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 11:08 . [2023-02-13T11:17:18.799Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 11:08 .. [2023-02-13T11:17:18.799Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 11:08 cost [2023-02-13T11:17:18.799Z] -rw-r--r-- 1 jenkins jenkins 82 Feb 13 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:19.125Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:20.023Z] ---> package-listing.sh [2023-02-13T11:17:20.023Z] ++ facter osfamily [2023-02-13T11:17:20.023Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T11:17:20.282Z] + OS_FAMILY=debian [2023-02-13T11:17:20.282Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-98 [2023-02-13T11:17:20.282Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T11:17:20.282Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T11:17:20.282Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T11:17:20.282Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T11:17:20.282Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-98 ']' [2023-02-13T11:17:20.282Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T11:17:20.282Z] + case "${OS_FAMILY}" in [2023-02-13T11:17:20.282Z] + dpkg -l [2023-02-13T11:17:20.282Z] + grep '^ii' [2023-02-13T11:17:20.282Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T11:17:20.282Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T11:17:20.282Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T11:17:20.282Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-98 ']' [2023-02-13T11:17:20.282Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-98/archives/ [2023-02-13T11:17:20.282Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-98/archives/ [Pipeline] echo [2023-02-13T11:17:20.314Z] 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-98/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T11:17:20.608Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T11:17:21.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T11:17:21.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T11:17:21.378Z] prd-ubuntu20.04-docker-8c-8g-5536 does not seem to be running inside a container [2023-02-13T11:17:21.423Z] $ 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-98/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-98 -v /w/workspace/edgexfoundry_device-gpio_PR-98:/w/workspace/edgexfoundry_device-gpio_PR-98:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-98@tmp:/w/workspace/edgexfoundry_device-gpio_PR-98@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 [2023-02-13T11:17:21.600Z] $ docker top 0c9ce20a58441f26216c9929b75c71676497c3229d7a7952d872d1e81f7073fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T11:17:21.969Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T11:17:22.277Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T11:17:22.584Z] + ls /var/log/sa-host [2023-02-13T11:17:22.584Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T11:17:22.717Z] provisioning config files... [2023-02-13T11:17:22.725Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-98@tmp/config14735771192331636153tmp [Pipeline] { [Pipeline] echo [2023-02-13T11:17:22.780Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:23.095Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T11:17:23.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:23.520Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T11:17:23.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:23.862Z] ---> sudo-logs.sh [2023-02-13T11:17:23.862Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T11:17:23.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:24.254Z] ---> job-cost.sh [2023-02-13T11:17:24.254Z] lf-activate-venv: SKIPPING [2023-02-13T11:17:24.254Z] DEBUG: total: 0.2199999988079071 [2023-02-13T11:17:24.254Z] INFO: Retrieving Stack Cost... [2023-02-13T11:17:24.518Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T11:17:25.085Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T11:17:25.126Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T11:17:25.437Z] ---> logs-deploy.sh [2023-02-13T11:17:25.437Z] lf-activate-venv: SKIPPING [2023-02-13T11:17:25.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-98/1 [2023-02-13T11:17:25.437Z] INFO: archiving workspace using pattern(s): [2023-02-13T11:17:26.374Z] Archives upload complete. [2023-02-13T11:17:26.374Z] INFO: archiving logs to Nexus