Pull request #294 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb+9528f76d0c83bd26f38fd0f12715516a47528699 (eda5096915f3a7391e20c27849c3955a1b835a51) 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-ssh1704458392459794795.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7e4371ac6d730b8e642184b898413c6ef59a5643 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-ssh6783315914917318745.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 7e4371ac6d730b8e642184b898413c6ef59a5643 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/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-virtual-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17128323100709593236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7e4371ac6d730b8e642184b898413c6ef59a5643 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e4371ac6d730b8e642184b898413c6ef59a5643 # timeout=10 Commit message: "Merge pull request #404 from bill-mahoney/go-1.18" > 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-ssh4700735771506228794.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/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-virtual-go/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17795749871602452394.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual 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-19316 in /w/workspace/foundry_device-virtual-go_PR-294 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-294 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9528f76d0c83bd26f38fd0f12715516a47528699 into PR head commit cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb Merge succeeded, producing cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb Checking out Revision cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb (PR-294) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9528f76d0c83bd26f38fd0f12715516a47528699 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T17:57:57.066Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T17:57:57.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T17:57:57.143Z] ========================================================= [2022-07-11T17:57:57.143Z] EdgeX Global Pipelines Version Info [2022-07-11T17:57:57.143Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ca7e9cc61ae7ace7c5611752e8a711196a8fafae # timeout=10 [2022-07-11T17:57:57.944Z] ------------------- [2022-07-11T17:57:57.944Z] stable info: [2022-07-11T17:57:57.944Z] ------------------- [2022-07-11T17:57:57.944Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T17:57:57.944Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T17:57:57.944Z] Message: update stable to v1.0.236 [2022-07-11T17:57:58.516Z] ------------------- [2022-07-11T17:57:58.516Z] experimental info: [2022-07-11T17:57:58.516Z] ------------------- [2022-07-11T17:57:58.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T17:57:58.516Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T17:57:58.516Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T17:57:58.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-07-11T17:57:58.717Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-07-11T17:57:58.731Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T17:57:58.741Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T17:57:58.751Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T17:57:58.762Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-11T17:57:58.772Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T17:57:58.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T17:57:58.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T17:57:58.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T17:57:58.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T17:57:58.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-07-11T17:57:58.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T17:57:58.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T17:57:58.880Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T17:57:58.890Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T17:57:58.901Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T17:57:58.919Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T17:57:58.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T17:57:58.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T17:57:58.965Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T17:57:58.979Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T17:57:58.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T17:57:59.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T17:57:59.014Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T17:57:59.029Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T17:57:59.040Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T17:57:59.057Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo [2022-07-11T17:57:59.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo [2022-07-11T17:57:59.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo [2022-07-11T17:57:59.094Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T17:57:59.109Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd58f92 [Pipeline] echo [2022-07-11T17:57:59.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T17:57:59.169Z] provisioning config files... [2022-07-11T17:57:59.183Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config5304856992484227181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:57:59.501Z] ---> docker-login.sh [2022-07-11T17:57:59.501Z] nexus3.edgexfoundry.org:10001 [2022-07-11T17:57:59.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:00.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:00.034Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:00.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:00.034Z] [2022-07-11T17:58:00.034Z] Login Succeeded [2022-07-11T17:58:00.034Z] nexus3.edgexfoundry.org:10002 [2022-07-11T17:58:00.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:00.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:00.296Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:00.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:00.296Z] [2022-07-11T17:58:00.296Z] Login Succeeded [2022-07-11T17:58:00.296Z] nexus3.edgexfoundry.org:10003 [2022-07-11T17:58:00.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:00.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:00.296Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:00.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:00.296Z] [2022-07-11T17:58:00.296Z] Login Succeeded [2022-07-11T17:58:00.296Z] nexus3.edgexfoundry.org:10004 [2022-07-11T17:58:00.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:00.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:00.557Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:00.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:00.557Z] [2022-07-11T17:58:00.557Z] Login Succeeded [2022-07-11T17:58:00.557Z] docker.io [2022-07-11T17:58:00.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:00.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:00.818Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:00.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:00.818Z] [2022-07-11T17:58:00.818Z] Login Succeeded [2022-07-11T17:58:00.819Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T17:58:00.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T17:58:01.202Z] + git rev-list -1 --merges cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb~1..cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T17:58:01.237Z] -----------> git rev-list -1 --merges cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb~1..cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [false] [Pipeline] sh [2022-07-11T17:58:01.528Z] + git log --format=format:%s -1 cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T17:58:01.542Z] ========================================================= [2022-07-11T17:58:01.543Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T17:58:01.543Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T17:58:01.879Z] + git log --format=format:%s -1 cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo [2022-07-11T17:58:01.892Z] [semverPrep] GIT_COMMIT: cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo [2022-07-11T17:58:01.901Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T17:58:02.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T17:58:02.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T17:58:02.262Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T17:58:02.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T17:58:02.262Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T17:58:02.262Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T17:58:02.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:58:02.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T17:58:02.621Z] [2022-07-11T17:58:02.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:58:02.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T17:58:02.933Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T17:58:02.933Z] b85a868b505f: Pulling fs layer [2022-07-11T17:58:02.933Z] e2be974225ed: Pulling fs layer [2022-07-11T17:58:02.933Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T17:58:02.933Z] 988bab9f4d93: Pulling fs layer [2022-07-11T17:58:02.933Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T17:58:02.933Z] eaf3925da568: Pulling fs layer [2022-07-11T17:58:02.933Z] bab4dde63d76: Pulling fs layer [2022-07-11T17:58:02.933Z] bde34c3a00c8: Pulling fs layer [2022-07-11T17:58:02.933Z] b352a97aabf1: Pulling fs layer [2022-07-11T17:58:02.933Z] 4872d77fe225: Pulling fs layer [2022-07-11T17:58:02.933Z] 5851b861e8e6: Pulling fs layer [2022-07-11T17:58:02.933Z] bab4dde63d76: Waiting [2022-07-11T17:58:02.933Z] 1469e6f7b9e6: Waiting [2022-07-11T17:58:02.933Z] bde34c3a00c8: Waiting [2022-07-11T17:58:02.934Z] eaf3925da568: Waiting [2022-07-11T17:58:02.934Z] b352a97aabf1: Waiting [2022-07-11T17:58:02.934Z] 4872d77fe225: Waiting [2022-07-11T17:58:02.934Z] 988bab9f4d93: Waiting [2022-07-11T17:58:02.934Z] 5851b861e8e6: Waiting [2022-07-11T17:58:02.934Z] e2be974225ed: Download complete [2022-07-11T17:58:02.934Z] 988bab9f4d93: Download complete [2022-07-11T17:58:03.194Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T17:58:03.194Z] 1469e6f7b9e6: Download complete [2022-07-11T17:58:03.194Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T17:58:03.194Z] 339a4e72a1f5: Download complete [2022-07-11T17:58:03.194Z] eaf3925da568: Verifying Checksum [2022-07-11T17:58:03.194Z] eaf3925da568: Download complete [2022-07-11T17:58:03.194Z] bde34c3a00c8: Download complete [2022-07-11T17:58:03.194Z] b352a97aabf1: Download complete [2022-07-11T17:58:03.194Z] 4872d77fe225: Verifying Checksum [2022-07-11T17:58:03.194Z] 4872d77fe225: Download complete [2022-07-11T17:58:03.194Z] 5851b861e8e6: Verifying Checksum [2022-07-11T17:58:03.194Z] 5851b861e8e6: Download complete [2022-07-11T17:58:03.194Z] b85a868b505f: Download complete [2022-07-11T17:58:03.453Z] bab4dde63d76: Verifying Checksum [2022-07-11T17:58:03.453Z] bab4dde63d76: Download complete [2022-07-11T17:58:04.833Z] b85a868b505f: Pull complete [2022-07-11T17:58:04.833Z] e2be974225ed: Pull complete [2022-07-11T17:58:05.404Z] 339a4e72a1f5: Pull complete [2022-07-11T17:58:05.404Z] 988bab9f4d93: Pull complete [2022-07-11T17:58:05.690Z] 1469e6f7b9e6: Pull complete [2022-07-11T17:58:05.949Z] eaf3925da568: Pull complete [2022-07-11T17:58:07.878Z] bab4dde63d76: Pull complete [2022-07-11T17:58:07.878Z] bde34c3a00c8: Pull complete [2022-07-11T17:58:08.147Z] b352a97aabf1: Pull complete [2022-07-11T17:58:08.147Z] 4872d77fe225: Pull complete [2022-07-11T17:58:08.411Z] 5851b861e8e6: Pull complete [2022-07-11T17:58:08.411Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T17:58:08.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T17:58:08.411Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:58:08.533Z] prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container [2022-07-11T17:58:08.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T17:58:10.027Z] $ docker top 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 -eo pid,comm [2022-07-11T17:58:10.098Z] 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). [2022-07-11T17:58:10.098Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T17:58:10.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T17:58:10.133Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T17:58:10.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T17:58:10.288Z] $ docker exec 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent [2022-07-11T17:58:10.423Z] SSH_AUTH_SOCK=/tmp/ssh-aGJuSaQ8VSGH/agent.33 [2022-07-11T17:58:10.423Z] SSH_AGENT_PID=40 [2022-07-11T17:58:10.430Z] Running ssh-add (command line suppressed) [2022-07-11T17:58:10.555Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_4441458230917247967.key (/w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_4441458230917247967.key) [2022-07-11T17:58:10.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T17:58:10.863Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T17:58:10.881Z] $ docker exec --env ******** --env ******** 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent -k [2022-07-11T17:58:11.001Z] unset SSH_AUTH_SOCK; [2022-07-11T17:58:11.002Z] unset SSH_AGENT_PID; [2022-07-11T17:58:11.002Z] echo Agent pid 40 killed; [2022-07-11T17:58:11.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T17:58:11.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T17:58:11.036Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T17:58:11.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T17:58:11.178Z] $ docker exec 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent [2022-07-11T17:58:11.313Z] SSH_AUTH_SOCK=/tmp/ssh-5wFwzeEWibc2/agent.73 [2022-07-11T17:58:11.313Z] SSH_AGENT_PID=79 [2022-07-11T17:58:11.318Z] Running ssh-add (command line suppressed) [2022-07-11T17:58:11.443Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_6880386112697044142.key (/w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_6880386112697044142.key) [2022-07-11T17:58:11.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T17:58:11.750Z] + git semver init [2022-07-11T17:58:12.012Z] 2022-07-11 17:58:11,960 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T17:58:12.012Z] 2022-07-11 17:58:11,960 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-294/.semver [2022-07-11T17:58:12.012Z] 2022-07-11 17:58:11,961 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-294/.semver [2022-07-11T17:58:12.012Z] 2022-07-11 17:58:11,961 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-294/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-294, universal_newlines=False, shell=None, istream=None) [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,895 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-294/.git/info/exclude [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 with force:False [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,896 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,900 [execute] INFO git cat-file --batch-check [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,907 [execute] INFO git cat-file --batch [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T17:58:12.952Z] 2022-07-11 17:58:12,914 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 [2022-07-11T17:58:12.952Z] 0.0.0 [Pipeline] } [2022-07-11T17:58:12.966Z] $ docker exec --env ******** --env ******** 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent -k [2022-07-11T17:58:13.096Z] unset SSH_AUTH_SOCK; [2022-07-11T17:58:13.096Z] unset SSH_AGENT_PID; [2022-07-11T17:58:13.096Z] echo Agent pid 79 killed; [2022-07-11T17:58:13.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T17:58:13.419Z] + git semver [Pipeline] } [2022-07-11T17:58:13.698Z] $ docker stop --time=1 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 [2022-07-11T17:58:15.046Z] $ docker rm -f 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T17:58:15.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T17:58:15.660Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T17:58:15.661Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T17:58:15.814Z] provisioning config files... [2022-07-11T17:58:15.824Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config2746920470923816623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:58:16.122Z] ---> docker-login.sh [2022-07-11T17:58:16.122Z] nexus3.edgexfoundry.org:10001 [2022-07-11T17:58:16.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:16.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:16.122Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:16.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:16.122Z] [2022-07-11T17:58:16.122Z] Login Succeeded [2022-07-11T17:58:16.122Z] nexus3.edgexfoundry.org:10002 [2022-07-11T17:58:16.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:16.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:16.383Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:16.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:16.383Z] [2022-07-11T17:58:16.383Z] Login Succeeded [2022-07-11T17:58:16.383Z] nexus3.edgexfoundry.org:10003 [2022-07-11T17:58:16.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:16.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:16.383Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:16.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:16.383Z] [2022-07-11T17:58:16.383Z] Login Succeeded [2022-07-11T17:58:16.383Z] nexus3.edgexfoundry.org:10004 [2022-07-11T17:58:16.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:16.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:16.645Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:16.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:16.645Z] [2022-07-11T17:58:16.645Z] Login Succeeded [2022-07-11T17:58:16.645Z] docker.io [2022-07-11T17:58:16.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T17:58:16.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T17:58:16.906Z] Configure a credential helper to remove this warning. See [2022-07-11T17:58:16.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T17:58:16.906Z] [2022-07-11T17:58:16.906Z] Login Succeeded [2022-07-11T17:58:16.906Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T17:58:16.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T17:58:16.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T17:58:16.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T17:58:16.997Z] ========================================================= [2022-07-11T17:58:16.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-11T17:58:16.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:58:17.318Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T17:58:17.318Z] Sending build context to Docker daemon 23.09MB [2022-07-11T17:58:17.318Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T17:58:17.318Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T17:58:17.581Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T17:58:17.581Z] 2408cc74d12b: Pulling fs layer [2022-07-11T17:58:17.581Z] ea60b727a1ce: Pulling fs layer [2022-07-11T17:58:17.581Z] 30c4a7721957: Pulling fs layer [2022-07-11T17:58:17.581Z] 370296b7ddb6: Pulling fs layer [2022-07-11T17:58:17.581Z] 7c6cee850709: Pulling fs layer [2022-07-11T17:58:17.581Z] 39a5fcdaea64: Pulling fs layer [2022-07-11T17:58:17.581Z] d94ebbe4e438: Pulling fs layer [2022-07-11T17:58:17.581Z] bcfd1f05c69d: Pulling fs layer [2022-07-11T17:58:17.581Z] 59ccb84bbe0f: Pulling fs layer [2022-07-11T17:58:17.581Z] 370296b7ddb6: Waiting [2022-07-11T17:58:17.581Z] 7c6cee850709: Waiting [2022-07-11T17:58:17.581Z] 39a5fcdaea64: Waiting [2022-07-11T17:58:17.581Z] d94ebbe4e438: Waiting [2022-07-11T17:58:17.581Z] bcfd1f05c69d: Waiting [2022-07-11T17:58:17.581Z] 30c4a7721957: Verifying Checksum [2022-07-11T17:58:17.581Z] 30c4a7721957: Download complete [2022-07-11T17:58:17.581Z] ea60b727a1ce: Verifying Checksum [2022-07-11T17:58:17.581Z] ea60b727a1ce: Download complete [2022-07-11T17:58:17.581Z] 7c6cee850709: Verifying Checksum [2022-07-11T17:58:17.581Z] 7c6cee850709: Download complete [2022-07-11T17:58:17.581Z] 39a5fcdaea64: Verifying Checksum [2022-07-11T17:58:17.581Z] 39a5fcdaea64: Download complete [2022-07-11T17:58:17.581Z] 2408cc74d12b: Verifying Checksum [2022-07-11T17:58:17.581Z] d94ebbe4e438: Download complete [2022-07-11T17:58:17.848Z] 2408cc74d12b: Pull complete [2022-07-11T17:58:17.848Z] ea60b727a1ce: Pull complete [2022-07-11T17:58:17.848Z] 30c4a7721957: Pull complete [2022-07-11T17:58:18.114Z] 59ccb84bbe0f: Verifying Checksum [2022-07-11T17:58:18.114Z] 59ccb84bbe0f: Download complete [2022-07-11T17:58:18.374Z] bcfd1f05c69d: Verifying Checksum [2022-07-11T17:58:18.374Z] bcfd1f05c69d: Download complete [2022-07-11T17:58:18.374Z] 370296b7ddb6: Verifying Checksum [2022-07-11T17:58:18.374Z] 370296b7ddb6: Download complete [2022-07-11T17:58:23.655Z] 370296b7ddb6: Pull complete [2022-07-11T17:58:23.655Z] 7c6cee850709: Pull complete [2022-07-11T17:58:23.655Z] 39a5fcdaea64: Pull complete [2022-07-11T17:58:23.655Z] d94ebbe4e438: Pull complete [2022-07-11T17:58:25.568Z] bcfd1f05c69d: Pull complete [2022-07-11T17:58:26.138Z] 59ccb84bbe0f: Pull complete [2022-07-11T17:58:26.138Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-11T17:58:26.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-11T17:58:26.138Z] ---> a4fb48ad2a94 [2022-07-11T17:58:26.138Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T17:58:28.055Z] ---> Running in 262016bc1051 [2022-07-11T17:58:28.055Z] Removing intermediate container 262016bc1051 [2022-07-11T17:58:28.055Z] ---> 25678ccf0048 [2022-07-11T17:58:28.055Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T17:58:28.055Z] ---> Running in f31f0fe81b48 [2022-07-11T17:58:28.055Z] Removing intermediate container f31f0fe81b48 [2022-07-11T17:58:28.055Z] ---> 48ec393735da [2022-07-11T17:58:28.055Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-11T17:58:28.055Z] ---> Running in 24e440e11be8 [2022-07-11T17:58:28.317Z] Removing intermediate container 24e440e11be8 [2022-07-11T17:58:28.317Z] ---> 3346f0dc32ab [2022-07-11T17:58:28.317Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T17:58:28.317Z] ---> Running in 02664e5fe88f [2022-07-11T17:58:28.888Z] Removing intermediate container 02664e5fe88f [2022-07-11T17:58:28.888Z] ---> ea4c30c680f3 [2022-07-11T17:58:28.888Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T17:58:28.888Z] ---> Running in 4dcf191695ef [2022-07-11T17:58:29.149Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T17:58:30.095Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T17:58:30.357Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T17:58:30.357Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T17:58:30.618Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T17:58:30.618Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T17:58:30.765Z] Still waiting to schedule task [2022-07-11T17:58:30.765Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-11T17:58:30.880Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T17:58:30.880Z] OK: 216 MiB in 55 packages [2022-07-11T17:58:31.141Z] Removing intermediate container 4dcf191695ef [2022-07-11T17:58:31.141Z] ---> 9dd87bad8e67 [2022-07-11T17:58:31.141Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-11T17:58:31.401Z] ---> 7a6b671ad0c4 [2022-07-11T17:58:31.401Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T17:58:31.401Z] ---> Running in e9fe341440ac [2022-07-11T17:58:46.313Z] Removing intermediate container e9fe341440ac [2022-07-11T17:58:46.313Z] ---> 035ac04961db [2022-07-11T17:58:46.313Z] Step 10/12 : COPY . . [2022-07-11T17:58:46.885Z] ---> 97d1a9fc84cd [2022-07-11T17:58:46.885Z] Step 11/12 : ARG MAKE='make build' [2022-07-11T17:58:46.885Z] ---> Running in cde3ffde8d34 [2022-07-11T17:58:46.885Z] Removing intermediate container cde3ffde8d34 [2022-07-11T17:58:46.885Z] ---> 2c6054ca2d1b [2022-07-11T17:58:46.885Z] Step 12/12 : RUN $MAKE [2022-07-11T17:58:47.147Z] ---> Running in 3dd88a7d5e58 [2022-07-11T17:58:47.408Z] noop [2022-07-11T17:58:47.669Z] Removing intermediate container 3dd88a7d5e58 [2022-07-11T17:58:47.669Z] ---> 5e01d6692a05 [2022-07-11T17:58:47.669Z] Successfully built 5e01d6692a05 [2022-07-11T17:58:47.669Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:58:47.985Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T17:58:47.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:58:48.073Z] prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container [2022-07-11T17:58:48.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T17:58:48.537Z] $ docker top b1c8f3dabdd9acef426a53fa2c5698f3666145574b7807524ddbe3db85f1fa32 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T17:58:48.906Z] + go version [2022-07-11T17:58:48.907Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-11T17:58:48.923Z] $ docker stop --time=1 b1c8f3dabdd9acef426a53fa2c5698f3666145574b7807524ddbe3db85f1fa32 [2022-07-11T17:58:50.231Z] $ docker rm -f b1c8f3dabdd9acef426a53fa2c5698f3666145574b7807524ddbe3db85f1fa32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:58:50.666Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T17:58:50.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:58:50.789Z] prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container [2022-07-11T17:58:50.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T17:58:51.288Z] $ docker top 2675668c4c845a1bc93c2aff8cda607c93930c380a3f61ec2865b0196656f1d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T17:58:51.688Z] + make test [2022-07-11T17:58:51.688Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T17:58:51.947Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-11T17:59:01.938Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-11T17:59:02.509Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-07-11T17:59:11.257Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-11T17:59:11.257Z] cmd/main.go:1: : error obtaining VCS status: exit status 128 [2022-07-11T17:59:11.257Z] Use -buildvcs=false to disable VCS stamping. (typecheck) [2022-07-11T17:59:11.257Z] // -*- Mode: Go; indent-tabs-mode: t -*- [2022-07-11T17:59:11.257Z] make: *** [Makefile:51: lint] Error 1 [Pipeline] } [2022-07-11T17:59:11.274Z] $ docker stop --time=1 2675668c4c845a1bc93c2aff8cda607c93930c380a3f61ec2865b0196656f1d0 [2022-07-11T17:59:13.029Z] $ docker rm -f 2675668c4c845a1bc93c2aff8cda607c93930c380a3f61ec2865b0196656f1d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:59:13.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:59:13.627Z] [2022-07-11T17:59:13.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T17:59:13.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:59:13.934Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T17:59:13.934Z] 5eb5b503b376: Pulling fs layer [2022-07-11T17:59:13.934Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T17:59:13.934Z] ec43610c2a17: Pulling fs layer [2022-07-11T17:59:13.934Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T17:59:13.934Z] 33b1e0a273af: Pulling fs layer [2022-07-11T17:59:13.934Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T17:59:13.934Z] 2f39f015ded8: Pulling fs layer [2022-07-11T17:59:13.934Z] 3a2ae6a8a46f: Waiting [2022-07-11T17:59:13.934Z] 33b1e0a273af: Waiting [2022-07-11T17:59:13.934Z] 5c69ac0246d0: Verifying Checksum [2022-07-11T17:59:13.934Z] 5c69ac0246d0: Download complete [2022-07-11T17:59:13.934Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T17:59:13.934Z] 3a2ae6a8a46f: Download complete [2022-07-11T17:59:13.934Z] 33b1e0a273af: Verifying Checksum [2022-07-11T17:59:13.934Z] 33b1e0a273af: Download complete [2022-07-11T17:59:14.193Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T17:59:14.193Z] 5d3b04190fa2: Download complete [2022-07-11T17:59:14.193Z] ec43610c2a17: Verifying Checksum [2022-07-11T17:59:14.193Z] ec43610c2a17: Download complete [2022-07-11T17:59:14.193Z] 5eb5b503b376: Download complete [2022-07-11T17:59:14.768Z] 2f39f015ded8: Download complete [2022-07-11T17:59:15.708Z] 5eb5b503b376: Pull complete [2022-07-11T17:59:15.709Z] 5c69ac0246d0: Pull complete [2022-07-11T17:59:16.278Z] ec43610c2a17: Pull complete [2022-07-11T17:59:16.278Z] 3a2ae6a8a46f: Pull complete [2022-07-11T17:59:16.538Z] 33b1e0a273af: Pull complete [2022-07-11T17:59:16.798Z] 5d3b04190fa2: Pull complete [2022-07-11T17:59:22.081Z] 2f39f015ded8: Pull complete [2022-07-11T17:59:22.081Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T17:59:22.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T17:59:22.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T17:59:22.189Z] prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container [2022-07-11T17:59:22.225Z] $ 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/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T17:59:23.990Z] $ docker top 436a67c703def7938416eb2a0b4ac5cc686e24d74ccde741d78fe16a10caa910 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T17:59:24.385Z] ---> job-cost.sh [2022-07-11T17:59:24.385Z] lf-activate-venv: SKIPPING [2022-07-11T17:59:24.385Z] INFO: No Stack... [2022-07-11T17:59:24.644Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T17:59:25.214Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T17:59:25.505Z] + cat /w/workspace/foundry_device-virtual-go_PR-294/archives/cost.csv [2022-07-11T17:59:25.505Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T17:59:25.520Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [2022-07-11T17:59:25.528Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] did not exist. Created. [2022-07-11T17:59:25.528Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T17:59:25.834Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T17:59:25.860Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T17:59:25.865Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T17:59:25.889Z] $ docker stop --time=1 436a67c703def7938416eb2a0b4ac5cc686e24d74ccde741d78fe16a10caa910 [2022-07-11T17:59:27.083Z] $ docker rm -f 436a67c703def7938416eb2a0b4ac5cc686e24d74ccde741d78fe16a10caa910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T17:59:27.204Z] Failed in branch amd64 [2022-07-11T18:01:15.962Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19317 in /w/workspace/foundry_device-virtual-go_PR-294 [Pipeline] { [Pipeline] ws [2022-07-11T18:01:15.978Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-07-11T18:01:16.095Z] The recommended git tool is: git [2022-07-11T18:01:22.369Z] using credential edgex-jenkins-ssh [2022-07-11T18:01:22.389Z] Cloning the remote Git repository [2022-07-11T18:01:22.457Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T18:01:22.550Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-07-11T18:01:22.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T18:01:22.653Z] > git --version # timeout=10 [2022-07-11T18:01:22.680Z] > git --version # 'git version 2.25.1' [2022-07-11T18:01:22.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T18:01:22.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T18:01:25.397Z] Merging remotes/origin/main commit 9528f76d0c83bd26f38fd0f12715516a47528699 into PR head commit cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T18:01:24.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-11T18:01:24.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T18:01:24.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-11T18:01:24.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T18:01:24.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T18:01:24.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-11T18:01:25.419Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T18:01:25.433Z] > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 [2022-07-11T18:01:25.634Z] Merge succeeded, producing cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T18:01:25.634Z] Checking out Revision cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb (PR-294) [2022-07-11T18:01:25.524Z] > git remote # timeout=10 [2022-07-11T18:01:25.543Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T18:01:25.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T18:01:25.572Z] > git merge 9528f76d0c83bd26f38fd0f12715516a47528699 # timeout=10 [2022-07-11T18:01:25.605Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T18:01:25.645Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T18:01:25.657Z] > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 [2022-07-11T18:01:29.874Z] Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T18:01:30.884Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T18:01:30.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T18:01:30.884Z] Dload Upload Total Spent Left Speed [2022-07-11T18:01:30.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 96661 0 --:--:-- --:--:-- --:--:-- 95906 [Pipeline] sh [2022-07-11T18:01:31.650Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T18:01:32.002Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T18:01:32.002Z] + sudo tee /etc/docker/daemon.new [2022-07-11T18:01:32.002Z] { [2022-07-11T18:01:32.002Z] "registry-mirrors": [ [2022-07-11T18:01:32.002Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T18:01:32.002Z] ], [2022-07-11T18:01:32.002Z] "bip": "10.250.0.254/24", [2022-07-11T18:01:32.002Z] "hosts": [ [2022-07-11T18:01:32.002Z] "tcp://0.0.0.0:5555", [2022-07-11T18:01:32.002Z] "unix:///var/run/docker.sock" [2022-07-11T18:01:32.002Z] ], [2022-07-11T18:01:32.002Z] "mtu": 1458, [2022-07-11T18:01:32.002Z] "selinux-enabled": true, [2022-07-11T18:01:32.002Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T18:01:32.002Z] } [Pipeline] sh [2022-07-11T18:01:32.361Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T18:01:32.702Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T18:01:51.076Z] provisioning config files... [2022-07-11T18:01:51.101Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3863078098698096475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:01:51.470Z] ---> docker-login.sh [2022-07-11T18:01:51.470Z] nexus3.edgexfoundry.org:10001 [2022-07-11T18:01:52.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:01:52.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:01:52.345Z] Configure a credential helper to remove this warning. See [2022-07-11T18:01:52.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:01:52.345Z] [2022-07-11T18:01:52.345Z] Login Succeeded [2022-07-11T18:01:52.345Z] nexus3.edgexfoundry.org:10002 [2022-07-11T18:01:52.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:01:52.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:01:52.893Z] Configure a credential helper to remove this warning. See [2022-07-11T18:01:52.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:01:52.893Z] [2022-07-11T18:01:52.893Z] Login Succeeded [2022-07-11T18:01:52.893Z] nexus3.edgexfoundry.org:10003 [2022-07-11T18:01:53.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:01:53.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:01:53.440Z] Configure a credential helper to remove this warning. See [2022-07-11T18:01:53.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:01:53.440Z] [2022-07-11T18:01:53.440Z] Login Succeeded [2022-07-11T18:01:53.440Z] nexus3.edgexfoundry.org:10004 [2022-07-11T18:01:53.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:01:53.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:01:53.713Z] Configure a credential helper to remove this warning. See [2022-07-11T18:01:53.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:01:53.713Z] [2022-07-11T18:01:53.713Z] Login Succeeded [2022-07-11T18:01:53.713Z] docker.io [2022-07-11T18:01:53.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:01:54.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:01:54.585Z] Configure a credential helper to remove this warning. See [2022-07-11T18:01:54.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:01:54.585Z] [2022-07-11T18:01:54.585Z] Login Succeeded [2022-07-11T18:01:54.585Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T18:01:54.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T18:01:55.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:01:55.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:01:55.188Z] ========================================================= [2022-07-11T18:01:55.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-11T18:01:55.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:01:55.573Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-11T18:01:55.849Z] Sending build context to Docker daemon 11.69MB [2022-07-11T18:01:56.128Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T18:01:56.128Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T18:01:56.128Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T18:01:56.128Z] b3c136eddcbf: Pulling fs layer [2022-07-11T18:01:56.128Z] c0a3192eca97: Pulling fs layer [2022-07-11T18:01:56.128Z] a050256f5b6f: Pulling fs layer [2022-07-11T18:01:56.128Z] 656be50a0ddc: Pulling fs layer [2022-07-11T18:01:56.128Z] 2bbca73fdf42: Pulling fs layer [2022-07-11T18:01:56.128Z] 46d945488cbd: Pulling fs layer [2022-07-11T18:01:56.128Z] 8a5474983e97: Pulling fs layer [2022-07-11T18:01:56.128Z] 329c88fbcd65: Pulling fs layer [2022-07-11T18:01:56.128Z] 656be50a0ddc: Waiting [2022-07-11T18:01:56.128Z] 2bbca73fdf42: Waiting [2022-07-11T18:01:56.128Z] 46d945488cbd: Waiting [2022-07-11T18:01:56.128Z] 8a5474983e97: Waiting [2022-07-11T18:01:56.128Z] 329c88fbcd65: Waiting [2022-07-11T18:01:56.128Z] a050256f5b6f: Verifying Checksum [2022-07-11T18:01:56.129Z] a050256f5b6f: Download complete [2022-07-11T18:01:56.129Z] c0a3192eca97: Verifying Checksum [2022-07-11T18:01:56.129Z] c0a3192eca97: Download complete [2022-07-11T18:01:56.129Z] 2bbca73fdf42: Verifying Checksum [2022-07-11T18:01:56.129Z] 2bbca73fdf42: Download complete [2022-07-11T18:01:56.411Z] b3c136eddcbf: Verifying Checksum [2022-07-11T18:01:56.411Z] b3c136eddcbf: Download complete [2022-07-11T18:01:56.411Z] 46d945488cbd: Verifying Checksum [2022-07-11T18:01:56.411Z] 46d945488cbd: Download complete [2022-07-11T18:01:57.017Z] b3c136eddcbf: Pull complete [2022-07-11T18:01:57.295Z] 329c88fbcd65: Verifying Checksum [2022-07-11T18:01:57.295Z] 329c88fbcd65: Download complete [2022-07-11T18:01:57.896Z] c0a3192eca97: Pull complete [2022-07-11T18:01:58.174Z] a050256f5b6f: Pull complete [2022-07-11T18:01:58.445Z] 8a5474983e97: Verifying Checksum [2022-07-11T18:01:58.445Z] 8a5474983e97: Download complete [2022-07-11T18:01:59.042Z] 656be50a0ddc: Verifying Checksum [2022-07-11T18:01:59.042Z] 656be50a0ddc: Download complete [2022-07-11T18:02:11.455Z] 656be50a0ddc: Pull complete [2022-07-11T18:02:11.455Z] 2bbca73fdf42: Pull complete [2022-07-11T18:02:11.732Z] 46d945488cbd: Pull complete [2022-07-11T18:02:18.468Z] 8a5474983e97: Pull complete [2022-07-11T18:02:19.907Z] 329c88fbcd65: Pull complete [2022-07-11T18:02:19.907Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-11T18:02:19.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-11T18:02:19.907Z] ---> ff4287adb874 [2022-07-11T18:02:19.907Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T18:02:20.899Z] ---> Running in ce49e3f6947f [2022-07-11T18:02:21.504Z] Removing intermediate container ce49e3f6947f [2022-07-11T18:02:21.504Z] ---> 1ec373507d4c [2022-07-11T18:02:21.504Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T18:02:21.504Z] ---> Running in 6fd5a060eb74 [2022-07-11T18:02:21.801Z] Removing intermediate container 6fd5a060eb74 [2022-07-11T18:02:21.801Z] ---> a27c18ca228b [2022-07-11T18:02:21.801Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-11T18:02:22.077Z] ---> Running in 45cff156b6b7 [2022-07-11T18:02:23.065Z] Removing intermediate container 45cff156b6b7 [2022-07-11T18:02:23.065Z] ---> 5d32256a4b29 [2022-07-11T18:02:23.065Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T18:02:23.338Z] ---> Running in 63438535f0cd [2022-07-11T18:02:25.307Z] Removing intermediate container 63438535f0cd [2022-07-11T18:02:25.307Z] ---> 52aa1d544caf [2022-07-11T18:02:25.307Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T18:02:25.307Z] ---> Running in 45b900d3c3dd [2022-07-11T18:02:25.903Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T18:02:26.890Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T18:02:27.879Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T18:02:28.151Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T18:02:28.152Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T18:02:28.425Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T18:02:28.425Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T18:02:28.425Z] OK: 226 MiB in 55 packages [2022-07-11T18:02:29.408Z] Removing intermediate container 45b900d3c3dd [2022-07-11T18:02:29.409Z] ---> ebfd6cb869b0 [2022-07-11T18:02:29.409Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-11T18:02:30.006Z] ---> 0013ff48364f [2022-07-11T18:02:30.006Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T18:02:30.006Z] ---> Running in e16e2d83f660 [2022-07-11T18:03:16.985Z] Removing intermediate container e16e2d83f660 [2022-07-11T18:03:16.985Z] ---> cfffcdedbf4b [2022-07-11T18:03:16.985Z] Step 10/12 : COPY . . [2022-07-11T18:03:16.985Z] ---> ad4a5bc3a5b4 [2022-07-11T18:03:16.985Z] Step 11/12 : ARG MAKE='make build' [2022-07-11T18:03:16.985Z] ---> Running in 71f026cab169 [2022-07-11T18:03:16.985Z] Removing intermediate container 71f026cab169 [2022-07-11T18:03:16.985Z] ---> 7325dae83ef4 [2022-07-11T18:03:16.985Z] Step 12/12 : RUN $MAKE [2022-07-11T18:03:16.985Z] ---> Running in f887d6979952 [2022-07-11T18:03:16.985Z] noop [2022-07-11T18:03:16.985Z] Removing intermediate container f887d6979952 [2022-07-11T18:03:16.985Z] ---> 9d92b81b6c56 [2022-07-11T18:03:16.985Z] Successfully built 9d92b81b6c56 [2022-07-11T18:03:16.985Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:03:17.355Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T18:03:17.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:03:17.611Z] prd-ubuntu20.04-docker-arm64-4c-16g-19317 does not seem to be running inside a container [2022-07-11T18:03:17.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T18:03:19.027Z] $ docker top 161495575f7909e73a79d4d4b38706683bc182d78a5f19ce06f2b45b346ac213 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T18:03:19.952Z] + go version [2022-07-11T18:03:19.952Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-11T18:03:19.982Z] $ docker stop --time=1 161495575f7909e73a79d4d4b38706683bc182d78a5f19ce06f2b45b346ac213 [2022-07-11T18:03:21.673Z] $ docker rm -f 161495575f7909e73a79d4d4b38706683bc182d78a5f19ce06f2b45b346ac213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:03:22.289Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T18:03:22.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:03:22.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-19317 does not seem to be running inside a container [2022-07-11T18:03:22.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T18:03:23.978Z] $ docker top 2dea4a5310c3069a039fdc16a00cf6fd4294613911417f683fdc85dfb2cb76de -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T18:03:24.906Z] + make test [2022-07-11T18:03:24.906Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T18:03:26.923Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-11T18:04:48.774Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-11T18:04:50.758Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.145s coverage: 65.7% of statements [2022-07-11T18:04:51.031Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T18:04:51.031Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T18:05:13.231Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T18:05:13.231Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T18:05:13.231Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T18:05:13.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T18:05:13.274Z] $ docker stop --time=1 2dea4a5310c3069a039fdc16a00cf6fd4294613911417f683fdc85dfb2cb76de [2022-07-11T18:05:15.073Z] $ docker rm -f 2dea4a5310c3069a039fdc16a00cf6fd4294613911417f683fdc85dfb2cb76de [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T18:05:16.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T18:05:16.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T18:05:17.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T18:05:17.455Z] + ls -al . [2022-07-11T18:05:17.455Z] total 188 [2022-07-11T18:05:17.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:03 . [2022-07-11T18:05:17.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:01 .. [2022-07-11T18:05:17.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:01 .git [2022-07-11T18:05:17.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:01 .github [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 11 18:01 .gitignore [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 18:01 .golangci.yml [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 11 18:01 Attribution.txt [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 11 18:01 CHANGELOG.md [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 1978 Jul 11 18:01 Dockerfile [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:01 GOVERNANCE.md [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 11 18:01 Jenkinsfile [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 18:01 LICENSE [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 11 18:01 Makefile [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 11 18:01 OWNERS.md [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 11 18:01 README.md [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 17:58 VERSION [2022-07-11T18:05:17.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:01 bin [2022-07-11T18:05:17.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:01 cmd [2022-07-11T18:05:17.455Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 11 18:04 coverage.out [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jul 11 18:01 go.mod [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 34837 Jul 11 18:01 go.sum [2022-07-11T18:05:17.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:01 internal [2022-07-11T18:05:17.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:01 snap [2022-07-11T18:05:17.455Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 11 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:05:17.821Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb --label arch=arm64 --label version=0.0.0 . [2022-07-11T18:05:18.432Z] Sending build context to Docker daemon 11.74MB [2022-07-11T18:05:18.432Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T18:05:18.432Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T18:05:18.432Z] ---> 9d92b81b6c56 [2022-07-11T18:05:18.432Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T18:05:18.432Z] ---> Running in d45e2a4d3c3e [2022-07-11T18:05:18.708Z] Removing intermediate container d45e2a4d3c3e [2022-07-11T18:05:18.708Z] ---> feea7b813c51 [2022-07-11T18:05:18.708Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T18:05:18.708Z] ---> Running in 58886c37ae20 [2022-07-11T18:05:19.307Z] Removing intermediate container 58886c37ae20 [2022-07-11T18:05:19.307Z] ---> bbcaa085f44b [2022-07-11T18:05:19.307Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-11T18:05:19.307Z] ---> Running in 849b87376299 [2022-07-11T18:05:19.580Z] Removing intermediate container 849b87376299 [2022-07-11T18:05:19.580Z] ---> 943729bcfc70 [2022-07-11T18:05:19.580Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T18:05:19.580Z] ---> Running in 5edae736c70a [2022-07-11T18:05:21.552Z] Removing intermediate container 5edae736c70a [2022-07-11T18:05:21.552Z] ---> 6bd19fa3aea4 [2022-07-11T18:05:21.552Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T18:05:21.552Z] ---> Running in 4a9b3072e2bc [2022-07-11T18:05:22.529Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T18:05:23.506Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T18:05:24.480Z] OK: 226 MiB in 55 packages [2022-07-11T18:05:25.074Z] Removing intermediate container 4a9b3072e2bc [2022-07-11T18:05:25.074Z] ---> 9eb685c7cf0e [2022-07-11T18:05:25.074Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-11T18:05:25.667Z] ---> 4af990b5548a [2022-07-11T18:05:25.667Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T18:05:25.940Z] ---> Running in e66a50cf6e0e [2022-07-11T18:05:27.909Z] Removing intermediate container e66a50cf6e0e [2022-07-11T18:05:27.909Z] ---> 0d4d346f8a15 [2022-07-11T18:05:27.909Z] Step 10/26 : COPY . . [2022-07-11T18:05:28.887Z] ---> 31a5348ef4a7 [2022-07-11T18:05:28.887Z] Step 11/26 : ARG MAKE='make build' [2022-07-11T18:05:28.887Z] ---> Running in 62dd59b5a76b [2022-07-11T18:05:29.481Z] Removing intermediate container 62dd59b5a76b [2022-07-11T18:05:29.481Z] ---> 16cad81bcc15 [2022-07-11T18:05:29.481Z] Step 12/26 : RUN $MAKE [2022-07-11T18:05:29.481Z] ---> Running in e32bb3a1ff55 [2022-07-11T18:05:30.460Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-07-11T18:07:52.419Z] Removing intermediate container e32bb3a1ff55 [2022-07-11T18:07:52.419Z] ---> 2f9bcf4a0d4a [2022-07-11T18:07:52.419Z] Step 13/26 : FROM alpine:3.16 [2022-07-11T18:07:52.419Z] 3.16: Pulling from library/alpine [2022-07-11T18:07:52.419Z] b3c136eddcbf: Already exists [2022-07-11T18:07:52.419Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T18:07:52.419Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T18:07:52.419Z] ---> 6e30ab57aeee [2022-07-11T18:07:52.419Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-11T18:07:52.419Z] ---> Running in 9965d0af4cf1 [2022-07-11T18:07:52.419Z] Removing intermediate container 9965d0af4cf1 [2022-07-11T18:07:52.419Z] ---> 90fe2c387224 [2022-07-11T18:07:52.419Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T18:07:52.419Z] ---> Running in c84ed91d1c18 [2022-07-11T18:07:52.419Z] Removing intermediate container c84ed91d1c18 [2022-07-11T18:07:52.419Z] ---> 4672d8be5e30 [2022-07-11T18:07:52.419Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T18:07:52.419Z] ---> Running in 3e12bfee7a38 [2022-07-11T18:07:52.419Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T18:07:52.419Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T18:07:53.018Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T18:07:53.018Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T18:07:53.018Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T18:07:53.293Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T18:07:53.293Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T18:07:53.570Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T18:07:53.570Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T18:07:53.570Z] OK: 8 MiB in 20 packages [2022-07-11T18:07:54.560Z] Removing intermediate container 3e12bfee7a38 [2022-07-11T18:07:54.560Z] ---> ff9cbb311bde [2022-07-11T18:07:54.560Z] Step 17/26 : WORKDIR / [2022-07-11T18:07:54.560Z] ---> Running in d77dd8837636 [2022-07-11T18:07:55.160Z] Removing intermediate container d77dd8837636 [2022-07-11T18:07:55.160Z] ---> 7c9637426ae9 [2022-07-11T18:07:55.160Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-11T18:07:55.436Z] ---> 8f21f78a9cb7 [2022-07-11T18:07:55.436Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-11T18:07:56.035Z] ---> 8220eec43ae7 [2022-07-11T18:07:56.035Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-11T18:07:57.496Z] ---> 471610ee636d [2022-07-11T18:07:57.496Z] Step 21/26 : EXPOSE 59900 [2022-07-11T18:07:57.776Z] ---> Running in 88d57d6f0bd0 [2022-07-11T18:07:58.054Z] Removing intermediate container 88d57d6f0bd0 [2022-07-11T18:07:58.054Z] ---> 2de5c779856d [2022-07-11T18:07:58.054Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-11T18:07:58.054Z] ---> Running in f542c1d115b1 [2022-07-11T18:07:58.334Z] Removing intermediate container f542c1d115b1 [2022-07-11T18:07:58.334Z] ---> b17802e59444 [2022-07-11T18:07:58.334Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T18:07:58.608Z] ---> Running in 33f8cd4ae361 [2022-07-11T18:07:58.883Z] Removing intermediate container 33f8cd4ae361 [2022-07-11T18:07:58.883Z] ---> 0a3aa9178e7b [2022-07-11T18:07:58.883Z] Step 24/26 : LABEL arch=arm64 [2022-07-11T18:07:58.883Z] ---> Running in f84750539ebe [2022-07-11T18:07:59.163Z] Removing intermediate container f84750539ebe [2022-07-11T18:07:59.164Z] ---> 206c863d5ec1 [2022-07-11T18:07:59.164Z] Step 25/26 : LABEL git_sha=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [2022-07-11T18:07:59.439Z] ---> Running in 9c84629b41f7 [2022-07-11T18:07:59.715Z] Removing intermediate container 9c84629b41f7 [2022-07-11T18:07:59.715Z] ---> 8a1580f324cf [2022-07-11T18:07:59.715Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T18:07:59.715Z] ---> Running in bd1bef41f1c0 [2022-07-11T18:07:59.990Z] Removing intermediate container bd1bef41f1c0 [2022-07-11T18:07:59.990Z] ---> cc9d7e9f4d42 [2022-07-11T18:07:59.990Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T18:07:59.990Z] Successfully built cc9d7e9f4d42 [2022-07-11T18:07:59.990Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:08:00.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T18:08:00.465Z] [2022-07-11T18:08:00.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:08:00.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T18:08:01.098Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T18:08:01.098Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T18:08:01.098Z] 04944245beec: Pulling fs layer [2022-07-11T18:08:01.098Z] 699f458cf7ca: Pulling fs layer [2022-07-11T18:08:01.098Z] 765212b225bb: Pulling fs layer [2022-07-11T18:08:01.098Z] f23df028b6ca: Pulling fs layer [2022-07-11T18:08:01.098Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T18:08:01.098Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T18:08:01.098Z] f23df028b6ca: Waiting [2022-07-11T18:08:01.098Z] d65c8cfc05b1: Waiting [2022-07-11T18:08:01.098Z] 2437ff75d9bd: Waiting [2022-07-11T18:08:01.098Z] 765212b225bb: Waiting [2022-07-11T18:08:01.098Z] 04944245beec: Verifying Checksum [2022-07-11T18:08:01.098Z] 04944245beec: Download complete [2022-07-11T18:08:01.098Z] 765212b225bb: Verifying Checksum [2022-07-11T18:08:01.098Z] 765212b225bb: Download complete [2022-07-11T18:08:01.098Z] f23df028b6ca: Verifying Checksum [2022-07-11T18:08:01.098Z] f23df028b6ca: Download complete [2022-07-11T18:08:01.098Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T18:08:01.098Z] d65c8cfc05b1: Download complete [2022-07-11T18:08:01.373Z] 699f458cf7ca: Verifying Checksum [2022-07-11T18:08:01.373Z] 699f458cf7ca: Download complete [2022-07-11T18:08:01.650Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T18:08:01.650Z] 8998bd30e6a1: Download complete [2022-07-11T18:08:04.288Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T18:08:04.288Z] 2437ff75d9bd: Download complete [2022-07-11T18:08:06.278Z] 8998bd30e6a1: Pull complete [2022-07-11T18:08:06.882Z] 04944245beec: Pull complete [2022-07-11T18:08:08.325Z] 699f458cf7ca: Pull complete [2022-07-11T18:08:08.601Z] 765212b225bb: Pull complete [2022-07-11T18:08:09.600Z] f23df028b6ca: Pull complete [2022-07-11T18:08:09.875Z] d65c8cfc05b1: Pull complete [2022-07-11T18:08:24.998Z] 2437ff75d9bd: Pull complete [2022-07-11T18:08:24.998Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T18:08:24.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T18:08:24.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:08:25.269Z] prd-ubuntu20.04-docker-arm64-4c-16g-19317 does not seem to be running inside a container [2022-07-11T18:08:25.366Z] $ 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-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T18:08:28.218Z] $ docker top 908acc1289eecd746f344c530b28d8ee959ba3db3c771d91e691fc74260b7712 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:29.163Z] ---> job-cost.sh [2022-07-11T18:08:29.163Z] lf-activate-venv: SKIPPING [2022-07-11T18:08:29.163Z] INFO: No Stack... [2022-07-11T18:08:29.438Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T18:08:30.422Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T18:08:31.097Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-07-11T18:08:31.097Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T18:08:31.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [2022-07-11T18:08:31.176Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] did not exist. Created. [2022-07-11T18:08:31.177Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T18:08:31.880Z] /w/workspace/device-virtual-go/3@tmp/durable-029c2477/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T18:08:32.576Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T18:08:32.597Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T18:08:32.649Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T18:08:32.657Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T18:08:32.682Z] $ docker stop --time=1 908acc1289eecd746f344c530b28d8ee959ba3db3c771d91e691fc74260b7712 [2022-07-11T18:08:34.231Z] $ docker rm -f 908acc1289eecd746f344c530b28d8ee959ba3db3c771d91e691fc74260b7712 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-11T18:08:35.235Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-294/archives ] [2022-07-11T18:08:35.235Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-294/archives [2022-07-11T18:08:35.235Z] total 16 [2022-07-11T18:08:35.235Z] drwxr-xr-x 3 root root 4096 Jul 11 17:59 . [2022-07-11T18:08:35.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:59 .. [2022-07-11T18:08:35.235Z] drwxr-xr-x 2 root root 4096 Jul 11 17:59 cost [2022-07-11T18:08:35.235Z] -rw-r--r-- 1 root root 88 Jul 11 17:59 cost.csv [2022-07-11T18:08:35.235Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-294/archives [2022-07-11T18:08:35.235Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-294/archives [2022-07-11T18:08:35.235Z] total 16 [2022-07-11T18:08:35.235Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 17:59 . [2022-07-11T18:08:35.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:59 .. [2022-07-11T18:08:35.235Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 17:59 cost [2022-07-11T18:08:35.235Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 11 17:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:35.529Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:36.393Z] ---> package-listing.sh [2022-07-11T18:08:36.393Z] ++ facter osfamily [2022-07-11T18:08:36.393Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T18:08:36.654Z] + OS_FAMILY=debian [2022-07-11T18:08:36.654Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-294 [2022-07-11T18:08:36.654Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T18:08:36.654Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T18:08:36.654Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T18:08:36.654Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T18:08:36.654Z] + '[' /w/workspace/foundry_device-virtual-go_PR-294 ']' [2022-07-11T18:08:36.654Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T18:08:36.654Z] + case "${OS_FAMILY}" in [2022-07-11T18:08:36.654Z] + dpkg -l [2022-07-11T18:08:36.654Z] + grep '^ii' [2022-07-11T18:08:36.654Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T18:08:36.654Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T18:08:36.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T18:08:36.654Z] + '[' /w/workspace/foundry_device-virtual-go_PR-294 ']' [2022-07-11T18:08:36.654Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-294/archives/ [2022-07-11T18:08:36.654Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-294/archives/ [Pipeline] echo [2022-07-11T18:08:36.666Z] 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/foundry_device-virtual-go_PR-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T18:08:36.948Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:08:37.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T18:08:37.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:08:37.589Z] prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container [2022-07-11T18:08:37.626Z] $ 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/foundry_device-virtual-go_PR-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T18:08:37.865Z] $ docker top 3b742525258b99e698a9ec7c77a3355568d3d13914b004f100a9b678b1c16d2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T18:08:38.226Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T18:08:38.516Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T18:08:38.817Z] + ls /var/log/sa-host [2022-07-11T18:08:38.817Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T18:08:38.887Z] provisioning config files... [2022-07-11T18:08:38.896Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config5299214699742332093tmp [Pipeline] { [Pipeline] echo [2022-07-11T18:08:38.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:39.204Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T18:08:39.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:39.542Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T18:08:39.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:39.839Z] ---> sudo-logs.sh [2022-07-11T18:08:39.839Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T18:08:39.869Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:40.153Z] ---> job-cost.sh [2022-07-11T18:08:40.153Z] lf-activate-venv: SKIPPING [2022-07-11T18:08:40.153Z] DEBUG: total: 0.2199999988079071 [2022-07-11T18:08:40.153Z] INFO: Retrieving Stack Cost... [2022-07-11T18:08:40.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T18:08:40.986Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T18:08:41.000Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:08:41.285Z] ---> logs-deploy.sh [2022-07-11T18:08:41.285Z] lf-activate-venv: SKIPPING [2022-07-11T18:08:41.285Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-294/3 [2022-07-11T18:08:41.285Z] INFO: archiving workspace using pattern(s): [2022-07-11T18:08:42.226Z] Archives upload complete. [2022-07-11T18:08:42.226Z] INFO: archiving logs to Nexus