Pull request #383 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7ef825bc0d9ec5e5080524a10fd8759923aa55a+626db8e9a2222f123adcb85f9e159bc679c0b5f7 (f3c211526ba94b79ab9ae7911f3944030b212213) 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-ssh381609589192079604.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh18018516704439934137.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-383/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-383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8936201658865326957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2233086102899396997.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh10453672757031480767.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-383/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-383/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17825598493993275535.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8717 in /w/workspace/foundry_device-virtual-go_PR-383 [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-383 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit c7ef825bc0d9ec5e5080524a10fd8759923aa55a Merge succeeded, producing c7ef825bc0d9ec5e5080524a10fd8759923aa55a Checking out Revision c7ef825bc0d9ec5e5080524a10fd8759923aa55a (PR-383) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/383/head:refs/remotes/origin/PR-383 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7ef825bc0d9ec5e5080524a10fd8759923aa55a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7ef825bc0d9ec5e5080524a10fd8759923aa55a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T11:58:46.491Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T11:58:46.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T11:58:46.778Z] ========================================================= [2023-04-17T11:58:46.778Z] EdgeX Global Pipelines Version Info [2023-04-17T11:58:46.778Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T11:58:47.530Z] ------------------- [2023-04-17T11:58:47.530Z] stable info: [2023-04-17T11:58:47.530Z] ------------------- [2023-04-17T11:58:47.530Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T11:58:47.530Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T11:58:47.530Z] Message: update stable to v1.0.248 [2023-04-17T11:58:48.101Z] ------------------- [2023-04-17T11:58:48.101Z] experimental info: [2023-04-17T11:58:48.101Z] ------------------- [2023-04-17T11:58:48.101Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T11:58:48.101Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T11:58:48.101Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T11:58:48.378Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-04-17T11:58:48.422Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-04-17T11:58:48.459Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T11:58:48.505Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T11:58:48.544Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T11:58:48.588Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T11:58:48.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T11:58:48.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T11:58:48.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T11:58:48.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T11:58:48.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T11:58:48.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-04-17T11:58:48.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T11:58:48.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T11:58:48.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T11:58:49.023Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T11:58:49.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T11:58:49.109Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T11:58:49.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T11:58:49.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T11:58:49.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T11:58:49.291Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T11:58:49.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T11:58:49.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T11:58:49.423Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T11:58:49.470Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T11:58:49.510Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T11:58:49.552Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-383 [Pipeline] echo [2023-04-17T11:58:49.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-383 [Pipeline] echo [2023-04-17T11:58:49.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-383 [Pipeline] echo [2023-04-17T11:58:49.695Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7ef825bc0d9ec5e5080524a10fd8759923aa55a [Pipeline] echo [2023-04-17T11:58:49.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7ef825 [Pipeline] echo [2023-04-17T11:58:49.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T11:58:50.111Z] provisioning config files... [2023-04-17T11:58:50.128Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-383@tmp/config5337087898349406859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T11:58:50.513Z] ---> docker-login.sh [2023-04-17T11:58:50.513Z] nexus3.edgexfoundry.org:10001 [2023-04-17T11:58:50.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:58:51.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:58:51.037Z] Configure a credential helper to remove this warning. See [2023-04-17T11:58:51.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:58:51.037Z] [2023-04-17T11:58:51.037Z] Login Succeeded [2023-04-17T11:58:51.037Z] nexus3.edgexfoundry.org:10002 [2023-04-17T11:58:51.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:58:51.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:58:51.298Z] Configure a credential helper to remove this warning. See [2023-04-17T11:58:51.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:58:51.298Z] [2023-04-17T11:58:51.298Z] Login Succeeded [2023-04-17T11:58:51.298Z] nexus3.edgexfoundry.org:10003 [2023-04-17T11:58:51.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:58:51.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:58:51.298Z] Configure a credential helper to remove this warning. See [2023-04-17T11:58:51.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:58:51.298Z] [2023-04-17T11:58:51.298Z] Login Succeeded [2023-04-17T11:58:51.298Z] nexus3.edgexfoundry.org:10004 [2023-04-17T11:58:51.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:58:51.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:58:51.298Z] Configure a credential helper to remove this warning. See [2023-04-17T11:58:51.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:58:51.298Z] [2023-04-17T11:58:51.298Z] Login Succeeded [2023-04-17T11:58:51.298Z] docker.io [2023-04-17T11:58:51.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:58:51.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:58:51.820Z] Configure a credential helper to remove this warning. See [2023-04-17T11:58:51.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:58:51.820Z] [2023-04-17T11:58:51.820Z] Login Succeeded [2023-04-17T11:58:51.820Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T11:58:51.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T11:58:52.486Z] + git rev-list -1 --merges c7ef825bc0d9ec5e5080524a10fd8759923aa55a~1..c7ef825bc0d9ec5e5080524a10fd8759923aa55a [Pipeline] echo [2023-04-17T11:58:52.550Z] -----------> git rev-list -1 --merges c7ef825bc0d9ec5e5080524a10fd8759923aa55a~1..c7ef825bc0d9ec5e5080524a10fd8759923aa55a c7ef825bc0d9ec5e5080524a10fd8759923aa55a [false] [Pipeline] sh [2023-04-17T11:58:52.854Z] + git log --format=format:%s -1 c7ef825bc0d9ec5e5080524a10fd8759923aa55a [Pipeline] echo [2023-04-17T11:58:52.892Z] ========================================================= [2023-04-17T11:58:52.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T11:58:52.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T11:58:53.325Z] + git log --format=format:%s -1 c7ef825bc0d9ec5e5080524a10fd8759923aa55a [Pipeline] echo [2023-04-17T11:58:53.355Z] [semverPrep] GIT_COMMIT: c7ef825bc0d9ec5e5080524a10fd8759923aa55a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-17T11:58:53.389Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T11:58:53.788Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T11:58:53.788Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T11:58:53.788Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T11:58:53.788Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T11:58:53.788Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T11:58:53.788Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T11:58:53.788Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T11:58:54.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T11:58:54.301Z] [2023-04-17T11:58:54.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T11:58:54.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T11:58:54.689Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T11:58:54.689Z] b85a868b505f: Pulling fs layer [2023-04-17T11:58:54.689Z] e2be974225ed: Pulling fs layer [2023-04-17T11:58:54.689Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T11:58:54.689Z] 988bab9f4d93: Pulling fs layer [2023-04-17T11:58:54.689Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T11:58:54.689Z] eaf3925da568: Pulling fs layer [2023-04-17T11:58:54.689Z] bab4dde63d76: Pulling fs layer [2023-04-17T11:58:54.689Z] bde34c3a00c8: Pulling fs layer [2023-04-17T11:58:54.689Z] b352a97aabf1: Pulling fs layer [2023-04-17T11:58:54.689Z] 4872d77fe225: Pulling fs layer [2023-04-17T11:58:54.689Z] 5851b861e8e6: Pulling fs layer [2023-04-17T11:58:54.689Z] 5851b861e8e6: Waiting [2023-04-17T11:58:54.689Z] bde34c3a00c8: Waiting [2023-04-17T11:58:54.689Z] b352a97aabf1: Waiting [2023-04-17T11:58:54.689Z] 988bab9f4d93: Waiting [2023-04-17T11:58:54.689Z] bab4dde63d76: Waiting [2023-04-17T11:58:54.689Z] eaf3925da568: Waiting [2023-04-17T11:58:54.689Z] 1469e6f7b9e6: Waiting [2023-04-17T11:58:54.689Z] 4872d77fe225: Waiting [2023-04-17T11:58:54.689Z] e2be974225ed: Verifying Checksum [2023-04-17T11:58:54.689Z] e2be974225ed: Download complete [2023-04-17T11:58:54.689Z] 988bab9f4d93: Verifying Checksum [2023-04-17T11:58:54.689Z] 988bab9f4d93: Download complete [2023-04-17T11:58:54.689Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T11:58:54.689Z] 1469e6f7b9e6: Download complete [2023-04-17T11:58:54.689Z] eaf3925da568: Verifying Checksum [2023-04-17T11:58:54.689Z] eaf3925da568: Download complete [2023-04-17T11:58:54.689Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T11:58:54.689Z] 339a4e72a1f5: Download complete [2023-04-17T11:58:54.948Z] bde34c3a00c8: Download complete [2023-04-17T11:58:54.948Z] b352a97aabf1: Download complete [2023-04-17T11:58:54.948Z] 4872d77fe225: Verifying Checksum [2023-04-17T11:58:54.948Z] 4872d77fe225: Download complete [2023-04-17T11:58:54.948Z] 5851b861e8e6: Verifying Checksum [2023-04-17T11:58:54.948Z] 5851b861e8e6: Download complete [2023-04-17T11:58:54.948Z] b85a868b505f: Verifying Checksum [2023-04-17T11:58:54.948Z] b85a868b505f: Download complete [2023-04-17T11:58:55.208Z] bab4dde63d76: Verifying Checksum [2023-04-17T11:58:55.208Z] bab4dde63d76: Download complete [2023-04-17T11:58:56.146Z] b85a868b505f: Pull complete [2023-04-17T11:58:56.405Z] e2be974225ed: Pull complete [2023-04-17T11:58:56.976Z] 339a4e72a1f5: Pull complete [2023-04-17T11:58:56.976Z] 988bab9f4d93: Pull complete [2023-04-17T11:58:57.235Z] 1469e6f7b9e6: Pull complete [2023-04-17T11:58:57.235Z] eaf3925da568: Pull complete [2023-04-17T11:58:59.147Z] bab4dde63d76: Pull complete [2023-04-17T11:58:59.414Z] bde34c3a00c8: Pull complete [2023-04-17T11:58:59.414Z] b352a97aabf1: Pull complete [2023-04-17T11:58:59.674Z] 4872d77fe225: Pull complete [2023-04-17T11:58:59.674Z] 5851b861e8e6: Pull complete [2023-04-17T11:58:59.674Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T11:58:59.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T11:58:59.674Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T11:58:59.927Z] prd-ubuntu20.04-docker-8c-8g-8717 does not seem to be running inside a container [2023-04-17T11:58:59.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-383 -v /w/workspace/foundry_device-virtual-go_PR-383:/w/workspace/foundry_device-virtual-go_PR-383:rw,z -v /w/workspace/foundry_device-virtual-go_PR-383@tmp:/w/workspace/foundry_device-virtual-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T11:59:03.377Z] $ docker top 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da -eo pid,comm [2023-04-17T11:59:03.428Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-17T11:59:03.428Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T11:59:03.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T11:59:03.560Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T11:59:03.677Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T11:59:03.684Z] $ docker exec 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da ssh-agent [2023-04-17T11:59:03.798Z] SSH_AUTH_SOCK=/tmp/ssh-dUDZd6Q1swjw/agent.31 [2023-04-17T11:59:03.798Z] SSH_AGENT_PID=37 [2023-04-17T11:59:03.804Z] Running ssh-add (command line suppressed) [2023-04-17T11:59:03.919Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-383@tmp/private_key_5457492614010673887.key (/w/workspace/foundry_device-virtual-go_PR-383@tmp/private_key_5457492614010673887.key) [2023-04-17T11:59:03.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T11:59:04.258Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T11:59:04.290Z] $ docker exec --env ******** --env ******** 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da ssh-agent -k [2023-04-17T11:59:04.391Z] unset SSH_AUTH_SOCK; [2023-04-17T11:59:04.392Z] unset SSH_AGENT_PID; [2023-04-17T11:59:04.392Z] echo Agent pid 37 killed; [2023-04-17T11:59:04.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T11:59:04.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T11:59:04.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T11:59:04.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T11:59:04.609Z] $ docker exec 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da ssh-agent [2023-04-17T11:59:04.720Z] SSH_AUTH_SOCK=/tmp/ssh-54QPqb9RTSrg/agent.69 [2023-04-17T11:59:04.720Z] SSH_AGENT_PID=75 [2023-04-17T11:59:04.725Z] Running ssh-add (command line suppressed) [2023-04-17T11:59:04.836Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-383@tmp/private_key_3470627548107166302.key (/w/workspace/foundry_device-virtual-go_PR-383@tmp/private_key_3470627548107166302.key) [2023-04-17T11:59:04.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T11:59:05.177Z] + git semver init [2023-04-17T11:59:05.435Z] 2023-04-17 11:59:05,366 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T11:59:05.435Z] 2023-04-17 11:59:05,367 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-383/.semver [2023-04-17T11:59:05.435Z] 2023-04-17 11:59:05,367 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-383/.semver [2023-04-17T11:59:05.435Z] 2023-04-17 11:59:05,368 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-383/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-383, universal_newlines=False, shell=None, istream=None) [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,460 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-383/.git/info/exclude [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,461 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-383/.semver/PR-383 with force:False [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,461 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-383/.semver/PR-383 [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,465 [execute] INFO git cat-file --batch-check [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-383/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,473 [execute] INFO git cat-file --batch [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-383/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T11:59:06.815Z] 2023-04-17 11:59:06,480 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-383/.semver/PR-383 [2023-04-17T11:59:06.815Z] 0.0.0 [Pipeline] } [2023-04-17T11:59:06.845Z] $ docker exec --env ******** --env ******** 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da ssh-agent -k [2023-04-17T11:59:06.950Z] unset SSH_AUTH_SOCK; [2023-04-17T11:59:06.950Z] unset SSH_AGENT_PID; [2023-04-17T11:59:06.950Z] echo Agent pid 75 killed; [2023-04-17T11:59:06.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T11:59:07.396Z] + git semver [Pipeline] } [2023-04-17T11:59:07.686Z] $ docker stop --time=1 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da [2023-04-17T11:59:09.032Z] $ docker rm -f --volumes 268e44960495dfbfcb50d915f864c0c6216fb2d77b11a686cb9d9494093054da [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T11:59:09.434Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T11:59:09.744Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T11:59:09.762Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T11:59:10.369Z] provisioning config files... [2023-04-17T11:59:10.379Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-383@tmp/config5999177876383710728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T11:59:10.724Z] ---> docker-login.sh [2023-04-17T11:59:10.724Z] nexus3.edgexfoundry.org:10001 [2023-04-17T11:59:10.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:59:10.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:59:10.724Z] Configure a credential helper to remove this warning. See [2023-04-17T11:59:10.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:59:10.724Z] [2023-04-17T11:59:10.724Z] Login Succeeded [2023-04-17T11:59:10.724Z] nexus3.edgexfoundry.org:10002 [2023-04-17T11:59:10.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:59:10.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:59:10.724Z] Configure a credential helper to remove this warning. See [2023-04-17T11:59:10.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:59:10.724Z] [2023-04-17T11:59:10.724Z] Login Succeeded [2023-04-17T11:59:10.724Z] nexus3.edgexfoundry.org:10003 [2023-04-17T11:59:10.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:59:10.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:59:10.983Z] Configure a credential helper to remove this warning. See [2023-04-17T11:59:10.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:59:10.983Z] [2023-04-17T11:59:10.983Z] Login Succeeded [2023-04-17T11:59:10.983Z] nexus3.edgexfoundry.org:10004 [2023-04-17T11:59:10.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:59:10.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:59:10.983Z] Configure a credential helper to remove this warning. See [2023-04-17T11:59:10.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:59:10.983Z] [2023-04-17T11:59:10.983Z] Login Succeeded [2023-04-17T11:59:10.983Z] docker.io [2023-04-17T11:59:11.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T11:59:11.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T11:59:11.245Z] Configure a credential helper to remove this warning. See [2023-04-17T11:59:11.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T11:59:11.245Z] [2023-04-17T11:59:11.245Z] Login Succeeded [2023-04-17T11:59:11.245Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T11:59:11.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T11:59:11.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T11:59:11.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T11:59:11.542Z] ========================================================= [2023-04-17T11:59:11.542Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T11:59:11.542Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T11:59:12.019Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T11:59:12.019Z] Sending build context to Docker daemon 23.54MB [2023-04-17T11:59:12.019Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T11:59:12.019Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T11:59:12.281Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T11:59:12.281Z] 63b65145d645: Pulling fs layer [2023-04-17T11:59:12.281Z] a2d21d5440eb: Pulling fs layer [2023-04-17T11:59:12.281Z] 935e6c44a52c: Pulling fs layer [2023-04-17T11:59:12.281Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T11:59:12.281Z] 30dea6a524f1: Pulling fs layer [2023-04-17T11:59:12.281Z] a2aff8979fd8: Pulling fs layer [2023-04-17T11:59:12.281Z] 6808be2612f2: Pulling fs layer [2023-04-17T11:59:12.281Z] f25807f1079a: Pulling fs layer [2023-04-17T11:59:12.281Z] f25807f1079a: Waiting [2023-04-17T11:59:12.281Z] 6808be2612f2: Waiting [2023-04-17T11:59:12.281Z] 30dea6a524f1: Waiting [2023-04-17T11:59:12.281Z] 94cc34f8dd06: Waiting [2023-04-17T11:59:12.281Z] a2d21d5440eb: Verifying Checksum [2023-04-17T11:59:12.281Z] a2d21d5440eb: Download complete [2023-04-17T11:59:12.281Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T11:59:12.281Z] 94cc34f8dd06: Download complete [2023-04-17T11:59:12.281Z] 30dea6a524f1: Download complete [2023-04-17T11:59:12.281Z] 63b65145d645: Verifying Checksum [2023-04-17T11:59:12.281Z] 63b65145d645: Download complete [2023-04-17T11:59:12.281Z] a2aff8979fd8: Verifying Checksum [2023-04-17T11:59:12.282Z] a2aff8979fd8: Download complete [2023-04-17T11:59:12.282Z] 63b65145d645: Pull complete [2023-04-17T11:59:12.542Z] a2d21d5440eb: Pull complete [2023-04-17T11:59:12.803Z] f25807f1079a: Verifying Checksum [2023-04-17T11:59:12.803Z] f25807f1079a: Download complete [2023-04-17T11:59:12.803Z] 935e6c44a52c: Verifying Checksum [2023-04-17T11:59:12.803Z] 935e6c44a52c: Download complete [2023-04-17T11:59:13.062Z] 6808be2612f2: Verifying Checksum [2023-04-17T11:59:13.062Z] 6808be2612f2: Download complete [2023-04-17T11:59:16.350Z] 935e6c44a52c: Pull complete [2023-04-17T11:59:16.611Z] 94cc34f8dd06: Pull complete [2023-04-17T11:59:16.611Z] 30dea6a524f1: Pull complete [2023-04-17T11:59:16.611Z] a2aff8979fd8: Pull complete [2023-04-17T11:59:19.144Z] 6808be2612f2: Pull complete [2023-04-17T11:59:20.081Z] f25807f1079a: Pull complete [2023-04-17T11:59:20.081Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T11:59:20.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T11:59:20.081Z] ---> 3b553350e43f [2023-04-17T11:59:20.081Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T11:59:25.198Z] Still waiting to schedule task [2023-04-17T11:59:25.198Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-17T11:59:25.353Z] ---> Running in 8d06b655387f [2023-04-17T11:59:25.353Z] Removing intermediate container 8d06b655387f [2023-04-17T11:59:25.353Z] ---> 0a801fd88578 [2023-04-17T11:59:25.353Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T11:59:25.353Z] ---> Running in 332520040a14 [2023-04-17T11:59:25.353Z] Removing intermediate container 332520040a14 [2023-04-17T11:59:25.353Z] ---> 6801dd143886 [2023-04-17T11:59:25.353Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T11:59:25.353Z] ---> Running in 447194d6cb7b [2023-04-17T11:59:25.353Z] Removing intermediate container 447194d6cb7b [2023-04-17T11:59:25.353Z] ---> 0f07b9e86703 [2023-04-17T11:59:25.353Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-17T11:59:25.353Z] ---> Running in 54fba75cbebe [2023-04-17T11:59:25.353Z] Removing intermediate container 54fba75cbebe [2023-04-17T11:59:25.353Z] ---> b78ae3393eff [2023-04-17T11:59:25.353Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T11:59:25.353Z] ---> Running in 69137e6a87c7 [2023-04-17T11:59:25.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T11:59:25.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T11:59:25.871Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T11:59:25.871Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T11:59:25.871Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T11:59:25.871Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T11:59:25.871Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T11:59:25.871Z] OK: 269 MiB in 57 packages [2023-04-17T11:59:26.439Z] Removing intermediate container 69137e6a87c7 [2023-04-17T11:59:26.439Z] ---> 225beabf8ab5 [2023-04-17T11:59:26.439Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-17T11:59:26.439Z] ---> 8ba59319f9d1 [2023-04-17T11:59:26.439Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T11:59:26.439Z] ---> Running in 60b4765308cb [2023-04-17T12:00:13.148Z] Removing intermediate container 60b4765308cb [2023-04-17T12:00:13.148Z] ---> 45871dff5863 [2023-04-17T12:00:13.148Z] Step 10/12 : COPY . . [2023-04-17T12:00:13.148Z] ---> 1a7b6190ccd3 [2023-04-17T12:00:13.148Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T12:00:13.148Z] ---> Running in 2200856ba157 [2023-04-17T12:00:13.148Z] Removing intermediate container 2200856ba157 [2023-04-17T12:00:13.148Z] ---> 9abc5d68c808 [2023-04-17T12:00:13.148Z] Step 12/12 : RUN $MAKE [2023-04-17T12:00:13.148Z] ---> Running in a84799517bb3 [2023-04-17T12:00:13.148Z] noop [2023-04-17T12:00:13.148Z] Removing intermediate container a84799517bb3 [2023-04-17T12:00:13.148Z] ---> 16607c4864d7 [2023-04-17T12:00:13.148Z] Successfully built 16607c4864d7 [2023-04-17T12:00:13.148Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:00:13.598Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T12:00:13.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:00:13.761Z] prd-ubuntu20.04-docker-8c-8g-8717 does not seem to be running inside a container [2023-04-17T12:00:13.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-383 -v /w/workspace/foundry_device-virtual-go_PR-383:/w/workspace/foundry_device-virtual-go_PR-383:rw,z -v /w/workspace/foundry_device-virtual-go_PR-383@tmp:/w/workspace/foundry_device-virtual-go_PR-383@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 ******** ci-base-image-x86_64 cat [2023-04-17T12:00:14.142Z] $ docker top a6b223b1b249840d73187a49baf26b89bd4b54d5390cd4b2bdfdc9901e523e8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T12:00:14.545Z] + go version [2023-04-17T12:00:14.545Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T12:00:14.584Z] $ docker stop --time=1 a6b223b1b249840d73187a49baf26b89bd4b54d5390cd4b2bdfdc9901e523e8f [2023-04-17T12:00:15.859Z] $ docker rm -f --volumes a6b223b1b249840d73187a49baf26b89bd4b54d5390cd4b2bdfdc9901e523e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:00:16.579Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T12:00:16.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:00:16.735Z] prd-ubuntu20.04-docker-8c-8g-8717 does not seem to be running inside a container [2023-04-17T12:00:16.770Z] $ 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-383 -v /w/workspace/foundry_device-virtual-go_PR-383:/w/workspace/foundry_device-virtual-go_PR-383:rw,z -v /w/workspace/foundry_device-virtual-go_PR-383@tmp:/w/workspace/foundry_device-virtual-go_PR-383@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 ******** ci-base-image-x86_64 cat [2023-04-17T12:00:17.104Z] $ docker top 1a79694be0753607e5ceffe9ce9b3a304c803c88127a8b4242df6c3cef4fc6e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T12:00:17.495Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-383 [Pipeline] fileExists [Pipeline] sh [2023-04-17T12:00:17.850Z] + make test [2023-04-17T12:00:17.850Z] go test ./... -coverprofile=coverage.out [2023-04-17T12:00:23.113Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-17T12:00:31.216Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-04-17T12:00:31.216Z] internal/driver/virtualdriver.go:38:9: cannot use driver (variable of type *VirtualDriver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *VirtualDriver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Start) [2023-04-17T12:00:32.594Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-04-17T12:00:32.594Z] FAIL [2023-04-17T12:00:32.853Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-17T12:00:32.900Z] $ docker stop --time=1 1a79694be0753607e5ceffe9ce9b3a304c803c88127a8b4242df6c3cef4fc6e5 [2023-04-17T12:00:36.954Z] $ docker rm -f --volumes 1a79694be0753607e5ceffe9ce9b3a304c803c88127a8b4242df6c3cef4fc6e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:00:38.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T12:00:38.165Z] [2023-04-17T12:00:38.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:00:38.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T12:00:38.549Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T12:00:38.549Z] 5eb5b503b376: Pulling fs layer [2023-04-17T12:00:38.549Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T12:00:38.549Z] ec43610c2a17: Pulling fs layer [2023-04-17T12:00:38.549Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T12:00:38.549Z] 33b1e0a273af: Pulling fs layer [2023-04-17T12:00:38.549Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T12:00:38.549Z] 2f39f015ded8: Pulling fs layer [2023-04-17T12:00:38.549Z] 5d3b04190fa2: Waiting [2023-04-17T12:00:38.549Z] 2f39f015ded8: Waiting [2023-04-17T12:00:38.549Z] 3a2ae6a8a46f: Waiting [2023-04-17T12:00:38.549Z] 33b1e0a273af: Waiting [2023-04-17T12:00:38.549Z] 5c69ac0246d0: Download complete [2023-04-17T12:00:38.549Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T12:00:38.549Z] 3a2ae6a8a46f: Download complete [2023-04-17T12:00:38.549Z] 33b1e0a273af: Verifying Checksum [2023-04-17T12:00:38.549Z] 33b1e0a273af: Download complete [2023-04-17T12:00:38.808Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T12:00:38.808Z] 5d3b04190fa2: Download complete [2023-04-17T12:00:38.808Z] ec43610c2a17: Verifying Checksum [2023-04-17T12:00:38.808Z] ec43610c2a17: Download complete [2023-04-17T12:00:38.808Z] 5eb5b503b376: Verifying Checksum [2023-04-17T12:00:38.808Z] 5eb5b503b376: Download complete [2023-04-17T12:00:39.375Z] 2f39f015ded8: Download complete [2023-04-17T12:00:39.942Z] 5eb5b503b376: Pull complete [2023-04-17T12:00:40.201Z] 5c69ac0246d0: Pull complete [2023-04-17T12:00:40.770Z] ec43610c2a17: Pull complete [2023-04-17T12:00:40.770Z] 3a2ae6a8a46f: Pull complete [2023-04-17T12:00:41.028Z] 33b1e0a273af: Pull complete [2023-04-17T12:00:41.028Z] 5d3b04190fa2: Pull complete [2023-04-17T12:00:46.298Z] 2f39f015ded8: Pull complete [2023-04-17T12:00:46.298Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T12:00:46.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T12:00:46.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:00:46.502Z] prd-ubuntu20.04-docker-8c-8g-8717 does not seem to be running inside a container [2023-04-17T12:00:46.536Z] $ 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-383 -v /w/workspace/foundry_device-virtual-go_PR-383:/w/workspace/foundry_device-virtual-go_PR-383:rw,z -v /w/workspace/foundry_device-virtual-go_PR-383@tmp:/w/workspace/foundry_device-virtual-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T12:00:50.827Z] $ docker top 7a6a0f071a3107ba2210a926d895acdcba6ed660963c3a7d3885883c67959d9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:00:51.288Z] ---> job-cost.sh [2023-04-17T12:00:51.288Z] lf-activate-venv: SKIPPING [2023-04-17T12:00:51.288Z] INFO: No Stack... [2023-04-17T12:00:51.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T12:00:52.118Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T12:00:52.437Z] + cat /w/workspace/foundry_device-virtual-go_PR-383/archives/cost.csv [2023-04-17T12:00:52.437Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T12:00:52.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] [2023-04-17T12:00:52.479Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] did not exist. Created. [2023-04-17T12:00:52.479Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T12:00:52.875Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T12:00:52.934Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T12:00:52.951Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T12:00:53.030Z] $ docker stop --time=1 7a6a0f071a3107ba2210a926d895acdcba6ed660963c3a7d3885883c67959d9a [2023-04-17T12:00:54.189Z] $ docker rm -f --volumes 7a6a0f071a3107ba2210a926d895acdcba6ed660963c3a7d3885883c67959d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T12:00:54.566Z] Failed in branch amd64 [2023-04-17T12:01:03.009Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8718 in /w/workspace/foundry_device-virtual-go_PR-383 [Pipeline] { [Pipeline] ws [2023-04-17T12:01:03.068Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-04-17T12:01:03.151Z] The recommended git tool is: git [2023-04-17T12:01:08.439Z] using credential edgex-jenkins-ssh [2023-04-17T12:01:08.457Z] Cloning the remote Git repository [2023-04-17T12:01:08.510Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-04-17T12:01:08.614Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-04-17T12:01:08.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-17T12:01:08.782Z] > git --version # timeout=10 [2023-04-17T12:01:08.805Z] > git --version # 'git version 2.25.1' [2023-04-17T12:01:08.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T12:01:08.981Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T12:01:11.632Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-17T12:01:11.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T12:01:13.195Z] Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit c7ef825bc0d9ec5e5080524a10fd8759923aa55a [2023-04-17T12:01:12.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-04-17T12:01:12.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-04-17T12:01:12.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T12:01:12.682Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/383/head:refs/remotes/origin/PR-383 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T12:01:13.215Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T12:01:13.302Z] > git checkout -f c7ef825bc0d9ec5e5080524a10fd8759923aa55a # timeout=10 [2023-04-17T12:01:13.390Z] > git remote # timeout=10 [2023-04-17T12:01:13.411Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T12:01:13.494Z] Merge succeeded, producing c7ef825bc0d9ec5e5080524a10fd8759923aa55a [2023-04-17T12:01:13.495Z] Checking out Revision c7ef825bc0d9ec5e5080524a10fd8759923aa55a (PR-383) [2023-04-17T12:01:14.010Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-17T12:01:14.059Z] > git --version # timeout=10 [2023-04-17T12:01:14.072Z] > git --version # 'git version 2.25.1' [2023-04-17T12:01:14.093Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-04-17T12:01:13.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T12:01:13.453Z] > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 [2023-04-17T12:01:13.479Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T12:01:13.503Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T12:01:13.522Z] > git checkout -f c7ef825bc0d9ec5e5080524a10fd8759923aa55a # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T12:01:15.427Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T12:01:15.427Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T12:01:15.427Z] Dload Upload Total Spent Left Speed [2023-04-17T12:01:15.427Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76813 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh [2023-04-17T12:01:16.083Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T12:01:16.429Z] + sudo tee /etc/docker/daemon.new [2023-04-17T12:01:16.429Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T12:01:16.429Z] { [2023-04-17T12:01:16.429Z] "registry-mirrors": [ [2023-04-17T12:01:16.429Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T12:01:16.429Z] ], [2023-04-17T12:01:16.429Z] "bip": "10.250.0.254/24", [2023-04-17T12:01:16.429Z] "hosts": [ [2023-04-17T12:01:16.429Z] "tcp://0.0.0.0:5555", [2023-04-17T12:01:16.429Z] "unix:///var/run/docker.sock" [2023-04-17T12:01:16.429Z] ], [2023-04-17T12:01:16.429Z] "mtu": 1458, [2023-04-17T12:01:16.429Z] "selinux-enabled": true, [2023-04-17T12:01:16.429Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T12:01:16.429Z] } [Pipeline] sh [2023-04-17T12:01:16.766Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T12:01:17.106Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T12:01:35.428Z] provisioning config files... [2023-04-17T12:01:35.473Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17732414465277181048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:01:36.084Z] ---> docker-login.sh [2023-04-17T12:01:36.084Z] nexus3.edgexfoundry.org:10001 [2023-04-17T12:01:36.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T12:01:36.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T12:01:36.355Z] Configure a credential helper to remove this warning. See [2023-04-17T12:01:36.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T12:01:36.355Z] [2023-04-17T12:01:36.355Z] Login Succeeded [2023-04-17T12:01:36.355Z] nexus3.edgexfoundry.org:10002 [2023-04-17T12:01:36.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T12:01:36.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T12:01:36.895Z] Configure a credential helper to remove this warning. See [2023-04-17T12:01:36.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T12:01:36.895Z] [2023-04-17T12:01:36.895Z] Login Succeeded [2023-04-17T12:01:36.895Z] nexus3.edgexfoundry.org:10003 [2023-04-17T12:01:36.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T12:01:37.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T12:01:37.165Z] Configure a credential helper to remove this warning. See [2023-04-17T12:01:37.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T12:01:37.165Z] [2023-04-17T12:01:37.165Z] Login Succeeded [2023-04-17T12:01:37.165Z] nexus3.edgexfoundry.org:10004 [2023-04-17T12:01:37.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T12:01:37.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T12:01:37.436Z] Configure a credential helper to remove this warning. See [2023-04-17T12:01:37.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T12:01:37.436Z] [2023-04-17T12:01:37.436Z] Login Succeeded [2023-04-17T12:01:37.436Z] docker.io [2023-04-17T12:01:37.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T12:01:37.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T12:01:37.975Z] Configure a credential helper to remove this warning. See [2023-04-17T12:01:37.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T12:01:37.975Z] [2023-04-17T12:01:37.975Z] Login Succeeded [2023-04-17T12:01:37.975Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T12:01:38.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T12:01:38.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T12:01:38.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T12:01:38.581Z] ========================================================= [2023-04-17T12:01:38.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T12:01:38.581Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:01:39.101Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T12:01:39.369Z] Sending build context to Docker daemon 11.93MB [2023-04-17T12:01:39.369Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T12:01:39.369Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T12:01:39.658Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T12:01:39.658Z] af6eaf76a39c: Pulling fs layer [2023-04-17T12:01:39.658Z] 55522c791124: Pulling fs layer [2023-04-17T12:01:39.658Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T12:01:39.658Z] 169dfbe0d373: Pulling fs layer [2023-04-17T12:01:39.658Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T12:01:39.658Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T12:01:39.658Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T12:01:39.658Z] 169dfbe0d373: Waiting [2023-04-17T12:01:39.658Z] e1ff8fa3b103: Waiting [2023-04-17T12:01:39.658Z] 52ebb69f0ebf: Waiting [2023-04-17T12:01:39.658Z] 5abe8eddf0d5: Waiting [2023-04-17T12:01:39.658Z] 55522c791124: Verifying Checksum [2023-04-17T12:01:39.658Z] 55522c791124: Download complete [2023-04-17T12:01:39.658Z] 169dfbe0d373: Verifying Checksum [2023-04-17T12:01:39.658Z] 169dfbe0d373: Download complete [2023-04-17T12:01:39.658Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T12:01:39.658Z] e1ff8fa3b103: Download complete [2023-04-17T12:01:39.658Z] af6eaf76a39c: Verifying Checksum [2023-04-17T12:01:39.658Z] af6eaf76a39c: Download complete [2023-04-17T12:01:40.642Z] af6eaf76a39c: Pull complete [2023-04-17T12:01:40.913Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T12:01:40.913Z] 5abe8eddf0d5: Download complete [2023-04-17T12:01:41.186Z] 55522c791124: Pull complete [2023-04-17T12:01:42.161Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T12:01:42.161Z] ce5c4a1c91eb: Download complete [2023-04-17T12:01:42.161Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T12:01:42.161Z] 52ebb69f0ebf: Download complete [2023-04-17T12:01:54.498Z] ce5c4a1c91eb: Pull complete [2023-04-17T12:01:54.498Z] 169dfbe0d373: Pull complete [2023-04-17T12:01:54.498Z] e1ff8fa3b103: Pull complete [2023-04-17T12:01:59.959Z] 52ebb69f0ebf: Pull complete [2023-04-17T12:02:01.371Z] 5abe8eddf0d5: Pull complete [2023-04-17T12:02:01.641Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T12:02:01.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T12:02:01.641Z] ---> 6cb57ee374ae [2023-04-17T12:02:01.641Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T12:02:03.600Z] ---> Running in 31a89b124fa4 [2023-04-17T12:02:03.600Z] Removing intermediate container 31a89b124fa4 [2023-04-17T12:02:03.600Z] ---> aae3e34bc12d [2023-04-17T12:02:03.600Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T12:02:03.600Z] ---> Running in 96d2af2aa5d2 [2023-04-17T12:02:03.868Z] Removing intermediate container 96d2af2aa5d2 [2023-04-17T12:02:03.868Z] ---> 736f815d60a9 [2023-04-17T12:02:03.868Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T12:02:03.868Z] ---> Running in 4aa79b93b4fe [2023-04-17T12:02:04.138Z] Removing intermediate container 4aa79b93b4fe [2023-04-17T12:02:04.138Z] ---> d21b273ca56f [2023-04-17T12:02:04.138Z] Step 6/12 : WORKDIR /device-virtual-go [2023-04-17T12:02:04.138Z] ---> Running in 61fd3eb6f348 [2023-04-17T12:02:04.410Z] Removing intermediate container 61fd3eb6f348 [2023-04-17T12:02:04.410Z] ---> f20dcb61ed82 [2023-04-17T12:02:04.410Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T12:02:04.679Z] ---> Running in aa72d2c91687 [2023-04-17T12:02:05.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T12:02:06.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T12:02:07.209Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T12:02:07.209Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T12:02:07.209Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T12:02:07.209Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T12:02:07.209Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T12:02:07.209Z] OK: 268 MiB in 57 packages [2023-04-17T12:02:08.172Z] Removing intermediate container aa72d2c91687 [2023-04-17T12:02:08.172Z] ---> 2a00e204fd32 [2023-04-17T12:02:08.172Z] Step 8/12 : COPY go.mod vendor* ./ [2023-04-17T12:02:08.756Z] ---> c30d2640838e [2023-04-17T12:02:08.756Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T12:02:08.756Z] ---> Running in fa3f6af948be [2023-04-17T12:03:16.617Z] Removing intermediate container fa3f6af948be [2023-04-17T12:03:16.617Z] ---> bc1b26f5ad6d [2023-04-17T12:03:16.617Z] Step 10/12 : COPY . . [2023-04-17T12:03:16.617Z] ---> a1d9b0554ff9 [2023-04-17T12:03:16.617Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T12:03:16.617Z] ---> Running in 56f9fc7acb61 [2023-04-17T12:03:16.617Z] Removing intermediate container 56f9fc7acb61 [2023-04-17T12:03:16.617Z] ---> 76e28c647582 [2023-04-17T12:03:16.617Z] Step 12/12 : RUN $MAKE [2023-04-17T12:03:16.617Z] ---> Running in 8aceb52b2785 [2023-04-17T12:03:16.617Z] noop [2023-04-17T12:03:16.617Z] Removing intermediate container 8aceb52b2785 [2023-04-17T12:03:16.617Z] ---> cb469a3a3358 [2023-04-17T12:03:16.617Z] Successfully built cb469a3a3358 [2023-04-17T12:03:16.617Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:03:17.096Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T12:03:17.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:03:17.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-8718 does not seem to be running inside a container [2023-04-17T12:03:17.429Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-17T12:03:18.511Z] $ docker top a6dc5bfee72a47d45a80d1a2ccb5abc63b653e76976ed18fd0b334ab83582c94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T12:03:19.367Z] + go version [2023-04-17T12:03:19.368Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T12:03:19.421Z] $ docker stop --time=1 a6dc5bfee72a47d45a80d1a2ccb5abc63b653e76976ed18fd0b334ab83582c94 [2023-04-17T12:03:20.992Z] $ docker rm -f --volumes a6dc5bfee72a47d45a80d1a2ccb5abc63b653e76976ed18fd0b334ab83582c94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:03:21.832Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T12:03:21.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:03:22.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-8718 does not seem to be running inside a container [2023-04-17T12:03:22.133Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-17T12:03:23.313Z] $ docker top 958238b6f5ee276ad52ee99e2f536a5f8f6cc80da3bfaa93c5f0baecc891390c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T12:03:23.837Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T12:03:24.573Z] + make test [2023-04-17T12:03:24.573Z] go test ./... -coverprofile=coverage.out [2023-04-17T12:03:56.815Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-04-17T12:05:04.667Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-04-17T12:05:04.667Z] internal/driver/virtualdriver.go:38:9: cannot use driver (variable of type *VirtualDriver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *VirtualDriver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Start) [2023-04-17T12:05:43.543Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-04-17T12:05:43.543Z] FAIL [2023-04-17T12:05:43.543Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-17T12:05:43.596Z] $ docker stop --time=1 958238b6f5ee276ad52ee99e2f536a5f8f6cc80da3bfaa93c5f0baecc891390c [2023-04-17T12:05:45.454Z] $ docker rm -f --volumes 958238b6f5ee276ad52ee99e2f536a5f8f6cc80da3bfaa93c5f0baecc891390c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:05:47.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T12:05:47.110Z] [2023-04-17T12:05:47.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:05:47.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T12:05:47.787Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T12:05:47.787Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T12:05:47.787Z] 04944245beec: Pulling fs layer [2023-04-17T12:05:47.787Z] 699f458cf7ca: Pulling fs layer [2023-04-17T12:05:47.787Z] 765212b225bb: Pulling fs layer [2023-04-17T12:05:47.787Z] f23df028b6ca: Pulling fs layer [2023-04-17T12:05:47.787Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T12:05:47.787Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T12:05:47.787Z] f23df028b6ca: Waiting [2023-04-17T12:05:47.787Z] 765212b225bb: Waiting [2023-04-17T12:05:47.787Z] d65c8cfc05b1: Waiting [2023-04-17T12:05:47.787Z] 2437ff75d9bd: Waiting [2023-04-17T12:05:47.787Z] 04944245beec: Verifying Checksum [2023-04-17T12:05:47.787Z] 04944245beec: Download complete [2023-04-17T12:05:47.787Z] 765212b225bb: Verifying Checksum [2023-04-17T12:05:47.787Z] 765212b225bb: Download complete [2023-04-17T12:05:48.056Z] f23df028b6ca: Verifying Checksum [2023-04-17T12:05:48.056Z] f23df028b6ca: Download complete [2023-04-17T12:05:48.056Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T12:05:48.056Z] d65c8cfc05b1: Download complete [2023-04-17T12:05:48.056Z] 699f458cf7ca: Verifying Checksum [2023-04-17T12:05:48.056Z] 699f458cf7ca: Download complete [2023-04-17T12:05:48.644Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T12:05:48.644Z] 8998bd30e6a1: Download complete [2023-04-17T12:05:51.222Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T12:05:51.222Z] 2437ff75d9bd: Download complete [2023-04-17T12:05:53.175Z] 8998bd30e6a1: Pull complete [2023-04-17T12:05:53.444Z] 04944245beec: Pull complete [2023-04-17T12:05:55.401Z] 699f458cf7ca: Pull complete [2023-04-17T12:05:55.671Z] 765212b225bb: Pull complete [2023-04-17T12:05:56.634Z] f23df028b6ca: Pull complete [2023-04-17T12:05:56.901Z] d65c8cfc05b1: Pull complete [2023-04-17T12:06:15.115Z] 2437ff75d9bd: Pull complete [2023-04-17T12:06:15.115Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T12:06:15.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T12:06:15.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:06:15.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-8718 does not seem to be running inside a container [2023-04-17T12:06:15.642Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T12:06:16.859Z] $ docker top 0465a825cd95078642c5b507e4457bd320cab672d6c71710576ec22cdba42eb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:18.244Z] ---> job-cost.sh [2023-04-17T12:06:18.244Z] lf-activate-venv: SKIPPING [2023-04-17T12:06:18.244Z] INFO: No Stack... [2023-04-17T12:06:18.513Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T12:06:19.471Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T12:06:20.137Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-04-17T12:06:20.137Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T12:06:20.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] [2023-04-17T12:06:20.235Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] did not exist. Created. [2023-04-17T12:06:20.235Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T12:06:21.014Z] /w/workspace/device-virtual-go/1@tmp/durable-44ae347e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T12:06:21.685Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T12:06:21.722Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T12:06:22.189Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T12:06:22.207Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T12:06:22.297Z] $ docker stop --time=1 0465a825cd95078642c5b507e4457bd320cab672d6c71710576ec22cdba42eb4 [2023-04-17T12:06:23.811Z] $ docker rm -f --volumes 0465a825cd95078642c5b507e4457bd320cab672d6c71710576ec22cdba42eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T12:06:24.539Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-17T12:06:26.867Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-383/archives ] [2023-04-17T12:06:26.867Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-383/archives [2023-04-17T12:06:26.867Z] total 16 [2023-04-17T12:06:26.867Z] drwxr-xr-x 3 root root 4096 Apr 17 12:00 . [2023-04-17T12:06:26.867Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 12:00 .. [2023-04-17T12:06:26.867Z] drwxr-xr-x 2 root root 4096 Apr 17 12:00 cost [2023-04-17T12:06:26.867Z] -rw-r--r-- 1 root root 89 Apr 17 12:00 cost.csv [2023-04-17T12:06:26.867Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-383/archives [2023-04-17T12:06:26.867Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-383/archives [2023-04-17T12:06:26.867Z] total 16 [2023-04-17T12:06:26.867Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 12:00 . [2023-04-17T12:06:26.867Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 12:00 .. [2023-04-17T12:06:26.867Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 12:00 cost [2023-04-17T12:06:26.867Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 17 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:27.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:28.075Z] ---> package-listing.sh [2023-04-17T12:06:28.076Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T12:06:28.076Z] ++ facter osfamily [2023-04-17T12:06:28.334Z] + OS_FAMILY=debian [2023-04-17T12:06:28.334Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-383 [2023-04-17T12:06:28.334Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T12:06:28.334Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T12:06:28.334Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T12:06:28.334Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T12:06:28.334Z] + '[' /w/workspace/foundry_device-virtual-go_PR-383 ']' [2023-04-17T12:06:28.334Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T12:06:28.334Z] + case "${OS_FAMILY}" in [2023-04-17T12:06:28.334Z] + dpkg -l [2023-04-17T12:06:28.334Z] + grep '^ii' [2023-04-17T12:06:28.334Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T12:06:28.334Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T12:06:28.334Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T12:06:28.334Z] + '[' /w/workspace/foundry_device-virtual-go_PR-383 ']' [2023-04-17T12:06:28.334Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-383/archives/ [2023-04-17T12:06:28.334Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-383/archives/ [Pipeline] echo [2023-04-17T12:06:28.368Z] 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-383/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T12:06:28.658Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T12:06:29.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T12:06:29.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T12:06:29.429Z] prd-ubuntu20.04-docker-8c-8g-8717 does not seem to be running inside a container [2023-04-17T12:06:29.458Z] $ 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-383/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-383 -v /w/workspace/foundry_device-virtual-go_PR-383:/w/workspace/foundry_device-virtual-go_PR-383:rw,z -v /w/workspace/foundry_device-virtual-go_PR-383@tmp:/w/workspace/foundry_device-virtual-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T12:06:29.678Z] $ docker top 63b25791d2822b86f0fa1a25057fb7fa200ae01524ff4f2f42d730bfc669465f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T12:06:30.067Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T12:06:30.376Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T12:06:30.689Z] + ls /var/log/sa-host [2023-04-17T12:06:30.689Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T12:06:30.924Z] provisioning config files... [2023-04-17T12:06:30.932Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-383@tmp/config11154881319074707958tmp [Pipeline] { [Pipeline] echo [2023-04-17T12:06:30.989Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:31.301Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T12:06:31.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:31.725Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T12:06:31.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:32.069Z] ---> sudo-logs.sh [2023-04-17T12:06:32.069Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T12:06:32.158Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:32.464Z] ---> job-cost.sh [2023-04-17T12:06:32.464Z] lf-activate-venv: SKIPPING [2023-04-17T12:06:32.464Z] DEBUG: total: 0.2199999988079071 [2023-04-17T12:06:32.464Z] INFO: Retrieving Stack Cost... [2023-04-17T12:06:32.724Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T12:06:33.291Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T12:06:33.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T12:06:33.649Z] ---> logs-deploy.sh [2023-04-17T12:06:33.649Z] lf-activate-venv: SKIPPING [2023-04-17T12:06:33.649Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-383/1 [2023-04-17T12:06:33.649Z] INFO: archiving workspace using pattern(s): [2023-04-17T12:06:34.587Z] Archives upload complete. [2023-04-17T12:06:34.587Z] INFO: archiving logs to Nexus