Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than db3cde863495ad692bbb0315800d9817b32f3011 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh7128554786437940271.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2474022310531373790.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6749952834240672763.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11935206358798574781.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15436731935601566968.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera 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-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-41 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-262 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit db3cde863495ad692bbb0315800d9817b32f3011 Merge succeeded, producing db3cde863495ad692bbb0315800d9817b32f3011 Checking out Revision db3cde863495ad692bbb0315800d9817b32f3011 (PR-262) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db3cde863495ad692bbb0315800d9817b32f3011 # 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db3cde863495ad692bbb0315800d9817b32f3011 # timeout=10 Commit message: "revert: remove go.mod changes" > git rev-list --no-walk 8ca6cb3873712263d1398cd232acfbf3a59dcac8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-27T14:52:54.981Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-27T14:52:55.045Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-27T14:52:55.061Z] ========================================================= [2023-06-27T14:52:55.061Z] EdgeX Global Pipelines Version Info [2023-06-27T14:52:55.061Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:52:56.164Z] ------------------- [2023-06-27T14:52:56.164Z] stable info: [2023-06-27T14:52:56.164Z] ------------------- [2023-06-27T14:52:56.164Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-27T14:52:56.164Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-27T14:52:56.164Z] Message: update stable to v1.0.250 [2023-06-27T14:52:56.426Z] ------------------- [2023-06-27T14:52:56.426Z] experimental info: [2023-06-27T14:52:56.426Z] ------------------- [2023-06-27T14:52:56.426Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-27T14:52:56.426Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-27T14:52:56.426Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-27T14:52:56.595Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-27T14:52:56.610Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-27T14:52:56.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-27T14:52:56.643Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-27T14:52:56.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-27T14:52:56.672Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-27T14:52:56.691Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-27T14:52:56.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-27T14:52:56.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-27T14:52:56.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-27T14:52:56.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-27T14:52:56.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-27T14:52:56.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-27T14:52:56.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-27T14:52:56.765Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-27T14:52:56.781Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-27T14:52:56.793Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-27T14:52:56.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-27T14:52:56.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-27T14:52:56.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-27T14:52:56.846Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-27T14:52:56.857Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-27T14:52:56.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-27T14:52:56.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-27T14:52:56.912Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-27T14:52:56.932Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-27T14:52:56.951Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-27T14:52:56.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-27T14:52:56.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-27T14:52:57.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-27T14:52:57.020Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db3cde863495ad692bbb0315800d9817b32f3011 [Pipeline] echo [2023-06-27T14:52:57.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db3cde8 [Pipeline] echo [2023-06-27T14:52:57.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-27T14:52:57.105Z] provisioning config files... [2023-06-27T14:52:57.119Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config12814328157862435329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:52:57.428Z] ---> docker-login.sh [2023-06-27T14:52:57.428Z] nexus3.edgexfoundry.org:10001 [2023-06-27T14:52:58.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:52:58.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:52:58.272Z] Configure a credential helper to remove this warning. See [2023-06-27T14:52:58.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:52:58.272Z] [2023-06-27T14:52:58.272Z] Login Succeeded [2023-06-27T14:52:58.272Z] nexus3.edgexfoundry.org:10002 [2023-06-27T14:52:58.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:52:58.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:52:58.532Z] Configure a credential helper to remove this warning. See [2023-06-27T14:52:58.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:52:58.532Z] [2023-06-27T14:52:58.532Z] Login Succeeded [2023-06-27T14:52:58.532Z] nexus3.edgexfoundry.org:10003 [2023-06-27T14:52:58.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:52:58.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:52:58.532Z] Configure a credential helper to remove this warning. See [2023-06-27T14:52:58.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:52:58.532Z] [2023-06-27T14:52:58.532Z] Login Succeeded [2023-06-27T14:52:58.532Z] nexus3.edgexfoundry.org:10004 [2023-06-27T14:52:58.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:52:58.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:52:58.792Z] Configure a credential helper to remove this warning. See [2023-06-27T14:52:58.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:52:58.792Z] [2023-06-27T14:52:58.792Z] Login Succeeded [2023-06-27T14:52:58.792Z] docker.io [2023-06-27T14:52:58.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:52:59.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:52:59.052Z] Configure a credential helper to remove this warning. See [2023-06-27T14:52:59.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:52:59.052Z] [2023-06-27T14:52:59.052Z] Login Succeeded [2023-06-27T14:52:59.052Z] ---> docker-login.sh ends [Pipeline] } [2023-06-27T14:52:59.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-27T14:52:59.451Z] + git rev-list -1 --merges db3cde863495ad692bbb0315800d9817b32f3011~1..db3cde863495ad692bbb0315800d9817b32f3011 [Pipeline] echo [2023-06-27T14:52:59.503Z] -----------> git rev-list -1 --merges db3cde863495ad692bbb0315800d9817b32f3011~1..db3cde863495ad692bbb0315800d9817b32f3011 db3cde863495ad692bbb0315800d9817b32f3011 [false] [Pipeline] sh [2023-06-27T14:52:59.803Z] + git log --format=format:%s -1 db3cde863495ad692bbb0315800d9817b32f3011 [Pipeline] echo [2023-06-27T14:52:59.816Z] ========================================================= [2023-06-27T14:52:59.816Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-27T14:52:59.816Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-27T14:53:00.131Z] + git log --format=format:%s -1 db3cde863495ad692bbb0315800d9817b32f3011 [Pipeline] echo [2023-06-27T14:53:00.141Z] [semverPrep] GIT_COMMIT: db3cde863495ad692bbb0315800d9817b32f3011, Commit Message: revert: remove go.mod changes [Pipeline] echo [2023-06-27T14:53:00.151Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-27T14:53:00.514Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-27T14:53:00.515Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-27T14:53:00.515Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-27T14:53:00.515Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-27T14:53:00.515Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-27T14:53:00.515Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-27T14:53:00.515Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:53:00.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-27T14:53:00.964Z] [2023-06-27T14:53:00.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:53:01.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-27T14:53:01.268Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-27T14:53:01.268Z] b85a868b505f: Pulling fs layer [2023-06-27T14:53:01.268Z] e2be974225ed: Pulling fs layer [2023-06-27T14:53:01.268Z] 339a4e72a1f5: Pulling fs layer [2023-06-27T14:53:01.268Z] 988bab9f4d93: Pulling fs layer [2023-06-27T14:53:01.268Z] 1469e6f7b9e6: Pulling fs layer [2023-06-27T14:53:01.268Z] eaf3925da568: Pulling fs layer [2023-06-27T14:53:01.268Z] bab4dde63d76: Pulling fs layer [2023-06-27T14:53:01.268Z] bde34c3a00c8: Pulling fs layer [2023-06-27T14:53:01.268Z] b352a97aabf1: Pulling fs layer [2023-06-27T14:53:01.268Z] 4872d77fe225: Pulling fs layer [2023-06-27T14:53:01.268Z] 5851b861e8e6: Pulling fs layer [2023-06-27T14:53:01.268Z] bde34c3a00c8: Waiting [2023-06-27T14:53:01.268Z] 988bab9f4d93: Waiting [2023-06-27T14:53:01.268Z] 1469e6f7b9e6: Waiting [2023-06-27T14:53:01.268Z] b352a97aabf1: Waiting [2023-06-27T14:53:01.268Z] 4872d77fe225: Waiting [2023-06-27T14:53:01.268Z] eaf3925da568: Waiting [2023-06-27T14:53:01.268Z] bab4dde63d76: Waiting [2023-06-27T14:53:01.268Z] 5851b861e8e6: Waiting [2023-06-27T14:53:01.268Z] e2be974225ed: Verifying Checksum [2023-06-27T14:53:01.268Z] e2be974225ed: Download complete [2023-06-27T14:53:01.268Z] 988bab9f4d93: Verifying Checksum [2023-06-27T14:53:01.268Z] 988bab9f4d93: Download complete [2023-06-27T14:53:01.527Z] 1469e6f7b9e6: Verifying Checksum [2023-06-27T14:53:01.527Z] 1469e6f7b9e6: Download complete [2023-06-27T14:53:01.527Z] 339a4e72a1f5: Verifying Checksum [2023-06-27T14:53:01.527Z] 339a4e72a1f5: Download complete [2023-06-27T14:53:01.527Z] eaf3925da568: Verifying Checksum [2023-06-27T14:53:01.527Z] eaf3925da568: Download complete [2023-06-27T14:53:01.527Z] bde34c3a00c8: Download complete [2023-06-27T14:53:01.527Z] b352a97aabf1: Download complete [2023-06-27T14:53:01.527Z] 4872d77fe225: Verifying Checksum [2023-06-27T14:53:01.527Z] 4872d77fe225: Download complete [2023-06-27T14:53:01.527Z] 5851b861e8e6: Verifying Checksum [2023-06-27T14:53:01.527Z] 5851b861e8e6: Download complete [2023-06-27T14:53:01.527Z] b85a868b505f: Download complete [2023-06-27T14:53:01.788Z] bab4dde63d76: Verifying Checksum [2023-06-27T14:53:01.788Z] bab4dde63d76: Download complete [2023-06-27T14:53:03.168Z] b85a868b505f: Pull complete [2023-06-27T14:53:03.168Z] e2be974225ed: Pull complete [2023-06-27T14:53:03.739Z] 339a4e72a1f5: Pull complete [2023-06-27T14:53:03.999Z] 988bab9f4d93: Pull complete [2023-06-27T14:53:04.259Z] 1469e6f7b9e6: Pull complete [2023-06-27T14:53:04.259Z] eaf3925da568: Pull complete [2023-06-27T14:53:06.793Z] bab4dde63d76: Pull complete [2023-06-27T14:53:06.793Z] bde34c3a00c8: Pull complete [2023-06-27T14:53:06.793Z] b352a97aabf1: Pull complete [2023-06-27T14:53:06.793Z] 4872d77fe225: Pull complete [2023-06-27T14:53:06.793Z] 5851b861e8e6: Pull complete [2023-06-27T14:53:06.793Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-27T14:53:06.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-27T14:53:06.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:53:06.894Z] prd-ubuntu20.04-docker-8c-8g-41 does not seem to be running inside a container [2023-06-27T14:53:06.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-27T14:53:12.012Z] $ docker top 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 -eo pid,comm [2023-06-27T14:53:12.063Z] 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-06-27T14:53:12.063Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-27T14:53:12.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-27T14:53:12.097Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-27T14:53:12.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-27T14:53:12.208Z] $ docker exec 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 ssh-agent [2023-06-27T14:53:12.311Z] SSH_AUTH_SOCK=/tmp/ssh-lPyBgJZp0sW2/agent.32 [2023-06-27T14:53:12.311Z] SSH_AGENT_PID=38 [2023-06-27T14:53:12.317Z] Running ssh-add (command line suppressed) [2023-06-27T14:53:12.415Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12495787441014950828.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12495787441014950828.key) [2023-06-27T14:53:12.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-27T14:53:12.719Z] + git tag --points-at HEAD [Pipeline] } [2023-06-27T14:53:12.734Z] $ docker exec --env ******** --env ******** 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 ssh-agent -k [2023-06-27T14:53:12.834Z] unset SSH_AUTH_SOCK; [2023-06-27T14:53:12.834Z] unset SSH_AGENT_PID; [2023-06-27T14:53:12.834Z] echo Agent pid 38 killed; [2023-06-27T14:53:12.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-27T14:53:12.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-27T14:53:12.875Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-27T14:53:12.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-27T14:53:13.004Z] $ docker exec 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 ssh-agent [2023-06-27T14:53:13.125Z] SSH_AUTH_SOCK=/tmp/ssh-JYXOV2KkPYi2/agent.70 [2023-06-27T14:53:13.125Z] SSH_AGENT_PID=76 [2023-06-27T14:53:13.130Z] Running ssh-add (command line suppressed) [2023-06-27T14:53:13.236Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_10225349588189869100.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_10225349588189869100.key) [2023-06-27T14:53:13.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-27T14:53:13.538Z] + git semver init [2023-06-27T14:53:13.798Z] 2023-06-27 14:53:13,716 [run_init] DEBUG init version:0.0.0 force:False [2023-06-27T14:53:13.798Z] 2023-06-27 14:53:13,716 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-27T14:53:13.798Z] 2023-06-27 14:53:13,717 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-27T14:53:13.798Z] 2023-06-27 14:53:13,717 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,399 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,399 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,399 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,403 [execute] INFO git cat-file --batch-check [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,409 [execute] INFO git cat-file --batch [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-27T14:53:14.742Z] 2023-06-27 14:53:14,413 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-27T14:53:14.742Z] 0.0.0 [Pipeline] } [2023-06-27T14:53:14.754Z] $ docker exec --env ******** --env ******** 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 ssh-agent -k [2023-06-27T14:53:14.843Z] unset SSH_AUTH_SOCK; [2023-06-27T14:53:14.844Z] unset SSH_AGENT_PID; [2023-06-27T14:53:14.844Z] echo Agent pid 76 killed; [2023-06-27T14:53:14.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-27T14:53:15.153Z] + git semver [Pipeline] } [2023-06-27T14:53:15.427Z] $ docker stop --time=1 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 [2023-06-27T14:53:16.740Z] $ docker rm -f --volumes 676f571f85766d68b36f4a67abe60f76ca3d4ffddf548bb33e87ac861f27afd5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-27T14:53:17.082Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-27T14:53:17.303Z] Stashed 1 file(s) [Pipeline] echo [2023-06-27T14:53:17.306Z] [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-06-27T14:53:17.445Z] provisioning config files... [2023-06-27T14:53:17.455Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config5759834513000945845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:53:17.748Z] ---> docker-login.sh [2023-06-27T14:53:17.749Z] nexus3.edgexfoundry.org:10001 [2023-06-27T14:53:17.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:53:17.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:53:17.749Z] Configure a credential helper to remove this warning. See [2023-06-27T14:53:17.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:53:17.749Z] [2023-06-27T14:53:17.749Z] Login Succeeded [2023-06-27T14:53:17.749Z] nexus3.edgexfoundry.org:10002 [2023-06-27T14:53:17.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:53:17.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:53:17.749Z] Configure a credential helper to remove this warning. See [2023-06-27T14:53:17.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:53:17.749Z] [2023-06-27T14:53:17.749Z] Login Succeeded [2023-06-27T14:53:17.749Z] nexus3.edgexfoundry.org:10003 [2023-06-27T14:53:18.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:53:18.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:53:18.008Z] Configure a credential helper to remove this warning. See [2023-06-27T14:53:18.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:53:18.008Z] [2023-06-27T14:53:18.008Z] Login Succeeded [2023-06-27T14:53:18.008Z] nexus3.edgexfoundry.org:10004 [2023-06-27T14:53:18.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:53:18.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:53:18.008Z] Configure a credential helper to remove this warning. See [2023-06-27T14:53:18.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:53:18.008Z] [2023-06-27T14:53:18.008Z] Login Succeeded [2023-06-27T14:53:18.008Z] docker.io [2023-06-27T14:53:18.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:53:18.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:53:18.267Z] Configure a credential helper to remove this warning. See [2023-06-27T14:53:18.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:53:18.267Z] [2023-06-27T14:53:18.267Z] Login Succeeded [2023-06-27T14:53:18.267Z] ---> docker-login.sh ends [Pipeline] } [2023-06-27T14:53:18.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-27T14:53:18.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T14:53:18.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T14:53:18.351Z] ========================================================= [2023-06-27T14:53:18.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-27T14:53:18.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:53:18.656Z] + 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-06-27T14:53:18.656Z] Sending build context to Docker daemon 2.25MB [2023-06-27T14:53:18.656Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-27T14:53:18.656Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-27T14:53:18.656Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-27T14:53:18.656Z] f56be85fc22e: Pulling fs layer [2023-06-27T14:53:18.656Z] 85791d961cd3: Pulling fs layer [2023-06-27T14:53:18.656Z] d694b5ae8c79: Pulling fs layer [2023-06-27T14:53:18.656Z] 9f32a84ed3da: Pulling fs layer [2023-06-27T14:53:18.656Z] 4d19c01a9841: Pulling fs layer [2023-06-27T14:53:18.656Z] 9325e15d5711: Pulling fs layer [2023-06-27T14:53:18.656Z] 556b6ee489ea: Pulling fs layer [2023-06-27T14:53:18.656Z] c5a4b2cf53e6: Pulling fs layer [2023-06-27T14:53:18.656Z] 4d19c01a9841: Waiting [2023-06-27T14:53:18.656Z] 9325e15d5711: Waiting [2023-06-27T14:53:18.656Z] 556b6ee489ea: Waiting [2023-06-27T14:53:18.656Z] c5a4b2cf53e6: Waiting [2023-06-27T14:53:18.656Z] 9f32a84ed3da: Waiting [2023-06-27T14:53:18.916Z] 85791d961cd3: Verifying Checksum [2023-06-27T14:53:18.916Z] 85791d961cd3: Download complete [2023-06-27T14:53:18.916Z] 9f32a84ed3da: Verifying Checksum [2023-06-27T14:53:18.916Z] 9f32a84ed3da: Download complete [2023-06-27T14:53:18.916Z] 4d19c01a9841: Verifying Checksum [2023-06-27T14:53:18.916Z] 4d19c01a9841: Download complete [2023-06-27T14:53:18.916Z] f56be85fc22e: Verifying Checksum [2023-06-27T14:53:18.916Z] f56be85fc22e: Download complete [2023-06-27T14:53:18.916Z] 9325e15d5711: Verifying Checksum [2023-06-27T14:53:18.916Z] 9325e15d5711: Download complete [2023-06-27T14:53:18.916Z] f56be85fc22e: Pull complete [2023-06-27T14:53:19.177Z] 85791d961cd3: Pull complete [2023-06-27T14:53:19.436Z] c5a4b2cf53e6: Download complete [2023-06-27T14:53:19.436Z] d694b5ae8c79: Verifying Checksum [2023-06-27T14:53:19.436Z] d694b5ae8c79: Download complete [2023-06-27T14:53:19.703Z] 556b6ee489ea: Verifying Checksum [2023-06-27T14:53:19.703Z] 556b6ee489ea: Download complete [2023-06-27T14:53:22.996Z] d694b5ae8c79: Pull complete [2023-06-27T14:53:22.996Z] 9f32a84ed3da: Pull complete [2023-06-27T14:53:22.996Z] 4d19c01a9841: Pull complete [2023-06-27T14:53:23.255Z] 9325e15d5711: Pull complete [2023-06-27T14:53:25.787Z] 556b6ee489ea: Pull complete [2023-06-27T14:53:26.721Z] c5a4b2cf53e6: Pull complete [2023-06-27T14:53:26.721Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-27T14:53:26.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-27T14:53:26.721Z] ---> c4be618373d6 [2023-06-27T14:53:26.721Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-27T14:53:32.404Z] Still waiting to schedule task [2023-06-27T14:53:32.404Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-27T14:53:34.839Z] ---> Running in b94bd93e75ac [2023-06-27T14:53:34.839Z] Removing intermediate container b94bd93e75ac [2023-06-27T14:53:34.839Z] ---> 0230f6644d8f [2023-06-27T14:53:34.839Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-27T14:53:34.839Z] ---> Running in 8f17048de419 [2023-06-27T14:53:34.839Z] Removing intermediate container 8f17048de419 [2023-06-27T14:53:34.839Z] ---> acc2933e48e3 [2023-06-27T14:53:34.839Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-27T14:53:34.839Z] ---> Running in 871be14b68c8 [2023-06-27T14:53:34.839Z] Removing intermediate container 871be14b68c8 [2023-06-27T14:53:34.839Z] ---> bbe31b2cf470 [2023-06-27T14:53:34.839Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-27T14:53:34.839Z] ---> Running in 004a12e80a1d [2023-06-27T14:53:34.839Z] Removing intermediate container 004a12e80a1d [2023-06-27T14:53:34.839Z] ---> 7cc818d156bf [2023-06-27T14:53:34.839Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-27T14:53:34.839Z] ---> Running in 7f0c47e1d488 [2023-06-27T14:53:35.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-27T14:53:35.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-27T14:53:35.930Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-27T14:53:35.930Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-27T14:53:35.930Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-27T14:53:35.930Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-27T14:53:35.930Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-27T14:53:35.930Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-27T14:53:35.930Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-27T14:53:35.930Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-27T14:53:35.930Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-27T14:53:35.930Z] (10/14) Installing kmod-libs (30-r1) [2023-06-27T14:53:35.930Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-27T14:53:35.930Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-27T14:53:35.930Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-27T14:53:36.189Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-27T14:53:36.189Z] Executing busybox-1.35.0-r29.trigger [2023-06-27T14:53:36.189Z] Executing eudev-3.2.11-r4.trigger [2023-06-27T14:53:36.189Z] OK: 272 MiB in 67 packages [2023-06-27T14:53:37.584Z] Removing intermediate container 7f0c47e1d488 [2023-06-27T14:53:37.584Z] ---> 525dedb6df0c [2023-06-27T14:53:37.584Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-27T14:53:37.584Z] ---> Running in 3b03edfd95a7 [2023-06-27T14:53:37.584Z] Removing intermediate container 3b03edfd95a7 [2023-06-27T14:53:37.584Z] ---> ef30c7efe4d4 [2023-06-27T14:53:37.584Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-27T14:53:37.843Z] ---> 4b4947dec5a8 [2023-06-27T14:53:37.843Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-27T14:53:37.843Z] ---> Running in bf9e647ac4ca [2023-06-27T14:54:34.127Z] Removing intermediate container bf9e647ac4ca [2023-06-27T14:54:34.127Z] ---> c9dedde73b15 [2023-06-27T14:54:34.127Z] Step 11/13 : COPY . . [2023-06-27T14:54:34.127Z] ---> d87254b87a0d [2023-06-27T14:54:34.127Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-27T14:54:34.127Z] ---> Running in 9e62e27ca88c [2023-06-27T14:54:34.127Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-27T14:54:34.127Z] Dload Upload Total Spent Left Speed [2023-06-27T14:54:34.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5932 0 --:--:-- --:--:-- --:--:-- 5966 [2023-06-27T14:54:34.127Z] Removing intermediate container 9e62e27ca88c [2023-06-27T14:54:34.127Z] ---> ea649beea85b [2023-06-27T14:54:34.127Z] Step 13/13 : RUN ${MAKE} [2023-06-27T14:54:34.127Z] ---> Running in 72cd7ee6ad1c [2023-06-27T14:54:34.127Z] noop [2023-06-27T14:54:34.127Z] Removing intermediate container 72cd7ee6ad1c [2023-06-27T14:54:34.127Z] ---> 1ee6e70e4449 [2023-06-27T14:54:34.127Z] Successfully built 1ee6e70e4449 [2023-06-27T14:54:34.127Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:54:34.450Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-27T14:54:34.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:54:34.518Z] prd-ubuntu20.04-docker-8c-8g-41 does not seem to be running inside a container [2023-06-27T14:54:34.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-27T14:54:35.050Z] $ docker top 01199da88e49a15d92c0ce1a7301a6e059d6207b1f3542a35f140a4b6f6363cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T14:54:35.393Z] + go version [2023-06-27T14:54:35.393Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-27T14:54:35.406Z] $ docker stop --time=1 01199da88e49a15d92c0ce1a7301a6e059d6207b1f3542a35f140a4b6f6363cc [2023-06-27T14:54:36.733Z] $ docker rm -f --volumes 01199da88e49a15d92c0ce1a7301a6e059d6207b1f3542a35f140a4b6f6363cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:54:37.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-27T14:54:37.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:54:37.242Z] prd-ubuntu20.04-docker-8c-8g-41 does not seem to be running inside a container [2023-06-27T14:54:37.275Z] $ 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-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-27T14:54:38.193Z] $ docker top b0205879dc430540cee1d506e1114a95d67424720c716ec39ea09219655a7f50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T14:54:38.570Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-27T14:54:38.866Z] + make test [2023-06-27T14:54:38.866Z] go test ./... -coverprofile=coverage.out ./... [2023-06-27T14:54:39.125Z] go: updates to go.mod needed; to update it: [2023-06-27T14:54:39.125Z] go mod tidy [2023-06-27T14:54:39.125Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-27T14:54:39.141Z] $ docker stop --time=1 b0205879dc430540cee1d506e1114a95d67424720c716ec39ea09219655a7f50 [2023-06-27T14:54:40.693Z] $ docker rm -f --volumes b0205879dc430540cee1d506e1114a95d67424720c716ec39ea09219655a7f50 [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-06-27T14:54:41.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T14:54:41.193Z] [2023-06-27T14:54:41.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:54:41.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T14:54:41.495Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-27T14:54:41.495Z] 5eb5b503b376: Pulling fs layer [2023-06-27T14:54:41.495Z] 5c69ac0246d0: Pulling fs layer [2023-06-27T14:54:41.495Z] ec43610c2a17: Pulling fs layer [2023-06-27T14:54:41.495Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-27T14:54:41.495Z] 33b1e0a273af: Pulling fs layer [2023-06-27T14:54:41.495Z] 5d3b04190fa2: Pulling fs layer [2023-06-27T14:54:41.495Z] 2f39f015ded8: Pulling fs layer [2023-06-27T14:54:41.495Z] 3a2ae6a8a46f: Waiting [2023-06-27T14:54:41.495Z] 5d3b04190fa2: Waiting [2023-06-27T14:54:41.495Z] 2f39f015ded8: Waiting [2023-06-27T14:54:41.495Z] 33b1e0a273af: Waiting [2023-06-27T14:54:41.754Z] 5c69ac0246d0: Verifying Checksum [2023-06-27T14:54:41.754Z] 5c69ac0246d0: Download complete [2023-06-27T14:54:41.754Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-27T14:54:41.754Z] 3a2ae6a8a46f: Download complete [2023-06-27T14:54:41.754Z] 33b1e0a273af: Verifying Checksum [2023-06-27T14:54:41.754Z] 33b1e0a273af: Download complete [2023-06-27T14:54:41.754Z] ec43610c2a17: Verifying Checksum [2023-06-27T14:54:41.754Z] ec43610c2a17: Download complete [2023-06-27T14:54:41.754Z] 5d3b04190fa2: Verifying Checksum [2023-06-27T14:54:41.754Z] 5d3b04190fa2: Download complete [2023-06-27T14:54:42.015Z] 5eb5b503b376: Verifying Checksum [2023-06-27T14:54:42.015Z] 5eb5b503b376: Download complete [2023-06-27T14:54:42.619Z] 2f39f015ded8: Download complete [2023-06-27T14:54:43.582Z] 5eb5b503b376: Pull complete [2023-06-27T14:54:43.841Z] 5c69ac0246d0: Pull complete [2023-06-27T14:54:44.413Z] ec43610c2a17: Pull complete [2023-06-27T14:54:44.413Z] 3a2ae6a8a46f: Pull complete [2023-06-27T14:54:44.671Z] 33b1e0a273af: Pull complete [2023-06-27T14:54:44.930Z] 5d3b04190fa2: Pull complete [2023-06-27T14:54:49.116Z] 2f39f015ded8: Pull complete [2023-06-27T14:54:49.116Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-27T14:54:49.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T14:54:49.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:54:49.195Z] prd-ubuntu20.04-docker-8c-8g-41 does not seem to be running inside a container [2023-06-27T14:54:49.230Z] $ 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-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-27T14:54:58.420Z] $ docker top 6ee35496b289e22df9f104b91b8f4ad19859c576e4a24717f245695639bd9867 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:54:58.860Z] ---> job-cost.sh [2023-06-27T14:54:58.860Z] lf-activate-venv: SKIPPING [2023-06-27T14:54:58.860Z] INFO: No Stack... [2023-06-27T14:54:59.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-27T14:54:59.378Z] INFO: Archiving Costs [Pipeline] sh [2023-06-27T14:54:59.665Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-27T14:54:59.665Z] + cut -d, -f6 [Pipeline] lock [2023-06-27T14:54:59.681Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] [2023-06-27T14:54:59.687Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] did not exist. Created. [2023-06-27T14:54:59.687Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-27T14:54:59.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-27T14:55:00.039Z] Stashed 1 file(s) [Pipeline] } [2023-06-27T14:55:00.046Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-27T14:55:00.066Z] $ docker stop --time=1 6ee35496b289e22df9f104b91b8f4ad19859c576e4a24717f245695639bd9867 [2023-06-27T14:55:01.319Z] $ docker rm -f --volumes 6ee35496b289e22df9f104b91b8f4ad19859c576e4a24717f245695639bd9867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-27T14:55:01.433Z] Failed in branch amd64 [2023-06-27T14:55:03.883Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-42 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-27T14:55:03.896Z] Running in /w/workspace/device-usb-camera/11 [Pipeline] { [Pipeline] checkout [2023-06-27T14:55:03.928Z] Selected Git installation does not exist. Using Default [2023-06-27T14:55:03.928Z] The recommended git tool is: NONE [2023-06-27T14:55:08.928Z] using credential edgex-jenkins-ssh [2023-06-27T14:55:08.944Z] Cloning the remote Git repository [2023-06-27T14:55:08.982Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-27T14:55:09.085Z] > git init /w/workspace/device-usb-camera/11 # timeout=10 [2023-06-27T14:55:09.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-27T14:55:09.222Z] > git --version # timeout=10 [2023-06-27T14:55:09.250Z] > git --version # 'git version 2.25.1' [2023-06-27T14:55:09.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-27T14:55:09.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-27T14:55:10.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-27T14:55:10.216Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-27T14:55:11.046Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-27T14:55:11.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-27T14:55:11.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-27T14:55:11.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-27T14:55:11.737Z] Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit db3cde863495ad692bbb0315800d9817b32f3011 [2023-06-27T14:55:12.023Z] Merge succeeded, producing db3cde863495ad692bbb0315800d9817b32f3011 [2023-06-27T14:55:12.024Z] Checking out Revision db3cde863495ad692bbb0315800d9817b32f3011 (PR-262) [2023-06-27T14:55:11.755Z] > git config core.sparsecheckout # timeout=10 [2023-06-27T14:55:11.825Z] > git checkout -f db3cde863495ad692bbb0315800d9817b32f3011 # timeout=10 [2023-06-27T14:55:11.912Z] > git remote # timeout=10 [2023-06-27T14:55:11.929Z] > git config --get remote.origin.url # timeout=10 [2023-06-27T14:55:11.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-27T14:55:11.970Z] > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [2023-06-27T14:55:11.995Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-27T14:55:12.029Z] > git config core.sparsecheckout # timeout=10 [2023-06-27T14:55:12.042Z] > git checkout -f db3cde863495ad692bbb0315800d9817b32f3011 # timeout=10 [2023-06-27T14:55:17.932Z] Commit message: "revert: remove go.mod changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-27T14:55:18.877Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-27T14:55:18.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-27T14:55:18.877Z] Dload Upload Total Spent Left Speed [2023-06-27T14:55:18.877Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70060 0 --:--:-- --:--:-- --:--:-- 70060 [Pipeline] sh [2023-06-27T14:55:19.462Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-27T14:55:19.789Z] + + sudo tee /etc/docker/daemon.newsudo [2023-06-27T14:55:19.789Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-27T14:55:19.789Z] { [2023-06-27T14:55:19.789Z] "registry-mirrors": [ [2023-06-27T14:55:19.789Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-27T14:55:19.789Z] ], [2023-06-27T14:55:19.789Z] "bip": "10.250.0.254/24", [2023-06-27T14:55:19.789Z] "hosts": [ [2023-06-27T14:55:19.789Z] "tcp://0.0.0.0:5555", [2023-06-27T14:55:19.789Z] "unix:///var/run/docker.sock" [2023-06-27T14:55:19.789Z] ], [2023-06-27T14:55:19.789Z] "mtu": 1458, [2023-06-27T14:55:19.789Z] "selinux-enabled": true, [2023-06-27T14:55:19.789Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-27T14:55:19.789Z] } [Pipeline] sh [2023-06-27T14:55:20.172Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-27T14:55:20.500Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-27T14:55:38.753Z] provisioning config files... [2023-06-27T14:55:38.776Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/11@tmp/config9078638262232266364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:55:39.120Z] ---> docker-login.sh [2023-06-27T14:55:39.120Z] nexus3.edgexfoundry.org:10001 [2023-06-27T14:55:39.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:55:39.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:55:39.662Z] Configure a credential helper to remove this warning. See [2023-06-27T14:55:39.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:55:39.662Z] [2023-06-27T14:55:39.662Z] Login Succeeded [2023-06-27T14:55:39.662Z] nexus3.edgexfoundry.org:10002 [2023-06-27T14:55:39.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:55:40.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:55:40.200Z] Configure a credential helper to remove this warning. See [2023-06-27T14:55:40.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:55:40.200Z] [2023-06-27T14:55:40.200Z] Login Succeeded [2023-06-27T14:55:40.200Z] nexus3.edgexfoundry.org:10003 [2023-06-27T14:55:40.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:55:40.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:55:40.482Z] Configure a credential helper to remove this warning. See [2023-06-27T14:55:40.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:55:40.482Z] [2023-06-27T14:55:40.482Z] Login Succeeded [2023-06-27T14:55:40.482Z] nexus3.edgexfoundry.org:10004 [2023-06-27T14:55:40.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:55:40.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:55:40.755Z] Configure a credential helper to remove this warning. See [2023-06-27T14:55:40.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:55:40.755Z] [2023-06-27T14:55:40.755Z] Login Succeeded [2023-06-27T14:55:40.755Z] docker.io [2023-06-27T14:55:41.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T14:55:41.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T14:55:41.294Z] Configure a credential helper to remove this warning. See [2023-06-27T14:55:41.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T14:55:41.294Z] [2023-06-27T14:55:41.294Z] Login Succeeded [2023-06-27T14:55:41.294Z] ---> docker-login.sh ends [Pipeline] } [2023-06-27T14:55:41.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-27T14:55:41.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T14:55:41.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T14:55:41.571Z] ========================================================= [2023-06-27T14:55:41.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-27T14:55:41.571Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:55:41.915Z] + 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-06-27T14:55:42.182Z] Sending build context to Docker daemon 1.443MB [2023-06-27T14:55:42.182Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-27T14:55:42.182Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-27T14:55:42.457Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-27T14:55:42.457Z] c41833b44d91: Pulling fs layer [2023-06-27T14:55:42.457Z] ed15518f5707: Pulling fs layer [2023-06-27T14:55:42.457Z] feae8fd75edb: Pulling fs layer [2023-06-27T14:55:42.457Z] 242c74f7c9fa: Pulling fs layer [2023-06-27T14:55:42.457Z] 3cdef696dda3: Pulling fs layer [2023-06-27T14:55:42.457Z] 2ced38df9373: Pulling fs layer [2023-06-27T14:55:42.457Z] 58f1dce35555: Pulling fs layer [2023-06-27T14:55:42.457Z] 3cdef696dda3: Waiting [2023-06-27T14:55:42.457Z] 2ced38df9373: Waiting [2023-06-27T14:55:42.457Z] 58f1dce35555: Waiting [2023-06-27T14:55:42.457Z] 242c74f7c9fa: Waiting [2023-06-27T14:55:42.457Z] ed15518f5707: Verifying Checksum [2023-06-27T14:55:42.457Z] ed15518f5707: Download complete [2023-06-27T14:55:42.457Z] 242c74f7c9fa: Verifying Checksum [2023-06-27T14:55:42.457Z] 242c74f7c9fa: Download complete [2023-06-27T14:55:42.457Z] 3cdef696dda3: Verifying Checksum [2023-06-27T14:55:42.457Z] 3cdef696dda3: Download complete [2023-06-27T14:55:42.457Z] c41833b44d91: Verifying Checksum [2023-06-27T14:55:42.457Z] c41833b44d91: Download complete [2023-06-27T14:55:43.879Z] 58f1dce35555: Verifying Checksum [2023-06-27T14:55:43.879Z] 58f1dce35555: Download complete [2023-06-27T14:55:44.860Z] feae8fd75edb: Verifying Checksum [2023-06-27T14:55:44.860Z] feae8fd75edb: Download complete [2023-06-27T14:55:44.860Z] 2ced38df9373: Verifying Checksum [2023-06-27T14:55:44.860Z] 2ced38df9373: Download complete [2023-06-27T14:55:46.270Z] c41833b44d91: Pull complete [2023-06-27T14:55:46.540Z] ed15518f5707: Pull complete [2023-06-27T14:56:01.537Z] feae8fd75edb: Pull complete [2023-06-27T14:56:01.537Z] 242c74f7c9fa: Pull complete [2023-06-27T14:56:01.537Z] 3cdef696dda3: Pull complete [2023-06-27T14:56:08.195Z] 2ced38df9373: Pull complete [2023-06-27T14:56:10.144Z] 58f1dce35555: Pull complete [2023-06-27T14:56:10.144Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-27T14:56:10.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-27T14:56:10.144Z] ---> fadd8f120f05 [2023-06-27T14:56:10.144Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-27T14:56:11.558Z] ---> Running in 0bc1878d971c [2023-06-27T14:56:11.826Z] Removing intermediate container 0bc1878d971c [2023-06-27T14:56:11.826Z] ---> 05c279641b7e [2023-06-27T14:56:11.826Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-27T14:56:11.826Z] ---> Running in 2eb8313db2ec [2023-06-27T14:56:12.093Z] Removing intermediate container 2eb8313db2ec [2023-06-27T14:56:12.093Z] ---> e1e436bb22ae [2023-06-27T14:56:12.093Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-27T14:56:12.371Z] ---> Running in 9a1d58c04c9e [2023-06-27T14:56:12.639Z] Removing intermediate container 9a1d58c04c9e [2023-06-27T14:56:12.639Z] ---> 79fcc33b491c [2023-06-27T14:56:12.639Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-27T14:56:12.639Z] ---> Running in 0a2a3d6292c9 [2023-06-27T14:56:12.910Z] Removing intermediate container 0a2a3d6292c9 [2023-06-27T14:56:12.910Z] ---> 578f7ba6ea6d [2023-06-27T14:56:12.910Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-27T14:56:12.910Z] ---> Running in 9209e5b0dca0 [2023-06-27T14:56:14.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-27T14:56:14.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-27T14:56:15.553Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-27T14:56:15.553Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-27T14:56:15.553Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-27T14:56:15.553Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-27T14:56:15.553Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-27T14:56:15.553Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-27T14:56:15.553Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-27T14:56:15.553Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-27T14:56:15.553Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-27T14:56:15.553Z] (10/14) Installing kmod-libs (30-r1) [2023-06-27T14:56:15.553Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-27T14:56:15.823Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-27T14:56:15.823Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-27T14:56:15.823Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-27T14:56:15.823Z] Executing busybox-1.35.0-r29.trigger [2023-06-27T14:56:15.823Z] Executing eudev-3.2.11-r4.trigger [2023-06-27T14:56:15.823Z] OK: 271 MiB in 67 packages [2023-06-27T14:56:17.242Z] Removing intermediate container 9209e5b0dca0 [2023-06-27T14:56:17.242Z] ---> 289bb6e694dd [2023-06-27T14:56:17.242Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-27T14:56:17.242Z] ---> Running in 24d0192fd8d5 [2023-06-27T14:56:17.509Z] Removing intermediate container 24d0192fd8d5 [2023-06-27T14:56:17.509Z] ---> 8d7f54d6b087 [2023-06-27T14:56:17.509Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-27T14:56:18.100Z] ---> 8c78f23806a7 [2023-06-27T14:56:18.100Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-27T14:56:18.100Z] ---> Running in be308e71b6bc [2023-06-27T14:57:14.543Z] Removing intermediate container be308e71b6bc [2023-06-27T14:57:14.543Z] ---> 6448cedc1e46 [2023-06-27T14:57:14.543Z] Step 11/13 : COPY . . [2023-06-27T14:57:15.511Z] ---> d87434b34f85 [2023-06-27T14:57:15.511Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-27T14:57:15.511Z] ---> Running in 71a75bf73af5 [2023-06-27T14:57:16.474Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-27T14:57:16.474Z]  Dload Upload Total Spent Left Speed [2023-06-27T14:57:16.742Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4254 0 --:--:-- --:--:-- --:--:-- 4265 [2023-06-27T14:57:17.327Z] Removing intermediate container 71a75bf73af5 [2023-06-27T14:57:17.327Z] ---> ad95a7232970 [2023-06-27T14:57:17.327Z] Step 13/13 : RUN ${MAKE} [2023-06-27T14:57:17.327Z] ---> Running in fb434ac8687c [2023-06-27T14:57:18.302Z] noop [2023-06-27T14:57:18.885Z] Removing intermediate container fb434ac8687c [2023-06-27T14:57:18.885Z] ---> dd8de51eaec3 [2023-06-27T14:57:18.885Z] Successfully built dd8de51eaec3 [2023-06-27T14:57:18.885Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:57:19.234Z] + docker inspect -f . ci-base-image-arm64 [2023-06-27T14:57:19.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:57:19.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-42 does not seem to be running inside a container [2023-06-27T14:57:19.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-27T14:57:20.608Z] $ docker top 9208466e7924a654161c66f3d6d8552072eb4533d938e0d20270e907fc7180bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T14:57:21.429Z] + go version [2023-06-27T14:57:21.429Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-27T14:57:21.452Z] $ docker stop --time=1 9208466e7924a654161c66f3d6d8552072eb4533d938e0d20270e907fc7180bc [2023-06-27T14:57:23.045Z] $ docker rm -f --volumes 9208466e7924a654161c66f3d6d8552072eb4533d938e0d20270e907fc7180bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:57:23.591Z] + docker inspect -f . ci-base-image-arm64 [2023-06-27T14:57:23.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:57:23.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-42 does not seem to be running inside a container [2023-06-27T14:57:23.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-27T14:57:24.913Z] $ docker top 98f9e76bd28acbd7028960dbd66ae39513bd3c033b5e4f958f3ba2d74c93f19d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T14:57:25.401Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/11 [Pipeline] fileExists [Pipeline] sh [2023-06-27T14:57:25.731Z] + make test [2023-06-27T14:57:25.731Z] go test ./... -coverprofile=coverage.out ./... [2023-06-27T14:57:29.075Z] go: updates to go.mod needed; to update it: [2023-06-27T14:57:29.075Z] go mod tidy [2023-06-27T14:57:29.075Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-27T14:57:29.097Z] $ docker stop --time=1 98f9e76bd28acbd7028960dbd66ae39513bd3c033b5e4f958f3ba2d74c93f19d [2023-06-27T14:57:30.812Z] $ docker rm -f --volumes 98f9e76bd28acbd7028960dbd66ae39513bd3c033b5e4f958f3ba2d74c93f19d [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-06-27T14:57:31.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-27T14:57:31.493Z] [2023-06-27T14:57:31.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:57:31.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-27T14:57:31.821Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-27T14:57:31.821Z] 8998bd30e6a1: Pulling fs layer [2023-06-27T14:57:31.821Z] 04944245beec: Pulling fs layer [2023-06-27T14:57:31.821Z] 699f458cf7ca: Pulling fs layer [2023-06-27T14:57:31.821Z] 765212b225bb: Pulling fs layer [2023-06-27T14:57:31.821Z] f23df028b6ca: Pulling fs layer [2023-06-27T14:57:31.821Z] d65c8cfc05b1: Pulling fs layer [2023-06-27T14:57:31.821Z] 2437ff75d9bd: Pulling fs layer [2023-06-27T14:57:31.821Z] f23df028b6ca: Waiting [2023-06-27T14:57:31.821Z] d65c8cfc05b1: Waiting [2023-06-27T14:57:31.821Z] 2437ff75d9bd: Waiting [2023-06-27T14:57:31.821Z] 765212b225bb: Waiting [2023-06-27T14:57:32.089Z] 04944245beec: Verifying Checksum [2023-06-27T14:57:32.089Z] 04944245beec: Download complete [2023-06-27T14:57:32.089Z] 765212b225bb: Verifying Checksum [2023-06-27T14:57:32.089Z] 765212b225bb: Download complete [2023-06-27T14:57:32.090Z] f23df028b6ca: Download complete [2023-06-27T14:57:32.090Z] d65c8cfc05b1: Verifying Checksum [2023-06-27T14:57:32.090Z] d65c8cfc05b1: Download complete [2023-06-27T14:57:32.090Z] 699f458cf7ca: Verifying Checksum [2023-06-27T14:57:32.090Z] 699f458cf7ca: Download complete [2023-06-27T14:57:32.671Z] 8998bd30e6a1: Download complete [2023-06-27T14:57:34.612Z] 2437ff75d9bd: Verifying Checksum [2023-06-27T14:57:34.612Z] 2437ff75d9bd: Download complete [2023-06-27T14:57:36.551Z] 8998bd30e6a1: Pull complete [2023-06-27T14:57:36.818Z] 04944245beec: Pull complete [2023-06-27T14:57:38.226Z] 699f458cf7ca: Pull complete [2023-06-27T14:57:38.226Z] 765212b225bb: Pull complete [2023-06-27T14:57:38.808Z] f23df028b6ca: Pull complete [2023-06-27T14:57:39.074Z] d65c8cfc05b1: Pull complete [2023-06-27T14:57:54.070Z] 2437ff75d9bd: Pull complete [2023-06-27T14:57:54.070Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-27T14:57:54.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-27T14:57:54.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:57:54.253Z] prd-ubuntu20.04-docker-arm64-4c-16g-42 does not seem to be running inside a container [2023-06-27T14:57:54.314Z] $ 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-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-27T14:57:56.591Z] $ docker top 86b860424fa6724019df8315189b669dd5deda4ddfb5e341b3b0c861ceca049b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:57:57.401Z] ---> job-cost.sh [2023-06-27T14:57:57.401Z] lf-activate-venv: SKIPPING [2023-06-27T14:57:57.401Z] INFO: No Stack... [2023-06-27T14:57:57.665Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-27T14:57:58.617Z] INFO: Archiving Costs [Pipeline] sh [2023-06-27T14:57:58.929Z] + cat /w/workspace/device-usb-camera/11/archives/cost.csv [2023-06-27T14:57:58.929Z] + cut -d, -f6 [Pipeline] lock [2023-06-27T14:57:58.990Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] [2023-06-27T14:57:58.995Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] did not exist. Created. [2023-06-27T14:57:58.995Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-27T14:57:59.318Z] /w/workspace/device-usb-camera/11@tmp/durable-b0c499ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-27T14:57:59.652Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-27T14:57:59.666Z] Warning: overwriting stash ‘stack-cost’ [2023-06-27T14:58:00.045Z] Stashed 1 file(s) [Pipeline] } [2023-06-27T14:58:00.054Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-27T14:58:00.077Z] $ docker stop --time=1 86b860424fa6724019df8315189b669dd5deda4ddfb5e341b3b0c861ceca049b [2023-06-27T14:58:03.184Z] $ docker rm -f --volumes 86b860424fa6724019df8315189b669dd5deda4ddfb5e341b3b0c861ceca049b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-27T14:58:03.400Z] 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-06-27T14:58:04.080Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-27T14:58:04.080Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-27T14:58:04.080Z] total 16 [2023-06-27T14:58:04.080Z] drwxr-xr-x 3 root root 4096 Jun 27 14:54 . [2023-06-27T14:58:04.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 14:54 .. [2023-06-27T14:58:04.080Z] drwxr-xr-x 2 root root 4096 Jun 27 14:54 cost [2023-06-27T14:58:04.080Z] -rw-r--r-- 1 root root 90 Jun 27 14:54 cost.csv [2023-06-27T14:58:04.080Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-27T14:58:04.080Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-27T14:58:04.080Z] total 16 [2023-06-27T14:58:04.080Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 14:54 . [2023-06-27T14:58:04.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 14:54 .. [2023-06-27T14:58:04.080Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 14:54 cost [2023-06-27T14:58:04.080Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 14:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:04.373Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:05.229Z] ---> package-listing.sh [2023-06-27T14:58:05.229Z] ++ facter osfamily [2023-06-27T14:58:05.229Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-27T14:58:05.488Z] + OS_FAMILY=debian [2023-06-27T14:58:05.488Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-27T14:58:05.488Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-27T14:58:05.488Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-27T14:58:05.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-27T14:58:05.488Z] + PACKAGES=/tmp/packages_start.txt [2023-06-27T14:58:05.488Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-27T14:58:05.488Z] + PACKAGES=/tmp/packages_end.txt [2023-06-27T14:58:05.488Z] + case "${OS_FAMILY}" in [2023-06-27T14:58:05.488Z] + dpkg -l [2023-06-27T14:58:05.488Z] + grep '^ii' [2023-06-27T14:58:05.488Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-27T14:58:05.488Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-27T14:58:05.488Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-27T14:58:05.488Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-27T14:58:05.488Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-27T14:58:05.488Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo [2023-06-27T14:58:05.497Z] 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-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-27T14:58:05.775Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T14:58:06.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T14:58:06.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T14:58:06.417Z] prd-ubuntu20.04-docker-8c-8g-41 does not seem to be running inside a container [2023-06-27T14:58:06.456Z] $ 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-usb-camera_PR-262/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-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-27T14:58:06.693Z] $ docker top c46ddc87ab4dffd7333719f8fb0b79a8af83d2b069fbeffff3c67d7ec7325630 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T14:58:07.047Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-27T14:58:07.340Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-27T14:58:07.629Z] + ls /var/log/sa-host [2023-06-27T14:58:07.629Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-27T14:58:07.785Z] provisioning config files... [2023-06-27T14:58:07.794Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config17352660684885709315tmp [Pipeline] { [Pipeline] echo [2023-06-27T14:58:07.808Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:08.091Z] ---> create-netrc.sh [Pipeline] } [2023-06-27T14:58:08.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:08.438Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-27T14:58:08.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:08.729Z] ---> sudo-logs.sh [2023-06-27T14:58:08.729Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-27T14:58:08.762Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:09.058Z] ---> job-cost.sh [2023-06-27T14:58:09.058Z] lf-activate-venv: SKIPPING [2023-06-27T14:58:09.058Z] DEBUG: total: 0.2199999988079071 [2023-06-27T14:58:09.058Z] INFO: Retrieving Stack Cost... [2023-06-27T14:58:09.317Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-27T14:58:09.884Z] INFO: Archiving Costs [Pipeline] echo [2023-06-27T14:58:09.897Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T14:58:10.179Z] ---> logs-deploy.sh [2023-06-27T14:58:10.179Z] lf-activate-venv: SKIPPING [2023-06-27T14:58:10.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/11 [2023-06-27T14:58:10.179Z] INFO: archiving workspace using pattern(s): [2023-06-27T14:58:11.117Z] Archives upload complete. [2023-06-27T14:58:11.378Z] INFO: archiving logs to Nexus