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 4f0060f0a01e6b631d5ad01a980021319d7b9523 rather than 77766c9552d453fc5bff9a299e2f164ce510bb0b Obtained Jenkinsfile from 4f0060f0a01e6b631d5ad01a980021319d7b9523 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-ssh17000563026614291733.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-ssh14128570331620282756.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-ssh9262067645069656460.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-ssh15708098575975645735.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-ssh18095188905507489768.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-19081 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 Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 77766c9552d453fc5bff9a299e2f164ce510bb0b > 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 > 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 Merge succeeded, producing 77766c9552d453fc5bff9a299e2f164ce510bb0b Checking out Revision 77766c9552d453fc5bff9a299e2f164ce510bb0b (PR-262) > git config core.sparsecheckout # timeout=10 > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # 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 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 Commit message: "refactor: change discovery method" > git rev-list --no-walk 899c55771311b7caba513385a230d5cb06d0e07c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-22T20:39:12.529Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-22T20:39:12.606Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-22T20:39:12.620Z] ========================================================= [2023-06-22T20:39:12.620Z] EdgeX Global Pipelines Version Info [2023-06-22T20:39:12.620Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:39:13.347Z] ------------------- [2023-06-22T20:39:13.347Z] stable info: [2023-06-22T20:39:13.347Z] ------------------- [2023-06-22T20:39:13.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-22T20:39:13.347Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-22T20:39:13.347Z] Message: update stable to v1.0.250 [2023-06-22T20:39:13.919Z] ------------------- [2023-06-22T20:39:13.919Z] experimental info: [2023-06-22T20:39:13.919Z] ------------------- [2023-06-22T20:39:13.919Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-22T20:39:13.919Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-22T20:39:13.919Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-22T20:39:14.086Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-22T20:39:14.095Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-22T20:39:14.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-22T20:39:14.114Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-22T20:39:14.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-22T20:39:14.152Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-22T20:39:14.168Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-22T20:39:14.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-22T20:39:14.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-22T20:39:14.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-22T20:39:14.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-22T20:39:14.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-22T20:39:14.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-22T20:39:14.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-22T20:39:14.277Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-22T20:39:14.289Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-22T20:39:14.301Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-22T20:39:14.317Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-22T20:39:14.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-22T20:39:14.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-22T20:39:14.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-22T20:39:14.367Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-22T20:39:14.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-22T20:39:14.390Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-22T20:39:14.402Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-22T20:39:14.417Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-22T20:39:14.428Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-22T20:39:14.443Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-22T20:39:14.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-22T20:39:14.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-22T20:39:14.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo [2023-06-22T20:39:14.495Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77766c9 [Pipeline] echo [2023-06-22T20:39:14.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-22T20:39:14.559Z] provisioning config files... [2023-06-22T20:39:14.573Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config12720602945703916793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:39:14.872Z] ---> docker-login.sh [2023-06-22T20:39:14.872Z] nexus3.edgexfoundry.org:10001 [2023-06-22T20:39:15.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:15.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:15.131Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:15.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:15.131Z] [2023-06-22T20:39:15.131Z] Login Succeeded [2023-06-22T20:39:15.131Z] nexus3.edgexfoundry.org:10002 [2023-06-22T20:39:15.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:15.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:15.392Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:15.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:15.392Z] [2023-06-22T20:39:15.392Z] Login Succeeded [2023-06-22T20:39:15.392Z] nexus3.edgexfoundry.org:10003 [2023-06-22T20:39:15.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:15.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:15.392Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:15.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:15.392Z] [2023-06-22T20:39:15.392Z] Login Succeeded [2023-06-22T20:39:15.392Z] nexus3.edgexfoundry.org:10004 [2023-06-22T20:39:15.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:15.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:15.654Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:15.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:15.654Z] [2023-06-22T20:39:15.654Z] Login Succeeded [2023-06-22T20:39:15.654Z] docker.io [2023-06-22T20:39:15.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:15.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:15.914Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:15.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:15.914Z] [2023-06-22T20:39:15.914Z] Login Succeeded [2023-06-22T20:39:15.914Z] ---> docker-login.sh ends [Pipeline] } [2023-06-22T20:39:15.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-22T20:39:16.279Z] + git rev-list -1 --merges 77766c9552d453fc5bff9a299e2f164ce510bb0b~1..77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo [2023-06-22T20:39:16.323Z] -----------> git rev-list -1 --merges 77766c9552d453fc5bff9a299e2f164ce510bb0b~1..77766c9552d453fc5bff9a299e2f164ce510bb0b 77766c9552d453fc5bff9a299e2f164ce510bb0b [false] [Pipeline] sh [2023-06-22T20:39:16.608Z] + git log --format=format:%s -1 77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo [2023-06-22T20:39:16.627Z] ========================================================= [2023-06-22T20:39:16.628Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-22T20:39:16.628Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-22T20:39:16.945Z] + git log --format=format:%s -1 77766c9552d453fc5bff9a299e2f164ce510bb0b [Pipeline] echo [2023-06-22T20:39:16.957Z] [semverPrep] GIT_COMMIT: 77766c9552d453fc5bff9a299e2f164ce510bb0b, Commit Message: refactor: change discovery method [Pipeline] echo [2023-06-22T20:39:16.968Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-22T20:39:17.339Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-22T20:39:17.339Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-22T20:39:17.339Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-22T20:39:17.339Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-22T20:39:17.340Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-22T20:39:17.340Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-22T20:39:17.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:39:17.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-22T20:39:17.764Z] [2023-06-22T20:39:17.764Z] 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-22T20:39:18.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-22T20:39:18.071Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-22T20:39:18.071Z] b85a868b505f: Pulling fs layer [2023-06-22T20:39:18.071Z] e2be974225ed: Pulling fs layer [2023-06-22T20:39:18.071Z] 339a4e72a1f5: Pulling fs layer [2023-06-22T20:39:18.071Z] 988bab9f4d93: Pulling fs layer [2023-06-22T20:39:18.071Z] 1469e6f7b9e6: Pulling fs layer [2023-06-22T20:39:18.071Z] eaf3925da568: Pulling fs layer [2023-06-22T20:39:18.071Z] bab4dde63d76: Pulling fs layer [2023-06-22T20:39:18.071Z] bde34c3a00c8: Pulling fs layer [2023-06-22T20:39:18.071Z] b352a97aabf1: Pulling fs layer [2023-06-22T20:39:18.071Z] 4872d77fe225: Pulling fs layer [2023-06-22T20:39:18.071Z] 5851b861e8e6: Pulling fs layer [2023-06-22T20:39:18.071Z] 1469e6f7b9e6: Waiting [2023-06-22T20:39:18.071Z] eaf3925da568: Waiting [2023-06-22T20:39:18.071Z] bab4dde63d76: Waiting [2023-06-22T20:39:18.071Z] b352a97aabf1: Waiting [2023-06-22T20:39:18.071Z] 5851b861e8e6: Waiting [2023-06-22T20:39:18.071Z] 988bab9f4d93: Waiting [2023-06-22T20:39:18.071Z] bde34c3a00c8: Waiting [2023-06-22T20:39:18.071Z] 4872d77fe225: Waiting [2023-06-22T20:39:18.071Z] e2be974225ed: Verifying Checksum [2023-06-22T20:39:18.071Z] e2be974225ed: Download complete [2023-06-22T20:39:18.071Z] 988bab9f4d93: Download complete [2023-06-22T20:39:18.071Z] 1469e6f7b9e6: Verifying Checksum [2023-06-22T20:39:18.071Z] 1469e6f7b9e6: Download complete [2023-06-22T20:39:18.071Z] 339a4e72a1f5: Verifying Checksum [2023-06-22T20:39:18.071Z] 339a4e72a1f5: Download complete [2023-06-22T20:39:18.071Z] eaf3925da568: Verifying Checksum [2023-06-22T20:39:18.071Z] eaf3925da568: Download complete [2023-06-22T20:39:18.331Z] bde34c3a00c8: Verifying Checksum [2023-06-22T20:39:18.331Z] bde34c3a00c8: Download complete [2023-06-22T20:39:18.331Z] b352a97aabf1: Download complete [2023-06-22T20:39:18.331Z] 4872d77fe225: Verifying Checksum [2023-06-22T20:39:18.331Z] 4872d77fe225: Download complete [2023-06-22T20:39:18.331Z] 5851b861e8e6: Verifying Checksum [2023-06-22T20:39:18.331Z] 5851b861e8e6: Download complete [2023-06-22T20:39:18.331Z] b85a868b505f: Download complete [2023-06-22T20:39:18.590Z] bab4dde63d76: Download complete [2023-06-22T20:39:19.972Z] b85a868b505f: Pull complete [2023-06-22T20:39:19.972Z] e2be974225ed: Pull complete [2023-06-22T20:39:20.539Z] 339a4e72a1f5: Pull complete [2023-06-22T20:39:20.539Z] 988bab9f4d93: Pull complete [2023-06-22T20:39:20.799Z] 1469e6f7b9e6: Pull complete [2023-06-22T20:39:21.058Z] eaf3925da568: Pull complete [2023-06-22T20:39:22.965Z] bab4dde63d76: Pull complete [2023-06-22T20:39:22.965Z] bde34c3a00c8: Pull complete [2023-06-22T20:39:22.965Z] b352a97aabf1: Pull complete [2023-06-22T20:39:22.965Z] 4872d77fe225: Pull complete [2023-06-22T20:39:22.965Z] 5851b861e8e6: Pull complete [2023-06-22T20:39:22.965Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-22T20:39:22.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-22T20:39:22.965Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:39:23.071Z] prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container [2023-06-22T20:39:23.083Z] $ 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-22T20:39:25.412Z] $ docker top 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 -eo pid,comm [2023-06-22T20:39:25.484Z] 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-22T20:39:25.484Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-22T20:39:25.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-22T20:39:25.519Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-22T20:39:25.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-22T20:39:25.634Z] $ docker exec 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent [2023-06-22T20:39:25.767Z] SSH_AUTH_SOCK=/tmp/ssh-T8eAGCl7J5KT/agent.32 [2023-06-22T20:39:25.767Z] SSH_AGENT_PID=38 [2023-06-22T20:39:25.773Z] Running ssh-add (command line suppressed) [2023-06-22T20:39:25.851Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_16136493699178639596.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_16136493699178639596.key) [2023-06-22T20:39:25.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-22T20:39:26.168Z] + git tag --points-at HEAD [Pipeline] } [2023-06-22T20:39:26.165Z] $ docker exec --env ******** --env ******** 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent -k [2023-06-22T20:39:26.284Z] unset SSH_AUTH_SOCK; [2023-06-22T20:39:26.284Z] unset SSH_AGENT_PID; [2023-06-22T20:39:26.284Z] echo Agent pid 38 killed; [2023-06-22T20:39:26.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-22T20:39:26.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-22T20:39:26.351Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-22T20:39:26.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-22T20:39:26.448Z] $ docker exec 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent [2023-06-22T20:39:26.576Z] SSH_AUTH_SOCK=/tmp/ssh-m78cqn4MjZHb/agent.70 [2023-06-22T20:39:26.576Z] SSH_AGENT_PID=76 [2023-06-22T20:39:26.580Z] Running ssh-add (command line suppressed) [2023-06-22T20:39:26.662Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_69238202611943402.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_69238202611943402.key) [2023-06-22T20:39:26.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-22T20:39:26.976Z] + git semver init [2023-06-22T20:39:27.235Z] 2023-06-22 20:39:27,130 [run_init] DEBUG init version:0.0.0 force:False [2023-06-22T20:39:27.235Z] 2023-06-22 20:39:27,130 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-22T20:39:27.235Z] 2023-06-22 20:39:27,131 [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-22T20:39:27.235Z] 2023-06-22 20:39:27,131 [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-22T20:39:28.174Z] 2023-06-22 20:39:27,818 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-22T20:39:28.174Z] 2023-06-22 20:39:27,818 [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-22T20:39:28.174Z] 2023-06-22 20:39:27,818 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-22T20:39:28.174Z] 2023-06-22 20:39:27,822 [execute] INFO git cat-file --batch-check [2023-06-22T20:39:28.174Z] 2023-06-22 20:39:27,823 [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-22T20:39:28.174Z] 2023-06-22 20:39:27,828 [execute] INFO git cat-file --batch [2023-06-22T20:39:28.174Z] 2023-06-22 20:39:27,828 [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-22T20:39:28.174Z] 2023-06-22 20:39:27,834 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-22T20:39:28.174Z] 0.0.0 [Pipeline] } [2023-06-22T20:39:28.171Z] $ docker exec --env ******** --env ******** 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 ssh-agent -k [2023-06-22T20:39:28.272Z] unset SSH_AUTH_SOCK; [2023-06-22T20:39:28.272Z] unset SSH_AGENT_PID; [2023-06-22T20:39:28.272Z] echo Agent pid 76 killed; [2023-06-22T20:39:28.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-22T20:39:28.596Z] + git semver [Pipeline] } [2023-06-22T20:39:28.856Z] $ docker stop --time=1 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 [2023-06-22T20:39:30.149Z] $ docker rm -f --volumes 5bf69ad568da022346404571542477091841cc6efe0275a2358a32a4616f2f06 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-22T20:39:30.499Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-22T20:39:30.707Z] Stashed 1 file(s) [Pipeline] echo [2023-06-22T20:39:30.711Z] [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-22T20:39:30.886Z] provisioning config files... [2023-06-22T20:39:30.896Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config1152135508234586026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:39:31.198Z] ---> docker-login.sh [2023-06-22T20:39:31.198Z] nexus3.edgexfoundry.org:10001 [2023-06-22T20:39:31.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:31.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:31.198Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:31.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:31.198Z] [2023-06-22T20:39:31.198Z] Login Succeeded [2023-06-22T20:39:31.198Z] nexus3.edgexfoundry.org:10002 [2023-06-22T20:39:31.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:31.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:31.198Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:31.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:31.198Z] [2023-06-22T20:39:31.198Z] Login Succeeded [2023-06-22T20:39:31.198Z] nexus3.edgexfoundry.org:10003 [2023-06-22T20:39:31.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:31.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:31.458Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:31.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:31.458Z] [2023-06-22T20:39:31.458Z] Login Succeeded [2023-06-22T20:39:31.458Z] nexus3.edgexfoundry.org:10004 [2023-06-22T20:39:31.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:31.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:31.458Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:31.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:31.458Z] [2023-06-22T20:39:31.458Z] Login Succeeded [2023-06-22T20:39:31.458Z] docker.io [2023-06-22T20:39:31.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:39:31.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:39:31.718Z] Configure a credential helper to remove this warning. See [2023-06-22T20:39:31.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:39:31.718Z] [2023-06-22T20:39:31.718Z] Login Succeeded [2023-06-22T20:39:31.718Z] ---> docker-login.sh ends [Pipeline] } [2023-06-22T20:39:31.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-22T20:39:31.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-22T20:39:31.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-22T20:39:31.812Z] ========================================================= [2023-06-22T20:39:31.812Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-22T20:39:31.812Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:39:32.145Z] + 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-22T20:39:32.145Z] Sending build context to Docker daemon 2.13MB [2023-06-22T20:39:32.145Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-22T20:39:32.145Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-22T20:39:32.405Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-22T20:39:32.405Z] f56be85fc22e: Pulling fs layer [2023-06-22T20:39:32.405Z] 85791d961cd3: Pulling fs layer [2023-06-22T20:39:32.405Z] d694b5ae8c79: Pulling fs layer [2023-06-22T20:39:32.405Z] 9f32a84ed3da: Pulling fs layer [2023-06-22T20:39:32.405Z] 4d19c01a9841: Pulling fs layer [2023-06-22T20:39:32.405Z] 9325e15d5711: Pulling fs layer [2023-06-22T20:39:32.405Z] 556b6ee489ea: Pulling fs layer [2023-06-22T20:39:32.405Z] c5a4b2cf53e6: Pulling fs layer [2023-06-22T20:39:32.405Z] 9f32a84ed3da: Waiting [2023-06-22T20:39:32.405Z] 4d19c01a9841: Waiting [2023-06-22T20:39:32.405Z] 9325e15d5711: Waiting [2023-06-22T20:39:32.405Z] 556b6ee489ea: Waiting [2023-06-22T20:39:32.405Z] c5a4b2cf53e6: Waiting [2023-06-22T20:39:32.405Z] 85791d961cd3: Download complete [2023-06-22T20:39:32.405Z] 9f32a84ed3da: Verifying Checksum [2023-06-22T20:39:32.405Z] 9f32a84ed3da: Download complete [2023-06-22T20:39:32.405Z] 4d19c01a9841: Verifying Checksum [2023-06-22T20:39:32.405Z] 4d19c01a9841: Download complete [2023-06-22T20:39:32.405Z] f56be85fc22e: Verifying Checksum [2023-06-22T20:39:32.405Z] f56be85fc22e: Download complete [2023-06-22T20:39:32.405Z] 9325e15d5711: Verifying Checksum [2023-06-22T20:39:32.405Z] 9325e15d5711: Download complete [2023-06-22T20:39:32.405Z] f56be85fc22e: Pull complete [2023-06-22T20:39:32.666Z] 85791d961cd3: Pull complete [2023-06-22T20:39:32.927Z] c5a4b2cf53e6: Verifying Checksum [2023-06-22T20:39:32.927Z] c5a4b2cf53e6: Download complete [2023-06-22T20:39:33.187Z] d694b5ae8c79: Verifying Checksum [2023-06-22T20:39:33.187Z] d694b5ae8c79: Download complete [2023-06-22T20:39:33.187Z] 556b6ee489ea: Verifying Checksum [2023-06-22T20:39:33.187Z] 556b6ee489ea: Download complete [2023-06-22T20:39:36.471Z] d694b5ae8c79: Pull complete [2023-06-22T20:39:36.471Z] 9f32a84ed3da: Pull complete [2023-06-22T20:39:36.729Z] 4d19c01a9841: Pull complete [2023-06-22T20:39:36.729Z] 9325e15d5711: Pull complete [2023-06-22T20:39:39.259Z] 556b6ee489ea: Pull complete [2023-06-22T20:39:40.199Z] c5a4b2cf53e6: Pull complete [2023-06-22T20:39:40.199Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-22T20:39:40.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-22T20:39:40.199Z] ---> c4be618373d6 [2023-06-22T20:39:40.199Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-22T20:39:43.582Z] ---> Running in 99444de0a6ae [2023-06-22T20:39:43.582Z] Removing intermediate container 99444de0a6ae [2023-06-22T20:39:43.582Z] ---> 414ea82f11a2 [2023-06-22T20:39:43.582Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-22T20:39:43.842Z] ---> Running in f9a892ae405f [2023-06-22T20:39:43.842Z] Removing intermediate container f9a892ae405f [2023-06-22T20:39:43.842Z] ---> 52ee20d5d9de [2023-06-22T20:39:43.842Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-22T20:39:43.842Z] ---> Running in 19d6dfd238e7 [2023-06-22T20:39:44.101Z] Removing intermediate container 19d6dfd238e7 [2023-06-22T20:39:44.101Z] ---> 7d41a06cdbf9 [2023-06-22T20:39:44.101Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-22T20:39:44.101Z] ---> Running in 514355a9d738 [2023-06-22T20:39:44.101Z] Removing intermediate container 514355a9d738 [2023-06-22T20:39:44.101Z] ---> 7b78d6e9a826 [2023-06-22T20:39:44.101Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-22T20:39:44.101Z] ---> Running in 235f5a0aabb1 [2023-06-22T20:39:44.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-22T20:39:44.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-22T20:39:44.881Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-22T20:39:44.881Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-22T20:39:44.881Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-22T20:39:44.881Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-22T20:39:44.881Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-22T20:39:45.139Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-22T20:39:45.139Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-22T20:39:45.139Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-22T20:39:45.139Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-22T20:39:45.139Z] (10/14) Installing kmod-libs (30-r1) [2023-06-22T20:39:45.139Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-22T20:39:45.139Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-22T20:39:45.139Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-22T20:39:45.139Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-22T20:39:45.139Z] Executing busybox-1.35.0-r29.trigger [2023-06-22T20:39:45.139Z] Executing eudev-3.2.11-r4.trigger [2023-06-22T20:39:45.139Z] OK: 272 MiB in 67 packages [2023-06-22T20:39:45.705Z] Removing intermediate container 235f5a0aabb1 [2023-06-22T20:39:45.705Z] ---> f590f0071828 [2023-06-22T20:39:45.705Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-22T20:39:45.705Z] ---> Running in 14c4fa9a073d [2023-06-22T20:39:45.705Z] Removing intermediate container 14c4fa9a073d [2023-06-22T20:39:45.705Z] ---> 9f5f84a3041f [2023-06-22T20:39:45.705Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-22T20:39:45.827Z] Still waiting to schedule task [2023-06-22T20:39:45.827Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-22T20:39:45.965Z] ---> 670bb9a581ca [2023-06-22T20:39:45.965Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-22T20:39:45.965Z] ---> Running in 12cfcb1c47c0 [2023-06-22T20:40:12.525Z] Removing intermediate container 12cfcb1c47c0 [2023-06-22T20:40:12.525Z] ---> 45be03274a8d [2023-06-22T20:40:12.525Z] Step 11/13 : COPY . . [2023-06-22T20:40:12.525Z] ---> eeeb4fcb9fac [2023-06-22T20:40:12.525Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-22T20:40:12.525Z] ---> Running in 0457a3912142 [2023-06-22T20:40:12.525Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-22T20:40:12.525Z]  Dload Upload Total Spent  Left Speed [2023-06-22T20:40:12.525Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 7184 0 --:--:-- --:--:-- --:--:-- 7224 [2023-06-22T20:40:12.797Z] Removing intermediate container 0457a3912142 [2023-06-22T20:40:12.797Z] ---> 82e6f3748129 [2023-06-22T20:40:12.797Z] Step 13/13 : RUN ${MAKE} [2023-06-22T20:40:12.797Z] ---> Running in df8fc2ff0bb6 [2023-06-22T20:40:13.055Z] noop [2023-06-22T20:40:13.329Z] Removing intermediate container df8fc2ff0bb6 [2023-06-22T20:40:13.329Z] ---> bff9b8910c8d [2023-06-22T20:40:13.329Z] Successfully built bff9b8910c8d [2023-06-22T20:40:13.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:40:13.641Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-22T20:40:13.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:40:13.718Z] prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container [2023-06-22T20:40:13.753Z] $ 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-22T20:40:14.176Z] $ docker top f855ce7dc648b5643276318640deb56f8dc12fa19eb0031cae8ac6ca98d7bd64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-22T20:40:14.534Z] + go version [2023-06-22T20:40:14.534Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-22T20:40:14.551Z] $ docker stop --time=1 f855ce7dc648b5643276318640deb56f8dc12fa19eb0031cae8ac6ca98d7bd64 [2023-06-22T20:40:15.858Z] $ docker rm -f --volumes f855ce7dc648b5643276318640deb56f8dc12fa19eb0031cae8ac6ca98d7bd64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:40:16.264Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-22T20:40:16.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:40:16.337Z] prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container [2023-06-22T20:40:16.370Z] $ 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-22T20:40:16.773Z] $ docker top b2597e0364b9b05c95b1b9159f883af588c5ae5d0e63b0d3103ff4b16aa66d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-22T20:40:17.110Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-22T20:40:17.411Z] + make test [2023-06-22T20:40:17.411Z] go test ./... -coverprofile=coverage.out ./... [2023-06-22T20:40:22.679Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-22T20:40:34.873Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [github.com/edgexfoundry/device-usb-camera/internal/driver.test] [2023-06-22T20:40:34.873Z] internal/driver/driver_test.go:34:12: cannot use []interface{}{…} (value of type []interface{}) as []string value in struct literal [2023-06-22T20:40:34.873Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-22T20:40:34.873Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-06-22T20:40:34.873Z] FAIL [2023-06-22T20:40:34.874Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-22T20:40:34.892Z] $ docker stop --time=1 b2597e0364b9b05c95b1b9159f883af588c5ae5d0e63b0d3103ff4b16aa66d49 [2023-06-22T20:40:38.458Z] $ docker rm -f --volumes b2597e0364b9b05c95b1b9159f883af588c5ae5d0e63b0d3103ff4b16aa66d49 [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-22T20:40:39.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-22T20:40:39.001Z] [2023-06-22T20:40:39.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:40:39.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-22T20:40:39.301Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-22T20:40:39.301Z] 5eb5b503b376: Pulling fs layer [2023-06-22T20:40:39.301Z] 5c69ac0246d0: Pulling fs layer [2023-06-22T20:40:39.301Z] ec43610c2a17: Pulling fs layer [2023-06-22T20:40:39.301Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-22T20:40:39.301Z] 33b1e0a273af: Pulling fs layer [2023-06-22T20:40:39.301Z] 5d3b04190fa2: Pulling fs layer [2023-06-22T20:40:39.301Z] 2f39f015ded8: Pulling fs layer [2023-06-22T20:40:39.301Z] 33b1e0a273af: Waiting [2023-06-22T20:40:39.301Z] 5d3b04190fa2: Waiting [2023-06-22T20:40:39.301Z] 2f39f015ded8: Waiting [2023-06-22T20:40:39.301Z] 3a2ae6a8a46f: Waiting [2023-06-22T20:40:39.301Z] 5c69ac0246d0: Download complete [2023-06-22T20:40:39.301Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-22T20:40:39.301Z] 3a2ae6a8a46f: Download complete [2023-06-22T20:40:39.301Z] 33b1e0a273af: Verifying Checksum [2023-06-22T20:40:39.301Z] 33b1e0a273af: Download complete [2023-06-22T20:40:39.301Z] 5d3b04190fa2: Download complete [2023-06-22T20:40:39.560Z] ec43610c2a17: Verifying Checksum [2023-06-22T20:40:39.560Z] ec43610c2a17: Download complete [2023-06-22T20:40:39.560Z] 5eb5b503b376: Verifying Checksum [2023-06-22T20:40:39.560Z] 5eb5b503b376: Download complete [2023-06-22T20:40:40.127Z] 2f39f015ded8: Download complete [2023-06-22T20:40:41.126Z] 5eb5b503b376: Pull complete [2023-06-22T20:40:41.126Z] 5c69ac0246d0: Pull complete [2023-06-22T20:40:41.384Z] ec43610c2a17: Pull complete [2023-06-22T20:40:41.642Z] 3a2ae6a8a46f: Pull complete [2023-06-22T20:40:41.901Z] 33b1e0a273af: Pull complete [2023-06-22T20:40:41.901Z] 5d3b04190fa2: Pull complete [2023-06-22T20:40:47.168Z] 2f39f015ded8: Pull complete [2023-06-22T20:40:47.168Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-22T20:40:47.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-22T20:40:47.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:40:47.260Z] prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container [2023-06-22T20:40:47.302Z] $ 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-22T20:40:51.289Z] $ docker top 40a39bf05f275eab42c39aaa790cff19303e3530f9bb7e9d27309e2cd7d379d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:40:51.716Z] ---> job-cost.sh [2023-06-22T20:40:51.716Z] lf-activate-venv: SKIPPING [2023-06-22T20:40:51.716Z] INFO: No Stack... [2023-06-22T20:40:51.974Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-22T20:40:52.543Z] INFO: Archiving Costs [Pipeline] sh [2023-06-22T20:40:52.832Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-22T20:40:52.832Z] + cut -d, -f6 [Pipeline] lock [2023-06-22T20:40:52.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [2023-06-22T20:40:52.854Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] did not exist. Created. [2023-06-22T20:40:52.854Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-22T20:40:53.162Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-22T20:40:53.199Z] Stashed 1 file(s) [Pipeline] } [2023-06-22T20:40:53.209Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-22T20:40:53.231Z] $ docker stop --time=1 40a39bf05f275eab42c39aaa790cff19303e3530f9bb7e9d27309e2cd7d379d4 [2023-06-22T20:40:54.404Z] $ docker rm -f --volumes 40a39bf05f275eab42c39aaa790cff19303e3530f9bb7e9d27309e2cd7d379d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-22T20:40:54.495Z] Failed in branch amd64 [2023-06-22T20:41:16.924Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19082 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-22T20:41:16.941Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-06-22T20:41:16.986Z] Selected Git installation does not exist. Using Default [2023-06-22T20:41:16.986Z] The recommended git tool is: NONE [2023-06-22T20:41:23.473Z] using credential edgex-jenkins-ssh [2023-06-22T20:41:23.494Z] Cloning the remote Git repository [2023-06-22T20:41:23.545Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-22T20:41:23.638Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-06-22T20:41:26.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-22T20:41:26.585Z] > git --version # timeout=10 [2023-06-22T20:41:26.633Z] > git --version # 'git version 2.25.1' [2023-06-22T20:41:26.636Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-22T20:41:26.805Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-22T20:41:27.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-22T20:41:27.623Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-22T20:41:29.250Z] Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 77766c9552d453fc5bff9a299e2f164ce510bb0b [2023-06-22T20:41:28.541Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-22T20:41:28.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-22T20:41:28.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-22T20:41:28.606Z] > 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-22T20:41:29.271Z] > git config core.sparsecheckout # timeout=10 [2023-06-22T20:41:29.595Z] Merge succeeded, producing 77766c9552d453fc5bff9a299e2f164ce510bb0b [2023-06-22T20:41:29.596Z] Checking out Revision 77766c9552d453fc5bff9a299e2f164ce510bb0b (PR-262) [2023-06-22T20:41:29.372Z] > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 [2023-06-22T20:41:29.456Z] > git remote # timeout=10 [2023-06-22T20:41:29.487Z] > git config --get remote.origin.url # timeout=10 [2023-06-22T20:41:29.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-22T20:41:29.533Z] > git merge 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 [2023-06-22T20:41:29.569Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-22T20:41:29.600Z] > git config core.sparsecheckout # timeout=10 [2023-06-22T20:41:29.626Z] > git checkout -f 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 [2023-06-22T20:41:33.174Z] Commit message: "refactor: change discovery method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-22T20:41:35.150Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-22T20:41:35.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-22T20:41:35.150Z] Dload Upload Total Spent Left Speed [2023-06-22T20:41:35.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh [2023-06-22T20:41:36.095Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-22T20:41:36.508Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-22T20:41:36.508Z] + sudo tee /etc/docker/daemon.new [2023-06-22T20:41:36.508Z] { [2023-06-22T20:41:36.508Z] "registry-mirrors": [ [2023-06-22T20:41:36.508Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-22T20:41:36.508Z] ], [2023-06-22T20:41:36.508Z] "bip": "10.250.0.254/24", [2023-06-22T20:41:36.508Z] "hosts": [ [2023-06-22T20:41:36.508Z] "tcp://0.0.0.0:5555", [2023-06-22T20:41:36.508Z] "unix:///var/run/docker.sock" [2023-06-22T20:41:36.508Z] ], [2023-06-22T20:41:36.508Z] "mtu": 1458, [2023-06-22T20:41:36.508Z] "selinux-enabled": true, [2023-06-22T20:41:36.508Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-22T20:41:36.509Z] } [Pipeline] sh [2023-06-22T20:41:36.883Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-22T20:41:37.221Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-22T20:41:55.491Z] provisioning config files... [2023-06-22T20:41:55.515Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config5426431218052348632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:41:55.862Z] ---> docker-login.sh [2023-06-22T20:41:55.862Z] nexus3.edgexfoundry.org:10001 [2023-06-22T20:41:56.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:41:56.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:41:56.403Z] Configure a credential helper to remove this warning. See [2023-06-22T20:41:56.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:41:56.403Z] [2023-06-22T20:41:56.403Z] Login Succeeded [2023-06-22T20:41:56.403Z] nexus3.edgexfoundry.org:10002 [2023-06-22T20:41:56.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:41:56.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:41:56.939Z] Configure a credential helper to remove this warning. See [2023-06-22T20:41:56.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:41:56.939Z] [2023-06-22T20:41:56.939Z] Login Succeeded [2023-06-22T20:41:56.939Z] nexus3.edgexfoundry.org:10003 [2023-06-22T20:41:56.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:41:57.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:41:57.209Z] Configure a credential helper to remove this warning. See [2023-06-22T20:41:57.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:41:57.209Z] [2023-06-22T20:41:57.209Z] Login Succeeded [2023-06-22T20:41:57.209Z] nexus3.edgexfoundry.org:10004 [2023-06-22T20:41:57.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:41:57.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:41:57.479Z] Configure a credential helper to remove this warning. See [2023-06-22T20:41:57.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:41:57.479Z] [2023-06-22T20:41:57.479Z] Login Succeeded [2023-06-22T20:41:57.479Z] docker.io [2023-06-22T20:41:57.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-22T20:41:58.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-22T20:41:58.013Z] Configure a credential helper to remove this warning. See [2023-06-22T20:41:58.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-22T20:41:58.013Z] [2023-06-22T20:41:58.013Z] Login Succeeded [2023-06-22T20:41:58.013Z] ---> docker-login.sh ends [Pipeline] } [2023-06-22T20:41:58.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-22T20:41:58.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-22T20:41:58.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-22T20:41:58.305Z] ========================================================= [2023-06-22T20:41:58.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-22T20:41:58.305Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:41:58.660Z] + 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-22T20:41:58.928Z] Sending build context to Docker daemon 1.33MB [2023-06-22T20:41:58.928Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-22T20:41:58.928Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-22T20:41:59.203Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-22T20:41:59.203Z] c41833b44d91: Pulling fs layer [2023-06-22T20:41:59.203Z] ed15518f5707: Pulling fs layer [2023-06-22T20:41:59.203Z] feae8fd75edb: Pulling fs layer [2023-06-22T20:41:59.203Z] 242c74f7c9fa: Pulling fs layer [2023-06-22T20:41:59.203Z] 3cdef696dda3: Pulling fs layer [2023-06-22T20:41:59.203Z] 2ced38df9373: Pulling fs layer [2023-06-22T20:41:59.203Z] 58f1dce35555: Pulling fs layer [2023-06-22T20:41:59.203Z] 3cdef696dda3: Waiting [2023-06-22T20:41:59.203Z] 2ced38df9373: Waiting [2023-06-22T20:41:59.203Z] 58f1dce35555: Waiting [2023-06-22T20:41:59.203Z] 242c74f7c9fa: Waiting [2023-06-22T20:41:59.203Z] ed15518f5707: Verifying Checksum [2023-06-22T20:41:59.203Z] ed15518f5707: Download complete [2023-06-22T20:41:59.203Z] 242c74f7c9fa: Verifying Checksum [2023-06-22T20:41:59.203Z] 242c74f7c9fa: Download complete [2023-06-22T20:41:59.203Z] 3cdef696dda3: Verifying Checksum [2023-06-22T20:41:59.203Z] 3cdef696dda3: Download complete [2023-06-22T20:41:59.203Z] c41833b44d91: Verifying Checksum [2023-06-22T20:41:59.203Z] c41833b44d91: Download complete [2023-06-22T20:42:00.173Z] c41833b44d91: Pull complete [2023-06-22T20:42:00.764Z] 58f1dce35555: Verifying Checksum [2023-06-22T20:42:00.764Z] 58f1dce35555: Download complete [2023-06-22T20:42:01.034Z] ed15518f5707: Pull complete [2023-06-22T20:42:01.999Z] feae8fd75edb: Verifying Checksum [2023-06-22T20:42:01.999Z] feae8fd75edb: Download complete [2023-06-22T20:42:01.999Z] 2ced38df9373: Verifying Checksum [2023-06-22T20:42:14.339Z] feae8fd75edb: Pull complete [2023-06-22T20:42:14.339Z] 242c74f7c9fa: Pull complete [2023-06-22T20:42:14.339Z] 3cdef696dda3: Pull complete [2023-06-22T20:42:21.002Z] 2ced38df9373: Pull complete [2023-06-22T20:42:23.611Z] 58f1dce35555: Pull complete [2023-06-22T20:42:23.611Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-22T20:42:23.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-22T20:42:23.611Z] ---> fadd8f120f05 [2023-06-22T20:42:23.611Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-22T20:42:25.567Z] ---> Running in 90662ad269dd [2023-06-22T20:42:25.567Z] Removing intermediate container 90662ad269dd [2023-06-22T20:42:25.567Z] ---> e8e93f9c6b43 [2023-06-22T20:42:25.567Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-22T20:42:25.567Z] ---> Running in e6a46fd79525 [2023-06-22T20:42:25.835Z] Removing intermediate container e6a46fd79525 [2023-06-22T20:42:25.835Z] ---> 9159e022ef27 [2023-06-22T20:42:25.835Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-22T20:42:25.835Z] ---> Running in 7e4db3117639 [2023-06-22T20:42:26.102Z] Removing intermediate container 7e4db3117639 [2023-06-22T20:42:26.102Z] ---> 54e077febdc3 [2023-06-22T20:42:26.102Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-22T20:42:26.102Z] ---> Running in 22a3f1a31a2a [2023-06-22T20:42:26.387Z] Removing intermediate container 22a3f1a31a2a [2023-06-22T20:42:26.387Z] ---> 328cedae760c [2023-06-22T20:42:26.387Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-22T20:42:26.387Z] ---> Running in f83af9a77069 [2023-06-22T20:42:27.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-22T20:42:28.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-22T20:42:29.029Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-22T20:42:29.029Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-22T20:42:29.029Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-22T20:42:29.029Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-22T20:42:29.029Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-22T20:42:29.029Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-22T20:42:29.029Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-22T20:42:29.029Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-22T20:42:29.029Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-22T20:42:29.029Z] (10/14) Installing kmod-libs (30-r1) [2023-06-22T20:42:29.029Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-22T20:42:29.298Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-22T20:42:29.298Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-22T20:42:29.298Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-22T20:42:29.298Z] Executing busybox-1.35.0-r29.trigger [2023-06-22T20:42:29.298Z] Executing eudev-3.2.11-r4.trigger [2023-06-22T20:42:29.298Z] OK: 271 MiB in 67 packages [2023-06-22T20:42:30.712Z] Removing intermediate container f83af9a77069 [2023-06-22T20:42:30.712Z] ---> 5bb55ccc49fd [2023-06-22T20:42:30.712Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-22T20:42:30.712Z] ---> Running in e22e8a38c2ec [2023-06-22T20:42:30.712Z] Removing intermediate container e22e8a38c2ec [2023-06-22T20:42:30.712Z] ---> 8d592515ed51 [2023-06-22T20:42:30.712Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-22T20:42:31.299Z] ---> 66ba440a3235 [2023-06-22T20:42:31.299Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-22T20:42:31.299Z] ---> Running in 232628f421aa [2023-06-22T20:43:27.736Z] Removing intermediate container 232628f421aa [2023-06-22T20:43:27.736Z] ---> f5bada5e1e34 [2023-06-22T20:43:27.736Z] Step 11/13 : COPY . . [2023-06-22T20:43:27.736Z] ---> 6277704153e8 [2023-06-22T20:43:27.736Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-22T20:43:27.736Z] ---> Running in 748b3fdbafc5 [2023-06-22T20:43:27.736Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-06-22T20:43:27.736Z] Dload Upload Total Spent Left Speed [2023-06-22T20:43:27.736Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4196 0 --:--:-- --:--:-- --:--:-- 4214 [2023-06-22T20:43:27.736Z] Removing intermediate container 748b3fdbafc5 [2023-06-22T20:43:27.736Z] ---> ca775391101d [2023-06-22T20:43:27.736Z] Step 13/13 : RUN ${MAKE} [2023-06-22T20:43:27.736Z] ---> Running in 2f3ae5fbf689 [2023-06-22T20:43:27.736Z] noop [2023-06-22T20:43:27.736Z] Removing intermediate container 2f3ae5fbf689 [2023-06-22T20:43:27.736Z] ---> 9afba1153a92 [2023-06-22T20:43:27.736Z] Successfully built 9afba1153a92 [2023-06-22T20:43:27.736Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:43:28.102Z] + docker inspect -f . ci-base-image-arm64 [2023-06-22T20:43:28.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:43:28.297Z] prd-ubuntu20.04-docker-arm64-4c-16g-19082 does not seem to be running inside a container [2023-06-22T20:43:28.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-22T20:43:29.543Z] $ docker top ec1594b4eca7f191077974026021fad19e3e9c0e2f959455eeae7946d0f313f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-22T20:43:30.368Z] + go version [2023-06-22T20:43:30.368Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-22T20:43:30.382Z] $ docker stop --time=1 ec1594b4eca7f191077974026021fad19e3e9c0e2f959455eeae7946d0f313f9 [2023-06-22T20:43:31.996Z] $ docker rm -f --volumes ec1594b4eca7f191077974026021fad19e3e9c0e2f959455eeae7946d0f313f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:43:32.556Z] + docker inspect -f . ci-base-image-arm64 [2023-06-22T20:43:32.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:43:32.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-19082 does not seem to be running inside a container [2023-06-22T20:43:32.785Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-22T20:43:33.926Z] $ docker top 5ca64adbbd0e10acbaa8a91443545aa65764ef58a8b0eee6841d23033ea8685e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-22T20:43:34.419Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-06-22T20:43:34.747Z] + make test [2023-06-22T20:43:34.747Z] go test ./... -coverprofile=coverage.out ./... [2023-06-22T20:44:07.016Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-22T20:45:58.689Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-22T20:45:58.689Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [github.com/edgexfoundry/device-usb-camera/internal/driver.test] [2023-06-22T20:45:58.689Z] internal/driver/driver_test.go:34:12: cannot use []interface{}{…} (value of type []interface{}) as []string value in struct literal [2023-06-22T20:45:58.689Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-06-22T20:45:58.689Z] FAIL [2023-06-22T20:45:58.689Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-22T20:45:58.704Z] $ docker stop --time=1 5ca64adbbd0e10acbaa8a91443545aa65764ef58a8b0eee6841d23033ea8685e [2023-06-22T20:46:00.475Z] $ docker rm -f --volumes 5ca64adbbd0e10acbaa8a91443545aa65764ef58a8b0eee6841d23033ea8685e [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-22T20:46:01.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-22T20:46:01.654Z] [2023-06-22T20:46:01.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:46:02.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-22T20:46:02.305Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-22T20:46:02.305Z] 8998bd30e6a1: Pulling fs layer [2023-06-22T20:46:02.305Z] 04944245beec: Pulling fs layer [2023-06-22T20:46:02.305Z] 699f458cf7ca: Pulling fs layer [2023-06-22T20:46:02.305Z] 765212b225bb: Pulling fs layer [2023-06-22T20:46:02.305Z] f23df028b6ca: Pulling fs layer [2023-06-22T20:46:02.305Z] d65c8cfc05b1: Pulling fs layer [2023-06-22T20:46:02.305Z] 2437ff75d9bd: Pulling fs layer [2023-06-22T20:46:02.305Z] f23df028b6ca: Waiting [2023-06-22T20:46:02.305Z] d65c8cfc05b1: Waiting [2023-06-22T20:46:02.305Z] 2437ff75d9bd: Waiting [2023-06-22T20:46:02.305Z] 765212b225bb: Waiting [2023-06-22T20:46:02.305Z] 04944245beec: Verifying Checksum [2023-06-22T20:46:02.305Z] 04944245beec: Download complete [2023-06-22T20:46:02.305Z] 765212b225bb: Verifying Checksum [2023-06-22T20:46:02.305Z] 765212b225bb: Download complete [2023-06-22T20:46:02.305Z] f23df028b6ca: Verifying Checksum [2023-06-22T20:46:02.305Z] f23df028b6ca: Download complete [2023-06-22T20:46:02.305Z] d65c8cfc05b1: Verifying Checksum [2023-06-22T20:46:02.305Z] d65c8cfc05b1: Download complete [2023-06-22T20:46:02.581Z] 699f458cf7ca: Verifying Checksum [2023-06-22T20:46:02.581Z] 699f458cf7ca: Download complete [2023-06-22T20:46:02.855Z] 8998bd30e6a1: Verifying Checksum [2023-06-22T20:46:02.855Z] 8998bd30e6a1: Download complete [2023-06-22T20:46:05.475Z] 2437ff75d9bd: Verifying Checksum [2023-06-22T20:46:05.475Z] 2437ff75d9bd: Download complete [2023-06-22T20:46:06.887Z] 8998bd30e6a1: Pull complete [2023-06-22T20:46:07.476Z] 04944245beec: Pull complete [2023-06-22T20:46:08.886Z] 699f458cf7ca: Pull complete [2023-06-22T20:46:08.886Z] 765212b225bb: Pull complete [2023-06-22T20:46:09.472Z] f23df028b6ca: Pull complete [2023-06-22T20:46:09.740Z] d65c8cfc05b1: Pull complete [2023-06-22T20:46:24.736Z] 2437ff75d9bd: Pull complete [2023-06-22T20:46:24.736Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-22T20:46:24.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-22T20:46:24.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:46:24.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-19082 does not seem to be running inside a container [2023-06-22T20:46:24.985Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-22T20:46:27.380Z] $ docker top 6f8da53bfe2d88dc63e88be4551fbbae39144cc91d9525b3589fee8494a39faa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:28.215Z] ---> job-cost.sh [2023-06-22T20:46:28.215Z] lf-activate-venv: SKIPPING [2023-06-22T20:46:28.215Z] INFO: No Stack... [2023-06-22T20:46:28.479Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-22T20:46:29.435Z] INFO: Archiving Costs [Pipeline] sh [2023-06-22T20:46:29.756Z] + cut -d, -f6 [2023-06-22T20:46:29.757Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock [2023-06-22T20:46:30.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [2023-06-22T20:46:30.062Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] did not exist. Created. [2023-06-22T20:46:30.062Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-22T20:46:30.398Z] /w/workspace/device-usb-camera/3@tmp/durable-c21718c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-22T20:46:30.732Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-22T20:46:30.754Z] Warning: overwriting stash ‘stack-cost’ [2023-06-22T20:46:31.108Z] Stashed 1 file(s) [Pipeline] } [2023-06-22T20:46:31.117Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-22T20:46:31.137Z] $ docker stop --time=1 6f8da53bfe2d88dc63e88be4551fbbae39144cc91d9525b3589fee8494a39faa [2023-06-22T20:46:32.583Z] $ docker rm -f --volumes 6f8da53bfe2d88dc63e88be4551fbbae39144cc91d9525b3589fee8494a39faa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-22T20:46:32.830Z] 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-22T20:46:33.562Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-22T20:46:33.562Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-22T20:46:33.562Z] total 16 [2023-06-22T20:46:33.562Z] drwxr-xr-x 3 root root 4096 Jun 22 20:40 . [2023-06-22T20:46:33.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 20:40 .. [2023-06-22T20:46:33.562Z] drwxr-xr-x 2 root root 4096 Jun 22 20:40 cost [2023-06-22T20:46:33.562Z] -rw-r--r-- 1 root root 89 Jun 22 20:40 cost.csv [2023-06-22T20:46:33.562Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-22T20:46:33.562Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-22T20:46:33.562Z] total 16 [2023-06-22T20:46:33.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 20:40 . [2023-06-22T20:46:33.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 20:40 .. [2023-06-22T20:46:33.562Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 20:40 cost [2023-06-22T20:46:33.562Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 22 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:33.855Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:34.716Z] ---> package-listing.sh [2023-06-22T20:46:34.716Z] ++ facter osfamily [2023-06-22T20:46:34.716Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-22T20:46:34.974Z] + OS_FAMILY=debian [2023-06-22T20:46:34.974Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-22T20:46:34.974Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-22T20:46:34.974Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-22T20:46:34.974Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-22T20:46:34.974Z] + PACKAGES=/tmp/packages_start.txt [2023-06-22T20:46:34.974Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-22T20:46:34.974Z] + PACKAGES=/tmp/packages_end.txt [2023-06-22T20:46:34.975Z] + case "${OS_FAMILY}" in [2023-06-22T20:46:34.975Z] + dpkg -l [2023-06-22T20:46:34.975Z] + grep '^ii' [2023-06-22T20:46:34.975Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-22T20:46:34.975Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-22T20:46:34.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-22T20:46:34.975Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-22T20:46:34.975Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-22T20:46:34.975Z] + 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-22T20:46:34.985Z] 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-22T20:46:35.262Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-22T20:46:35.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-22T20:46:35.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-22T20:46:35.910Z] prd-ubuntu20.04-docker-8c-8g-19081 does not seem to be running inside a container [2023-06-22T20:46:35.954Z] $ 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-22T20:46:36.166Z] $ docker top d414223119328e7658f2ffb80a1cacb2aed43aea65d84db5c8fd85cb8e95c173 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-22T20:46:36.495Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-22T20:46:36.784Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-22T20:46:37.071Z] + ls /var/log/sa-host [2023-06-22T20:46:37.071Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-22T20:46:37.226Z] provisioning config files... [2023-06-22T20:46:37.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config3871566175825939130tmp [Pipeline] { [Pipeline] echo [2023-06-22T20:46:37.248Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:37.533Z] ---> create-netrc.sh [Pipeline] } [2023-06-22T20:46:37.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:37.868Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-22T20:46:37.877Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:38.161Z] ---> sudo-logs.sh [2023-06-22T20:46:38.161Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-22T20:46:38.183Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:38.472Z] ---> job-cost.sh [2023-06-22T20:46:38.472Z] lf-activate-venv: SKIPPING [2023-06-22T20:46:38.472Z] DEBUG: total: 0.2199999988079071 [2023-06-22T20:46:38.472Z] INFO: Retrieving Stack Cost... [2023-06-22T20:46:38.731Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-22T20:46:39.300Z] INFO: Archiving Costs [Pipeline] echo [2023-06-22T20:46:39.314Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-22T20:46:39.598Z] ---> logs-deploy.sh [2023-06-22T20:46:39.598Z] lf-activate-venv: SKIPPING [2023-06-22T20:46:39.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/3 [2023-06-22T20:46:39.598Z] INFO: archiving workspace using pattern(s): [2023-06-22T20:46:40.534Z] Archives upload complete. [2023-06-22T20:46:40.794Z] INFO: archiving logs to Nexus