Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 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-ssh1052517655759634652.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-ssh1490022965484805370.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2104925071107468437.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 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-ssh13881658430594236364.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2097247303670528151.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-327 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Avoid second fetch Checking out Revision 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 Commit message: "Merge pull request #127 from lenny-intel/go-1.20" > git rev-list --no-walk 2471770c414ffcb3969497332fd67a405e85392b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T02:45:18.665Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T02:45:18.716Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T02:45:18.730Z] ========================================================= [2023-03-15T02:45:18.731Z] EdgeX Global Pipelines Version Info [2023-03-15T02:45:18.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:45:19.446Z] ------------------- [2023-03-15T02:45:19.447Z] stable info: [2023-03-15T02:45:19.447Z] ------------------- [2023-03-15T02:45:19.447Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T02:45:19.447Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T02:45:19.447Z] Message: update stable to v1.0.245 [2023-03-15T02:45:20.014Z] ------------------- [2023-03-15T02:45:20.014Z] experimental info: [2023-03-15T02:45:20.014Z] ------------------- [2023-03-15T02:45:20.014Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T02:45:20.014Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T02:45:20.014Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:45:20.191Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-15T02:45:20.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-15T02:45:20.213Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T02:45:20.221Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T02:45:20.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T02:45:20.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T02:45:20.244Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T02:45:20.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T02:45:20.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T02:45:20.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T02:45:20.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T02:45:20.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-15T02:45:20.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T02:45:20.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T02:45:20.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:45:20.313Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:45:20.321Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:45:20.328Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:45:20.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T02:45:20.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T02:45:20.357Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T02:45:20.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T02:45:20.390Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T02:45:20.404Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T02:45:20.415Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T02:45:20.426Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T02:45:20.440Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T02:45:20.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T02:45:20.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T02:45:20.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T02:45:20.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] echo [2023-03-15T02:45:20.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58c55fc [Pipeline] echo [2023-03-15T02:45:20.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:45:20.553Z] provisioning config files... [2023-03-15T02:45:20.568Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11019930630280792825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:45:20.866Z] ---> docker-login.sh [2023-03-15T02:45:20.866Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:45:21.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:21.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:21.128Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:21.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:21.128Z] [2023-03-15T02:45:21.128Z] Login Succeeded [2023-03-15T02:45:21.128Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:45:21.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:21.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:21.387Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:21.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:21.387Z] [2023-03-15T02:45:21.387Z] Login Succeeded [2023-03-15T02:45:21.387Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:45:21.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:21.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:21.387Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:21.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:21.387Z] [2023-03-15T02:45:21.387Z] Login Succeeded [2023-03-15T02:45:21.387Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:45:21.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:21.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:21.647Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:21.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:21.647Z] [2023-03-15T02:45:21.647Z] Login Succeeded [2023-03-15T02:45:21.647Z] docker.io [2023-03-15T02:45:21.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:21.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:21.907Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:21.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:21.907Z] [2023-03-15T02:45:21.907Z] Login Succeeded [2023-03-15T02:45:21.907Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:45:21.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T02:45:22.286Z] + git rev-list -1 --merges 58c55fcceacaa429eb258ff9b432fe1f0402d5e4~1..58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] echo [2023-03-15T02:45:22.333Z] -----------> git rev-list -1 --merges 58c55fcceacaa429eb258ff9b432fe1f0402d5e4~1..58c55fcceacaa429eb258ff9b432fe1f0402d5e4 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:45:22.333Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [false] [Pipeline] sh [2023-03-15T02:45:22.622Z] + git log --format=format:%s -1 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] echo [2023-03-15T02:45:22.636Z] ========================================================= [2023-03-15T02:45:22.636Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T02:45:22.636Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:45:22.970Z] + git log --format=format:%s -1 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] echo [2023-03-15T02:45:22.980Z] [semverPrep] GIT_COMMIT: 58c55fcceacaa429eb258ff9b432fe1f0402d5e4, Commit Message: Merge pull request #127 from lenny-intel/go-1.20 [Pipeline] echo [2023-03-15T02:45:22.990Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T02:45:23.359Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T02:45:23.359Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T02:45:23.359Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T02:45:23.359Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T02:45:23.359Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T02:45:23.359Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T02:45:23.359Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:45:23.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:45:23.765Z] [2023-03-15T02:45:23.765Z] 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-15T02:45:24.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:45:24.078Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T02:45:24.078Z] b85a868b505f: Pulling fs layer [2023-03-15T02:45:24.078Z] e2be974225ed: Pulling fs layer [2023-03-15T02:45:24.078Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T02:45:24.078Z] 988bab9f4d93: Pulling fs layer [2023-03-15T02:45:24.078Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T02:45:24.078Z] eaf3925da568: Pulling fs layer [2023-03-15T02:45:24.078Z] bab4dde63d76: Pulling fs layer [2023-03-15T02:45:24.078Z] bde34c3a00c8: Pulling fs layer [2023-03-15T02:45:24.078Z] b352a97aabf1: Pulling fs layer [2023-03-15T02:45:24.078Z] 4872d77fe225: Pulling fs layer [2023-03-15T02:45:24.078Z] eaf3925da568: Waiting [2023-03-15T02:45:24.078Z] 1469e6f7b9e6: Waiting [2023-03-15T02:45:24.078Z] 988bab9f4d93: Waiting [2023-03-15T02:45:24.078Z] bab4dde63d76: Waiting [2023-03-15T02:45:24.078Z] bde34c3a00c8: Waiting [2023-03-15T02:45:24.078Z] b352a97aabf1: Waiting [2023-03-15T02:45:24.078Z] 5851b861e8e6: Pulling fs layer [2023-03-15T02:45:24.078Z] 4872d77fe225: Waiting [2023-03-15T02:45:24.078Z] 5851b861e8e6: Waiting [2023-03-15T02:45:24.078Z] e2be974225ed: Verifying Checksum [2023-03-15T02:45:24.078Z] e2be974225ed: Download complete [2023-03-15T02:45:24.341Z] 988bab9f4d93: Verifying Checksum [2023-03-15T02:45:24.341Z] 988bab9f4d93: Download complete [2023-03-15T02:45:24.341Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T02:45:24.341Z] 1469e6f7b9e6: Download complete [2023-03-15T02:45:24.341Z] eaf3925da568: Verifying Checksum [2023-03-15T02:45:24.341Z] eaf3925da568: Download complete [2023-03-15T02:45:24.341Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T02:45:24.341Z] 339a4e72a1f5: Download complete [2023-03-15T02:45:24.601Z] b352a97aabf1: Verifying Checksum [2023-03-15T02:45:24.601Z] b352a97aabf1: Download complete [2023-03-15T02:45:24.601Z] b85a868b505f: Verifying Checksum [2023-03-15T02:45:24.601Z] b85a868b505f: Download complete [2023-03-15T02:45:24.601Z] 4872d77fe225: Verifying Checksum [2023-03-15T02:45:24.601Z] 4872d77fe225: Download complete [2023-03-15T02:45:24.601Z] 5851b861e8e6: Download complete [2023-03-15T02:45:24.859Z] bab4dde63d76: Verifying Checksum [2023-03-15T02:45:24.859Z] bab4dde63d76: Download complete [2023-03-15T02:45:25.796Z] b85a868b505f: Pull complete [2023-03-15T02:45:26.054Z] e2be974225ed: Pull complete [2023-03-15T02:45:26.620Z] 339a4e72a1f5: Pull complete [2023-03-15T02:45:26.620Z] 988bab9f4d93: Pull complete [2023-03-15T02:45:26.878Z] 1469e6f7b9e6: Pull complete [2023-03-15T02:45:26.878Z] eaf3925da568: Pull complete [2023-03-15T02:45:28.782Z] bab4dde63d76: Pull complete [2023-03-15T02:45:28.782Z] bde34c3a00c8: Pull complete [2023-03-15T02:45:28.782Z] b352a97aabf1: Pull complete [2023-03-15T02:45:28.782Z] 4872d77fe225: Pull complete [2023-03-15T02:45:29.042Z] 5851b861e8e6: Pull complete [2023-03-15T02:45:29.042Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T02:45:29.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:45:29.042Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:45:29.163Z] prd-ubuntu20.04-docker-8c-8g-327 does not seem to be running inside a container [2023-03-15T02:45:29.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T02:45:33.665Z] $ docker top 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 -eo pid,comm [2023-03-15T02:45:33.722Z] 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-15T02:45:33.722Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T02:45:33.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:45:33.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:45:33.861Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:45:33.867Z] $ docker exec 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 ssh-agent [2023-03-15T02:45:33.978Z] SSH_AUTH_SOCK=/tmp/ssh-sjwuQJM4cPn8/agent.34 [2023-03-15T02:45:33.978Z] SSH_AGENT_PID=40 [2023-03-15T02:45:33.984Z] Running ssh-add (command line suppressed) [2023-03-15T02:45:34.105Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15458971279095155579.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15458971279095155579.key) [2023-03-15T02:45:34.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:45:34.405Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T02:45:34.427Z] $ docker exec --env ******** --env ******** 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 ssh-agent -k [2023-03-15T02:45:34.535Z] unset SSH_AUTH_SOCK; [2023-03-15T02:45:34.535Z] unset SSH_AGENT_PID; [2023-03-15T02:45:34.535Z] echo Agent pid 40 killed; [2023-03-15T02:45:34.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T02:45:34.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:45:34.570Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:45:34.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:45:34.692Z] $ docker exec 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 ssh-agent [2023-03-15T02:45:34.804Z] SSH_AUTH_SOCK=/tmp/ssh-AsZ3e53xO9Uq/agent.72 [2023-03-15T02:45:34.804Z] SSH_AGENT_PID=78 [2023-03-15T02:45:34.817Z] Running ssh-add (command line suppressed) [2023-03-15T02:45:34.924Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6430344488864031486.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6430344488864031486.key) [2023-03-15T02:45:34.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:45:35.223Z] + git semver init [2023-03-15T02:45:35.483Z] 2023-03-15 02:45:35,431 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T02:45:35.483Z] 2023-03-15 02:45:35,432 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-03-15T02:45:35.483Z] 2023-03-15 02:45:35,433 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-03-15T02:45:35.483Z] 2023-03-15 02:45:35,433 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T02:45:37.394Z] 2023-03-15 02:45:36,974 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-03-15T02:45:37.394Z] 2023-03-15 02:45:36,974 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-03-15T02:45:37.394Z] 2023-03-15 02:45:36,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-03-15T02:45:37.394Z] 2023-03-15 02:45:36,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-03-15T02:45:37.394Z] 3.0.0-dev.11 [Pipeline] } [2023-03-15T02:45:37.405Z] $ docker exec --env ******** --env ******** 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 ssh-agent -k [2023-03-15T02:45:37.501Z] unset SSH_AUTH_SOCK; [2023-03-15T02:45:37.502Z] unset SSH_AGENT_PID; [2023-03-15T02:45:37.502Z] echo Agent pid 78 killed; [2023-03-15T02:45:37.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T02:45:37.809Z] + git semver [Pipeline] } [2023-03-15T02:45:38.088Z] $ docker stop --time=1 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 [2023-03-15T02:45:39.385Z] $ docker rm -f --volumes 5aa751746c253d5a1e66477d79902b3c4848284c54ddbbaf5a2091c2a54a3c96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:45:39.715Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T02:45:39.925Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T02:45:39.929Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [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-15T02:45:40.072Z] provisioning config files... [2023-03-15T02:45:40.080Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15328435904180099409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:45:40.375Z] ---> docker-login.sh [2023-03-15T02:45:40.375Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:45:40.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:40.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:40.375Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:40.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:40.375Z] [2023-03-15T02:45:40.375Z] Login Succeeded [2023-03-15T02:45:40.375Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:45:40.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:40.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:40.375Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:40.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:40.375Z] [2023-03-15T02:45:40.375Z] Login Succeeded [2023-03-15T02:45:40.375Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:45:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:40.636Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:40.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:40.636Z] [2023-03-15T02:45:40.636Z] Login Succeeded [2023-03-15T02:45:40.636Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:45:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:40.636Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:40.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:40.636Z] [2023-03-15T02:45:40.636Z] Login Succeeded [2023-03-15T02:45:40.636Z] docker.io [2023-03-15T02:45:40.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:45:40.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:45:40.897Z] Configure a credential helper to remove this warning. See [2023-03-15T02:45:40.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:45:40.897Z] [2023-03-15T02:45:40.897Z] Login Succeeded [2023-03-15T02:45:40.897Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:45:40.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:45:40.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:45:40.991Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:45:40.998Z] ========================================================= [2023-03-15T02:45:40.998Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T02:45:40.998Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:45:41.295Z] + 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-15T02:45:41.295Z] Sending build context to Docker daemon 16MB [2023-03-15T02:45:41.295Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:45:41.295Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:45:41.868Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T02:45:41.868Z] 63b65145d645: Pulling fs layer [2023-03-15T02:45:41.868Z] a2d21d5440eb: Pulling fs layer [2023-03-15T02:45:41.868Z] 935e6c44a52c: Pulling fs layer [2023-03-15T02:45:41.868Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T02:45:41.868Z] 30dea6a524f1: Pulling fs layer [2023-03-15T02:45:41.868Z] a2aff8979fd8: Pulling fs layer [2023-03-15T02:45:41.868Z] 6808be2612f2: Pulling fs layer [2023-03-15T02:45:41.868Z] f25807f1079a: Pulling fs layer [2023-03-15T02:45:41.868Z] 94cc34f8dd06: Waiting [2023-03-15T02:45:41.868Z] 6808be2612f2: Waiting [2023-03-15T02:45:41.868Z] 30dea6a524f1: Waiting [2023-03-15T02:45:41.868Z] f25807f1079a: Waiting [2023-03-15T02:45:41.868Z] a2aff8979fd8: Waiting [2023-03-15T02:45:41.868Z] a2d21d5440eb: Download complete [2023-03-15T02:45:41.868Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T02:45:41.868Z] 94cc34f8dd06: Download complete [2023-03-15T02:45:41.868Z] 30dea6a524f1: Download complete [2023-03-15T02:45:41.868Z] 63b65145d645: Verifying Checksum [2023-03-15T02:45:41.868Z] 63b65145d645: Download complete [2023-03-15T02:45:41.868Z] a2aff8979fd8: Verifying Checksum [2023-03-15T02:45:41.868Z] a2aff8979fd8: Download complete [2023-03-15T02:45:42.442Z] 63b65145d645: Pull complete [2023-03-15T02:45:42.705Z] f25807f1079a: Download complete [2023-03-15T02:45:42.705Z] 935e6c44a52c: Verifying Checksum [2023-03-15T02:45:42.705Z] 935e6c44a52c: Download complete [2023-03-15T02:45:42.964Z] 6808be2612f2: Verifying Checksum [2023-03-15T02:45:42.964Z] 6808be2612f2: Download complete [2023-03-15T02:45:43.223Z] a2d21d5440eb: Pull complete [2023-03-15T02:45:47.423Z] 935e6c44a52c: Pull complete [2023-03-15T02:45:47.682Z] 94cc34f8dd06: Pull complete [2023-03-15T02:45:47.682Z] 30dea6a524f1: Pull complete [2023-03-15T02:45:47.682Z] a2aff8979fd8: Pull complete [2023-03-15T02:45:50.210Z] 6808be2612f2: Pull complete [2023-03-15T02:45:50.774Z] f25807f1079a: Pull complete [2023-03-15T02:45:50.774Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T02:45:50.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T02:45:50.774Z] ---> 3b553350e43f [2023-03-15T02:45:50.774Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:45:55.031Z] Still waiting to schedule task [2023-03-15T02:45:55.031Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T02:45:58.889Z] ---> Running in be67e8310ce5 [2023-03-15T02:45:58.889Z] Removing intermediate container be67e8310ce5 [2023-03-15T02:45:58.889Z] ---> 6f23e18e8832 [2023-03-15T02:45:58.889Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:45:58.889Z] ---> Running in 9f493cae7362 [2023-03-15T02:45:58.889Z] Removing intermediate container 9f493cae7362 [2023-03-15T02:45:58.889Z] ---> a9326fae98fb [2023-03-15T02:45:58.889Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-15T02:45:58.889Z] ---> Running in 24ff9e9f190b [2023-03-15T02:45:59.149Z] Removing intermediate container 24ff9e9f190b [2023-03-15T02:45:59.149Z] ---> c9694993c74e [2023-03-15T02:45:59.149Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:45:59.149Z] ---> Running in c5fda2d63410 [2023-03-15T02:45:59.149Z] Removing intermediate container c5fda2d63410 [2023-03-15T02:45:59.149Z] ---> 2ee83a349362 [2023-03-15T02:45:59.149Z] Step 7/12 : WORKDIR /device-gpio [2023-03-15T02:45:59.149Z] ---> Running in d559b9978170 [2023-03-15T02:45:59.408Z] Removing intermediate container d559b9978170 [2023-03-15T02:45:59.408Z] ---> cd14d295a663 [2023-03-15T02:45:59.408Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:45:59.408Z] ---> Running in ff5030db3eb2 [2023-03-15T02:45:59.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:45:59.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:45:59.926Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:45:59.926Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:45:59.926Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:45:59.926Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:45:59.926Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:45:59.926Z] OK: 269 MiB in 57 packages [2023-03-15T02:46:00.492Z] Removing intermediate container ff5030db3eb2 [2023-03-15T02:46:00.492Z] ---> 3423f20d3942 [2023-03-15T02:46:00.492Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:46:00.492Z] ---> 9192a0c895b3 [2023-03-15T02:46:00.492Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:46:00.750Z] ---> Running in e0b899b7472d [2023-03-15T02:46:39.541Z] Removing intermediate container e0b899b7472d [2023-03-15T02:46:39.541Z] ---> 4dd9cb51b81a [2023-03-15T02:46:39.541Z] Step 11/12 : COPY . . [2023-03-15T02:46:39.541Z] ---> 8d971772e422 [2023-03-15T02:46:39.541Z] Step 12/12 : RUN ${MAKE} [2023-03-15T02:46:39.541Z] ---> Running in eb9b45627867 [2023-03-15T02:46:39.541Z] noop [2023-03-15T02:46:39.541Z] Removing intermediate container eb9b45627867 [2023-03-15T02:46:39.541Z] ---> 94c31359fe14 [2023-03-15T02:46:39.541Z] Successfully built 94c31359fe14 [2023-03-15T02:46:39.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:46:39.849Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:46:39.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:46:39.908Z] prd-ubuntu20.04-docker-8c-8g-327 does not seem to be running inside a container [2023-03-15T02:46:39.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2023-03-15T02:46:40.290Z] $ docker top 1beec2d6a351e4ea68cf563a0ac422d0a3256dd58e0d626fb36a964ded065cc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:46:40.622Z] + go version [2023-03-15T02:46:40.622Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T02:46:40.635Z] $ docker stop --time=1 1beec2d6a351e4ea68cf563a0ac422d0a3256dd58e0d626fb36a964ded065cc9 [2023-03-15T02:46:41.898Z] $ docker rm -f --volumes 1beec2d6a351e4ea68cf563a0ac422d0a3256dd58e0d626fb36a964ded065cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:46:42.268Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:46:42.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:46:42.342Z] prd-ubuntu20.04-docker-8c-8g-327 does not seem to be running inside a container [2023-03-15T02:46:42.378Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2023-03-15T02:46:42.751Z] $ docker top 1a8b6dcaeb3451977aa3502a72c88b0c2c874fd1e6e9f843249186eb988bd007 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:46:43.092Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:46:43.389Z] + make test [2023-03-15T02:46:43.389Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:46:48.656Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-15T02:46:58.619Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-03-15T02:46:58.619Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-03-15T02:47:03.889Z] go vet ./... [2023-03-15T02:47:06.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:47:06.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:47:06.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:47:06.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:47:06.697Z] $ docker stop --time=1 1a8b6dcaeb3451977aa3502a72c88b0c2c874fd1e6e9f843249186eb988bd007 [2023-03-15T02:47:10.398Z] $ docker rm -f --volumes 1a8b6dcaeb3451977aa3502a72c88b0c2c874fd1e6e9f843249186eb988bd007 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:47:10.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:47:10.881Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T02:47:11.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:47:11.639Z] + ls -al . [2023-03-15T02:47:11.639Z] total 160 [2023-03-15T02:47:11.639Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 02:46 . [2023-03-15T02:47:11.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:45 .. [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 02:45 .dockerignore [2023-03-15T02:47:11.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:45 .git [2023-03-15T02:47:11.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:45 .github [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 02:45 .gitignore [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:45 .golangci.yml [2023-03-15T02:47:11.639Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:45 .semver [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 02:45 Attribution.txt [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 02:45 CHANGELOG.md [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 02:45 Dockerfile [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:45 GOVERNANCE.md [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 02:45 Jenkinsfile [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:45 LICENSE [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 02:45 Makefile [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 02:45 OWNERS.md [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 02:45 README.md [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:45 VERSION [2023-03-15T02:47:11.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:45 bin [2023-03-15T02:47:11.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:45 cmd [2023-03-15T02:47:11.639Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 15 02:46 coverage.out [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 02:45 go.mod [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 33120 Mar 15 02:45 go.sum [2023-03-15T02:47:11.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:45 internal [2023-03-15T02:47:11.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:45 snap [2023-03-15T02:47:11.639Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 02:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:11.975Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=58c55fcceacaa429eb258ff9b432fe1f0402d5e4 --label arch=amd64 --label version=3.0.0-dev.11 . [2023-03-15T02:47:11.975Z] Sending build context to Docker daemon 16MB [2023-03-15T02:47:11.975Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:47:11.975Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T02:47:11.975Z] ---> 94c31359fe14 [2023-03-15T02:47:11.975Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:47:12.234Z] ---> Running in 854e59ace549 [2023-03-15T02:47:12.234Z] Removing intermediate container 854e59ace549 [2023-03-15T02:47:12.234Z] ---> 481fd513ce93 [2023-03-15T02:47:12.234Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:47:12.235Z] ---> Running in 48bcfd041303 [2023-03-15T02:47:12.534Z] Removing intermediate container 48bcfd041303 [2023-03-15T02:47:12.534Z] ---> 5db7da3c7730 [2023-03-15T02:47:12.534Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-15T02:47:12.534Z] ---> Running in 678fafe444a6 [2023-03-15T02:47:12.534Z] Removing intermediate container 678fafe444a6 [2023-03-15T02:47:12.534Z] ---> 5e5c4ce6fd42 [2023-03-15T02:47:12.534Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:47:12.534Z] ---> Running in 038dbad94a2f [2023-03-15T02:47:12.534Z] Removing intermediate container 038dbad94a2f [2023-03-15T02:47:12.534Z] ---> ea4100b2cc33 [2023-03-15T02:47:12.534Z] Step 7/25 : WORKDIR /device-gpio [2023-03-15T02:47:12.818Z] ---> Running in bf9ba015ebfb [2023-03-15T02:47:12.818Z] Removing intermediate container bf9ba015ebfb [2023-03-15T02:47:12.818Z] ---> 684e52400c15 [2023-03-15T02:47:12.818Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:47:12.818Z] ---> Running in 8e4b65d4042c [2023-03-15T02:47:13.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:47:13.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:47:13.374Z] OK: 269 MiB in 57 packages [2023-03-15T02:47:13.978Z] Removing intermediate container 8e4b65d4042c [2023-03-15T02:47:13.978Z] ---> 4460b925ef34 [2023-03-15T02:47:13.978Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T02:47:13.978Z] ---> a294c1c82f86 [2023-03-15T02:47:13.978Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:47:13.978Z] ---> Running in 8cced6d50aab [2023-03-15T02:47:14.926Z] Removing intermediate container 8cced6d50aab [2023-03-15T02:47:14.926Z] ---> 56424a6c4d57 [2023-03-15T02:47:14.926Z] Step 11/25 : COPY . . [2023-03-15T02:47:15.495Z] ---> 513207fe2c56 [2023-03-15T02:47:15.495Z] Step 12/25 : RUN ${MAKE} [2023-03-15T02:47:15.495Z] ---> Running in d49aa60f3fad [2023-03-15T02:47:15.753Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-03-15T02:47:37.678Z] Removing intermediate container d49aa60f3fad [2023-03-15T02:47:37.678Z] ---> 7cf3723a1a20 [2023-03-15T02:47:37.678Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T02:47:37.678Z] 3.17: Pulling from library/alpine [2023-03-15T02:47:37.678Z] 63b65145d645: Already exists [2023-03-15T02:47:37.678Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T02:47:37.678Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T02:47:37.678Z] ---> b2aa39c304c2 [2023-03-15T02:47:37.678Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-03-15T02:47:37.678Z] ---> Running in be8c8121c351 [2023-03-15T02:47:37.678Z] Removing intermediate container be8c8121c351 [2023-03-15T02:47:37.678Z] ---> 0b4d7f2c00a2 [2023-03-15T02:47:37.678Z] Step 15/25 : RUN apk add --update --no-cache [2023-03-15T02:47:37.678Z] ---> Running in 0a866874bce2 [2023-03-15T02:47:37.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:47:37.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:47:38.198Z] OK: 7 MiB in 15 packages [2023-03-15T02:47:38.455Z] Removing intermediate container 0a866874bce2 [2023-03-15T02:47:38.455Z] ---> 33f2dd65da9c [2023-03-15T02:47:38.455Z] Step 16/25 : WORKDIR / [2023-03-15T02:47:38.455Z] ---> Running in d92c600eaddc [2023-03-15T02:47:38.713Z] Removing intermediate container d92c600eaddc [2023-03-15T02:47:38.713Z] ---> 42405bed749a [2023-03-15T02:47:38.713Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-03-15T02:47:38.713Z] ---> 11ae79353fe3 [2023-03-15T02:47:38.713Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-03-15T02:47:38.971Z] ---> 693e8541c4ab [2023-03-15T02:47:38.971Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-03-15T02:47:39.902Z] ---> 5f10b9821e1f [2023-03-15T02:47:39.902Z] Step 20/25 : EXPOSE 59910 [2023-03-15T02:47:39.902Z] ---> Running in 2ab1b51b59ea [2023-03-15T02:47:39.902Z] Removing intermediate container 2ab1b51b59ea [2023-03-15T02:47:39.902Z] ---> 2fbb76ca7d85 [2023-03-15T02:47:39.902Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-03-15T02:47:39.902Z] ---> Running in 05991f01ddae [2023-03-15T02:47:39.902Z] Removing intermediate container 05991f01ddae [2023-03-15T02:47:39.902Z] ---> 3c0d23ce0e03 [2023-03-15T02:47:39.902Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T02:47:39.902Z] ---> Running in 995f9100455a [2023-03-15T02:47:39.902Z] Removing intermediate container 995f9100455a [2023-03-15T02:47:39.902Z] ---> 7dc9b821b3c2 [2023-03-15T02:47:39.902Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T02:47:40.162Z] ---> Running in 4511767418f9 [2023-03-15T02:47:40.162Z] Removing intermediate container 4511767418f9 [2023-03-15T02:47:40.162Z] ---> df4d0a7a80c6 [2023-03-15T02:47:40.162Z] Step 24/25 : LABEL git_sha=58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:47:40.162Z] ---> Running in 325c52ab0856 [2023-03-15T02:47:40.162Z] Removing intermediate container 325c52ab0856 [2023-03-15T02:47:40.162Z] ---> e31623d89054 [2023-03-15T02:47:40.162Z] Step 25/25 : LABEL version=3.0.0-dev.11 [2023-03-15T02:47:40.162Z] ---> Running in 1719a2f1604f [2023-03-15T02:47:40.421Z] Removing intermediate container 1719a2f1604f [2023-03-15T02:47:40.421Z] ---> 49c130115ef9 [2023-03-15T02:47:40.421Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:47:40.421Z] Successfully built 49c130115ef9 [2023-03-15T02:47:40.421Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:47:40.517Z] provisioning config files... [2023-03-15T02:47:40.528Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1500227263273497794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:47:40.826Z] ---> docker-login.sh [2023-03-15T02:47:40.826Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:47:40.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:47:40.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:47:40.826Z] Configure a credential helper to remove this warning. See [2023-03-15T02:47:40.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:47:40.826Z] [2023-03-15T02:47:40.826Z] Login Succeeded [2023-03-15T02:47:40.826Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:47:40.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:47:40.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:47:40.826Z] Configure a credential helper to remove this warning. See [2023-03-15T02:47:40.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:47:40.826Z] [2023-03-15T02:47:40.826Z] Login Succeeded [2023-03-15T02:47:40.826Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:47:41.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:47:41.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:47:41.085Z] Configure a credential helper to remove this warning. See [2023-03-15T02:47:41.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:47:41.085Z] [2023-03-15T02:47:41.085Z] Login Succeeded [2023-03-15T02:47:41.085Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:47:41.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:47:41.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:47:41.085Z] Configure a credential helper to remove this warning. See [2023-03-15T02:47:41.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:47:41.085Z] [2023-03-15T02:47:41.085Z] Login Succeeded [2023-03-15T02:47:41.085Z] docker.io [2023-03-15T02:47:41.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:47:41.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:47:41.344Z] Configure a credential helper to remove this warning. See [2023-03-15T02:47:41.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:47:41.344Z] [2023-03-15T02:47:41.344Z] Login Succeeded [2023-03-15T02:47:41.344Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:47:41.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:47:41.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:47:41.387Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-03-15T02:47:41.387Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:47:41.387Z] latest [2023-03-15T02:47:41.387Z] 3.0.0-dev.11 [2023-03-15T02:47:41.387Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [2023-03-15T02:47:41.387Z] main [2023-03-15T02:47:41.387Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:41.687Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:41.990Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:47:41.990Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-03-15T02:47:41.990Z] 3350561c8f79: Preparing [2023-03-15T02:47:41.990Z] ffa77cca1874: Preparing [2023-03-15T02:47:41.990Z] 128eb294e84d: Preparing [2023-03-15T02:47:41.990Z] 08af67ef6ca4: Preparing [2023-03-15T02:47:41.990Z] 7cd52847ad77: Preparing [2023-03-15T02:47:41.990Z] 7cd52847ad77: Layer already exists [2023-03-15T02:47:41.990Z] 128eb294e84d: Pushed [2023-03-15T02:47:41.990Z] 08af67ef6ca4: Pushed [2023-03-15T02:47:41.990Z] ffa77cca1874: Pushed [2023-03-15T02:47:44.525Z] 3350561c8f79: Pushed [2023-03-15T02:47:44.525Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4: digest: sha256:cd1303fb639a1cdb92149c5be41c3144f6681b826c2281481d957b8e0569ad57 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:44.835Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:45.132Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-03-15T02:47:45.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-03-15T02:47:45.132Z] 3350561c8f79: Preparing [2023-03-15T02:47:45.132Z] ffa77cca1874: Preparing [2023-03-15T02:47:45.132Z] 128eb294e84d: Preparing [2023-03-15T02:47:45.132Z] 08af67ef6ca4: Preparing [2023-03-15T02:47:45.132Z] 7cd52847ad77: Preparing [2023-03-15T02:47:45.132Z] 7cd52847ad77: Layer already exists [2023-03-15T02:47:45.132Z] ffa77cca1874: Layer already exists [2023-03-15T02:47:45.132Z] 128eb294e84d: Layer already exists [2023-03-15T02:47:45.132Z] 3350561c8f79: Layer already exists [2023-03-15T02:47:45.132Z] 08af67ef6ca4: Layer already exists [2023-03-15T02:47:46.071Z] latest: digest: sha256:cd1303fb639a1cdb92149c5be41c3144f6681b826c2281481d957b8e0569ad57 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:46.385Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:46.688Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.11 [2023-03-15T02:47:46.688Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-03-15T02:47:46.688Z] 3350561c8f79: Preparing [2023-03-15T02:47:46.688Z] ffa77cca1874: Preparing [2023-03-15T02:47:46.688Z] 128eb294e84d: Preparing [2023-03-15T02:47:46.688Z] 08af67ef6ca4: Preparing [2023-03-15T02:47:46.688Z] 7cd52847ad77: Preparing [2023-03-15T02:47:46.688Z] 128eb294e84d: Layer already exists [2023-03-15T02:47:46.688Z] 3350561c8f79: Layer already exists [2023-03-15T02:47:46.688Z] 08af67ef6ca4: Layer already exists [2023-03-15T02:47:46.688Z] 7cd52847ad77: Layer already exists [2023-03-15T02:47:46.688Z] ffa77cca1874: Layer already exists [2023-03-15T02:47:46.688Z] 3.0.0-dev.11: digest: sha256:cd1303fb639a1cdb92149c5be41c3144f6681b826c2281481d957b8e0569ad57 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:46.996Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:47.299Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [2023-03-15T02:47:47.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-03-15T02:47:47.299Z] 3350561c8f79: Preparing [2023-03-15T02:47:47.299Z] ffa77cca1874: Preparing [2023-03-15T02:47:47.299Z] 128eb294e84d: Preparing [2023-03-15T02:47:47.299Z] 08af67ef6ca4: Preparing [2023-03-15T02:47:47.299Z] 7cd52847ad77: Preparing [2023-03-15T02:47:47.299Z] 7cd52847ad77: Layer already exists [2023-03-15T02:47:47.299Z] 08af67ef6ca4: Layer already exists [2023-03-15T02:47:47.299Z] ffa77cca1874: Layer already exists [2023-03-15T02:47:47.299Z] 3350561c8f79: Layer already exists [2023-03-15T02:47:47.299Z] 128eb294e84d: Layer already exists [2023-03-15T02:47:47.299Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11: digest: sha256:cd1303fb639a1cdb92149c5be41c3144f6681b826c2281481d957b8e0569ad57 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:47.615Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:47.924Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-03-15T02:47:47.924Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-03-15T02:47:47.924Z] 3350561c8f79: Preparing [2023-03-15T02:47:47.924Z] ffa77cca1874: Preparing [2023-03-15T02:47:47.924Z] 128eb294e84d: Preparing [2023-03-15T02:47:47.924Z] 08af67ef6ca4: Preparing [2023-03-15T02:47:47.924Z] 7cd52847ad77: Preparing [2023-03-15T02:47:47.924Z] 08af67ef6ca4: Layer already exists [2023-03-15T02:47:47.924Z] 3350561c8f79: Layer already exists [2023-03-15T02:47:47.924Z] ffa77cca1874: Layer already exists [2023-03-15T02:47:47.924Z] 7cd52847ad77: Layer already exists [2023-03-15T02:47:47.924Z] 128eb294e84d: Layer already exists [2023-03-15T02:47:47.924Z] main: digest: sha256:cd1303fb639a1cdb92149c5be41c3144f6681b826c2281481d957b8e0569ad57 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:47:47.970Z] ===================================================== [Pipeline] echo [2023-03-15T02:47:47.978Z] taggedImages: [2023-03-15T02:47:47.978Z] - nexus3.edgexfoundry.org:10004/device-gpio:58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:47:47.978Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-03-15T02:47:47.978Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.11 [2023-03-15T02:47:47.978Z] - nexus3.edgexfoundry.org:10004/device-gpio:58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [2023-03-15T02:47:47.978Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:48.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:47:48.347Z] [2023-03-15T02:47:48.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:48.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:47:48.716Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T02:47:48.716Z] 5eb5b503b376: Pulling fs layer [2023-03-15T02:47:48.716Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T02:47:48.716Z] ec43610c2a17: Pulling fs layer [2023-03-15T02:47:48.716Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T02:47:48.716Z] 33b1e0a273af: Pulling fs layer [2023-03-15T02:47:48.716Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T02:47:48.716Z] 2f39f015ded8: Pulling fs layer [2023-03-15T02:47:48.716Z] 3a2ae6a8a46f: Waiting [2023-03-15T02:47:48.716Z] 33b1e0a273af: Waiting [2023-03-15T02:47:48.716Z] 2f39f015ded8: Waiting [2023-03-15T02:47:48.716Z] 5d3b04190fa2: Waiting [2023-03-15T02:47:48.716Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T02:47:48.716Z] 5c69ac0246d0: Download complete [2023-03-15T02:47:48.716Z] 3a2ae6a8a46f: Download complete [2023-03-15T02:47:48.974Z] 33b1e0a273af: Download complete [2023-03-15T02:47:48.974Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T02:47:48.974Z] 5d3b04190fa2: Download complete [2023-03-15T02:47:48.974Z] ec43610c2a17: Verifying Checksum [2023-03-15T02:47:48.974Z] ec43610c2a17: Download complete [2023-03-15T02:47:48.974Z] 5eb5b503b376: Download complete [2023-03-15T02:47:49.540Z] 2f39f015ded8: Download complete [2023-03-15T02:47:50.107Z] 5eb5b503b376: Pull complete [2023-03-15T02:47:50.364Z] 5c69ac0246d0: Pull complete [2023-03-15T02:47:50.622Z] ec43610c2a17: Pull complete [2023-03-15T02:47:50.622Z] 3a2ae6a8a46f: Pull complete [2023-03-15T02:47:50.881Z] 33b1e0a273af: Pull complete [2023-03-15T02:47:51.140Z] 5d3b04190fa2: Pull complete [2023-03-15T02:47:55.326Z] 2f39f015ded8: Pull complete [2023-03-15T02:47:55.326Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T02:47:55.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:47:55.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:47:55.405Z] prd-ubuntu20.04-docker-8c-8g-327 does not seem to be running inside a container [2023-03-15T02:47:55.439Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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-lftools-log-publisher:latest cat [2023-03-15T02:48:01.760Z] $ docker top 26675d2aefcb7c557aef603e6b05a75fb7474ffb62714ca94c8e23d65409e395 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:48:02.136Z] ---> job-cost.sh [2023-03-15T02:48:02.137Z] lf-activate-venv: SKIPPING [2023-03-15T02:48:02.137Z] INFO: No Stack... [2023-03-15T02:48:02.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:48:02.963Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:48:03.250Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv+ [2023-03-15T02:48:03.250Z] cut -d, -f6 [Pipeline] lock [2023-03-15T02:48:03.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] [2023-03-15T02:48:03.275Z] Resource [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] did not exist. Created. [2023-03-15T02:48:03.275Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:48:03.571Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T02:48:03.603Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:48:03.610Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:48:03.626Z] $ docker stop --time=1 26675d2aefcb7c557aef603e6b05a75fb7474ffb62714ca94c8e23d65409e395 [2023-03-15T02:48:04.783Z] $ docker rm -f --volumes 26675d2aefcb7c557aef603e6b05a75fb7474ffb62714ca94c8e23d65409e395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T02:48:55.780Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-331 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-03-15T02:48:55.793Z] Running in /w/workspace/device-gpio/63 [Pipeline] { [Pipeline] checkout [2023-03-15T02:48:55.832Z] The recommended git tool is: git [2023-03-15T02:49:01.674Z] using credential edgex-jenkins-ssh [2023-03-15T02:49:01.693Z] Cloning the remote Git repository [2023-03-15T02:49:01.752Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-15T02:49:01.877Z] > git init /w/workspace/device-gpio/63 # timeout=10 [2023-03-15T02:49:02.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-15T02:49:02.076Z] > git --version # timeout=10 [2023-03-15T02:49:02.107Z] > git --version # 'git version 2.25.1' [2023-03-15T02:49:02.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:49:02.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:49:07.172Z] Avoid second fetch [2023-03-15T02:49:07.172Z] Checking out Revision 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (main) [2023-03-15T02:49:06.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-15T02:49:06.134Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:49:07.198Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:49:07.271Z] > git checkout -f 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 [2023-03-15T02:49:07.832Z] Commit message: "Merge pull request #127 from lenny-intel/go-1.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:49:08.667Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T02:49:08.667Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:49:08.667Z] Dload Upload Total Spent Left Speed [2023-03-15T02:49:08.667Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-03-15T02:49:09.318Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T02:49:09.666Z] + sudo tee /etc/docker/daemon.new [2023-03-15T02:49:09.666Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T02:49:09.666Z] { [2023-03-15T02:49:09.666Z] "registry-mirrors": [ [2023-03-15T02:49:09.666Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T02:49:09.666Z] ], [2023-03-15T02:49:09.666Z] "bip": "10.250.0.254/24", [2023-03-15T02:49:09.666Z] "hosts": [ [2023-03-15T02:49:09.666Z] "tcp://0.0.0.0:5555", [2023-03-15T02:49:09.666Z] "unix:///var/run/docker.sock" [2023-03-15T02:49:09.666Z] ], [2023-03-15T02:49:09.666Z] "mtu": 1458, [2023-03-15T02:49:09.666Z] "selinux-enabled": true, [2023-03-15T02:49:09.666Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T02:49:09.666Z] } [Pipeline] sh [2023-03-15T02:49:10.011Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T02:49:10.370Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:49:28.680Z] provisioning config files... [2023-03-15T02:49:28.713Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/63@tmp/config778169671917091001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:49:29.102Z] ---> docker-login.sh [2023-03-15T02:49:29.102Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:49:29.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:49:29.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:49:29.688Z] Configure a credential helper to remove this warning. See [2023-03-15T02:49:29.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:49:29.688Z] [2023-03-15T02:49:29.688Z] Login Succeeded [2023-03-15T02:49:29.688Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:49:29.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:49:30.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:49:30.227Z] Configure a credential helper to remove this warning. See [2023-03-15T02:49:30.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:49:30.227Z] [2023-03-15T02:49:30.227Z] Login Succeeded [2023-03-15T02:49:30.227Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:49:30.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:49:30.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:49:30.496Z] Configure a credential helper to remove this warning. See [2023-03-15T02:49:30.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:49:30.496Z] [2023-03-15T02:49:30.496Z] Login Succeeded [2023-03-15T02:49:30.496Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:49:30.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:49:30.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:49:30.766Z] Configure a credential helper to remove this warning. See [2023-03-15T02:49:30.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:49:30.766Z] [2023-03-15T02:49:30.766Z] Login Succeeded [2023-03-15T02:49:30.766Z] docker.io [2023-03-15T02:49:31.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:49:31.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:49:31.302Z] Configure a credential helper to remove this warning. See [2023-03-15T02:49:31.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:49:31.302Z] [2023-03-15T02:49:31.302Z] Login Succeeded [2023-03-15T02:49:31.302Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:49:31.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:49:31.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:49:31.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:49:31.607Z] ========================================================= [2023-03-15T02:49:31.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T02:49:31.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:49:31.950Z] + 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-15T02:49:32.219Z] Sending build context to Docker daemon 8.082MB [2023-03-15T02:49:32.219Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:49:32.219Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:49:32.812Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T02:49:32.812Z] af6eaf76a39c: Pulling fs layer [2023-03-15T02:49:32.812Z] 55522c791124: Pulling fs layer [2023-03-15T02:49:32.812Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T02:49:32.812Z] 169dfbe0d373: Pulling fs layer [2023-03-15T02:49:32.812Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T02:49:32.812Z] 169dfbe0d373: Waiting [2023-03-15T02:49:32.812Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T02:49:32.812Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T02:49:32.812Z] e1ff8fa3b103: Waiting [2023-03-15T02:49:32.812Z] 52ebb69f0ebf: Waiting [2023-03-15T02:49:32.812Z] 55522c791124: Verifying Checksum [2023-03-15T02:49:32.812Z] 55522c791124: Download complete [2023-03-15T02:49:32.812Z] 169dfbe0d373: Verifying Checksum [2023-03-15T02:49:32.812Z] 169dfbe0d373: Download complete [2023-03-15T02:49:32.812Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T02:49:32.812Z] e1ff8fa3b103: Download complete [2023-03-15T02:49:32.812Z] af6eaf76a39c: Verifying Checksum [2023-03-15T02:49:33.788Z] af6eaf76a39c: Pull complete [2023-03-15T02:49:33.788Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T02:49:33.788Z] 5abe8eddf0d5: Download complete [2023-03-15T02:49:34.388Z] 55522c791124: Pull complete [2023-03-15T02:49:35.364Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T02:49:35.364Z] 52ebb69f0ebf: Download complete [2023-03-15T02:49:35.364Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T02:49:35.364Z] ce5c4a1c91eb: Download complete [2023-03-15T02:49:47.698Z] ce5c4a1c91eb: Pull complete [2023-03-15T02:49:47.698Z] 169dfbe0d373: Pull complete [2023-03-15T02:49:47.698Z] e1ff8fa3b103: Pull complete [2023-03-15T02:49:53.045Z] 52ebb69f0ebf: Pull complete [2023-03-15T02:49:54.477Z] 5abe8eddf0d5: Pull complete [2023-03-15T02:49:54.477Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T02:49:54.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T02:49:54.477Z] ---> 6cb57ee374ae [2023-03-15T02:49:54.477Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:49:56.453Z] ---> Running in 3c00de9d4ecf [2023-03-15T02:49:56.453Z] Removing intermediate container 3c00de9d4ecf [2023-03-15T02:49:56.453Z] ---> 956a7fe88c48 [2023-03-15T02:49:56.453Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:49:56.724Z] ---> Running in e00093930087 [2023-03-15T02:49:56.993Z] Removing intermediate container e00093930087 [2023-03-15T02:49:56.993Z] ---> dd5f46fd00e0 [2023-03-15T02:49:56.993Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-15T02:49:56.993Z] ---> Running in 065ce8354a04 [2023-03-15T02:49:57.262Z] Removing intermediate container 065ce8354a04 [2023-03-15T02:49:57.262Z] ---> 829a02ee88ef [2023-03-15T02:49:57.262Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:49:57.262Z] ---> Running in f3b7044cea6e [2023-03-15T02:49:57.849Z] Removing intermediate container f3b7044cea6e [2023-03-15T02:49:57.849Z] ---> c21a03f97cd2 [2023-03-15T02:49:57.849Z] Step 7/12 : WORKDIR /device-gpio [2023-03-15T02:49:57.849Z] ---> Running in abbf52546589 [2023-03-15T02:49:58.118Z] Removing intermediate container abbf52546589 [2023-03-15T02:49:58.118Z] ---> de14e8e78c23 [2023-03-15T02:49:58.118Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:49:58.118Z] ---> Running in af08c975b884 [2023-03-15T02:49:59.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:49:59.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:50:01.296Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:50:01.296Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:50:01.296Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:50:01.296Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:50:01.296Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:50:01.296Z] OK: 268 MiB in 57 packages [2023-03-15T02:50:02.290Z] Removing intermediate container af08c975b884 [2023-03-15T02:50:02.290Z] ---> 65915ad7d9bd [2023-03-15T02:50:02.290Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:50:02.882Z] ---> b27e1d82d037 [2023-03-15T02:50:02.882Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:50:02.882Z] ---> Running in e48b593176b3 [2023-03-15T02:51:10.825Z] Removing intermediate container e48b593176b3 [2023-03-15T02:51:10.825Z] ---> 924b83d9db37 [2023-03-15T02:51:10.825Z] Step 11/12 : COPY . . [2023-03-15T02:51:10.825Z] ---> 5c6e6f14f095 [2023-03-15T02:51:10.825Z] Step 12/12 : RUN ${MAKE} [2023-03-15T02:51:10.825Z] ---> Running in 5cb397f8c11a [2023-03-15T02:51:10.825Z] noop [2023-03-15T02:51:10.825Z] Removing intermediate container 5cb397f8c11a [2023-03-15T02:51:10.825Z] ---> d8ae3acdb371 [2023-03-15T02:51:10.825Z] Successfully built d8ae3acdb371 [2023-03-15T02:51:10.825Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:51:11.186Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:51:11.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:51:11.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-331 does not seem to be running inside a container [2023-03-15T02:51:11.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/63 -v /w/workspace/device-gpio/63:/w/workspace/device-gpio/63:rw,z -v /w/workspace/device-gpio/63@tmp:/w/workspace/device-gpio/63@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 ******** ci-base-image-arm64 cat [2023-03-15T02:51:12.752Z] $ docker top de7bf714608835f8d34839726962ddc23c8a445f72b00d786133c00b5fe64958 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:51:13.608Z] + go version [2023-03-15T02:51:13.608Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T02:51:13.632Z] $ docker stop --time=1 de7bf714608835f8d34839726962ddc23c8a445f72b00d786133c00b5fe64958 [2023-03-15T02:51:15.277Z] $ docker rm -f --volumes de7bf714608835f8d34839726962ddc23c8a445f72b00d786133c00b5fe64958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:51:15.796Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:51:15.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:51:15.981Z] prd-ubuntu20.04-docker-arm64-4c-16g-331 does not seem to be running inside a container [2023-03-15T02:51:16.057Z] $ 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/63 -v /w/workspace/device-gpio/63:/w/workspace/device-gpio/63:rw,z -v /w/workspace/device-gpio/63@tmp:/w/workspace/device-gpio/63@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 ******** ci-base-image-arm64 cat [2023-03-15T02:51:18.032Z] $ docker top c1c7f1477741ef4e2cc9f67c608e7ec8dd9571f72fbdde56100e14ab537a6707 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:51:18.527Z] + git config --global --add safe.directory /w/workspace/device-gpio/63 [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:51:18.852Z] + make test [2023-03-15T02:51:18.852Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:51:57.745Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-15T02:54:04.467Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-03-15T02:54:04.467Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-03-15T02:54:04.467Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T02:54:04.467Z] go vet ./... [2023-03-15T02:54:43.425Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:54:43.425Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:54:43.425Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:54:43.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:54:43.457Z] $ docker stop --time=1 c1c7f1477741ef4e2cc9f67c608e7ec8dd9571f72fbdde56100e14ab537a6707 [2023-03-15T02:54:46.017Z] $ docker rm -f --volumes c1c7f1477741ef4e2cc9f67c608e7ec8dd9571f72fbdde56100e14ab537a6707 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:54:47.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:54:47.278Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T02:54:47.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:54:48.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:54:48.500Z] + ls -al . [2023-03-15T02:54:48.500Z] total 156 [2023-03-15T02:54:48.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:51 . [2023-03-15T02:54:48.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:49 .. [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 120 Mar 15 02:49 .dockerignore [2023-03-15T02:54:48.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:49 .git [2023-03-15T02:54:48.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:49 .github [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 343 Mar 15 02:49 .gitignore [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:49 .golangci.yml [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 9805 Mar 15 02:49 Attribution.txt [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 4069 Mar 15 02:49 CHANGELOG.md [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 1542 Mar 15 02:49 Dockerfile [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:49 GOVERNANCE.md [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 15 02:49 Jenkinsfile [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:49 LICENSE [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 1692 Mar 15 02:49 Makefile [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 02:49 OWNERS.md [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 11842 Mar 15 02:49 README.md [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:45 VERSION [2023-03-15T02:54:48.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:49 bin [2023-03-15T02:54:48.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:49 cmd [2023-03-15T02:54:48.500Z] -rw-r--r-- 1 jenkins jenkins 10 Mar 15 02:51 coverage.out [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 3312 Mar 15 02:49 go.mod [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 33120 Mar 15 02:49 go.sum [2023-03-15T02:54:48.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:49 internal [2023-03-15T02:54:48.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:49 snap [2023-03-15T02:54:48.500Z] -rw-rw-r-- 1 jenkins jenkins 209 Mar 15 02:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:54:48.854Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=58c55fcceacaa429eb258ff9b432fe1f0402d5e4 --label arch=arm64 --label version=3.0.0-dev.11 . [2023-03-15T02:54:49.127Z] Sending build context to Docker daemon 8.083MB [2023-03-15T02:54:49.398Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:54:49.398Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T02:54:49.398Z] ---> d8ae3acdb371 [2023-03-15T02:54:49.398Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:54:49.398Z] ---> Running in 491900259bd7 [2023-03-15T02:54:49.669Z] Removing intermediate container 491900259bd7 [2023-03-15T02:54:49.669Z] ---> b98edd493df3 [2023-03-15T02:54:49.669Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:54:49.943Z] ---> Running in f766462a1a2b [2023-03-15T02:54:50.212Z] Removing intermediate container f766462a1a2b [2023-03-15T02:54:50.212Z] ---> f0e4904c7c2a [2023-03-15T02:54:50.212Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-15T02:54:50.212Z] ---> Running in 25d1e209ee7d [2023-03-15T02:54:50.483Z] Removing intermediate container 25d1e209ee7d [2023-03-15T02:54:50.483Z] ---> 85a05ecc2ad3 [2023-03-15T02:54:50.483Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:54:50.483Z] ---> Running in 66c507341728 [2023-03-15T02:54:51.068Z] Removing intermediate container 66c507341728 [2023-03-15T02:54:51.068Z] ---> b8d7bf63ba1e [2023-03-15T02:54:51.068Z] Step 7/25 : WORKDIR /device-gpio [2023-03-15T02:54:51.068Z] ---> Running in c02b0ca50a63 [2023-03-15T02:54:51.336Z] Removing intermediate container c02b0ca50a63 [2023-03-15T02:54:51.336Z] ---> acd349c982e4 [2023-03-15T02:54:51.336Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:54:51.336Z] ---> Running in eedd6c5831e4 [2023-03-15T02:54:52.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:54:52.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:54:54.302Z] OK: 268 MiB in 57 packages [2023-03-15T02:54:55.263Z] Removing intermediate container eedd6c5831e4 [2023-03-15T02:54:55.263Z] ---> 2cbf0bb71516 [2023-03-15T02:54:55.263Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T02:54:55.531Z] ---> e4fbf3860fcb [2023-03-15T02:54:55.531Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:54:55.531Z] ---> Running in 24d5ea3f11cb [2023-03-15T02:54:59.787Z] Removing intermediate container 24d5ea3f11cb [2023-03-15T02:54:59.787Z] ---> 83f98d9e0f00 [2023-03-15T02:54:59.787Z] Step 11/25 : COPY . . [2023-03-15T02:55:00.375Z] ---> a1a17e7a04fe [2023-03-15T02:55:00.375Z] Step 12/25 : RUN ${MAKE} [2023-03-15T02:55:00.375Z] ---> Running in 5a6ab5ea9f81 [2023-03-15T02:55:01.344Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-03-15T02:57:38.266Z] Removing intermediate container 5a6ab5ea9f81 [2023-03-15T02:57:38.266Z] ---> 42b909a43594 [2023-03-15T02:57:38.266Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T02:57:38.266Z] 3.17: Pulling from library/alpine [2023-03-15T02:57:38.266Z] af6eaf76a39c: Already exists [2023-03-15T02:57:38.266Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T02:57:38.266Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T02:57:38.266Z] ---> d74e625d9115 [2023-03-15T02:57:38.266Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-03-15T02:57:38.266Z] ---> Running in 0ada6493211c [2023-03-15T02:57:38.266Z] Removing intermediate container 0ada6493211c [2023-03-15T02:57:38.266Z] ---> e7c3aae63644 [2023-03-15T02:57:38.266Z] Step 15/25 : RUN apk add --update --no-cache [2023-03-15T02:57:38.266Z] ---> Running in 462119bd4ab6 [2023-03-15T02:57:38.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:57:38.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:57:38.266Z] OK: 7 MiB in 15 packages [2023-03-15T02:57:38.266Z] Removing intermediate container 462119bd4ab6 [2023-03-15T02:57:38.266Z] ---> aa7c6dde82fc [2023-03-15T02:57:38.266Z] Step 16/25 : WORKDIR / [2023-03-15T02:57:38.266Z] ---> Running in a145532c442e [2023-03-15T02:57:38.266Z] Removing intermediate container a145532c442e [2023-03-15T02:57:38.266Z] ---> 5cd573dd1697 [2023-03-15T02:57:38.266Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-03-15T02:57:38.266Z] ---> f874f8d81606 [2023-03-15T02:57:38.266Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-03-15T02:57:38.266Z] ---> 77eb8718d7b5 [2023-03-15T02:57:38.266Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-03-15T02:57:38.266Z] ---> fe98d3fea888 [2023-03-15T02:57:38.266Z] Step 20/25 : EXPOSE 59910 [2023-03-15T02:57:38.266Z] ---> Running in 758df9db9ed2 [2023-03-15T02:57:38.266Z] Removing intermediate container 758df9db9ed2 [2023-03-15T02:57:38.266Z] ---> e8316eccca35 [2023-03-15T02:57:38.266Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-03-15T02:57:38.266Z] ---> Running in 14a6c3fc1c9f [2023-03-15T02:57:38.266Z] Removing intermediate container 14a6c3fc1c9f [2023-03-15T02:57:38.266Z] ---> fbab1d55937b [2023-03-15T02:57:38.266Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T02:57:38.266Z] ---> Running in 40f103040c78 [2023-03-15T02:57:38.266Z] Removing intermediate container 40f103040c78 [2023-03-15T02:57:38.266Z] ---> 323f6dd708f3 [2023-03-15T02:57:38.266Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T02:57:38.266Z] ---> Running in 8d82fa97fe99 [2023-03-15T02:57:38.266Z] Removing intermediate container 8d82fa97fe99 [2023-03-15T02:57:38.266Z] ---> 81a1bbffe166 [2023-03-15T02:57:38.266Z] Step 24/25 : LABEL git_sha=58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:57:38.266Z] ---> Running in ac5662e55ae5 [2023-03-15T02:57:38.266Z] Removing intermediate container ac5662e55ae5 [2023-03-15T02:57:38.266Z] ---> f15030d2c06f [2023-03-15T02:57:38.266Z] Step 25/25 : LABEL version=3.0.0-dev.11 [2023-03-15T02:57:38.266Z] ---> Running in 6e251076e21c [2023-03-15T02:57:38.266Z] Removing intermediate container 6e251076e21c [2023-03-15T02:57:38.266Z] ---> b6583c5379c8 [2023-03-15T02:57:38.266Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:57:38.266Z] Successfully built b6583c5379c8 [2023-03-15T02:57:38.266Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:57:38.373Z] provisioning config files... [2023-03-15T02:57:38.392Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/63@tmp/config15592315093343759683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:57:38.728Z] ---> docker-login.sh [2023-03-15T02:57:38.728Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:57:38.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:38.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:38.997Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:38.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:38.997Z] [2023-03-15T02:57:38.997Z] Login Succeeded [2023-03-15T02:57:38.997Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:57:39.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:39.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:39.534Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:39.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:39.534Z] [2023-03-15T02:57:39.534Z] Login Succeeded [2023-03-15T02:57:39.534Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:57:39.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:39.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:39.801Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:39.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:39.801Z] [2023-03-15T02:57:39.801Z] Login Succeeded [2023-03-15T02:57:39.801Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:57:40.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:40.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:40.334Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:40.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:40.334Z] [2023-03-15T02:57:40.334Z] Login Succeeded [2023-03-15T02:57:40.334Z] docker.io [2023-03-15T02:57:40.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:57:40.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:57:40.867Z] Configure a credential helper to remove this warning. See [2023-03-15T02:57:40.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:57:40.867Z] [2023-03-15T02:57:40.867Z] Login Succeeded [2023-03-15T02:57:40.867Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:57:40.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:57:40.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:57:40.927Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-03-15T02:57:40.927Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:57:40.927Z] latest [2023-03-15T02:57:40.927Z] 3.0.0-dev.11 [2023-03-15T02:57:40.927Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [2023-03-15T02:57:40.927Z] main [2023-03-15T02:57:40.927Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:41.271Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:41.619Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:57:41.619Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-03-15T02:57:41.619Z] e9f052eaa36f: Preparing [2023-03-15T02:57:41.619Z] 68f930662050: Preparing [2023-03-15T02:57:41.619Z] 00aa63e497a6: Preparing [2023-03-15T02:57:41.619Z] aa07a19a609a: Preparing [2023-03-15T02:57:41.619Z] edf70074bd40: Preparing [2023-03-15T02:57:41.619Z] edf70074bd40: Layer already exists [2023-03-15T02:57:41.887Z] aa07a19a609a: Pushed [2023-03-15T02:57:41.887Z] 00aa63e497a6: Pushed [2023-03-15T02:57:41.887Z] 68f930662050: Pushed [2023-03-15T02:57:48.534Z] e9f052eaa36f: Pushed [2023-03-15T02:57:48.534Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4: digest: sha256:f8faf39110030b12d73959ab8063886c9b1f986a50c724c2de265241d4e9a312 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:48.881Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:49.223Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-03-15T02:57:49.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-03-15T02:57:49.223Z] e9f052eaa36f: Preparing [2023-03-15T02:57:49.223Z] 68f930662050: Preparing [2023-03-15T02:57:49.223Z] 00aa63e497a6: Preparing [2023-03-15T02:57:49.223Z] aa07a19a609a: Preparing [2023-03-15T02:57:49.223Z] edf70074bd40: Preparing [2023-03-15T02:57:49.223Z] edf70074bd40: Layer already exists [2023-03-15T02:57:49.223Z] aa07a19a609a: Layer already exists [2023-03-15T02:57:49.223Z] 00aa63e497a6: Layer already exists [2023-03-15T02:57:49.223Z] 68f930662050: Layer already exists [2023-03-15T02:57:49.223Z] e9f052eaa36f: Layer already exists [2023-03-15T02:57:49.490Z] latest: digest: sha256:f8faf39110030b12d73959ab8063886c9b1f986a50c724c2de265241d4e9a312 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:49.851Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:50.195Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.11 [2023-03-15T02:57:50.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-03-15T02:57:50.195Z] e9f052eaa36f: Preparing [2023-03-15T02:57:50.195Z] 68f930662050: Preparing [2023-03-15T02:57:50.195Z] 00aa63e497a6: Preparing [2023-03-15T02:57:50.195Z] aa07a19a609a: Preparing [2023-03-15T02:57:50.195Z] edf70074bd40: Preparing [2023-03-15T02:57:50.195Z] e9f052eaa36f: Layer already exists [2023-03-15T02:57:50.195Z] 68f930662050: Layer already exists [2023-03-15T02:57:50.195Z] aa07a19a609a: Layer already exists [2023-03-15T02:57:50.195Z] edf70074bd40: Layer already exists [2023-03-15T02:57:50.195Z] 00aa63e497a6: Layer already exists [2023-03-15T02:57:50.195Z] 3.0.0-dev.11: digest: sha256:f8faf39110030b12d73959ab8063886c9b1f986a50c724c2de265241d4e9a312 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:50.818Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:51.158Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [2023-03-15T02:57:51.159Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-03-15T02:57:51.159Z] e9f052eaa36f: Preparing [2023-03-15T02:57:51.159Z] 68f930662050: Preparing [2023-03-15T02:57:51.159Z] 00aa63e497a6: Preparing [2023-03-15T02:57:51.159Z] aa07a19a609a: Preparing [2023-03-15T02:57:51.159Z] edf70074bd40: Preparing [2023-03-15T02:57:51.159Z] e9f052eaa36f: Layer already exists [2023-03-15T02:57:51.159Z] 00aa63e497a6: Layer already exists [2023-03-15T02:57:51.159Z] aa07a19a609a: Layer already exists [2023-03-15T02:57:51.159Z] edf70074bd40: Layer already exists [2023-03-15T02:57:51.159Z] 68f930662050: Layer already exists [2023-03-15T02:57:51.159Z] 58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11: digest: sha256:f8faf39110030b12d73959ab8063886c9b1f986a50c724c2de265241d4e9a312 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:51.498Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:51.844Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-03-15T02:57:51.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-03-15T02:57:51.844Z] e9f052eaa36f: Preparing [2023-03-15T02:57:51.844Z] 68f930662050: Preparing [2023-03-15T02:57:51.844Z] 00aa63e497a6: Preparing [2023-03-15T02:57:51.844Z] aa07a19a609a: Preparing [2023-03-15T02:57:51.844Z] edf70074bd40: Preparing [2023-03-15T02:57:51.844Z] edf70074bd40: Layer already exists [2023-03-15T02:57:51.844Z] 00aa63e497a6: Layer already exists [2023-03-15T02:57:51.844Z] e9f052eaa36f: Layer already exists [2023-03-15T02:57:51.844Z] 68f930662050: Layer already exists [2023-03-15T02:57:51.844Z] aa07a19a609a: Layer already exists [2023-03-15T02:57:52.112Z] main: digest: sha256:f8faf39110030b12d73959ab8063886c9b1f986a50c724c2de265241d4e9a312 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:57:52.165Z] ===================================================== [Pipeline] echo [2023-03-15T02:57:52.172Z] taggedImages: [2023-03-15T02:57:52.172Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [2023-03-15T02:57:52.172Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-03-15T02:57:52.172Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.11 [2023-03-15T02:57:52.172Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:58c55fcceacaa429eb258ff9b432fe1f0402d5e4-3.0.0-dev.11 [2023-03-15T02:57:52.172Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:52.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:57:52.539Z] [2023-03-15T02:57:52.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:52.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:57:52.875Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T02:57:52.875Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T02:57:52.875Z] 04944245beec: Pulling fs layer [2023-03-15T02:57:52.875Z] 699f458cf7ca: Pulling fs layer [2023-03-15T02:57:52.875Z] 765212b225bb: Pulling fs layer [2023-03-15T02:57:52.875Z] f23df028b6ca: Pulling fs layer [2023-03-15T02:57:52.875Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T02:57:52.875Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T02:57:52.875Z] 765212b225bb: Waiting [2023-03-15T02:57:52.875Z] d65c8cfc05b1: Waiting [2023-03-15T02:57:52.875Z] f23df028b6ca: Waiting [2023-03-15T02:57:52.875Z] 2437ff75d9bd: Waiting [2023-03-15T02:57:53.144Z] 04944245beec: Verifying Checksum [2023-03-15T02:57:53.144Z] 04944245beec: Download complete [2023-03-15T02:57:53.144Z] 765212b225bb: Verifying Checksum [2023-03-15T02:57:53.144Z] 765212b225bb: Download complete [2023-03-15T02:57:53.144Z] f23df028b6ca: Verifying Checksum [2023-03-15T02:57:53.144Z] f23df028b6ca: Download complete [2023-03-15T02:57:53.144Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T02:57:53.144Z] d65c8cfc05b1: Download complete [2023-03-15T02:57:53.414Z] 699f458cf7ca: Verifying Checksum [2023-03-15T02:57:53.414Z] 699f458cf7ca: Download complete [2023-03-15T02:57:53.684Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T02:57:53.684Z] 8998bd30e6a1: Download complete [2023-03-15T02:57:56.265Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T02:57:56.265Z] 2437ff75d9bd: Download complete [2023-03-15T02:57:57.672Z] 8998bd30e6a1: Pull complete [2023-03-15T02:57:57.940Z] 04944245beec: Pull complete [2023-03-15T02:57:59.354Z] 699f458cf7ca: Pull complete [2023-03-15T02:57:59.354Z] 765212b225bb: Pull complete [2023-03-15T02:58:00.331Z] f23df028b6ca: Pull complete [2023-03-15T02:58:00.331Z] d65c8cfc05b1: Pull complete [2023-03-15T02:58:15.326Z] 2437ff75d9bd: Pull complete [2023-03-15T02:58:15.326Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T02:58:15.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:58:15.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:58:15.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-331 does not seem to be running inside a container [2023-03-15T02:58:15.681Z] $ 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/63 -v /w/workspace/device-gpio/63:/w/workspace/device-gpio/63:rw,z -v /w/workspace/device-gpio/63@tmp:/w/workspace/device-gpio/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T02:58:18.453Z] $ docker top 0f706a1ed9255a3e2dc70fa2de3d0bffcc274df8c711403011b1ef1d1ac4ecbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:58:19.302Z] ---> job-cost.sh [2023-03-15T02:58:19.302Z] lf-activate-venv: SKIPPING [2023-03-15T02:58:19.302Z] INFO: No Stack... [2023-03-15T02:58:19.887Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T02:58:20.474Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:58:21.121Z] + cut -d, -f6 [2023-03-15T02:58:21.121Z] + cat /w/workspace/device-gpio/63/archives/cost.csv [Pipeline] lock [2023-03-15T02:58:21.159Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] [2023-03-15T02:58:21.168Z] Resource [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] did not exist. Created. [2023-03-15T02:58:21.169Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:58:21.833Z] /w/workspace/device-gpio/63@tmp/durable-09c5f135/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T02:58:22.487Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T02:58:22.509Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T02:58:22.561Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:58:22.569Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:58:22.592Z] $ docker stop --time=1 0f706a1ed9255a3e2dc70fa2de3d0bffcc274df8c711403011b1ef1d1ac4ecbc [2023-03-15T02:58:24.152Z] $ docker rm -f --volumes 0f706a1ed9255a3e2dc70fa2de3d0bffcc274df8c711403011b1ef1d1ac4ecbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-15T02:58:24.539Z] provisioning config files... [2023-03-15T02:58:24.546Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15477308848923032813tmp [Pipeline] { [Pipeline] sh [2023-03-15T02:58:24.846Z] + set +x [2023-03-15T02:58:24.846Z] + curl -s https://codecov.io/bash [2023-03-15T02:58:24.846Z] + bash -s -- [2023-03-15T02:58:24.846Z] [2023-03-15T02:58:24.846Z] _____ _ [2023-03-15T02:58:24.846Z] / ____| | | [2023-03-15T02:58:24.846Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T02:58:24.846Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T02:58:24.846Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T02:58:24.846Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T02:58:24.846Z] Bash-1.0.6 [2023-03-15T02:58:24.846Z] [2023-03-15T02:58:24.846Z] [2023-03-15T02:58:24.846Z] ==> git version 2.25.1 found [2023-03-15T02:58:24.846Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-15T02:58:24.846Z] Release-Date: 2020-01-08 [2023-03-15T02:58:24.846Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T02:58:24.846Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T02:58:24.846Z] ==> Jenkins CI detected. [2023-03-15T02:58:24.846Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-03-15T02:58:24.846Z] project root: . [2023-03-15T02:58:24.846Z] --> token set from env [2023-03-15T02:58:24.846Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T02:58:24.846Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T02:58:24.846Z] ==> Python coveragepy not found [2023-03-15T02:58:24.846Z] ==> Searching for coverage reports in: [2023-03-15T02:58:24.846Z] + . [2023-03-15T02:58:24.846Z] -> Found 1 reports [2023-03-15T02:58:24.846Z] ==> Detecting git/mercurial file structure [2023-03-15T02:58:24.846Z] ==> Reading reports [2023-03-15T02:58:24.846Z] + ./coverage.out bytes=10 [2023-03-15T02:58:25.104Z] ==> Appending adjustments [2023-03-15T02:58:25.104Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T02:58:25.104Z] + Found adjustments [2023-03-15T02:58:25.104Z] ==> Gzipping contents [2023-03-15T02:58:25.104Z] 4.0K /tmp/codecov.33Lge2.gz [2023-03-15T02:58:25.104Z] ==> Uploading reports [2023-03-15T02:58:25.104Z] url: https://codecov.io [2023-03-15T02:58:25.104Z] query: branch=main&commit=58c55fcceacaa429eb258ff9b432fe1f0402d5e4&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T02:58:25.104Z] -> Pinging Codecov [2023-03-15T02:58:25.104Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=58c55fcceacaa429eb258ff9b432fe1f0402d5e4&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T02:58:25.104Z] -> Uploading to [2023-03-15T02:58:25.104Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/58c55fcceacaa429eb258ff9b432fe1f0402d5e4/0a76e0d5-8f8e-43f3-9135-c1e34459dfd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T025825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2766138d1b377fd4376b2a3e17482a84223ac8d32f9e4d75f4285423ea4cc654 [2023-03-15T02:58:25.363Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:58:25.363Z] Dload Upload Total Spent Left Speed [2023-03-15T02:58:25.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 740 0 0 100 740 0 2890 --:--:-- --:--:-- --:--:-- 2890 [2023-03-15T02:58:25.621Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/58c55fcceacaa429eb258ff9b432fe1f0402d5e4 [Pipeline] } [2023-03-15T02:58:25.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T02:58:25.796Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T02:58:25.818Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:26.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T02:58:26.118Z] [2023-03-15T02:58:26.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:26.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T02:58:26.418Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T02:58:26.418Z] df9b9388f04a: Pulling fs layer [2023-03-15T02:58:26.418Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T02:58:26.418Z] 25bc292e5bac: Pulling fs layer [2023-03-15T02:58:26.418Z] 114826534d7a: Pulling fs layer [2023-03-15T02:58:26.418Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T02:58:26.418Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T02:58:26.418Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T02:58:26.418Z] 114826534d7a: Waiting [2023-03-15T02:58:26.418Z] 8a3aa393b2d8: Waiting [2023-03-15T02:58:26.418Z] 4657fd5d0bcf: Waiting [2023-03-15T02:58:26.418Z] 25bc292e5bac: Verifying Checksum [2023-03-15T02:58:26.418Z] 25bc292e5bac: Download complete [2023-03-15T02:58:26.418Z] 52dc419b0ee2: Download complete [2023-03-15T02:58:26.418Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T02:58:26.418Z] 4657fd5d0bcf: Download complete [2023-03-15T02:58:26.678Z] df9b9388f04a: Verifying Checksum [2023-03-15T02:58:26.678Z] df9b9388f04a: Download complete [2023-03-15T02:58:26.678Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T02:58:26.678Z] 6ad1cebc031e: Download complete [2023-03-15T02:58:26.987Z] df9b9388f04a: Pull complete [2023-03-15T02:58:28.362Z] 52dc419b0ee2: Pull complete [2023-03-15T02:58:28.362Z] 114826534d7a: Verifying Checksum [2023-03-15T02:58:28.362Z] 114826534d7a: Download complete [2023-03-15T02:58:28.362Z] 25bc292e5bac: Pull complete [2023-03-15T02:58:28.362Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T02:58:28.362Z] 8a3aa393b2d8: Download complete [2023-03-15T02:58:32.622Z] 114826534d7a: Pull complete [2023-03-15T02:58:32.622Z] 4657fd5d0bcf: Pull complete [2023-03-15T02:58:32.880Z] 6ad1cebc031e: Pull complete [2023-03-15T02:58:36.163Z] 8a3aa393b2d8: Pull complete [2023-03-15T02:58:36.163Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T02:58:36.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T02:58:36.163Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:58:36.243Z] prd-ubuntu20.04-docker-8c-8g-327 does not seem to be running inside a container [2023-03-15T02:58:36.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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/edgex-snyk-go:1.410.4 cat [2023-03-15T02:58:42.525Z] $ docker top 612a661dafd99e95f6a62ff3ea58426a336d0829166f7528b30bf7beb7b99114 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T02:58:42.591Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-03-15T02:58:42.881Z] + set -o pipefail [2023-03-15T02:58:42.881Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-03-15T03:00:04.327Z] [2023-03-15T03:00:04.327Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main... [2023-03-15T03:00:04.327Z] [2023-03-15T03:00:04.327Z] Internal error (reference: 3f36938b-1e8e-4eee-a208-250cbd71fd04) [2023-03-15T03:00:04.327Z] [Pipeline] } [2023-03-15T03:00:04.340Z] $ docker stop --time=1 612a661dafd99e95f6a62ff3ea58426a336d0829166f7528b30bf7beb7b99114 [2023-03-15T03:00:05.634Z] $ docker rm -f --volumes 612a661dafd99e95f6a62ff3ea58426a336d0829166f7528b30bf7beb7b99114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T03:00:05.863Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [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-15T03:00:06.428Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-03-15T03:00:06.428Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-03-15T03:00:06.428Z] total 16 [2023-03-15T03:00:06.428Z] drwxr-xr-x 3 root root 4096 Mar 15 02:48 . [2023-03-15T03:00:06.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:48 .. [2023-03-15T03:00:06.428Z] drwxr-xr-x 2 root root 4096 Mar 15 02:48 cost [2023-03-15T03:00:06.428Z] -rw-r--r-- 1 root root 82 Mar 15 02:48 cost.csv [2023-03-15T03:00:06.428Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-03-15T03:00:06.428Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-03-15T03:00:06.428Z] total 16 [2023-03-15T03:00:06.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:48 . [2023-03-15T03:00:06.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:48 .. [2023-03-15T03:00:06.428Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:48 cost [2023-03-15T03:00:06.428Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 15 02:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:06.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:07.581Z] ---> package-listing.sh [2023-03-15T03:00:07.582Z] ++ facter osfamily [2023-03-15T03:00:07.582Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T03:00:07.841Z] + OS_FAMILY=debian [2023-03-15T03:00:07.841Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-03-15T03:00:07.841Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T03:00:07.841Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T03:00:07.841Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T03:00:07.841Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T03:00:07.841Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-03-15T03:00:07.841Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T03:00:07.841Z] + case "${OS_FAMILY}" in [2023-03-15T03:00:07.841Z] + dpkg -l [2023-03-15T03:00:07.841Z] + grep '^ii' [2023-03-15T03:00:07.841Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T03:00:07.841Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T03:00:07.841Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T03:00:07.841Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-03-15T03:00:07.841Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-03-15T03:00:07.841Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-03-15T03:00:07.851Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T03:00:08.128Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:00:08.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T03:00:08.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:00:08.763Z] prd-ubuntu20.04-docker-8c-8g-327 does not seem to be running inside a container [2023-03-15T03:00:08.792Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T03:00:09.104Z] $ docker top d13679381bb4f97f3cfab9bc8b216bf50372abbd2b1d40cd9fcbe667ac63d509 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:00:09.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T03:00:09.727Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T03:00:10.009Z] + ls /var/log/sa-host [2023-03-15T03:00:10.009Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T03:00:10.154Z] provisioning config files... [2023-03-15T03:00:10.166Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9283052982459967186tmp [Pipeline] { [Pipeline] echo [2023-03-15T03:00:10.181Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:10.463Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T03:00:10.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:10.790Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T03:00:10.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:11.081Z] ---> sudo-logs.sh [2023-03-15T03:00:11.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T03:00:11.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:11.395Z] ---> job-cost.sh [2023-03-15T03:00:11.395Z] lf-activate-venv: SKIPPING [2023-03-15T03:00:11.395Z] DEBUG: total: 0.2199999988079071 [2023-03-15T03:00:11.395Z] INFO: Retrieving Stack Cost... [2023-03-15T03:00:11.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T03:00:11.912Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T03:00:11.924Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:12.211Z] ---> logs-deploy.sh [2023-03-15T03:00:12.211Z] lf-activate-venv: SKIPPING [2023-03-15T03:00:12.211Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/63 [2023-03-15T03:00:12.211Z] INFO: archiving workspace using pattern(s): [2023-03-15T03:00:13.147Z] Archives upload complete. [2023-03-15T03:00:13.147Z] INFO: archiving logs to Nexus