Pull request #317 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 213c59a90fa2a9f25f91c2628b566ab82c721a2b rather than e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 Obtained Jenkinsfile from 213c59a90fa2a9f25f91c2628b566ab82c721a2b 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-ssh13376536085462330708.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh243102006527087049.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4211848480919320863.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14071870372189300837.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17184980788235022274.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11095570208673783420.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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-117002 in /w/workspace/foundry_device-virtual-go_PR-317 [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-317 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 Merge succeeded, producing e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 Checking out Revision e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T23:08:10.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T23:08:10.762Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T23:08:10.864Z] ========================================================= [2022-10-25T23:08:10.864Z] EdgeX Global Pipelines Version Info [2022-10-25T23:08:10.864Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:08:11.641Z] ------------------- [2022-10-25T23:08:11.641Z] stable info: [2022-10-25T23:08:11.641Z] ------------------- [2022-10-25T23:08:11.641Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T23:08:11.641Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T23:08:11.641Z] Message: update stable to v1.0.243 [2022-10-25T23:08:12.222Z] ------------------- [2022-10-25T23:08:12.222Z] experimental info: [2022-10-25T23:08:12.222Z] ------------------- [2022-10-25T23:08:12.222Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T23:08:12.222Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T23:08:12.222Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T23:08:12.525Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-25T23:08:12.562Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-25T23:08:12.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T23:08:12.652Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T23:08:12.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T23:08:12.734Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T23:08:12.788Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T23:08:12.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T23:08:12.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T23:08:12.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T23:08:12.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T23:08:12.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-25T23:08:13.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T23:08:13.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T23:08:13.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T23:08:13.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T23:08:13.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T23:08:13.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T23:08:13.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T23:08:13.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T23:08:13.366Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T23:08:13.407Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T23:08:13.449Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T23:08:13.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T23:08:13.536Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T23:08:13.577Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T23:08:13.617Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T23:08:13.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo [2022-10-25T23:08:13.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo [2022-10-25T23:08:13.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo [2022-10-25T23:08:13.784Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo [2022-10-25T23:08:13.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e245ba1 [Pipeline] echo [2022-10-25T23:08:13.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T23:08:13.960Z] provisioning config files... [2022-10-25T23:08:13.977Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config18135249135530163720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:08:14.318Z] ---> docker-login.sh [2022-10-25T23:08:14.318Z] nexus3.edgexfoundry.org:10001 [2022-10-25T23:08:14.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:14.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:14.578Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:14.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:14.578Z] [2022-10-25T23:08:14.578Z] Login Succeeded [2022-10-25T23:08:14.578Z] nexus3.edgexfoundry.org:10002 [2022-10-25T23:08:14.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:14.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:14.851Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:14.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:14.851Z] [2022-10-25T23:08:14.851Z] Login Succeeded [2022-10-25T23:08:14.851Z] nexus3.edgexfoundry.org:10003 [2022-10-25T23:08:14.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:14.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:14.851Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:14.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:14.851Z] [2022-10-25T23:08:14.851Z] Login Succeeded [2022-10-25T23:08:14.851Z] nexus3.edgexfoundry.org:10004 [2022-10-25T23:08:14.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:15.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:15.112Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:15.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:15.112Z] [2022-10-25T23:08:15.112Z] Login Succeeded [2022-10-25T23:08:15.112Z] docker.io [2022-10-25T23:08:15.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:15.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:15.371Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:15.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:15.371Z] [2022-10-25T23:08:15.371Z] Login Succeeded [2022-10-25T23:08:15.371Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T23:08:15.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T23:08:16.005Z] + git rev-list -1 --merges e245ba1a7bb4665bce4f103bf9d77925b6c6aa39~1..e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo [2022-10-25T23:08:16.072Z] -----------> git rev-list -1 --merges e245ba1a7bb4665bce4f103bf9d77925b6c6aa39~1..e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [false] [Pipeline] sh [2022-10-25T23:08:16.381Z] + git log --format=format:%s -1 e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo [2022-10-25T23:08:16.419Z] ========================================================= [2022-10-25T23:08:16.419Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T23:08:16.419Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T23:08:16.836Z] + git log --format=format:%s -1 e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo [2022-10-25T23:08:16.869Z] [semverPrep] GIT_COMMIT: e245ba1a7bb4665bce4f103bf9d77925b6c6aa39, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-25T23:08:16.899Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T23:08:17.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T23:08:17.354Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T23:08:17.354Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T23:08:17.354Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T23:08:17.354Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T23:08:17.354Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T23:08:17.355Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:08:17.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T23:08:17.777Z] [2022-10-25T23:08:17.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:08:18.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T23:08:18.154Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T23:08:18.154Z] b85a868b505f: Pulling fs layer [2022-10-25T23:08:18.154Z] e2be974225ed: Pulling fs layer [2022-10-25T23:08:18.154Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T23:08:18.154Z] 988bab9f4d93: Pulling fs layer [2022-10-25T23:08:18.154Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T23:08:18.154Z] eaf3925da568: Pulling fs layer [2022-10-25T23:08:18.154Z] bab4dde63d76: Pulling fs layer [2022-10-25T23:08:18.154Z] bde34c3a00c8: Pulling fs layer [2022-10-25T23:08:18.154Z] b352a97aabf1: Pulling fs layer [2022-10-25T23:08:18.154Z] 4872d77fe225: Pulling fs layer [2022-10-25T23:08:18.154Z] 5851b861e8e6: Pulling fs layer [2022-10-25T23:08:18.154Z] eaf3925da568: Waiting [2022-10-25T23:08:18.154Z] bab4dde63d76: Waiting [2022-10-25T23:08:18.154Z] 4872d77fe225: Waiting [2022-10-25T23:08:18.154Z] 5851b861e8e6: Waiting [2022-10-25T23:08:18.154Z] bde34c3a00c8: Waiting [2022-10-25T23:08:18.154Z] b352a97aabf1: Waiting [2022-10-25T23:08:18.154Z] 1469e6f7b9e6: Waiting [2022-10-25T23:08:18.154Z] 988bab9f4d93: Waiting [2022-10-25T23:08:18.154Z] e2be974225ed: Verifying Checksum [2022-10-25T23:08:18.154Z] e2be974225ed: Download complete [2022-10-25T23:08:18.154Z] 988bab9f4d93: Verifying Checksum [2022-10-25T23:08:18.154Z] 988bab9f4d93: Download complete [2022-10-25T23:08:18.413Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T23:08:18.413Z] 1469e6f7b9e6: Download complete [2022-10-25T23:08:18.413Z] eaf3925da568: Verifying Checksum [2022-10-25T23:08:18.413Z] eaf3925da568: Download complete [2022-10-25T23:08:18.413Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T23:08:18.413Z] 339a4e72a1f5: Download complete [2022-10-25T23:08:18.413Z] bde34c3a00c8: Download complete [2022-10-25T23:08:18.413Z] b352a97aabf1: Download complete [2022-10-25T23:08:18.413Z] 4872d77fe225: Verifying Checksum [2022-10-25T23:08:18.413Z] 4872d77fe225: Download complete [2022-10-25T23:08:18.413Z] 5851b861e8e6: Verifying Checksum [2022-10-25T23:08:18.413Z] 5851b861e8e6: Download complete [2022-10-25T23:08:18.413Z] b85a868b505f: Download complete [2022-10-25T23:08:18.672Z] bab4dde63d76: Verifying Checksum [2022-10-25T23:08:18.672Z] bab4dde63d76: Download complete [2022-10-25T23:08:19.607Z] b85a868b505f: Pull complete [2022-10-25T23:08:19.867Z] e2be974225ed: Pull complete [2022-10-25T23:08:20.437Z] 339a4e72a1f5: Pull complete [2022-10-25T23:08:20.437Z] 988bab9f4d93: Pull complete [2022-10-25T23:08:20.695Z] 1469e6f7b9e6: Pull complete [2022-10-25T23:08:20.695Z] eaf3925da568: Pull complete [2022-10-25T23:08:22.598Z] bab4dde63d76: Pull complete [2022-10-25T23:08:22.598Z] bde34c3a00c8: Pull complete [2022-10-25T23:08:22.862Z] b352a97aabf1: Pull complete [2022-10-25T23:08:22.862Z] 4872d77fe225: Pull complete [2022-10-25T23:08:22.862Z] 5851b861e8e6: Pull complete [2022-10-25T23:08:22.862Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T23:08:23.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T23:08:23.122Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:08:23.342Z] prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container [2022-10-25T23:08:23.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T23:08:25.231Z] $ docker top 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b -eo pid,comm [2022-10-25T23:08:25.281Z] 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-10-25T23:08:25.281Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T23:08:25.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T23:08:25.464Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T23:08:25.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T23:08:25.580Z] $ docker exec 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent [2022-10-25T23:08:25.689Z] SSH_AUTH_SOCK=/tmp/ssh-d4PmEsi2kg0N/agent.32 [2022-10-25T23:08:25.689Z] SSH_AGENT_PID=38 [2022-10-25T23:08:25.695Z] Running ssh-add (command line suppressed) [2022-10-25T23:08:25.825Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_9416830473641615290.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_9416830473641615290.key) [2022-10-25T23:08:25.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T23:08:26.160Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T23:08:26.190Z] $ docker exec --env ******** --env ******** 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent -k [2022-10-25T23:08:26.290Z] unset SSH_AUTH_SOCK; [2022-10-25T23:08:26.290Z] unset SSH_AGENT_PID; [2022-10-25T23:08:26.290Z] echo Agent pid 38 killed; [2022-10-25T23:08:26.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T23:08:26.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T23:08:26.378Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T23:08:26.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T23:08:26.509Z] $ docker exec 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent [2022-10-25T23:08:26.609Z] SSH_AUTH_SOCK=/tmp/ssh-jSWJteIVf89X/agent.71 [2022-10-25T23:08:26.609Z] SSH_AGENT_PID=77 [2022-10-25T23:08:26.640Z] Running ssh-add (command line suppressed) [2022-10-25T23:08:26.758Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_16030641859253516311.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_16030641859253516311.key) [2022-10-25T23:08:26.773Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T23:08:27.104Z] + git semver init [2022-10-25T23:08:27.364Z] 2022-10-25 23:08:27,316 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T23:08:27.364Z] 2022-10-25 23:08:27,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-25T23:08:27.364Z] 2022-10-25 23:08:27,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-25T23:08:27.364Z] 2022-10-25 23:08:27,318 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-317/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-317, universal_newlines=False, shell=None, istream=None) [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,449 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 with force:False [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,450 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,454 [execute] INFO git cat-file --batch-check [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,460 [execute] INFO git cat-file --batch [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T23:08:28.743Z] 2022-10-25 23:08:28,465 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-25T23:08:28.743Z] 0.0.0 [Pipeline] } [2022-10-25T23:08:28.774Z] $ docker exec --env ******** --env ******** 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent -k [2022-10-25T23:08:28.881Z] unset SSH_AUTH_SOCK; [2022-10-25T23:08:28.889Z] unset SSH_AGENT_PID; [2022-10-25T23:08:28.890Z] echo Agent pid 77 killed; [2022-10-25T23:08:28.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T23:08:29.322Z] + git semver [Pipeline] } [2022-10-25T23:08:29.609Z] $ docker stop --time=1 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b [2022-10-25T23:08:30.941Z] $ docker rm -f 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T23:08:31.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T23:08:31.587Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T23:08:31.622Z] [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-10-25T23:08:32.174Z] provisioning config files... [2022-10-25T23:08:32.184Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config5631105620044818579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:08:32.525Z] ---> docker-login.sh [2022-10-25T23:08:32.525Z] nexus3.edgexfoundry.org:10001 [2022-10-25T23:08:32.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:32.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:32.525Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:32.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:32.525Z] [2022-10-25T23:08:32.525Z] Login Succeeded [2022-10-25T23:08:32.525Z] nexus3.edgexfoundry.org:10002 [2022-10-25T23:08:32.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:32.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:32.525Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:32.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:32.525Z] [2022-10-25T23:08:32.525Z] Login Succeeded [2022-10-25T23:08:32.525Z] nexus3.edgexfoundry.org:10003 [2022-10-25T23:08:32.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:32.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:32.784Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:32.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:32.784Z] [2022-10-25T23:08:32.784Z] Login Succeeded [2022-10-25T23:08:32.784Z] nexus3.edgexfoundry.org:10004 [2022-10-25T23:08:32.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:32.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:32.784Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:32.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:32.784Z] [2022-10-25T23:08:32.784Z] Login Succeeded [2022-10-25T23:08:32.784Z] docker.io [2022-10-25T23:08:33.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:08:33.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:08:33.302Z] Configure a credential helper to remove this warning. See [2022-10-25T23:08:33.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:08:33.302Z] [2022-10-25T23:08:33.302Z] Login Succeeded [2022-10-25T23:08:33.302Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T23:08:33.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T23:08:33.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T23:08:33.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T23:08:33.587Z] ========================================================= [2022-10-25T23:08:33.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T23:08:33.587Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:08:34.076Z] + 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-10-25T23:08:34.076Z] Sending build context to Docker daemon 23.26MB [2022-10-25T23:08:34.076Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T23:08:34.076Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-25T23:08:34.351Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T23:08:34.351Z] 213ec9aee27d: Pulling fs layer [2022-10-25T23:08:34.351Z] 4583459ba037: Pulling fs layer [2022-10-25T23:08:34.351Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T23:08:34.351Z] 53926ce57604: Pulling fs layer [2022-10-25T23:08:34.351Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T23:08:34.351Z] 30f14e443154: Pulling fs layer [2022-10-25T23:08:34.351Z] 801331c1e519: Pulling fs layer [2022-10-25T23:08:34.351Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T23:08:34.351Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T23:08:34.351Z] 53926ce57604: Waiting [2022-10-25T23:08:34.351Z] 21b2b0c7a3f4: Waiting [2022-10-25T23:08:34.351Z] 30f14e443154: Waiting [2022-10-25T23:08:34.351Z] 801331c1e519: Waiting [2022-10-25T23:08:34.351Z] 99cc6dd402b0: Waiting [2022-10-25T23:08:34.351Z] 7d9ed39f4882: Waiting [2022-10-25T23:08:34.351Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T23:08:34.351Z] 93c1e223e6f2: Download complete [2022-10-25T23:08:34.351Z] 4583459ba037: Download complete [2022-10-25T23:08:34.351Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T23:08:34.351Z] 21b2b0c7a3f4: Download complete [2022-10-25T23:08:34.351Z] 30f14e443154: Verifying Checksum [2022-10-25T23:08:34.351Z] 30f14e443154: Download complete [2022-10-25T23:08:34.351Z] 213ec9aee27d: Verifying Checksum [2022-10-25T23:08:34.351Z] 213ec9aee27d: Download complete [2022-10-25T23:08:34.351Z] 801331c1e519: Download complete [2022-10-25T23:08:34.627Z] 213ec9aee27d: Pull complete [2022-10-25T23:08:34.627Z] 4583459ba037: Pull complete [2022-10-25T23:08:34.627Z] 93c1e223e6f2: Pull complete [2022-10-25T23:08:35.216Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T23:08:35.216Z] 7d9ed39f4882: Download complete [2022-10-25T23:08:35.216Z] 53926ce57604: Download complete [2022-10-25T23:08:35.475Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T23:08:35.475Z] 99cc6dd402b0: Download complete [2022-10-25T23:08:39.658Z] 53926ce57604: Pull complete [2022-10-25T23:08:39.658Z] 21b2b0c7a3f4: Pull complete [2022-10-25T23:08:39.658Z] 30f14e443154: Pull complete [2022-10-25T23:08:39.658Z] 801331c1e519: Pull complete [2022-10-25T23:08:41.035Z] 99cc6dd402b0: Pull complete [2022-10-25T23:08:41.986Z] 7d9ed39f4882: Pull complete [2022-10-25T23:08:41.986Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T23:08:41.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T23:08:41.986Z] ---> 1dedd983c030 [2022-10-25T23:08:41.986Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T23:08:45.278Z] ---> Running in 614740f52a44 [2022-10-25T23:08:45.278Z] Removing intermediate container 614740f52a44 [2022-10-25T23:08:45.278Z] ---> b193199dbb56 [2022-10-25T23:08:45.278Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T23:08:45.278Z] ---> Running in ae43578c9ce5 [2022-10-25T23:08:45.278Z] Removing intermediate container ae43578c9ce5 [2022-10-25T23:08:45.278Z] ---> 734458173687 [2022-10-25T23:08:45.278Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-25T23:08:45.278Z] ---> Running in 1d375fd01677 [2022-10-25T23:08:45.278Z] Removing intermediate container 1d375fd01677 [2022-10-25T23:08:45.278Z] ---> f111cfce9fba [2022-10-25T23:08:45.278Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-25T23:08:45.278Z] ---> Running in e733ca44763b [2022-10-25T23:08:45.538Z] Removing intermediate container e733ca44763b [2022-10-25T23:08:45.538Z] ---> 588e1f489de5 [2022-10-25T23:08:45.538Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T23:08:45.538Z] ---> Running in a17cf2e64bd8 [2022-10-25T23:08:45.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T23:08:45.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T23:08:46.054Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T23:08:46.054Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T23:08:46.054Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T23:08:46.054Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T23:08:46.054Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T23:08:46.054Z] OK: 216 MiB in 55 packages [2022-10-25T23:08:46.622Z] Removing intermediate container a17cf2e64bd8 [2022-10-25T23:08:46.622Z] ---> c127d096c690 [2022-10-25T23:08:46.622Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-25T23:08:46.622Z] ---> a69cf759d041 [2022-10-25T23:08:46.622Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T23:08:46.622Z] ---> Running in 477582a5bb84 [2022-10-25T23:08:47.008Z] Still waiting to schedule task [2022-10-25T23:08:47.008Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117000’ [2022-10-25T23:09:04.839Z] Removing intermediate container 477582a5bb84 [2022-10-25T23:09:04.839Z] ---> f9b3bfb84baf [2022-10-25T23:09:04.839Z] Step 10/12 : COPY . . [2022-10-25T23:09:05.098Z] ---> c7b3df668f68 [2022-10-25T23:09:05.098Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T23:09:05.098Z] ---> Running in ae6cdfaed506 [2022-10-25T23:09:05.098Z] Removing intermediate container ae6cdfaed506 [2022-10-25T23:09:05.098Z] ---> b2737b2aa4e3 [2022-10-25T23:09:05.098Z] Step 12/12 : RUN $MAKE [2022-10-25T23:09:05.098Z] ---> Running in ec4914303be5 [2022-10-25T23:09:05.356Z] noop [2022-10-25T23:09:05.614Z] Removing intermediate container ec4914303be5 [2022-10-25T23:09:05.614Z] ---> 40b34bc37f0b [2022-10-25T23:09:05.614Z] Successfully built 40b34bc37f0b [2022-10-25T23:09:05.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:09:06.055Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T23:09:06.055Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:09:06.200Z] prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container [2022-10-25T23:09:06.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** ci-base-image-x86_64 cat [2022-10-25T23:09:06.572Z] $ docker top 249ff90703ec93265bd1415f1b93dc73a6f5a55dca7c8fd886284772127f693d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T23:09:06.964Z] + go version [2022-10-25T23:09:06.964Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T23:09:06.999Z] $ docker stop --time=1 249ff90703ec93265bd1415f1b93dc73a6f5a55dca7c8fd886284772127f693d [2022-10-25T23:09:08.267Z] $ docker rm -f 249ff90703ec93265bd1415f1b93dc73a6f5a55dca7c8fd886284772127f693d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:09:08.944Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T23:09:08.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:09:09.094Z] prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container [2022-10-25T23:09:09.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** ci-base-image-x86_64 cat [2022-10-25T23:09:09.468Z] $ docker top 855940fdadf02eac81c93c1afd65fa6bdd09dbf5d2918bab313c8bd49702a344 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T23:09:09.863Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh [2022-10-25T23:09:10.217Z] + make test [2022-10-25T23:09:10.218Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T23:09:10.477Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-25T23:09:20.450Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-25T23:09:20.450Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-10-25T23:09:27.009Z] 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-10-25T23:09:27.009Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T23:09:29.538Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T23:09:29.538Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T23:09:29.538Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T23:09:29.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T23:09:29.607Z] $ docker stop --time=1 855940fdadf02eac81c93c1afd65fa6bdd09dbf5d2918bab313c8bd49702a344 [2022-10-25T23:09:31.766Z] $ docker rm -f 855940fdadf02eac81c93c1afd65fa6bdd09dbf5d2918bab313c8bd49702a344 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T23:09:32.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T23:09:32.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T23:09:33.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T23:09:33.347Z] + ls -al . [2022-10-25T23:09:33.347Z] total 204 [2022-10-25T23:09:33.347Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 23:09 . [2022-10-25T23:09:33.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:08 .. [2022-10-25T23:09:33.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:09 .git [2022-10-25T23:09:33.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:08 .github [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 25 23:08 .gitignore [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:08 .golangci.yml [2022-10-25T23:09:33.347Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:08 .semver [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 25 23:08 Attribution.txt [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 25 23:08 CHANGELOG.md [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 25 23:08 Dockerfile [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:08 GOVERNANCE.md [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 25 23:08 Jenkinsfile [2022-10-25T23:09:33.347Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:08 LICENSE [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 25 23:08 Makefile [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 25 23:08 OWNERS.md [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 25 23:08 README.md [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:08 VERSION [2022-10-25T23:09:33.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:08 bin [2022-10-25T23:09:33.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:08 cmd [2022-10-25T23:09:33.348Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 25 23:09 coverage.out [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 23:08 go.mod [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 25 23:08 go.sum [2022-10-25T23:09:33.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:08 internal [2022-10-25T23:09:33.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:08 snap [2022-10-25T23:09:33.348Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 25 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:09:33.739Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 --label arch=amd64 --label version=0.0.0 . [2022-10-25T23:09:33.739Z] Sending build context to Docker daemon 23.31MB [2022-10-25T23:09:33.739Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T23:09:33.739Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T23:09:33.739Z] ---> 40b34bc37f0b [2022-10-25T23:09:33.739Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T23:09:33.999Z] ---> Running in 6888777d2261 [2022-10-25T23:09:33.999Z] Removing intermediate container 6888777d2261 [2022-10-25T23:09:33.999Z] ---> 67c227a0a7f6 [2022-10-25T23:09:33.999Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T23:09:33.999Z] ---> Running in 6e81ce40cde9 [2022-10-25T23:09:34.259Z] Removing intermediate container 6e81ce40cde9 [2022-10-25T23:09:34.259Z] ---> 395c22642d33 [2022-10-25T23:09:34.259Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T23:09:34.259Z] ---> Running in 42a3b0fc2b2e [2022-10-25T23:09:34.259Z] Removing intermediate container 42a3b0fc2b2e [2022-10-25T23:09:34.259Z] ---> 71c9da1f9c9b [2022-10-25T23:09:34.259Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-25T23:09:34.259Z] ---> Running in e653d3b028db [2022-10-25T23:09:34.519Z] Removing intermediate container e653d3b028db [2022-10-25T23:09:34.519Z] ---> 5b92e296df9b [2022-10-25T23:09:34.519Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T23:09:34.519Z] ---> Running in fa138b3bf270 [2022-10-25T23:09:34.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T23:09:34.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T23:09:35.043Z] OK: 216 MiB in 55 packages [2022-10-25T23:09:35.302Z] Removing intermediate container fa138b3bf270 [2022-10-25T23:09:35.302Z] ---> a102477812c7 [2022-10-25T23:09:35.302Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-25T23:09:35.302Z] ---> dcbe6f0e8ffe [2022-10-25T23:09:35.302Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T23:09:35.302Z] ---> Running in 00d9dbd820bc [2022-10-25T23:09:35.866Z] Removing intermediate container 00d9dbd820bc [2022-10-25T23:09:35.866Z] ---> 9624ef230e59 [2022-10-25T23:09:35.866Z] Step 10/26 : COPY . . [2022-10-25T23:09:36.434Z] ---> 6930567229c3 [2022-10-25T23:09:36.434Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T23:09:36.434Z] ---> Running in f7501fdbe856 [2022-10-25T23:09:36.693Z] Removing intermediate container f7501fdbe856 [2022-10-25T23:09:36.693Z] ---> b328dc09a2a7 [2022-10-25T23:09:36.693Z] Step 12/26 : RUN $MAKE [2022-10-25T23:09:36.693Z] ---> Running in 75ddd1a0d7e9 [2022-10-25T23:09:36.952Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-25T23:09:55.039Z] Removing intermediate container 75ddd1a0d7e9 [2022-10-25T23:09:55.039Z] ---> 511ca436f841 [2022-10-25T23:09:55.039Z] Step 13/26 : FROM alpine:3.16 [2022-10-25T23:09:55.607Z] 3.16: Pulling from library/alpine [2022-10-25T23:09:55.607Z] 213ec9aee27d: Already exists [2022-10-25T23:09:55.867Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T23:09:55.867Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T23:09:55.867Z] ---> 9c6f07244728 [2022-10-25T23:09:55.867Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-25T23:09:55.867Z] ---> Running in 997f3235624c [2022-10-25T23:09:55.867Z] Removing intermediate container 997f3235624c [2022-10-25T23:09:55.867Z] ---> e1234ed40ae1 [2022-10-25T23:09:55.867Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T23:09:55.867Z] ---> Running in 7c44058f2bf9 [2022-10-25T23:09:56.433Z] Removing intermediate container 7c44058f2bf9 [2022-10-25T23:09:56.433Z] ---> b687f5d5502b [2022-10-25T23:09:56.433Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T23:09:56.433Z] ---> Running in 3f215d0f7453 [2022-10-25T23:09:56.691Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T23:09:57.255Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T23:09:57.820Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T23:09:58.078Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T23:09:58.644Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T23:09:58.903Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T23:09:59.469Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T23:09:59.727Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T23:09:59.985Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T23:09:59.985Z] OK: 8 MiB in 20 packages [2022-10-25T23:10:00.560Z] Removing intermediate container 3f215d0f7453 [2022-10-25T23:10:00.560Z] ---> 8da5cd162864 [2022-10-25T23:10:00.560Z] Step 17/26 : WORKDIR / [2022-10-25T23:10:00.560Z] ---> Running in 1ed693de48f9 [2022-10-25T23:10:00.560Z] Removing intermediate container 1ed693de48f9 [2022-10-25T23:10:00.560Z] ---> 0eb8fe0255ba [2022-10-25T23:10:00.560Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-25T23:10:00.560Z] ---> e7fdb024e353 [2022-10-25T23:10:00.560Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-25T23:10:00.820Z] ---> 4fc9318cef7d [2022-10-25T23:10:00.820Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-25T23:10:01.445Z] ---> db63a6cfe71b [2022-10-25T23:10:01.445Z] Step 21/26 : EXPOSE 59900 [2022-10-25T23:10:01.445Z] ---> Running in 94f49242660e [2022-10-25T23:10:01.445Z] Removing intermediate container 94f49242660e [2022-10-25T23:10:01.445Z] ---> 64a0c0d55792 [2022-10-25T23:10:01.445Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-25T23:10:01.445Z] ---> Running in cf6d4e6c2483 [2022-10-25T23:10:01.705Z] Removing intermediate container cf6d4e6c2483 [2022-10-25T23:10:01.705Z] ---> 5ec0a47f7d26 [2022-10-25T23:10:01.705Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T23:10:01.705Z] ---> Running in d617c79690ce [2022-10-25T23:10:01.705Z] Removing intermediate container d617c79690ce [2022-10-25T23:10:01.705Z] ---> 3a32055c8ee4 [2022-10-25T23:10:01.705Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T23:10:01.705Z] ---> Running in c216f8a9ec9c [2022-10-25T23:10:01.705Z] Removing intermediate container c216f8a9ec9c [2022-10-25T23:10:01.705Z] ---> 208a08b08593 [2022-10-25T23:10:01.705Z] Step 25/26 : LABEL git_sha=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [2022-10-25T23:10:01.705Z] ---> Running in 07dac9c5ad50 [2022-10-25T23:10:01.965Z] Removing intermediate container 07dac9c5ad50 [2022-10-25T23:10:01.965Z] ---> 32cbe4624d47 [2022-10-25T23:10:01.965Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T23:10:01.965Z] ---> Running in 7511f86e17ba [2022-10-25T23:10:01.965Z] Removing intermediate container 7511f86e17ba [2022-10-25T23:10:01.965Z] ---> 46ea5e49b6c1 [2022-10-25T23:10:01.965Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T23:10:01.965Z] Successfully built 46ea5e49b6c1 [2022-10-25T23:10:01.965Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:10:02.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T23:10:02.773Z] [2022-10-25T23:10:02.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:10:03.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T23:10:03.138Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T23:10:03.138Z] 5eb5b503b376: Pulling fs layer [2022-10-25T23:10:03.138Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T23:10:03.138Z] ec43610c2a17: Pulling fs layer [2022-10-25T23:10:03.138Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T23:10:03.138Z] 33b1e0a273af: Pulling fs layer [2022-10-25T23:10:03.138Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T23:10:03.138Z] 2f39f015ded8: Pulling fs layer [2022-10-25T23:10:03.138Z] 33b1e0a273af: Waiting [2022-10-25T23:10:03.138Z] 5d3b04190fa2: Waiting [2022-10-25T23:10:03.138Z] 3a2ae6a8a46f: Waiting [2022-10-25T23:10:03.138Z] 5c69ac0246d0: Download complete [2022-10-25T23:10:03.138Z] 3a2ae6a8a46f: Download complete [2022-10-25T23:10:03.138Z] 33b1e0a273af: Verifying Checksum [2022-10-25T23:10:03.138Z] 33b1e0a273af: Download complete [2022-10-25T23:10:03.138Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T23:10:03.138Z] 5d3b04190fa2: Download complete [2022-10-25T23:10:03.138Z] ec43610c2a17: Verifying Checksum [2022-10-25T23:10:03.138Z] ec43610c2a17: Download complete [2022-10-25T23:10:03.395Z] 5eb5b503b376: Verifying Checksum [2022-10-25T23:10:03.395Z] 5eb5b503b376: Download complete [2022-10-25T23:10:03.960Z] 2f39f015ded8: Download complete [2022-10-25T23:10:04.539Z] 5eb5b503b376: Pull complete [2022-10-25T23:10:04.807Z] 5c69ac0246d0: Pull complete [2022-10-25T23:10:05.067Z] ec43610c2a17: Pull complete [2022-10-25T23:10:05.067Z] 3a2ae6a8a46f: Pull complete [2022-10-25T23:10:05.326Z] 33b1e0a273af: Pull complete [2022-10-25T23:10:05.326Z] 5d3b04190fa2: Pull complete [2022-10-25T23:10:09.530Z] 2f39f015ded8: Pull complete [2022-10-25T23:10:09.530Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T23:10:09.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T23:10:09.530Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:10:09.741Z] prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container [2022-10-25T23:10:09.774Z] $ 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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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-lftools-log-publisher:latest cat [2022-10-25T23:10:12.029Z] $ docker top d2114ce2455b34e16cf7436bd1814f9809890cc5fa76cc1661eeefc436deca69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:10:12.458Z] ---> job-cost.sh [2022-10-25T23:10:12.458Z] lf-activate-venv: SKIPPING [2022-10-25T23:10:12.458Z] INFO: No Stack... [2022-10-25T23:10:12.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T23:10:12.976Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T23:10:13.291Z] + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv [2022-10-25T23:10:13.291Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T23:10:13.331Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [2022-10-25T23:10:13.336Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] did not exist. Created. [2022-10-25T23:10:13.336Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T23:10:13.721Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T23:10:13.771Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T23:10:13.799Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T23:10:13.874Z] $ docker stop --time=1 d2114ce2455b34e16cf7436bd1814f9809890cc5fa76cc1661eeefc436deca69 [2022-10-25T23:10:15.028Z] $ docker rm -f d2114ce2455b34e16cf7436bd1814f9809890cc5fa76cc1661eeefc436deca69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T23:10:43.192Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117003 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws [2022-10-25T23:10:43.232Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-25T23:10:43.298Z] The recommended git tool is: git [2022-10-25T23:10:48.295Z] using credential edgex-jenkins-ssh [2022-10-25T23:10:48.310Z] Cloning the remote Git repository [2022-10-25T23:10:48.342Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-25T23:10:48.414Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-25T23:10:48.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-25T23:10:48.563Z] > git --version # timeout=10 [2022-10-25T23:10:48.585Z] > git --version # 'git version 2.25.1' [2022-10-25T23:10:48.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T23:10:48.626Z] Verifying host key using known hosts file [2022-10-25T23:10:48.821Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T23:10:48.834Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T23:10:50.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-25T23:10:50.886Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T23:10:51.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-25T23:10:51.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-25T23:10:51.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T23:10:51.662Z] Verifying host key using known hosts file [2022-10-25T23:10:51.668Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T23:10:51.682Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T23:10:52.324Z] Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [2022-10-25T23:10:52.547Z] Merge succeeded, producing e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [2022-10-25T23:10:52.547Z] Checking out Revision e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 (PR-317) [2022-10-25T23:10:52.328Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T23:10:52.351Z] > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 [2022-10-25T23:10:52.434Z] > git remote # timeout=10 [2022-10-25T23:10:52.450Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T23:10:52.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T23:10:52.477Z] Verifying host key using known hosts file [2022-10-25T23:10:52.480Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T23:10:52.487Z] > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 [2022-10-25T23:10:52.514Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T23:10:52.544Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T23:10:52.558Z] > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 [2022-10-25T23:10:56.018Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [2022-10-25T23:10:56.055Z] > git --version # timeout=10 [2022-10-25T23:10:56.066Z] > git --version # 'git version 2.25.1' [2022-10-25T23:10:56.076Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T23:10:57.135Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T23:10:57.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T23:10:57.136Z] Dload Upload Total Spent Left Speed [2022-10-25T23:10:57.136Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh [2022-10-25T23:10:57.797Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T23:10:58.148Z] + sudo tee+ /etc/docker/daemon.new [2022-10-25T23:10:58.148Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T23:10:58.148Z] { [2022-10-25T23:10:58.148Z] "registry-mirrors": [ [2022-10-25T23:10:58.148Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T23:10:58.148Z] ], [2022-10-25T23:10:58.148Z] "bip": "10.250.0.254/24", [2022-10-25T23:10:58.148Z] "hosts": [ [2022-10-25T23:10:58.148Z] "tcp://0.0.0.0:5555", [2022-10-25T23:10:58.148Z] "unix:///var/run/docker.sock" [2022-10-25T23:10:58.148Z] ], [2022-10-25T23:10:58.148Z] "mtu": 1458, [2022-10-25T23:10:58.148Z] "selinux-enabled": true, [2022-10-25T23:10:58.148Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T23:10:58.148Z] } [Pipeline] sh [2022-10-25T23:10:58.496Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T23:10:58.857Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T23:11:17.159Z] provisioning config files... [2022-10-25T23:11:17.182Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7790694178423622410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:11:17.558Z] ---> docker-login.sh [2022-10-25T23:11:17.558Z] nexus3.edgexfoundry.org:10001 [2022-10-25T23:11:17.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:11:18.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:11:18.092Z] Configure a credential helper to remove this warning. See [2022-10-25T23:11:18.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:11:18.092Z] [2022-10-25T23:11:18.092Z] Login Succeeded [2022-10-25T23:11:18.092Z] nexus3.edgexfoundry.org:10002 [2022-10-25T23:11:18.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:11:18.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:11:18.363Z] Configure a credential helper to remove this warning. See [2022-10-25T23:11:18.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:11:18.363Z] [2022-10-25T23:11:18.363Z] Login Succeeded [2022-10-25T23:11:18.363Z] nexus3.edgexfoundry.org:10003 [2022-10-25T23:11:18.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:11:18.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:11:18.897Z] Configure a credential helper to remove this warning. See [2022-10-25T23:11:18.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:11:18.897Z] [2022-10-25T23:11:18.897Z] Login Succeeded [2022-10-25T23:11:18.897Z] nexus3.edgexfoundry.org:10004 [2022-10-25T23:11:18.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:11:19.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:11:19.166Z] Configure a credential helper to remove this warning. See [2022-10-25T23:11:19.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:11:19.166Z] [2022-10-25T23:11:19.166Z] Login Succeeded [2022-10-25T23:11:19.166Z] docker.io [2022-10-25T23:11:19.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T23:11:19.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T23:11:19.699Z] Configure a credential helper to remove this warning. See [2022-10-25T23:11:19.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T23:11:19.699Z] [2022-10-25T23:11:19.699Z] Login Succeeded [2022-10-25T23:11:19.699Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T23:11:19.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T23:11:20.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T23:11:20.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T23:11:20.103Z] ========================================================= [2022-10-25T23:11:20.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T23:11:20.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:11:20.602Z] + 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-10-25T23:11:20.872Z] Sending build context to Docker daemon 11.79MB [2022-10-25T23:11:20.872Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T23:11:20.872Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-25T23:11:21.140Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T23:11:21.140Z] 9b18e9b68314: Pulling fs layer [2022-10-25T23:11:21.140Z] d32db5db7311: Pulling fs layer [2022-10-25T23:11:21.140Z] d0c4b47475fc: Pulling fs layer [2022-10-25T23:11:21.140Z] 5831b945b038: Pulling fs layer [2022-10-25T23:11:21.140Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T23:11:21.140Z] e10730c5d714: Pulling fs layer [2022-10-25T23:11:21.140Z] 5dd5c2283517: Pulling fs layer [2022-10-25T23:11:21.140Z] d5ac0230b979: Pulling fs layer [2022-10-25T23:11:21.140Z] e10730c5d714: Waiting [2022-10-25T23:11:21.140Z] 5831b945b038: Waiting [2022-10-25T23:11:21.140Z] 5dd5c2283517: Waiting [2022-10-25T23:11:21.140Z] d5ac0230b979: Waiting [2022-10-25T23:11:21.140Z] 86bbec2aaacd: Waiting [2022-10-25T23:11:21.140Z] d0c4b47475fc: Verifying Checksum [2022-10-25T23:11:21.140Z] d32db5db7311: Download complete [2022-10-25T23:11:21.140Z] 86bbec2aaacd: Download complete [2022-10-25T23:11:21.140Z] e10730c5d714: Verifying Checksum [2022-10-25T23:11:21.140Z] e10730c5d714: Download complete [2022-10-25T23:11:21.140Z] 9b18e9b68314: Verifying Checksum [2022-10-25T23:11:21.140Z] 9b18e9b68314: Download complete [2022-10-25T23:11:22.116Z] d5ac0230b979: Verifying Checksum [2022-10-25T23:11:22.116Z] d5ac0230b979: Download complete [2022-10-25T23:11:22.116Z] 9b18e9b68314: Pull complete [2022-10-25T23:11:22.710Z] d32db5db7311: Pull complete [2022-10-25T23:11:22.975Z] d0c4b47475fc: Pull complete [2022-10-25T23:11:23.257Z] 5dd5c2283517: Verifying Checksum [2022-10-25T23:11:23.257Z] 5dd5c2283517: Download complete [2022-10-25T23:11:23.838Z] 5831b945b038: Download complete [2022-10-25T23:11:36.150Z] 5831b945b038: Pull complete [2022-10-25T23:11:36.150Z] 86bbec2aaacd: Pull complete [2022-10-25T23:11:36.150Z] e10730c5d714: Pull complete [2022-10-25T23:11:42.802Z] 5dd5c2283517: Pull complete [2022-10-25T23:11:43.768Z] d5ac0230b979: Pull complete [2022-10-25T23:11:43.768Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T23:11:43.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T23:11:43.768Z] ---> 59b3b1a385d4 [2022-10-25T23:11:43.768Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T23:11:45.719Z] ---> Running in f2536a2a7bb1 [2022-10-25T23:11:45.986Z] Removing intermediate container f2536a2a7bb1 [2022-10-25T23:11:45.986Z] ---> 889566f38eee [2022-10-25T23:11:45.986Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T23:11:45.986Z] ---> Running in f5446345f753 [2022-10-25T23:11:46.253Z] Removing intermediate container f5446345f753 [2022-10-25T23:11:46.253Z] ---> dc65b4b75c8f [2022-10-25T23:11:46.253Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-25T23:11:46.253Z] ---> Running in 15e62ddd35b1 [2022-10-25T23:11:46.520Z] Removing intermediate container 15e62ddd35b1 [2022-10-25T23:11:46.520Z] ---> b0e6e0394e7a [2022-10-25T23:11:46.520Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-25T23:11:46.785Z] ---> Running in 91f8f51ae81a [2022-10-25T23:11:47.053Z] Removing intermediate container 91f8f51ae81a [2022-10-25T23:11:47.053Z] ---> 696026bc6fa9 [2022-10-25T23:11:47.053Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T23:11:47.053Z] ---> Running in 84b39589f191 [2022-10-25T23:11:48.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T23:11:48.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T23:11:49.239Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T23:11:49.239Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T23:11:49.239Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T23:11:49.239Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T23:11:49.239Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T23:11:49.506Z] OK: 226 MiB in 55 packages [2022-10-25T23:11:50.465Z] Removing intermediate container 84b39589f191 [2022-10-25T23:11:50.465Z] ---> 1822b409c7af [2022-10-25T23:11:50.465Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-25T23:11:50.736Z] ---> 59eaef014634 [2022-10-25T23:11:50.736Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T23:11:51.004Z] ---> Running in 88b99d1f151f [2022-10-25T23:12:47.452Z] Removing intermediate container 88b99d1f151f [2022-10-25T23:12:47.452Z] ---> 4ebae76a3e64 [2022-10-25T23:12:47.452Z] Step 10/12 : COPY . . [2022-10-25T23:12:47.452Z] ---> babb302dda28 [2022-10-25T23:12:47.452Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T23:12:47.452Z] ---> Running in 3d9eae265e91 [2022-10-25T23:12:47.452Z] Removing intermediate container 3d9eae265e91 [2022-10-25T23:12:47.452Z] ---> cc159375c51f [2022-10-25T23:12:47.452Z] Step 12/12 : RUN $MAKE [2022-10-25T23:12:47.452Z] ---> Running in 1d103747dfe8 [2022-10-25T23:12:47.452Z] noop [2022-10-25T23:12:47.452Z] Removing intermediate container 1d103747dfe8 [2022-10-25T23:12:47.452Z] ---> 919ba597430b [2022-10-25T23:12:47.452Z] Successfully built 919ba597430b [2022-10-25T23:12:47.452Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:12:47.949Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T23:12:47.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:12:48.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-117003 does not seem to be running inside a container [2022-10-25T23:12:48.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T23:12:49.345Z] $ docker top 8a5caabb004102b7ac8b7ca11c4919c7998969f765d614b352e3e05dc1502db9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T23:12:50.189Z] + go version [2022-10-25T23:12:50.189Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T23:12:50.220Z] $ docker stop --time=1 8a5caabb004102b7ac8b7ca11c4919c7998969f765d614b352e3e05dc1502db9 [2022-10-25T23:12:51.757Z] $ docker rm -f 8a5caabb004102b7ac8b7ca11c4919c7998969f765d614b352e3e05dc1502db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:12:52.587Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T23:12:52.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:12:52.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-117003 does not seem to be running inside a container [2022-10-25T23:12:52.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T23:12:53.942Z] $ docker top c0b22a016530089f518bca5e6e5298f045bafcd5e3f99234617c09941998dc7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T23:12:54.476Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T23:12:54.864Z] + make test [2022-10-25T23:12:54.864Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-25T23:12:56.284Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-25T23:14:19.399Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-25T23:14:19.399Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-10-25T23:14:19.399Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T23:14:19.399Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T23:14:37.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T23:14:37.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T23:14:37.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T23:14:37.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T23:14:37.723Z] $ docker stop --time=1 c0b22a016530089f518bca5e6e5298f045bafcd5e3f99234617c09941998dc7f [2022-10-25T23:14:39.476Z] $ docker rm -f c0b22a016530089f518bca5e6e5298f045bafcd5e3f99234617c09941998dc7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T23:14:40.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T23:14:40.603Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T23:14:41.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T23:14:41.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T23:14:42.108Z] + ls -al . [2022-10-25T23:14:42.108Z] total 200 [2022-10-25T23:14:42.108Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:12 . [2022-10-25T23:14:42.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:10 .. [2022-10-25T23:14:42.108Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:10 .git [2022-10-25T23:14:42.108Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:10 .github [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 25 23:10 .gitignore [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:10 .golangci.yml [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 25 23:10 Attribution.txt [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 25 23:10 CHANGELOG.md [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 25 23:10 Dockerfile [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:10 GOVERNANCE.md [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 25 23:10 Jenkinsfile [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:10 LICENSE [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 25 23:10 Makefile [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 25 23:10 OWNERS.md [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 25 23:10 README.md [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:08 VERSION [2022-10-25T23:14:42.108Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:10 bin [2022-10-25T23:14:42.108Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:10 cmd [2022-10-25T23:14:42.108Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 25 23:14 coverage.out [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 23:10 go.mod [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 25 23:10 go.sum [2022-10-25T23:14:42.108Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:10 internal [2022-10-25T23:14:42.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:10 snap [2022-10-25T23:14:42.108Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 25 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:14:42.520Z] + 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=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 --label arch=arm64 --label version=0.0.0 . [2022-10-25T23:14:42.788Z] Sending build context to Docker daemon 11.83MB [2022-10-25T23:14:42.788Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T23:14:42.788Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T23:14:42.788Z] ---> 919ba597430b [2022-10-25T23:14:42.788Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T23:14:43.057Z] ---> Running in 956036c2daab [2022-10-25T23:14:43.327Z] Removing intermediate container 956036c2daab [2022-10-25T23:14:43.327Z] ---> 27e9b7dd4c14 [2022-10-25T23:14:43.327Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T23:14:43.327Z] ---> Running in 1bf8f3c9aed2 [2022-10-25T23:14:43.595Z] Removing intermediate container 1bf8f3c9aed2 [2022-10-25T23:14:43.595Z] ---> 572b57cc22d1 [2022-10-25T23:14:43.595Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T23:14:43.863Z] ---> Running in b854240f37e7 [2022-10-25T23:14:44.130Z] Removing intermediate container b854240f37e7 [2022-10-25T23:14:44.130Z] ---> 10f72beb5de5 [2022-10-25T23:14:44.130Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-25T23:14:44.130Z] ---> Running in dd7518776024 [2022-10-25T23:14:44.398Z] Removing intermediate container dd7518776024 [2022-10-25T23:14:44.398Z] ---> 2b1648e33388 [2022-10-25T23:14:44.398Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T23:14:44.398Z] ---> Running in 8da8cf73c6c6 [2022-10-25T23:14:45.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T23:14:45.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T23:14:46.595Z] OK: 226 MiB in 55 packages [2022-10-25T23:14:47.659Z] Removing intermediate container 8da8cf73c6c6 [2022-10-25T23:14:47.659Z] ---> 032676dc63e9 [2022-10-25T23:14:47.659Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-25T23:14:47.927Z] ---> bc49b38c4a5d [2022-10-25T23:14:47.927Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T23:14:47.927Z] ---> Running in f09c67b70871 [2022-10-25T23:14:49.879Z] Removing intermediate container f09c67b70871 [2022-10-25T23:14:49.879Z] ---> 43e911875828 [2022-10-25T23:14:49.879Z] Step 10/26 : COPY . . [2022-10-25T23:14:51.289Z] ---> 988c03acacd9 [2022-10-25T23:14:51.289Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T23:14:51.289Z] ---> Running in 90aa7847a4d1 [2022-10-25T23:14:51.289Z] Removing intermediate container 90aa7847a4d1 [2022-10-25T23:14:51.289Z] ---> 01346d219bf4 [2022-10-25T23:14:51.289Z] Step 12/26 : RUN $MAKE [2022-10-25T23:14:51.289Z] ---> Running in 024c93b3ba7a [2022-10-25T23:14:52.252Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-25T23:17:28.959Z] Removing intermediate container 024c93b3ba7a [2022-10-25T23:17:28.959Z] ---> 4ee5ce24b464 [2022-10-25T23:17:28.959Z] Step 13/26 : FROM alpine:3.16 [2022-10-25T23:17:28.959Z] 3.16: Pulling from library/alpine [2022-10-25T23:17:28.959Z] 9b18e9b68314: Already exists [2022-10-25T23:17:28.959Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T23:17:28.959Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T23:17:28.959Z] ---> a6215f271958 [2022-10-25T23:17:28.959Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-25T23:17:28.959Z] ---> Running in c7b9f0c3b10e [2022-10-25T23:17:28.959Z] Removing intermediate container c7b9f0c3b10e [2022-10-25T23:17:28.959Z] ---> edde5f09fa51 [2022-10-25T23:17:28.959Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T23:17:28.959Z] ---> Running in af9d1bc3e389 [2022-10-25T23:17:28.959Z] Removing intermediate container af9d1bc3e389 [2022-10-25T23:17:28.959Z] ---> 3d77275c2aa2 [2022-10-25T23:17:28.959Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T23:17:28.959Z] ---> Running in 9f514ab3e943 [2022-10-25T23:17:28.959Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T23:17:28.959Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T23:17:28.959Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T23:17:28.959Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T23:17:28.959Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T23:17:28.959Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T23:17:28.959Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T23:17:28.959Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T23:17:28.959Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T23:17:28.959Z] OK: 8 MiB in 20 packages [2022-10-25T23:17:28.959Z] Removing intermediate container 9f514ab3e943 [2022-10-25T23:17:28.959Z] ---> 1152f293c891 [2022-10-25T23:17:28.959Z] Step 17/26 : WORKDIR / [2022-10-25T23:17:28.959Z] ---> Running in 8e545c84580b [2022-10-25T23:17:28.959Z] Removing intermediate container 8e545c84580b [2022-10-25T23:17:28.959Z] ---> e6b5e6d494b3 [2022-10-25T23:17:28.959Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-25T23:17:28.959Z] ---> f537493ce038 [2022-10-25T23:17:28.959Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-25T23:17:28.959Z] ---> 17b8a5bbaf5f [2022-10-25T23:17:28.959Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-25T23:17:28.959Z] ---> 0ef251fc1989 [2022-10-25T23:17:28.959Z] Step 21/26 : EXPOSE 59900 [2022-10-25T23:17:28.959Z] ---> Running in ed1a52b027ee [2022-10-25T23:17:29.226Z] Removing intermediate container ed1a52b027ee [2022-10-25T23:17:29.226Z] ---> b24daa28a237 [2022-10-25T23:17:29.226Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-25T23:17:29.226Z] ---> Running in 3278cece6c61 [2022-10-25T23:17:29.494Z] Removing intermediate container 3278cece6c61 [2022-10-25T23:17:29.494Z] ---> 0673220f9313 [2022-10-25T23:17:29.494Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T23:17:29.761Z] ---> Running in e2357ea185bb [2022-10-25T23:17:30.028Z] Removing intermediate container e2357ea185bb [2022-10-25T23:17:30.028Z] ---> 46a9df2487cc [2022-10-25T23:17:30.028Z] Step 24/26 : LABEL arch=arm64 [2022-10-25T23:17:30.028Z] ---> Running in 06e32e3fb9e2 [2022-10-25T23:17:30.297Z] Removing intermediate container 06e32e3fb9e2 [2022-10-25T23:17:30.297Z] ---> 594018c1a3e7 [2022-10-25T23:17:30.297Z] Step 25/26 : LABEL git_sha=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [2022-10-25T23:17:30.297Z] ---> Running in af3d6d15688b [2022-10-25T23:17:30.565Z] Removing intermediate container af3d6d15688b [2022-10-25T23:17:30.565Z] ---> 073603c27e41 [2022-10-25T23:17:30.565Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T23:17:30.565Z] ---> Running in dcfc8271b591 [2022-10-25T23:17:30.831Z] Removing intermediate container dcfc8271b591 [2022-10-25T23:17:30.831Z] ---> 5ee8b9bb9fde [2022-10-25T23:17:30.831Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T23:17:30.831Z] Successfully built 5ee8b9bb9fde [2022-10-25T23:17:30.831Z] 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-10-25T23:17:31.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T23:17:31.939Z] [2022-10-25T23:17:31.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:17:32.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T23:17:32.336Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T23:17:32.336Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T23:17:32.336Z] 04944245beec: Pulling fs layer [2022-10-25T23:17:32.336Z] 699f458cf7ca: Pulling fs layer [2022-10-25T23:17:32.336Z] 765212b225bb: Pulling fs layer [2022-10-25T23:17:32.336Z] f23df028b6ca: Pulling fs layer [2022-10-25T23:17:32.336Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T23:17:32.336Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T23:17:32.336Z] f23df028b6ca: Waiting [2022-10-25T23:17:32.336Z] d65c8cfc05b1: Waiting [2022-10-25T23:17:32.336Z] 765212b225bb: Waiting [2022-10-25T23:17:32.336Z] 2437ff75d9bd: Waiting [2022-10-25T23:17:32.603Z] 04944245beec: Verifying Checksum [2022-10-25T23:17:32.603Z] 04944245beec: Download complete [2022-10-25T23:17:32.603Z] 765212b225bb: Verifying Checksum [2022-10-25T23:17:32.603Z] 765212b225bb: Download complete [2022-10-25T23:17:32.603Z] f23df028b6ca: Download complete [2022-10-25T23:17:32.603Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T23:17:32.603Z] d65c8cfc05b1: Download complete [2022-10-25T23:17:32.603Z] 699f458cf7ca: Verifying Checksum [2022-10-25T23:17:32.603Z] 699f458cf7ca: Download complete [2022-10-25T23:17:33.191Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T23:17:33.191Z] 8998bd30e6a1: Download complete [2022-10-25T23:17:35.139Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T23:17:35.139Z] 2437ff75d9bd: Download complete [2022-10-25T23:17:37.081Z] 8998bd30e6a1: Pull complete [2022-10-25T23:17:37.661Z] 04944245beec: Pull complete [2022-10-25T23:17:39.074Z] 699f458cf7ca: Pull complete [2022-10-25T23:17:39.074Z] 765212b225bb: Pull complete [2022-10-25T23:17:39.660Z] f23df028b6ca: Pull complete [2022-10-25T23:17:39.928Z] d65c8cfc05b1: Pull complete [2022-10-25T23:17:54.923Z] 2437ff75d9bd: Pull complete [2022-10-25T23:17:54.923Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T23:17:54.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T23:17:54.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:17:55.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-117003 does not seem to be running inside a container [2022-10-25T23:17:55.284Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T23:17:57.790Z] $ docker top 336d789f09daf670d4c816814d19460b7e8ae5c750199c40d054d3fba53eb2ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:17:58.683Z] ---> job-cost.sh [2022-10-25T23:17:58.683Z] lf-activate-venv: SKIPPING [2022-10-25T23:17:58.683Z] INFO: No Stack... [2022-10-25T23:17:58.949Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T23:17:59.906Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T23:18:00.573Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-25T23:18:00.573Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T23:18:00.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [2022-10-25T23:18:00.635Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] did not exist. Created. [2022-10-25T23:18:00.635Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T23:18:01.133Z] /w/workspace/device-virtual-go/1@tmp/durable-f767bffd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T23:18:01.486Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T23:18:01.523Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T23:18:01.563Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T23:18:01.577Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T23:18:01.648Z] $ docker stop --time=1 336d789f09daf670d4c816814d19460b7e8ae5c750199c40d054d3fba53eb2ab [2022-10-25T23:18:03.120Z] $ docker rm -f 336d789f09daf670d4c816814d19460b7e8ae5c750199c40d054d3fba53eb2ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-25T23:18:04.076Z] provisioning config files... [2022-10-25T23:18:04.084Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config13222076690719780481tmp [Pipeline] { [Pipeline] sh [2022-10-25T23:18:04.413Z] + set +x [2022-10-25T23:18:04.413Z] + curl -s https://codecov.io/bash [2022-10-25T23:18:04.413Z] + bash -s -- [2022-10-25T23:18:04.413Z] [2022-10-25T23:18:04.413Z] _____ _ [2022-10-25T23:18:04.413Z] / ____| | | [2022-10-25T23:18:04.413Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T23:18:04.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T23:18:04.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T23:18:04.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T23:18:04.413Z] Bash-1.0.6 [2022-10-25T23:18:04.413Z] [2022-10-25T23:18:04.413Z] [2022-10-25T23:18:04.413Z] ==> git version 2.25.1 found [2022-10-25T23:18:04.413Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-25T23:18:04.413Z] Release-Date: 2020-01-08 [2022-10-25T23:18:04.413Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-25T23:18:04.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T23:18:04.413Z] ==> Jenkins CI detected. [2022-10-25T23:18:04.413Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-317 [2022-10-25T23:18:04.413Z] project root: . [2022-10-25T23:18:04.413Z] --> token set from env [2022-10-25T23:18:04.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T23:18:04.413Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T23:18:04.413Z] ==> Python coveragepy not found [2022-10-25T23:18:04.413Z] ==> Searching for coverage reports in: [2022-10-25T23:18:04.413Z] + . [2022-10-25T23:18:04.413Z] -> Found 1 reports [2022-10-25T23:18:04.413Z] ==> Detecting git/mercurial file structure [2022-10-25T23:18:04.413Z] ==> Reading reports [2022-10-25T23:18:04.413Z] + ./coverage.out bytes=44128 [2022-10-25T23:18:04.413Z] ==> Appending adjustments [2022-10-25T23:18:04.413Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T23:18:04.674Z] + Found adjustments [2022-10-25T23:18:04.674Z] ==> Gzipping contents [2022-10-25T23:18:04.674Z] 8.0K /tmp/codecov.dIDDiV.gz [2022-10-25T23:18:04.674Z] ==> Uploading reports [2022-10-25T23:18:04.674Z] url: https://codecov.io [2022-10-25T23:18:04.674Z] query: branch=PR-317&commit=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-25T23:18:04.674Z] -> Pinging Codecov [2022-10-25T23:18:04.674Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-317&commit=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-25T23:18:04.933Z] -> Uploading to [2022-10-25T23:18:04.933Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/5E52B4B073DB2E39498172D8E973AA87/e245ba1a7bb4665bce4f103bf9d77925b6c6aa39/f7badbb7-16b8-4a2b-9cbd-38a804652cca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T231804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=481daf547c08a63b199690039edc148bd049e4b0d0a2d1388b0a1aa2fc0f97e7 [2022-10-25T23:18:04.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T23:18:04.933Z] Dload Upload Total Spent Left Speed [2022-10-25T23:18:05.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5471 0 0 100 5471 0 18736 --:--:-- --:--:-- --:--:-- 18736 [2022-10-25T23:18:05.192Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] } [2022-10-25T23:18:05.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-25T23:18:06.897Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] [2022-10-25T23:18:06.897Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-25T23:18:06.897Z] total 16 [2022-10-25T23:18:06.897Z] drwxr-xr-x 3 root root 4096 Oct 25 23:10 . [2022-10-25T23:18:06.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:10 .. [2022-10-25T23:18:06.897Z] drwxr-xr-x 2 root root 4096 Oct 25 23:10 cost [2022-10-25T23:18:06.897Z] -rw-r--r-- 1 root root 89 Oct 25 23:10 cost.csv [2022-10-25T23:18:06.897Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-25T23:18:06.897Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-25T23:18:06.897Z] total 16 [2022-10-25T23:18:06.897Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:10 . [2022-10-25T23:18:06.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:10 .. [2022-10-25T23:18:06.897Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 23:10 cost [2022-10-25T23:18:06.897Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 25 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:07.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:08.103Z] ---> package-listing.sh [2022-10-25T23:18:08.103Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T23:18:08.103Z] ++ facter osfamily [2022-10-25T23:18:08.363Z] + OS_FAMILY=debian [2022-10-25T23:18:08.363Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-317 [2022-10-25T23:18:08.363Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T23:18:08.363Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T23:18:08.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T23:18:08.363Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T23:18:08.363Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-25T23:18:08.363Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T23:18:08.363Z] + case "${OS_FAMILY}" in [2022-10-25T23:18:08.363Z] + dpkg -l [2022-10-25T23:18:08.363Z] + grep '^ii' [2022-10-25T23:18:08.363Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T23:18:08.363Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T23:18:08.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T23:18:08.363Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-25T23:18:08.363Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ [2022-10-25T23:18:08.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-317/archives/ [Pipeline] echo [2022-10-25T23:18:08.395Z] 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T23:18:08.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T23:18:09.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T23:18:09.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T23:18:09.457Z] prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container [2022-10-25T23:18:09.483Z] $ 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-317/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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T23:18:09.696Z] $ docker top b1d2a7048ed1f099783d6db3db17bb678906e630abfd60bdacc0f5771b2a0816 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T23:18:10.088Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T23:18:10.392Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T23:18:10.698Z] + ls /var/log/sa-host [2022-10-25T23:18:10.698Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T23:18:10.826Z] provisioning config files... [2022-10-25T23:18:10.837Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config5838593694076643066tmp [Pipeline] { [Pipeline] echo [2022-10-25T23:18:10.887Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:11.214Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T23:18:11.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:11.630Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T23:18:11.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:11.967Z] ---> sudo-logs.sh [2022-10-25T23:18:11.967Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T23:18:12.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:12.352Z] ---> job-cost.sh [2022-10-25T23:18:12.352Z] lf-activate-venv: SKIPPING [2022-10-25T23:18:12.352Z] DEBUG: total: 0.2199999988079071 [2022-10-25T23:18:12.352Z] INFO: Retrieving Stack Cost... [2022-10-25T23:18:12.610Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T23:18:13.176Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T23:18:13.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T23:18:13.517Z] ---> logs-deploy.sh [2022-10-25T23:18:13.517Z] lf-activate-venv: SKIPPING [2022-10-25T23:18:13.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/1 [2022-10-25T23:18:13.517Z] INFO: archiving workspace using pattern(s): [2022-10-25T23:18:14.453Z] Archives upload complete. [2022-10-25T23:18:14.453Z] INFO: archiving logs to Nexus