Pull request #134 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61107faac8af9b08fccdd9c28b6400f12bc5c9d0+6427482eab3bd2356a4491c722b8795ef3b48a72 (498b6fd30cfb7a6ddec55d7ed013445341528678) 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-ssh8161837019031163292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7781584123698821720.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-134/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-134/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6964240632676512948.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-134/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16662984123548704942.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh4911609740898473139.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-134/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-134/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7236900837062505488.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4564 in /w/workspace/edgexfoundry_device-gpio_PR-134 [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-134 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 > 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/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 Checking out Revision 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 (PR-134) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-20T01:39:20.488Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 # 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 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-20T01:39:20.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-20T01:39:20.814Z] ========================================================= [2023-03-20T01:39:20.814Z] EdgeX Global Pipelines Version Info [2023-03-20T01:39:20.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:39:21.565Z] ------------------- [2023-03-20T01:39:21.565Z] stable info: [2023-03-20T01:39:21.565Z] ------------------- [2023-03-20T01:39:21.565Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-20T01:39:21.565Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-20T01:39:21.565Z] Message: update stable to v1.0.245 [2023-03-20T01:39:22.135Z] ------------------- [2023-03-20T01:39:22.135Z] experimental info: [2023-03-20T01:39:22.135Z] ------------------- [2023-03-20T01:39:22.135Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-20T01:39:22.135Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-20T01:39:22.135Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-20T01:39:22.399Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-20T01:39:22.439Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-20T01:39:22.480Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-20T01:39:22.517Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-20T01:39:22.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-20T01:39:22.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-20T01:39:22.716Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-20T01:39:22.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-20T01:39:22.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-20T01:39:22.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-20T01:39:22.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-20T01:39:22.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-20T01:39:22.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-20T01:39:22.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-20T01:39:23.034Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T01:39:23.081Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T01:39:23.124Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T01:39:23.167Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T01:39:23.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-20T01:39:23.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-20T01:39:23.299Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-20T01:39:23.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-20T01:39:23.414Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-20T01:39:23.458Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-20T01:39:23.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-20T01:39:23.557Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-20T01:39:23.655Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-20T01:39:23.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-134 [Pipeline] echo [2023-03-20T01:39:23.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-134 [Pipeline] echo [2023-03-20T01:39:23.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-134 [Pipeline] echo [2023-03-20T01:39:23.941Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [Pipeline] echo [2023-03-20T01:39:23.981Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61107fa [Pipeline] echo [2023-03-20T01:39:24.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T01:39:24.178Z] provisioning config files... [2023-03-20T01:39:24.192Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp/config6737172060262886953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:39:24.549Z] ---> docker-login.sh [2023-03-20T01:39:24.549Z] nexus3.edgexfoundry.org:10001 [2023-03-20T01:39:24.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:25.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:25.069Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:25.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:25.069Z] [2023-03-20T01:39:25.069Z] Login Succeeded [2023-03-20T01:39:25.069Z] nexus3.edgexfoundry.org:10002 [2023-03-20T01:39:25.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:25.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:25.069Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:25.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:25.069Z] [2023-03-20T01:39:25.069Z] Login Succeeded [2023-03-20T01:39:25.069Z] nexus3.edgexfoundry.org:10003 [2023-03-20T01:39:25.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:25.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:25.069Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:25.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:25.069Z] [2023-03-20T01:39:25.069Z] Login Succeeded [2023-03-20T01:39:25.069Z] nexus3.edgexfoundry.org:10004 [2023-03-20T01:39:25.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:25.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:25.332Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:25.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:25.332Z] [2023-03-20T01:39:25.332Z] Login Succeeded [2023-03-20T01:39:25.332Z] docker.io [2023-03-20T01:39:25.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:25.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:25.593Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:25.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:25.593Z] [2023-03-20T01:39:25.593Z] Login Succeeded [2023-03-20T01:39:25.593Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T01:39:25.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-20T01:39:26.260Z] + git rev-list -1 --merges 61107faac8af9b08fccdd9c28b6400f12bc5c9d0~1..61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [Pipeline] echo [2023-03-20T01:39:26.314Z] -----------> git rev-list -1 --merges 61107faac8af9b08fccdd9c28b6400f12bc5c9d0~1..61107faac8af9b08fccdd9c28b6400f12bc5c9d0 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [false] [Pipeline] sh [2023-03-20T01:39:26.693Z] + git log --format=format:%s -1 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [Pipeline] echo [2023-03-20T01:39:26.839Z] ========================================================= [2023-03-20T01:39:26.840Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-20T01:39:26.840Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T01:39:27.276Z] + git log --format=format:%s -1 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [Pipeline] echo [2023-03-20T01:39:27.386Z] [semverPrep] GIT_COMMIT: 61107faac8af9b08fccdd9c28b6400f12bc5c9d0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-20T01:39:27.415Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-20T01:39:27.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-20T01:39:27.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-20T01:39:27.806Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-20T01:39:27.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-20T01:39:27.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-20T01:39:27.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-20T01:39:27.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:39:28.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T01:39:28.275Z] [2023-03-20T01:39:28.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:39:28.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T01:39:28.642Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-20T01:39:28.642Z] b85a868b505f: Pulling fs layer [2023-03-20T01:39:28.642Z] e2be974225ed: Pulling fs layer [2023-03-20T01:39:28.642Z] 339a4e72a1f5: Pulling fs layer [2023-03-20T01:39:28.642Z] 988bab9f4d93: Pulling fs layer [2023-03-20T01:39:28.642Z] 1469e6f7b9e6: Pulling fs layer [2023-03-20T01:39:28.642Z] eaf3925da568: Pulling fs layer [2023-03-20T01:39:28.642Z] bab4dde63d76: Pulling fs layer [2023-03-20T01:39:28.642Z] 1469e6f7b9e6: Waiting [2023-03-20T01:39:28.642Z] 988bab9f4d93: Waiting [2023-03-20T01:39:28.643Z] eaf3925da568: Waiting [2023-03-20T01:39:28.643Z] bde34c3a00c8: Pulling fs layer [2023-03-20T01:39:28.643Z] b352a97aabf1: Pulling fs layer [2023-03-20T01:39:28.643Z] 4872d77fe225: Pulling fs layer [2023-03-20T01:39:28.643Z] 5851b861e8e6: Pulling fs layer [2023-03-20T01:39:28.643Z] bde34c3a00c8: Waiting [2023-03-20T01:39:28.643Z] b352a97aabf1: Waiting [2023-03-20T01:39:28.643Z] 5851b861e8e6: Waiting [2023-03-20T01:39:28.643Z] 4872d77fe225: Waiting [2023-03-20T01:39:28.643Z] bab4dde63d76: Waiting [2023-03-20T01:39:28.643Z] e2be974225ed: Download complete [2023-03-20T01:39:28.643Z] 988bab9f4d93: Verifying Checksum [2023-03-20T01:39:28.643Z] 988bab9f4d93: Download complete [2023-03-20T01:39:28.902Z] 1469e6f7b9e6: Verifying Checksum [2023-03-20T01:39:28.902Z] 1469e6f7b9e6: Download complete [2023-03-20T01:39:28.902Z] 339a4e72a1f5: Verifying Checksum [2023-03-20T01:39:28.902Z] 339a4e72a1f5: Download complete [2023-03-20T01:39:28.902Z] eaf3925da568: Verifying Checksum [2023-03-20T01:39:28.902Z] eaf3925da568: Download complete [2023-03-20T01:39:28.902Z] bde34c3a00c8: Download complete [2023-03-20T01:39:28.902Z] b352a97aabf1: Verifying Checksum [2023-03-20T01:39:28.902Z] b352a97aabf1: Download complete [2023-03-20T01:39:28.902Z] 4872d77fe225: Download complete [2023-03-20T01:39:28.902Z] 5851b861e8e6: Verifying Checksum [2023-03-20T01:39:28.902Z] 5851b861e8e6: Download complete [2023-03-20T01:39:28.902Z] b85a868b505f: Download complete [2023-03-20T01:39:29.161Z] bab4dde63d76: Verifying Checksum [2023-03-20T01:39:29.161Z] bab4dde63d76: Download complete [2023-03-20T01:39:30.094Z] b85a868b505f: Pull complete [2023-03-20T01:39:30.352Z] e2be974225ed: Pull complete [2023-03-20T01:39:30.610Z] 339a4e72a1f5: Pull complete [2023-03-20T01:39:30.610Z] 988bab9f4d93: Pull complete [2023-03-20T01:39:30.869Z] 1469e6f7b9e6: Pull complete [2023-03-20T01:39:31.127Z] eaf3925da568: Pull complete [2023-03-20T01:39:32.502Z] bab4dde63d76: Pull complete [2023-03-20T01:39:32.761Z] bde34c3a00c8: Pull complete [2023-03-20T01:39:32.761Z] b352a97aabf1: Pull complete [2023-03-20T01:39:32.761Z] 4872d77fe225: Pull complete [2023-03-20T01:39:33.021Z] 5851b861e8e6: Pull complete [2023-03-20T01:39:33.021Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-20T01:39:33.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T01:39:33.021Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:39:33.235Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-03-20T01:39:33.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-134 -v /w/workspace/edgexfoundry_device-gpio_PR-134:/w/workspace/edgexfoundry_device-gpio_PR-134:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-134@tmp:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-20T01:39:36.225Z] $ docker top e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 -eo pid,comm [2023-03-20T01:39:36.274Z] 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-03-20T01:39:36.274Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-20T01:39:36.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T01:39:36.414Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T01:39:36.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T01:39:36.524Z] $ docker exec e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 ssh-agent [2023-03-20T01:39:36.630Z] SSH_AUTH_SOCK=/tmp/ssh-rG9v6xuZw1Sx/agent.32 [2023-03-20T01:39:36.630Z] SSH_AGENT_PID=38 [2023-03-20T01:39:36.636Z] Running ssh-add (command line suppressed) [2023-03-20T01:39:36.738Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-134@tmp/private_key_6962822167514428637.key (/w/workspace/edgexfoundry_device-gpio_PR-134@tmp/private_key_6962822167514428637.key) [2023-03-20T01:39:36.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T01:39:37.082Z] + git tag --points-at HEAD [Pipeline] } [2023-03-20T01:39:37.113Z] $ docker exec --env ******** --env ******** e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 ssh-agent -k [2023-03-20T01:39:37.213Z] unset SSH_AUTH_SOCK; [2023-03-20T01:39:37.214Z] unset SSH_AGENT_PID; [2023-03-20T01:39:37.216Z] echo Agent pid 38 killed; [2023-03-20T01:39:37.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-20T01:39:37.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T01:39:37.307Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T01:39:37.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T01:39:37.433Z] $ docker exec e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 ssh-agent [2023-03-20T01:39:37.546Z] SSH_AUTH_SOCK=/tmp/ssh-2oABNWEczCCN/agent.71 [2023-03-20T01:39:37.546Z] SSH_AGENT_PID=77 [2023-03-20T01:39:37.551Z] Running ssh-add (command line suppressed) [2023-03-20T01:39:37.646Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-134@tmp/private_key_3217704302582576646.key (/w/workspace/edgexfoundry_device-gpio_PR-134@tmp/private_key_3217704302582576646.key) [2023-03-20T01:39:37.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T01:39:37.979Z] + git semver init [2023-03-20T01:39:38.240Z] 2023-03-20 01:39:38,165 [run_init] DEBUG init version:0.0.0 force:False [2023-03-20T01:39:38.240Z] 2023-03-20 01:39:38,166 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-134/.semver [2023-03-20T01:39:38.240Z] 2023-03-20 01:39:38,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-134/.semver [2023-03-20T01:39:38.240Z] 2023-03-20 01:39:38,167 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-134/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-134, universal_newlines=False, shell=None, istream=None) [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,134 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-134/.git/info/exclude [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-134/.semver/PR-134 with force:False [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,134 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-134/.semver/PR-134 [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,139 [execute] INFO git cat-file --batch-check [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-134/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,144 [execute] INFO git cat-file --batch [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-134/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T01:39:39.180Z] 2023-03-20 01:39:39,149 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-134/.semver/PR-134 [2023-03-20T01:39:39.180Z] 0.0.0 [Pipeline] } [2023-03-20T01:39:39.210Z] $ docker exec --env ******** --env ******** e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 ssh-agent -k [2023-03-20T01:39:39.304Z] unset SSH_AUTH_SOCK; [2023-03-20T01:39:39.305Z] unset SSH_AGENT_PID; [2023-03-20T01:39:39.305Z] echo Agent pid 77 killed; [2023-03-20T01:39:39.308Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-20T01:39:39.732Z] + git semver [Pipeline] } [2023-03-20T01:39:40.018Z] $ docker stop --time=1 e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 [2023-03-20T01:39:41.305Z] $ docker rm -f --volumes e3c49edd1abbaf8673fe4c11f63dcb8ce790ed577782fab7aaf2b658252b8b61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T01:39:41.694Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-20T01:39:41.936Z] Stashed 1 file(s) [Pipeline] echo [2023-03-20T01:39:41.952Z] [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-03-20T01:39:42.500Z] provisioning config files... [2023-03-20T01:39:42.508Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp/config12068256704722333015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:39:42.858Z] ---> docker-login.sh [2023-03-20T01:39:42.859Z] nexus3.edgexfoundry.org:10001 [2023-03-20T01:39:42.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:42.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:42.859Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:42.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:42.859Z] [2023-03-20T01:39:42.859Z] Login Succeeded [2023-03-20T01:39:42.859Z] nexus3.edgexfoundry.org:10002 [2023-03-20T01:39:42.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:42.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:42.859Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:42.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:42.859Z] [2023-03-20T01:39:42.859Z] Login Succeeded [2023-03-20T01:39:42.859Z] nexus3.edgexfoundry.org:10003 [2023-03-20T01:39:43.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:43.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:43.118Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:43.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:43.118Z] [2023-03-20T01:39:43.118Z] Login Succeeded [2023-03-20T01:39:43.118Z] nexus3.edgexfoundry.org:10004 [2023-03-20T01:39:43.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:43.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:43.118Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:43.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:43.118Z] [2023-03-20T01:39:43.118Z] Login Succeeded [2023-03-20T01:39:43.118Z] docker.io [2023-03-20T01:39:43.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:39:43.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:39:43.377Z] Configure a credential helper to remove this warning. See [2023-03-20T01:39:43.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:39:43.377Z] [2023-03-20T01:39:43.377Z] Login Succeeded [2023-03-20T01:39:43.377Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T01:39:43.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T01:39:43.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:39:43.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:39:43.647Z] ========================================================= [2023-03-20T01:39:43.647Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-20T01:39:43.647Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:39:44.118Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-20T01:39:44.119Z] Sending build context to Docker daemon 16.02MB [2023-03-20T01:39:44.119Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T01:39:44.119Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-20T01:39:44.119Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-20T01:39:44.119Z] 63b65145d645: Pulling fs layer [2023-03-20T01:39:44.119Z] a2d21d5440eb: Pulling fs layer [2023-03-20T01:39:44.119Z] 935e6c44a52c: Pulling fs layer [2023-03-20T01:39:44.119Z] 94cc34f8dd06: Pulling fs layer [2023-03-20T01:39:44.119Z] 30dea6a524f1: Pulling fs layer [2023-03-20T01:39:44.119Z] a2aff8979fd8: Pulling fs layer [2023-03-20T01:39:44.119Z] 6808be2612f2: Pulling fs layer [2023-03-20T01:39:44.119Z] f25807f1079a: Pulling fs layer [2023-03-20T01:39:44.119Z] 94cc34f8dd06: Waiting [2023-03-20T01:39:44.119Z] 30dea6a524f1: Waiting [2023-03-20T01:39:44.119Z] a2aff8979fd8: Waiting [2023-03-20T01:39:44.119Z] 6808be2612f2: Waiting [2023-03-20T01:39:44.119Z] f25807f1079a: Waiting [2023-03-20T01:39:44.390Z] a2d21d5440eb: Download complete [2023-03-20T01:39:44.390Z] 94cc34f8dd06: Download complete [2023-03-20T01:39:44.390Z] 30dea6a524f1: Verifying Checksum [2023-03-20T01:39:44.390Z] 30dea6a524f1: Download complete [2023-03-20T01:39:44.390Z] 63b65145d645: Verifying Checksum [2023-03-20T01:39:44.390Z] 63b65145d645: Download complete [2023-03-20T01:39:44.390Z] a2aff8979fd8: Verifying Checksum [2023-03-20T01:39:44.390Z] a2aff8979fd8: Download complete [2023-03-20T01:39:44.662Z] 63b65145d645: Pull complete [2023-03-20T01:39:44.662Z] a2d21d5440eb: Pull complete [2023-03-20T01:39:44.925Z] f25807f1079a: Verifying Checksum [2023-03-20T01:39:44.925Z] f25807f1079a: Download complete [2023-03-20T01:39:44.925Z] 935e6c44a52c: Verifying Checksum [2023-03-20T01:39:44.925Z] 935e6c44a52c: Download complete [2023-03-20T01:39:45.185Z] 6808be2612f2: Verifying Checksum [2023-03-20T01:39:45.185Z] 6808be2612f2: Download complete [2023-03-20T01:39:48.468Z] 935e6c44a52c: Pull complete [2023-03-20T01:39:48.468Z] 94cc34f8dd06: Pull complete [2023-03-20T01:39:48.468Z] 30dea6a524f1: Pull complete [2023-03-20T01:39:48.468Z] a2aff8979fd8: Pull complete [2023-03-20T01:39:50.366Z] 6808be2612f2: Pull complete [2023-03-20T01:39:50.932Z] f25807f1079a: Pull complete [2023-03-20T01:39:50.932Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-20T01:39:50.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-20T01:39:50.932Z] ---> 3b553350e43f [2023-03-20T01:39:50.932Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-20T01:39:55.126Z] ---> Running in 0b54e9cd7d62 [2023-03-20T01:39:55.126Z] Removing intermediate container 0b54e9cd7d62 [2023-03-20T01:39:55.126Z] ---> bc7ba4ca877d [2023-03-20T01:39:55.126Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T01:39:55.126Z] ---> Running in 7ccfd27c19e3 [2023-03-20T01:39:55.126Z] Removing intermediate container 7ccfd27c19e3 [2023-03-20T01:39:55.126Z] ---> 66d3a787450e [2023-03-20T01:39:55.126Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-20T01:39:55.126Z] ---> Running in 7c8627ff661f [2023-03-20T01:39:55.126Z] Removing intermediate container 7c8627ff661f [2023-03-20T01:39:55.126Z] ---> 2a1a32f981f1 [2023-03-20T01:39:55.126Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T01:39:55.126Z] ---> Running in 2fb1be16c019 [2023-03-20T01:39:55.126Z] Removing intermediate container 2fb1be16c019 [2023-03-20T01:39:55.126Z] ---> ddc528fad722 [2023-03-20T01:39:55.126Z] Step 7/12 : WORKDIR /device-gpio [2023-03-20T01:39:55.126Z] ---> Running in eef01306aba2 [2023-03-20T01:39:55.126Z] Removing intermediate container eef01306aba2 [2023-03-20T01:39:55.126Z] ---> 9f6f8224d688 [2023-03-20T01:39:55.126Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T01:39:55.126Z] ---> Running in 41ad9db34ed4 [2023-03-20T01:39:55.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T01:39:55.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T01:39:55.386Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-20T01:39:55.660Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-20T01:39:55.660Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-20T01:39:55.660Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-20T01:39:55.660Z] Executing busybox-1.35.0-r29.trigger [2023-03-20T01:39:55.660Z] OK: 269 MiB in 57 packages [2023-03-20T01:39:55.921Z] Removing intermediate container 41ad9db34ed4 [2023-03-20T01:39:55.921Z] ---> 48fa6e89ed94 [2023-03-20T01:39:55.921Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-20T01:39:56.180Z] ---> a5ad3926593d [2023-03-20T01:39:56.180Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T01:39:56.180Z] ---> Running in 1d1facef47c8 [2023-03-20T01:39:57.342Z] Still waiting to schedule task [2023-03-20T01:39:57.342Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-20T01:40:28.268Z] Removing intermediate container 1d1facef47c8 [2023-03-20T01:40:28.268Z] ---> ea0772605799 [2023-03-20T01:40:28.268Z] Step 11/12 : COPY . . [2023-03-20T01:40:28.848Z] ---> 84025d7b7b98 [2023-03-20T01:40:28.848Z] Step 12/12 : RUN ${MAKE} [2023-03-20T01:40:28.848Z] ---> Running in c958abc82311 [2023-03-20T01:40:28.848Z] noop [2023-03-20T01:40:29.108Z] Removing intermediate container c958abc82311 [2023-03-20T01:40:29.108Z] ---> c839d6d79b9b [2023-03-20T01:40:29.108Z] Successfully built c839d6d79b9b [2023-03-20T01:40:29.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:40:29.553Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T01:40:29.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:40:29.693Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-03-20T01:40:29.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-134 -v /w/workspace/edgexfoundry_device-gpio_PR-134:/w/workspace/edgexfoundry_device-gpio_PR-134:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-134@tmp:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T01:40:30.050Z] $ docker top d4ba7c37c55d17854f05617531755610c9245a98357527265a95566428ba594d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:40:30.444Z] + go version [2023-03-20T01:40:30.444Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-20T01:40:30.485Z] $ docker stop --time=1 d4ba7c37c55d17854f05617531755610c9245a98357527265a95566428ba594d [2023-03-20T01:40:31.745Z] $ docker rm -f --volumes d4ba7c37c55d17854f05617531755610c9245a98357527265a95566428ba594d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:40:32.474Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T01:40:32.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:40:32.624Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-03-20T01:40:32.651Z] $ 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-134 -v /w/workspace/edgexfoundry_device-gpio_PR-134:/w/workspace/edgexfoundry_device-gpio_PR-134:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-134@tmp:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T01:40:32.959Z] $ docker top 80773c2d0087e8b9fe5afd6fc3146d6e1726dea8e788999b30b81c7f0a0e7e38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:40:33.344Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-134 [Pipeline] fileExists [Pipeline] sh [2023-03-20T01:40:33.695Z] + make test [2023-03-20T01:40:33.695Z] go test ./... -coverprofile=coverage.out ./... [2023-03-20T01:40:37.887Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-20T01:40:47.865Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-20T01:40:47.865Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-20T01:40:47.865Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-20T01:40:47.865Z] FAIL [2023-03-20T01:40:47.865Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-20T01:40:47.957Z] $ docker stop --time=1 80773c2d0087e8b9fe5afd6fc3146d6e1726dea8e788999b30b81c7f0a0e7e38 [2023-03-20T01:40:50.733Z] $ docker rm -f --volumes 80773c2d0087e8b9fe5afd6fc3146d6e1726dea8e788999b30b81c7f0a0e7e38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:40:52.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:40:52.052Z] [2023-03-20T01:40:52.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:40:52.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:40:52.458Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-20T01:40:52.458Z] 5eb5b503b376: Pulling fs layer [2023-03-20T01:40:52.458Z] 5c69ac0246d0: Pulling fs layer [2023-03-20T01:40:52.458Z] ec43610c2a17: Pulling fs layer [2023-03-20T01:40:52.458Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-20T01:40:52.458Z] 33b1e0a273af: Pulling fs layer [2023-03-20T01:40:52.458Z] 5d3b04190fa2: Pulling fs layer [2023-03-20T01:40:52.458Z] 2f39f015ded8: Pulling fs layer [2023-03-20T01:40:52.458Z] 33b1e0a273af: Waiting [2023-03-20T01:40:52.458Z] 3a2ae6a8a46f: Waiting [2023-03-20T01:40:52.458Z] 2f39f015ded8: Waiting [2023-03-20T01:40:52.458Z] 5d3b04190fa2: Waiting [2023-03-20T01:40:52.458Z] 5c69ac0246d0: Download complete [2023-03-20T01:40:52.458Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-20T01:40:52.458Z] 3a2ae6a8a46f: Download complete [2023-03-20T01:40:52.717Z] 33b1e0a273af: Verifying Checksum [2023-03-20T01:40:52.717Z] 33b1e0a273af: Download complete [2023-03-20T01:40:52.717Z] 5d3b04190fa2: Download complete [2023-03-20T01:40:52.717Z] ec43610c2a17: Verifying Checksum [2023-03-20T01:40:52.717Z] ec43610c2a17: Download complete [2023-03-20T01:40:52.717Z] 5eb5b503b376: Verifying Checksum [2023-03-20T01:40:52.717Z] 5eb5b503b376: Download complete [2023-03-20T01:40:53.282Z] 2f39f015ded8: Verifying Checksum [2023-03-20T01:40:53.282Z] 2f39f015ded8: Download complete [2023-03-20T01:40:53.845Z] 5eb5b503b376: Pull complete [2023-03-20T01:40:53.845Z] 5c69ac0246d0: Pull complete [2023-03-20T01:40:54.411Z] ec43610c2a17: Pull complete [2023-03-20T01:40:54.411Z] 3a2ae6a8a46f: Pull complete [2023-03-20T01:40:54.411Z] 33b1e0a273af: Pull complete [2023-03-20T01:40:54.669Z] 5d3b04190fa2: Pull complete [2023-03-20T01:40:58.851Z] 2f39f015ded8: Pull complete [2023-03-20T01:40:58.851Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-20T01:40:58.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:40:58.851Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:40:59.063Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-03-20T01:40:59.099Z] $ 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-134 -v /w/workspace/edgexfoundry_device-gpio_PR-134:/w/workspace/edgexfoundry_device-gpio_PR-134:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-134@tmp:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T01:41:02.242Z] $ docker top 705bf527a0b27be92402d784c6762391d05ad05082e8e38e56802d20ce6d879c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:41:02.728Z] ---> job-cost.sh [2023-03-20T01:41:02.728Z] lf-activate-venv: SKIPPING [2023-03-20T01:41:02.728Z] INFO: No Stack... [2023-03-20T01:41:02.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T01:41:03.550Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T01:41:03.862Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-134/archives/cost.csv [2023-03-20T01:41:03.862Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T01:41:03.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] [2023-03-20T01:41:03.905Z] Resource [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] did not exist. Created. [2023-03-20T01:41:03.905Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T01:41:04.328Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-20T01:41:04.383Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T01:41:04.411Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T01:41:04.490Z] $ docker stop --time=1 705bf527a0b27be92402d784c6762391d05ad05082e8e38e56802d20ce6d879c [2023-03-20T01:41:05.625Z] $ docker rm -f --volumes 705bf527a0b27be92402d784c6762391d05ad05082e8e38e56802d20ce6d879c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T01:41:06.100Z] Failed in branch amd64 [2023-03-20T01:44:41.560Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4565 in /w/workspace/edgexfoundry_device-gpio_PR-134 [Pipeline] { [Pipeline] ws [2023-03-20T01:44:41.619Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-20T01:44:41.706Z] The recommended git tool is: git [2023-03-20T01:44:52.940Z] using credential edgex-jenkins-ssh [2023-03-20T01:44:52.958Z] Cloning the remote Git repository [2023-03-20T01:44:53.020Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-20T01:44:53.131Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-20T01:44:53.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-20T01:44:53.304Z] > git --version # timeout=10 [2023-03-20T01:44:53.331Z] > git --version # 'git version 2.25.1' [2023-03-20T01:44:53.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T01:44:53.541Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T01:44:55.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-20T01:44:55.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T01:44:56.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-20T01:44:56.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-20T01:44:56.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T01:44:56.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-20T01:44:56.711Z] Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [2023-03-20T01:44:57.029Z] Merge succeeded, producing 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 [2023-03-20T01:44:57.029Z] Checking out Revision 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 (PR-134) [2023-03-20T01:44:57.561Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-20T01:44:57.629Z] > git --version # timeout=10 [2023-03-20T01:44:57.642Z] > git --version # 'git version 2.25.1' [2023-03-20T01:44:57.661Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-03-20T01:44:56.737Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T01:44:56.818Z] > git checkout -f 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 # timeout=10 [2023-03-20T01:44:56.917Z] > git remote # timeout=10 [2023-03-20T01:44:56.939Z] > git config --get remote.origin.url # timeout=10 [2023-03-20T01:44:56.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T01:44:56.982Z] > git merge 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 [2023-03-20T01:44:57.014Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-20T01:44:57.040Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T01:44:57.062Z] > git checkout -f 61107faac8af9b08fccdd9c28b6400f12bc5c9d0 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T01:44:58.869Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-20T01:44:58.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T01:44:58.869Z] Dload Upload Total Spent Left Speed [2023-03-20T01:44:58.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-03-20T01:44:59.779Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-20T01:45:00.136Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-20T01:45:00.136Z] + sudo tee /etc/docker/daemon.new [2023-03-20T01:45:00.136Z] { [2023-03-20T01:45:00.136Z] "registry-mirrors": [ [2023-03-20T01:45:00.136Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-20T01:45:00.136Z] ], [2023-03-20T01:45:00.136Z] "bip": "10.250.0.254/24", [2023-03-20T01:45:00.136Z] "hosts": [ [2023-03-20T01:45:00.136Z] "tcp://0.0.0.0:5555", [2023-03-20T01:45:00.136Z] "unix:///var/run/docker.sock" [2023-03-20T01:45:00.136Z] ], [2023-03-20T01:45:00.136Z] "mtu": 1458, [2023-03-20T01:45:00.136Z] "selinux-enabled": true, [2023-03-20T01:45:00.136Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-20T01:45:00.136Z] } [Pipeline] sh [2023-03-20T01:45:00.491Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-20T01:45:00.842Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T01:45:23.093Z] provisioning config files... [2023-03-20T01:45:23.130Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config11943276656696293198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:45:23.549Z] ---> docker-login.sh [2023-03-20T01:45:23.549Z] nexus3.edgexfoundry.org:10001 [2023-03-20T01:45:24.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:45:24.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:45:24.413Z] Configure a credential helper to remove this warning. See [2023-03-20T01:45:24.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:45:24.413Z] [2023-03-20T01:45:24.413Z] Login Succeeded [2023-03-20T01:45:24.413Z] nexus3.edgexfoundry.org:10002 [2023-03-20T01:45:24.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:45:24.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:45:24.686Z] Configure a credential helper to remove this warning. See [2023-03-20T01:45:24.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:45:24.686Z] [2023-03-20T01:45:24.686Z] Login Succeeded [2023-03-20T01:45:24.686Z] nexus3.edgexfoundry.org:10003 [2023-03-20T01:45:24.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:45:24.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:45:24.962Z] Configure a credential helper to remove this warning. See [2023-03-20T01:45:24.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:45:24.962Z] [2023-03-20T01:45:24.962Z] Login Succeeded [2023-03-20T01:45:24.962Z] nexus3.edgexfoundry.org:10004 [2023-03-20T01:45:25.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:45:25.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:45:25.511Z] Configure a credential helper to remove this warning. See [2023-03-20T01:45:25.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:45:25.511Z] [2023-03-20T01:45:25.511Z] Login Succeeded [2023-03-20T01:45:25.511Z] docker.io [2023-03-20T01:45:25.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:45:26.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:45:26.055Z] Configure a credential helper to remove this warning. See [2023-03-20T01:45:26.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:45:26.055Z] [2023-03-20T01:45:26.055Z] Login Succeeded [2023-03-20T01:45:26.055Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T01:45:26.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T01:45:26.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:45:26.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:45:26.576Z] ========================================================= [2023-03-20T01:45:26.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-20T01:45:26.576Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:45:27.066Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-20T01:45:27.336Z] Sending build context to Docker daemon 8.089MB [2023-03-20T01:45:27.336Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T01:45:27.336Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-20T01:45:27.943Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-20T01:45:27.943Z] af6eaf76a39c: Pulling fs layer [2023-03-20T01:45:27.943Z] 55522c791124: Pulling fs layer [2023-03-20T01:45:27.943Z] ce5c4a1c91eb: Pulling fs layer [2023-03-20T01:45:27.943Z] 169dfbe0d373: Pulling fs layer [2023-03-20T01:45:27.943Z] e1ff8fa3b103: Pulling fs layer [2023-03-20T01:45:27.943Z] 52ebb69f0ebf: Pulling fs layer [2023-03-20T01:45:27.943Z] 5abe8eddf0d5: Pulling fs layer [2023-03-20T01:45:27.943Z] 169dfbe0d373: Waiting [2023-03-20T01:45:27.943Z] e1ff8fa3b103: Waiting [2023-03-20T01:45:27.943Z] 52ebb69f0ebf: Waiting [2023-03-20T01:45:27.943Z] 5abe8eddf0d5: Waiting [2023-03-20T01:45:27.943Z] 55522c791124: Verifying Checksum [2023-03-20T01:45:27.943Z] 55522c791124: Download complete [2023-03-20T01:45:27.943Z] 169dfbe0d373: Verifying Checksum [2023-03-20T01:45:27.943Z] 169dfbe0d373: Download complete [2023-03-20T01:45:27.943Z] e1ff8fa3b103: Verifying Checksum [2023-03-20T01:45:27.943Z] e1ff8fa3b103: Download complete [2023-03-20T01:45:27.943Z] af6eaf76a39c: Verifying Checksum [2023-03-20T01:45:27.943Z] af6eaf76a39c: Download complete [2023-03-20T01:45:28.928Z] af6eaf76a39c: Pull complete [2023-03-20T01:45:29.203Z] 5abe8eddf0d5: Verifying Checksum [2023-03-20T01:45:29.203Z] 5abe8eddf0d5: Download complete [2023-03-20T01:45:29.473Z] 55522c791124: Pull complete [2023-03-20T01:45:30.443Z] 52ebb69f0ebf: Verifying Checksum [2023-03-20T01:45:30.443Z] 52ebb69f0ebf: Download complete [2023-03-20T01:45:30.443Z] ce5c4a1c91eb: Download complete [2023-03-20T01:45:42.794Z] ce5c4a1c91eb: Pull complete [2023-03-20T01:45:42.794Z] 169dfbe0d373: Pull complete [2023-03-20T01:45:42.794Z] e1ff8fa3b103: Pull complete [2023-03-20T01:45:49.486Z] 52ebb69f0ebf: Pull complete [2023-03-20T01:45:50.917Z] 5abe8eddf0d5: Pull complete [2023-03-20T01:45:50.917Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-20T01:45:50.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-20T01:45:50.917Z] ---> 6cb57ee374ae [2023-03-20T01:45:50.917Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-20T01:45:52.886Z] ---> Running in 40165a110608 [2023-03-20T01:45:53.163Z] Removing intermediate container 40165a110608 [2023-03-20T01:45:53.163Z] ---> 89ac533f3165 [2023-03-20T01:45:53.163Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T01:45:53.437Z] ---> Running in bd64f30f9cbf [2023-03-20T01:45:53.705Z] Removing intermediate container bd64f30f9cbf [2023-03-20T01:45:53.705Z] ---> c75c67d63e45 [2023-03-20T01:45:53.705Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-20T01:45:53.705Z] ---> Running in 32a2f04f246a [2023-03-20T01:45:53.973Z] Removing intermediate container 32a2f04f246a [2023-03-20T01:45:53.973Z] ---> 92088a827a5c [2023-03-20T01:45:53.973Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T01:45:53.973Z] ---> Running in d9e8357f667d [2023-03-20T01:45:54.244Z] Removing intermediate container d9e8357f667d [2023-03-20T01:45:54.244Z] ---> 4c324c7f9c82 [2023-03-20T01:45:54.244Z] Step 7/12 : WORKDIR /device-gpio [2023-03-20T01:45:54.517Z] ---> Running in 533db31ce982 [2023-03-20T01:45:54.788Z] Removing intermediate container 533db31ce982 [2023-03-20T01:45:54.788Z] ---> c7cf308204b9 [2023-03-20T01:45:54.788Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T01:45:54.788Z] ---> Running in 89a611f20efd [2023-03-20T01:45:55.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T01:45:56.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T01:45:57.694Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-20T01:45:57.694Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-20T01:45:57.694Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-20T01:45:57.694Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-20T01:45:57.694Z] Executing busybox-1.35.0-r29.trigger [2023-03-20T01:45:57.963Z] OK: 268 MiB in 57 packages [2023-03-20T01:45:58.928Z] Removing intermediate container 89a611f20efd [2023-03-20T01:45:58.928Z] ---> a393f24758f4 [2023-03-20T01:45:58.928Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-20T01:45:59.197Z] ---> dc488fed6ed5 [2023-03-20T01:45:59.197Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T01:45:59.465Z] ---> Running in c107889aa377 [2023-03-20T01:47:07.385Z] Removing intermediate container c107889aa377 [2023-03-20T01:47:07.385Z] ---> 3aa8774da414 [2023-03-20T01:47:07.385Z] Step 11/12 : COPY . . [2023-03-20T01:47:08.355Z] ---> 4ad2842c76ac [2023-03-20T01:47:08.355Z] Step 12/12 : RUN ${MAKE} [2023-03-20T01:47:08.355Z] ---> Running in ba871db61e47 [2023-03-20T01:47:09.323Z] noop [2023-03-20T01:47:09.917Z] Removing intermediate container ba871db61e47 [2023-03-20T01:47:09.917Z] ---> 0d47d14f80b7 [2023-03-20T01:47:09.917Z] Successfully built 0d47d14f80b7 [2023-03-20T01:47:09.917Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:47:10.380Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T01:47:10.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:47:10.676Z] prd-ubuntu20.04-docker-arm64-4c-16g-4565 does not seem to be running inside a container [2023-03-20T01:47:10.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T01:47:13.651Z] $ docker top 9d9841e6671571b17fb54103674e25793a338f20e8e4b05ab01f5be7cbb252be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:47:14.538Z] + go version [2023-03-20T01:47:14.538Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-20T01:47:14.598Z] $ docker stop --time=1 9d9841e6671571b17fb54103674e25793a338f20e8e4b05ab01f5be7cbb252be [2023-03-20T01:47:16.244Z] $ docker rm -f --volumes 9d9841e6671571b17fb54103674e25793a338f20e8e4b05ab01f5be7cbb252be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:47:17.084Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T01:47:17.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:47:17.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-4565 does not seem to be running inside a container [2023-03-20T01:47:17.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T01:47:18.617Z] $ docker top daa2591a2e93e04a96a169bec01b47c637606cf44e84bd92d5c926416dba30bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:47:19.488Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-20T01:47:19.882Z] + make test [2023-03-20T01:47:20.150Z] go test ./... -coverprofile=coverage.out ./... [2023-03-20T01:47:52.427Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-20T01:49:44.363Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-20T01:49:44.363Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-20T01:49:44.363Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-20T01:49:46.958Z] FAIL [2023-03-20T01:49:47.544Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-20T01:49:47.596Z] $ docker stop --time=1 daa2591a2e93e04a96a169bec01b47c637606cf44e84bd92d5c926416dba30bb [2023-03-20T01:49:49.487Z] $ docker rm -f --volumes daa2591a2e93e04a96a169bec01b47c637606cf44e84bd92d5c926416dba30bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:49:51.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T01:49:51.212Z] [2023-03-20T01:49:51.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:49:51.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T01:49:51.637Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-20T01:49:51.637Z] 8998bd30e6a1: Pulling fs layer [2023-03-20T01:49:51.637Z] 04944245beec: Pulling fs layer [2023-03-20T01:49:51.637Z] 699f458cf7ca: Pulling fs layer [2023-03-20T01:49:51.637Z] 765212b225bb: Pulling fs layer [2023-03-20T01:49:51.637Z] f23df028b6ca: Pulling fs layer [2023-03-20T01:49:51.637Z] d65c8cfc05b1: Pulling fs layer [2023-03-20T01:49:51.638Z] 2437ff75d9bd: Pulling fs layer [2023-03-20T01:49:51.638Z] d65c8cfc05b1: Waiting [2023-03-20T01:49:51.638Z] f23df028b6ca: Waiting [2023-03-20T01:49:51.638Z] 765212b225bb: Waiting [2023-03-20T01:49:51.638Z] 2437ff75d9bd: Waiting [2023-03-20T01:49:51.908Z] 04944245beec: Verifying Checksum [2023-03-20T01:49:51.908Z] 04944245beec: Download complete [2023-03-20T01:49:51.908Z] 765212b225bb: Verifying Checksum [2023-03-20T01:49:51.908Z] 765212b225bb: Download complete [2023-03-20T01:49:51.908Z] f23df028b6ca: Verifying Checksum [2023-03-20T01:49:51.908Z] f23df028b6ca: Download complete [2023-03-20T01:49:51.908Z] d65c8cfc05b1: Download complete [2023-03-20T01:49:52.180Z] 699f458cf7ca: Verifying Checksum [2023-03-20T01:49:52.181Z] 699f458cf7ca: Download complete [2023-03-20T01:49:52.452Z] 8998bd30e6a1: Verifying Checksum [2023-03-20T01:49:52.452Z] 8998bd30e6a1: Download complete [2023-03-20T01:49:54.409Z] 2437ff75d9bd: Verifying Checksum [2023-03-20T01:49:54.409Z] 2437ff75d9bd: Download complete [2023-03-20T01:49:56.359Z] 8998bd30e6a1: Pull complete [2023-03-20T01:49:56.627Z] 04944245beec: Pull complete [2023-03-20T01:49:58.039Z] 699f458cf7ca: Pull complete [2023-03-20T01:49:58.039Z] 765212b225bb: Pull complete [2023-03-20T01:49:59.001Z] f23df028b6ca: Pull complete [2023-03-20T01:49:59.001Z] d65c8cfc05b1: Pull complete [2023-03-20T01:50:14.030Z] 2437ff75d9bd: Pull complete [2023-03-20T01:50:14.030Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-20T01:50:14.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T01:50:14.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:50:14.385Z] prd-ubuntu20.04-docker-arm64-4c-16g-4565 does not seem to be running inside a container [2023-03-20T01:50:14.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-20T01:50:17.135Z] $ docker top 01b2e0f742123e76608b328e5d3d105f4eeff5ab80dc45cf85d663ffa61c4689 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:18.033Z] ---> job-cost.sh [2023-03-20T01:50:18.033Z] lf-activate-venv: SKIPPING [2023-03-20T01:50:18.033Z] INFO: No Stack... [2023-03-20T01:50:18.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-20T01:50:19.261Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T01:50:19.929Z] + cut -d, -f6 [2023-03-20T01:50:19.929Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2023-03-20T01:50:20.024Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] [2023-03-20T01:50:20.032Z] Resource [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] did not exist. Created. [2023-03-20T01:50:20.033Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T01:50:20.773Z] /w/workspace/device-gpio/1@tmp/durable-3e67d0ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-20T01:50:21.462Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-20T01:50:21.517Z] Warning: overwriting stash ‘stack-cost’ [2023-03-20T01:50:21.942Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T01:50:21.963Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-134-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T01:50:22.055Z] $ docker stop --time=1 01b2e0f742123e76608b328e5d3d105f4eeff5ab80dc45cf85d663ffa61c4689 [2023-03-20T01:50:23.538Z] $ docker rm -f --volumes 01b2e0f742123e76608b328e5d3d105f4eeff5ab80dc45cf85d663ffa61c4689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T01:50:24.279Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-20T01:50:26.397Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-134/archives ] [2023-03-20T01:50:26.397Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-134/archives [2023-03-20T01:50:26.397Z] total 16 [2023-03-20T01:50:26.397Z] drwxr-xr-x 3 root root 4096 Mar 20 01:41 . [2023-03-20T01:50:26.398Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 01:41 .. [2023-03-20T01:50:26.398Z] drwxr-xr-x 2 root root 4096 Mar 20 01:41 cost [2023-03-20T01:50:26.398Z] -rw-r--r-- 1 root root 83 Mar 20 01:41 cost.csv [2023-03-20T01:50:26.398Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-134/archives [2023-03-20T01:50:26.398Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-134/archives [2023-03-20T01:50:26.398Z] total 16 [2023-03-20T01:50:26.398Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 01:41 . [2023-03-20T01:50:26.398Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 01:41 .. [2023-03-20T01:50:26.398Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 01:41 cost [2023-03-20T01:50:26.398Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 20 01:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:26.729Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:27.614Z] ---> package-listing.sh [2023-03-20T01:50:27.614Z] ++ facter osfamily [2023-03-20T01:50:27.614Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-20T01:50:27.873Z] + OS_FAMILY=debian [2023-03-20T01:50:27.873Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-134 [2023-03-20T01:50:27.873Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-20T01:50:27.873Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-20T01:50:27.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-20T01:50:27.873Z] + PACKAGES=/tmp/packages_start.txt [2023-03-20T01:50:27.873Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-134 ']' [2023-03-20T01:50:27.873Z] + PACKAGES=/tmp/packages_end.txt [2023-03-20T01:50:27.873Z] + case "${OS_FAMILY}" in [2023-03-20T01:50:27.873Z] + dpkg -l [2023-03-20T01:50:27.873Z] + grep '^ii' [2023-03-20T01:50:27.873Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-20T01:50:27.873Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-20T01:50:27.873Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-20T01:50:27.873Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-134 ']' [2023-03-20T01:50:27.873Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-134/archives/ [2023-03-20T01:50:27.873Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-134/archives/ [Pipeline] echo [2023-03-20T01:50:27.910Z] 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-134/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-20T01:50:28.199Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:50:28.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:50:28.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:50:28.985Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-03-20T01:50:29.012Z] $ 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-134/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-134 -v /w/workspace/edgexfoundry_device-gpio_PR-134:/w/workspace/edgexfoundry_device-gpio_PR-134:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-134@tmp:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T01:50:29.181Z] $ docker top 85e87298c9e4f1b6de6413a20506271851d5626aa5eb25545eac150e0235cab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:50:29.576Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-20T01:50:29.885Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-20T01:50:30.190Z] + ls /var/log/sa-host [2023-03-20T01:50:30.190Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T01:50:30.404Z] provisioning config files... [2023-03-20T01:50:30.413Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-134@tmp/config4585919349146925758tmp [Pipeline] { [Pipeline] echo [2023-03-20T01:50:30.468Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:30.779Z] ---> create-netrc.sh [Pipeline] } [2023-03-20T01:50:30.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:31.205Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-20T01:50:31.240Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:31.549Z] ---> sudo-logs.sh [2023-03-20T01:50:31.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-20T01:50:31.629Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:31.937Z] ---> job-cost.sh [2023-03-20T01:50:31.937Z] lf-activate-venv: SKIPPING [2023-03-20T01:50:31.937Z] DEBUG: total: 0.2199999988079071 [2023-03-20T01:50:31.937Z] INFO: Retrieving Stack Cost... [2023-03-20T01:50:32.196Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T01:50:32.764Z] INFO: Archiving Costs [Pipeline] echo [2023-03-20T01:50:32.803Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:50:33.127Z] ---> logs-deploy.sh [2023-03-20T01:50:33.127Z] lf-activate-venv: SKIPPING [2023-03-20T01:50:33.127Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-134/1 [2023-03-20T01:50:33.127Z] INFO: archiving workspace using pattern(s): [2023-03-20T01:50:34.065Z] Archives upload complete. [2023-03-20T01:50:34.323Z] INFO: archiving logs to Nexus [2023-03-20T01:50:34.890Z] ---> uname -a: [2023-03-20T01:50:34.890Z] Linux prd-ubuntu20-04-docker-8c-8g-4564 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z] ---> lscpu: [2023-03-20T01:50:34.890Z] Architecture: x86_64 [2023-03-20T01:50:34.890Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-20T01:50:34.890Z] Byte Order: Little Endian [2023-03-20T01:50:34.890Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-20T01:50:34.890Z] CPU(s): 8 [2023-03-20T01:50:34.890Z] On-line CPU(s) list: 0-7 [2023-03-20T01:50:34.890Z] Thread(s) per core: 1 [2023-03-20T01:50:34.890Z] Core(s) per socket: 1 [2023-03-20T01:50:34.890Z] Socket(s): 8 [2023-03-20T01:50:34.890Z] NUMA node(s): 1 [2023-03-20T01:50:34.890Z] Vendor ID: AuthenticAMD [2023-03-20T01:50:34.890Z] CPU family: 23 [2023-03-20T01:50:34.890Z] Model: 49 [2023-03-20T01:50:34.890Z] Model name: AMD EPYC-Rome Processor [2023-03-20T01:50:34.890Z] Stepping: 0 [2023-03-20T01:50:34.890Z] CPU MHz: 2800.000 [2023-03-20T01:50:34.890Z] BogoMIPS: 5600.00 [2023-03-20T01:50:34.890Z] Virtualization: AMD-V [2023-03-20T01:50:34.890Z] Hypervisor vendor: KVM [2023-03-20T01:50:34.890Z] Virtualization type: full [2023-03-20T01:50:34.890Z] L1d cache: 256 KiB [2023-03-20T01:50:34.890Z] L1i cache: 256 KiB [2023-03-20T01:50:34.890Z] L2 cache: 4 MiB [2023-03-20T01:50:34.890Z] L3 cache: 128 MiB [2023-03-20T01:50:34.890Z] NUMA node0 CPU(s): 0-7 [2023-03-20T01:50:34.890Z] Vulnerability Itlb multihit: Not affected [2023-03-20T01:50:34.890Z] Vulnerability L1tf: Not affected [2023-03-20T01:50:34.890Z] Vulnerability Mds: Not affected [2023-03-20T01:50:34.890Z] Vulnerability Meltdown: Not affected [2023-03-20T01:50:34.890Z] Vulnerability Mmio stale data: Not affected [2023-03-20T01:50:34.890Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-20T01:50:34.890Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-20T01:50:34.890Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-20T01:50:34.890Z] Vulnerability Srbds: Not affected [2023-03-20T01:50:34.890Z] Vulnerability Tsx async abort: Not affected [2023-03-20T01:50:34.890Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z] ---> nproc: [2023-03-20T01:50:34.890Z] 8 [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z] ---> df -h: [2023-03-20T01:50:34.890Z] Filesystem Size Used Avail Use% Mounted on [2023-03-20T01:50:34.890Z] overlay 155G 12G 144G 8% / [2023-03-20T01:50:34.890Z] tmpfs 64M 0 64M 0% /dev [2023-03-20T01:50:34.890Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-03-20T01:50:34.890Z] shm 64M 0 64M 0% /dev/shm [2023-03-20T01:50:34.890Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-03-20T01:50:34.890Z] [2023-03-20T01:50:34.890Z]