Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than b60069efaff03ec5032551d86ab44005fb8433b0 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14522702953692087917.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-ssh3253262316150138836.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-ssh236031542789072712.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-ssh9836678105909351173.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-ssh9719804616270764654.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-186 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-262 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit b60069efaff03ec5032551d86ab44005fb8433b0 Merge succeeded, producing b60069efaff03ec5032551d86ab44005fb8433b0 Checking out Revision b60069efaff03ec5032551d86ab44005fb8433b0 (PR-262) Commit message: "feat: update path storage" > git config core.sparsecheckout # timeout=10 > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 > git rev-list --no-walk 157e602d579acf545d01ac8028e4e50126d70e0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-29T19:28:44.078Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-29T19:28:44.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-29T19:28:44.154Z] ========================================================= [2023-06-29T19:28:44.154Z] EdgeX Global Pipelines Version Info [2023-06-29T19:28:44.154Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:28:44.868Z] ------------------- [2023-06-29T19:28:44.868Z] stable info: [2023-06-29T19:28:44.868Z] ------------------- [2023-06-29T19:28:44.868Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-29T19:28:44.868Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T19:28:44.868Z] Message: update stable to v1.0.250 [2023-06-29T19:28:45.438Z] ------------------- [2023-06-29T19:28:45.438Z] experimental info: [2023-06-29T19:28:45.438Z] ------------------- [2023-06-29T19:28:45.438Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-29T19:28:45.438Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T19:28:45.438Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-29T19:28:45.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-29T19:28:45.608Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-29T19:28:45.617Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-29T19:28:45.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-29T19:28:45.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-29T19:28:45.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-29T19:28:45.654Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-29T19:28:45.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-29T19:28:45.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-29T19:28:45.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-29T19:28:45.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-29T19:28:45.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-29T19:28:45.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-29T19:28:45.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-29T19:28:45.753Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T19:28:45.771Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T19:28:45.785Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T19:28:45.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T19:28:45.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-29T19:28:45.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-29T19:28:45.848Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-29T19:28:45.861Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-29T19:28:45.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-29T19:28:45.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-29T19:28:45.919Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-29T19:28:45.940Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-29T19:28:45.956Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-29T19:28:45.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-29T19:28:45.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-29T19:28:46.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-29T19:28:46.025Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo [2023-06-29T19:28:46.038Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b60069e [Pipeline] echo [2023-06-29T19:28:46.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T19:28:46.097Z] provisioning config files... [2023-06-29T19:28:46.110Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config129672503558512781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:28:46.405Z] ---> docker-login.sh [2023-06-29T19:28:46.405Z] nexus3.edgexfoundry.org:10001 [2023-06-29T19:28:46.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:28:46.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:28:46.925Z] Configure a credential helper to remove this warning. See [2023-06-29T19:28:46.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:28:46.925Z] [2023-06-29T19:28:46.925Z] Login Succeeded [2023-06-29T19:28:46.925Z] nexus3.edgexfoundry.org:10002 [2023-06-29T19:28:46.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:28:46.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:28:46.925Z] Configure a credential helper to remove this warning. See [2023-06-29T19:28:46.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:28:46.925Z] [2023-06-29T19:28:46.925Z] Login Succeeded [2023-06-29T19:28:46.925Z] nexus3.edgexfoundry.org:10003 [2023-06-29T19:28:46.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:28:47.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:28:47.184Z] Configure a credential helper to remove this warning. See [2023-06-29T19:28:47.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:28:47.184Z] [2023-06-29T19:28:47.184Z] Login Succeeded [2023-06-29T19:28:47.184Z] nexus3.edgexfoundry.org:10004 [2023-06-29T19:28:47.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:28:47.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:28:47.184Z] Configure a credential helper to remove this warning. See [2023-06-29T19:28:47.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:28:47.184Z] [2023-06-29T19:28:47.184Z] Login Succeeded [2023-06-29T19:28:47.184Z] docker.io [2023-06-29T19:28:47.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:28:47.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:28:47.444Z] Configure a credential helper to remove this warning. See [2023-06-29T19:28:47.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:28:47.444Z] [2023-06-29T19:28:47.444Z] Login Succeeded [2023-06-29T19:28:47.444Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T19:28:47.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-29T19:28:47.819Z] + git rev-list -1 --merges b60069efaff03ec5032551d86ab44005fb8433b0~1..b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo [2023-06-29T19:28:47.870Z] -----------> git rev-list -1 --merges b60069efaff03ec5032551d86ab44005fb8433b0~1..b60069efaff03ec5032551d86ab44005fb8433b0 b60069efaff03ec5032551d86ab44005fb8433b0 [false] [Pipeline] sh [2023-06-29T19:28:48.160Z] + git log --format=format:%s -1 b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo [2023-06-29T19:28:48.175Z] ========================================================= [2023-06-29T19:28:48.175Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-29T19:28:48.175Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T19:28:48.493Z] + git log --format=format:%s -1 b60069efaff03ec5032551d86ab44005fb8433b0 [Pipeline] echo [2023-06-29T19:28:48.504Z] [semverPrep] GIT_COMMIT: b60069efaff03ec5032551d86ab44005fb8433b0, Commit Message: feat: update path storage [Pipeline] echo [2023-06-29T19:28:48.515Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-29T19:28:48.890Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-29T19:28:48.890Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-29T19:28:48.890Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-29T19:28:48.890Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-29T19:28:48.890Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-29T19:28:48.890Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-29T19:28:48.890Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:28:49.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T19:28:49.296Z] [2023-06-29T19:28:49.296Z] 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-29T19:28:49.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T19:28:49.592Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-29T19:28:49.592Z] b85a868b505f: Pulling fs layer [2023-06-29T19:28:49.592Z] e2be974225ed: Pulling fs layer [2023-06-29T19:28:49.592Z] 339a4e72a1f5: Pulling fs layer [2023-06-29T19:28:49.592Z] 988bab9f4d93: Pulling fs layer [2023-06-29T19:28:49.592Z] 1469e6f7b9e6: Pulling fs layer [2023-06-29T19:28:49.592Z] eaf3925da568: Pulling fs layer [2023-06-29T19:28:49.592Z] bab4dde63d76: Pulling fs layer [2023-06-29T19:28:49.592Z] bde34c3a00c8: Pulling fs layer [2023-06-29T19:28:49.592Z] b352a97aabf1: Pulling fs layer [2023-06-29T19:28:49.592Z] 4872d77fe225: Pulling fs layer [2023-06-29T19:28:49.592Z] 5851b861e8e6: Pulling fs layer [2023-06-29T19:28:49.592Z] 988bab9f4d93: Waiting [2023-06-29T19:28:49.592Z] 1469e6f7b9e6: Waiting [2023-06-29T19:28:49.592Z] eaf3925da568: Waiting [2023-06-29T19:28:49.592Z] 4872d77fe225: Waiting [2023-06-29T19:28:49.592Z] bab4dde63d76: Waiting [2023-06-29T19:28:49.592Z] 5851b861e8e6: Waiting [2023-06-29T19:28:49.592Z] b352a97aabf1: Waiting [2023-06-29T19:28:49.592Z] bde34c3a00c8: Waiting [2023-06-29T19:28:49.592Z] e2be974225ed: Download complete [2023-06-29T19:28:49.592Z] 988bab9f4d93: Verifying Checksum [2023-06-29T19:28:49.592Z] 988bab9f4d93: Download complete [2023-06-29T19:28:49.592Z] 1469e6f7b9e6: Verifying Checksum [2023-06-29T19:28:49.592Z] 1469e6f7b9e6: Download complete [2023-06-29T19:28:49.592Z] eaf3925da568: Verifying Checksum [2023-06-29T19:28:49.592Z] eaf3925da568: Download complete [2023-06-29T19:28:49.851Z] 339a4e72a1f5: Verifying Checksum [2023-06-29T19:28:49.851Z] 339a4e72a1f5: Download complete [2023-06-29T19:28:49.851Z] bde34c3a00c8: Verifying Checksum [2023-06-29T19:28:49.851Z] bde34c3a00c8: Download complete [2023-06-29T19:28:49.851Z] b352a97aabf1: Verifying Checksum [2023-06-29T19:28:49.851Z] b352a97aabf1: Download complete [2023-06-29T19:28:49.851Z] 4872d77fe225: Download complete [2023-06-29T19:28:49.851Z] 5851b861e8e6: Verifying Checksum [2023-06-29T19:28:49.851Z] 5851b861e8e6: Download complete [2023-06-29T19:28:49.851Z] b85a868b505f: Verifying Checksum [2023-06-29T19:28:49.851Z] b85a868b505f: Download complete [2023-06-29T19:28:50.110Z] bab4dde63d76: Verifying Checksum [2023-06-29T19:28:50.110Z] bab4dde63d76: Download complete [2023-06-29T19:28:51.511Z] b85a868b505f: Pull complete [2023-06-29T19:28:51.511Z] e2be974225ed: Pull complete [2023-06-29T19:28:51.769Z] 339a4e72a1f5: Pull complete [2023-06-29T19:28:52.029Z] 988bab9f4d93: Pull complete [2023-06-29T19:28:52.288Z] 1469e6f7b9e6: Pull complete [2023-06-29T19:28:52.288Z] eaf3925da568: Pull complete [2023-06-29T19:28:54.191Z] bab4dde63d76: Pull complete [2023-06-29T19:28:54.191Z] bde34c3a00c8: Pull complete [2023-06-29T19:28:54.191Z] b352a97aabf1: Pull complete [2023-06-29T19:28:54.191Z] 4872d77fe225: Pull complete [2023-06-29T19:28:54.191Z] 5851b861e8e6: Pull complete [2023-06-29T19:28:54.191Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-29T19:28:54.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T19:28:54.191Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:28:54.283Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-06-29T19:28:54.316Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-29T19:28:57.233Z] $ docker top 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a -eo pid,comm [2023-06-29T19:28:57.282Z] 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-29T19:28:57.282Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-29T19:28:57.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T19:28:57.315Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T19:28:57.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T19:28:57.437Z] $ docker exec 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent [2023-06-29T19:28:57.539Z] SSH_AUTH_SOCK=/tmp/ssh-XsfGvVEatQHx/agent.33 [2023-06-29T19:28:57.539Z] SSH_AGENT_PID=39 [2023-06-29T19:28:57.545Z] Running ssh-add (command line suppressed) [2023-06-29T19:28:57.643Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3589259670814231453.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3589259670814231453.key) [2023-06-29T19:28:57.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T19:28:57.945Z] + git tag --points-at HEAD [Pipeline] } [2023-06-29T19:28:57.954Z] $ docker exec --env ******** --env ******** 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent -k [2023-06-29T19:28:58.048Z] unset SSH_AUTH_SOCK; [2023-06-29T19:28:58.048Z] unset SSH_AGENT_PID; [2023-06-29T19:28:58.048Z] echo Agent pid 39 killed; [2023-06-29T19:28:58.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-29T19:28:58.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T19:28:58.082Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T19:28:58.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T19:28:58.198Z] $ docker exec 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent [2023-06-29T19:28:58.297Z] SSH_AUTH_SOCK=/tmp/ssh-mLxKTPq2x3Kp/agent.71 [2023-06-29T19:28:58.297Z] SSH_AGENT_PID=77 [2023-06-29T19:28:58.302Z] Running ssh-add (command line suppressed) [2023-06-29T19:28:58.398Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3099834033788760381.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_3099834033788760381.key) [2023-06-29T19:28:58.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T19:28:58.705Z] + git semver init [2023-06-29T19:28:58.965Z] 2023-06-29 19:28:58,866 [run_init] DEBUG init version:0.0.0 force:False [2023-06-29T19:28:58.965Z] 2023-06-29 19:28:58,867 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-29T19:28:58.965Z] 2023-06-29 19:28:58,867 [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-29T19:28:58.965Z] 2023-06-29 19:28:58,868 [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-29T19:28:59.904Z] 2023-06-29 19:28:59,538 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-29T19:28:59.904Z] 2023-06-29 19:28:59,539 [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-29T19:28:59.904Z] 2023-06-29 19:28:59,539 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-29T19:28:59.904Z] 2023-06-29 19:28:59,543 [execute] INFO git cat-file --batch-check [2023-06-29T19:28:59.904Z] 2023-06-29 19:28:59,543 [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-29T19:28:59.904Z] 2023-06-29 19:28:59,549 [execute] INFO git cat-file --batch [2023-06-29T19:28:59.904Z] 2023-06-29 19:28:59,549 [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-29T19:28:59.904Z] 2023-06-29 19:28:59,554 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-29T19:28:59.904Z] 0.0.0 [Pipeline] } [2023-06-29T19:28:59.913Z] $ docker exec --env ******** --env ******** 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a ssh-agent -k [2023-06-29T19:29:00.020Z] unset SSH_AUTH_SOCK; [2023-06-29T19:29:00.020Z] unset SSH_AGENT_PID; [2023-06-29T19:29:00.021Z] echo Agent pid 77 killed; [2023-06-29T19:29:00.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-29T19:29:00.328Z] + git semver [Pipeline] } [2023-06-29T19:29:00.600Z] $ docker stop --time=1 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a [2023-06-29T19:29:01.878Z] $ docker rm -f --volumes 7357731494ac505d1d6aba45329cd170c7b27fac15d2775d111d69e05a4e347a [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-29T19:29:02.228Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-29T19:29:02.438Z] Stashed 1 file(s) [Pipeline] echo [2023-06-29T19:29:02.441Z] [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-29T19:29:02.603Z] provisioning config files... [2023-06-29T19:29:02.613Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config14416324444468455642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:29:02.911Z] ---> docker-login.sh [2023-06-29T19:29:02.911Z] nexus3.edgexfoundry.org:10001 [2023-06-29T19:29:02.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:29:02.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:29:02.911Z] Configure a credential helper to remove this warning. See [2023-06-29T19:29:02.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:29:02.911Z] [2023-06-29T19:29:02.911Z] Login Succeeded [2023-06-29T19:29:02.911Z] nexus3.edgexfoundry.org:10002 [2023-06-29T19:29:02.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:29:02.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:29:02.911Z] Configure a credential helper to remove this warning. See [2023-06-29T19:29:02.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:29:02.911Z] [2023-06-29T19:29:02.911Z] Login Succeeded [2023-06-29T19:29:02.911Z] nexus3.edgexfoundry.org:10003 [2023-06-29T19:29:03.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:29:03.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:29:03.169Z] Configure a credential helper to remove this warning. See [2023-06-29T19:29:03.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:29:03.169Z] [2023-06-29T19:29:03.169Z] Login Succeeded [2023-06-29T19:29:03.169Z] nexus3.edgexfoundry.org:10004 [2023-06-29T19:29:03.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:29:03.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:29:03.169Z] Configure a credential helper to remove this warning. See [2023-06-29T19:29:03.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:29:03.169Z] [2023-06-29T19:29:03.169Z] Login Succeeded [2023-06-29T19:29:03.169Z] docker.io [2023-06-29T19:29:03.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:29:03.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:29:03.427Z] Configure a credential helper to remove this warning. See [2023-06-29T19:29:03.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:29:03.427Z] [2023-06-29T19:29:03.427Z] Login Succeeded [2023-06-29T19:29:03.427Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T19:29:03.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T19:29:03.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T19:29:03.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T19:29:03.517Z] ========================================================= [2023-06-29T19:29:03.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-29T19:29:03.517Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:29:03.839Z] + 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-29T19:29:03.839Z] Sending build context to Docker daemon 2.041MB [2023-06-29T19:29:03.839Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-29T19:29:03.839Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-29T19:29:03.839Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-29T19:29:03.839Z] f56be85fc22e: Pulling fs layer [2023-06-29T19:29:03.839Z] 85791d961cd3: Pulling fs layer [2023-06-29T19:29:03.839Z] d694b5ae8c79: Pulling fs layer [2023-06-29T19:29:03.839Z] 9f32a84ed3da: Pulling fs layer [2023-06-29T19:29:03.839Z] 4d19c01a9841: Pulling fs layer [2023-06-29T19:29:03.839Z] 9325e15d5711: Pulling fs layer [2023-06-29T19:29:03.839Z] 556b6ee489ea: Pulling fs layer [2023-06-29T19:29:03.839Z] c5a4b2cf53e6: Pulling fs layer [2023-06-29T19:29:03.839Z] 556b6ee489ea: Waiting [2023-06-29T19:29:03.839Z] 9f32a84ed3da: Waiting [2023-06-29T19:29:03.839Z] c5a4b2cf53e6: Waiting [2023-06-29T19:29:03.839Z] 4d19c01a9841: Waiting [2023-06-29T19:29:03.839Z] 85791d961cd3: Verifying Checksum [2023-06-29T19:29:03.839Z] 85791d961cd3: Download complete [2023-06-29T19:29:03.839Z] 9f32a84ed3da: Verifying Checksum [2023-06-29T19:29:03.839Z] 9f32a84ed3da: Download complete [2023-06-29T19:29:04.097Z] 4d19c01a9841: Verifying Checksum [2023-06-29T19:29:04.097Z] 4d19c01a9841: Download complete [2023-06-29T19:29:04.097Z] f56be85fc22e: Verifying Checksum [2023-06-29T19:29:04.097Z] f56be85fc22e: Download complete [2023-06-29T19:29:04.097Z] 9325e15d5711: Verifying Checksum [2023-06-29T19:29:04.097Z] 9325e15d5711: Download complete [2023-06-29T19:29:04.097Z] f56be85fc22e: Pull complete [2023-06-29T19:29:04.358Z] 85791d961cd3: Pull complete [2023-06-29T19:29:04.617Z] c5a4b2cf53e6: Verifying Checksum [2023-06-29T19:29:04.617Z] c5a4b2cf53e6: Download complete [2023-06-29T19:29:04.874Z] d694b5ae8c79: Download complete [2023-06-29T19:29:04.874Z] 556b6ee489ea: Verifying Checksum [2023-06-29T19:29:04.874Z] 556b6ee489ea: Download complete [2023-06-29T19:29:08.168Z] d694b5ae8c79: Pull complete [2023-06-29T19:29:08.168Z] 9f32a84ed3da: Pull complete [2023-06-29T19:29:08.168Z] 4d19c01a9841: Pull complete [2023-06-29T19:29:08.168Z] 9325e15d5711: Pull complete [2023-06-29T19:29:10.698Z] 556b6ee489ea: Pull complete [2023-06-29T19:29:11.628Z] c5a4b2cf53e6: Pull complete [2023-06-29T19:29:11.629Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-29T19:29:11.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-29T19:29:11.629Z] ---> c4be618373d6 [2023-06-29T19:29:11.629Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-29T19:29:16.910Z] ---> Running in 0d0f5d8614cb [2023-06-29T19:29:16.910Z] Removing intermediate container 0d0f5d8614cb [2023-06-29T19:29:16.910Z] ---> be99a4ba6480 [2023-06-29T19:29:16.910Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-29T19:29:16.910Z] ---> Running in bb20241d5d7c [2023-06-29T19:29:16.910Z] Removing intermediate container bb20241d5d7c [2023-06-29T19:29:16.910Z] ---> 41cbb1c4093f [2023-06-29T19:29:16.910Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-29T19:29:16.910Z] ---> Running in 0f498bc49be0 [2023-06-29T19:29:16.910Z] Removing intermediate container 0f498bc49be0 [2023-06-29T19:29:16.910Z] ---> 7c005fd8690a [2023-06-29T19:29:16.910Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-29T19:29:16.910Z] ---> Running in efa09fd0e19d [2023-06-29T19:29:16.910Z] Removing intermediate container efa09fd0e19d [2023-06-29T19:29:16.910Z] ---> 625e15f37e74 [2023-06-29T19:29:16.910Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-29T19:29:16.910Z] ---> Running in 31f27280e25f [2023-06-29T19:29:17.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-29T19:29:17.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-29T19:29:17.427Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-29T19:29:17.427Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-29T19:29:17.427Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-29T19:29:17.427Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-29T19:29:17.427Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-29T19:29:17.557Z] Still waiting to schedule task [2023-06-29T19:29:17.557Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-29T19:29:17.686Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-29T19:29:17.686Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-29T19:29:17.686Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-29T19:29:17.686Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-29T19:29:17.686Z] (10/14) Installing kmod-libs (30-r1) [2023-06-29T19:29:17.686Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-29T19:29:17.686Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-29T19:29:17.686Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-29T19:29:17.686Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-29T19:29:17.686Z] Executing busybox-1.35.0-r29.trigger [2023-06-29T19:29:17.686Z] Executing eudev-3.2.11-r4.trigger [2023-06-29T19:29:17.686Z] OK: 272 MiB in 67 packages [2023-06-29T19:29:18.254Z] Removing intermediate container 31f27280e25f [2023-06-29T19:29:18.254Z] ---> e08347196577 [2023-06-29T19:29:18.254Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-29T19:29:18.254Z] ---> Running in c19af4b40c4b [2023-06-29T19:29:18.254Z] Removing intermediate container c19af4b40c4b [2023-06-29T19:29:18.254Z] ---> 6e2a4fc3f7f9 [2023-06-29T19:29:18.254Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-29T19:29:18.254Z] ---> eaa3980f6b85 [2023-06-29T19:29:18.254Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-29T19:29:18.513Z] ---> Running in 2f66131252a7 [2023-06-29T19:29:57.252Z] Removing intermediate container 2f66131252a7 [2023-06-29T19:29:57.252Z] ---> 051c00d5872b [2023-06-29T19:29:57.252Z] Step 11/13 : COPY . . [2023-06-29T19:29:57.252Z] ---> f10e9d94dd3b [2023-06-29T19:29:57.252Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-29T19:29:57.252Z] ---> Running in 4696942f9d78 [2023-06-29T19:29:57.252Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-29T19:29:57.252Z] Dload Upload Total Spent Left Speed [2023-06-29T19:29:57.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7118 0 --:--:-- --:--:-- --:--:-- 7127 100 1062 100 1062 0 0 7113 0 --:--:-- --:--:-- --:--:-- 7080 [2023-06-29T19:29:57.252Z] Removing intermediate container 4696942f9d78 [2023-06-29T19:29:57.252Z] ---> 48c7c1ebe049 [2023-06-29T19:29:57.252Z] Step 13/13 : RUN ${MAKE} [2023-06-29T19:29:57.252Z] ---> Running in 1a50b2e4f370 [2023-06-29T19:29:57.252Z] noop [2023-06-29T19:29:57.510Z] Removing intermediate container 1a50b2e4f370 [2023-06-29T19:29:57.510Z] ---> ca4626d928c2 [2023-06-29T19:29:57.510Z] Successfully built ca4626d928c2 [2023-06-29T19:29:57.510Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:29:57.823Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T19:29:57.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:29:57.896Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-06-29T19:29:57.932Z] $ 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 ******** ci-base-image-x86_64 cat [2023-06-29T19:29:58.275Z] $ docker top 1b1820f9582851df2c4fce15764f6c1364a77a683afbfd1340c11ea3889ea818 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T19:29:58.606Z] + go version [2023-06-29T19:29:58.606Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-29T19:29:58.622Z] $ docker stop --time=1 1b1820f9582851df2c4fce15764f6c1364a77a683afbfd1340c11ea3889ea818 [2023-06-29T19:29:59.892Z] $ docker rm -f --volumes 1b1820f9582851df2c4fce15764f6c1364a77a683afbfd1340c11ea3889ea818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:30:00.271Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T19:30:00.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:30:00.340Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-06-29T19:30:00.374Z] $ 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 ******** ci-base-image-x86_64 cat [2023-06-29T19:30:00.725Z] $ docker top daeaf2f83ef76b798cd89d94be6555c96e300557a1d0c9b05e4c7ed0186b5996 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T19:30:01.061Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-29T19:30:01.357Z] + make test [2023-06-29T19:30:01.357Z] go test ./... -coverprofile=coverage.out ./... [2023-06-29T19:30:01.921Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-06-29T19:30:01.921Z] internal/driver/driver_test.go:34:14: expected type, found '{' [2023-06-29T19:30:01.921Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [setup failed] [2023-06-29T19:30:06.115Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-29T19:30:16.097Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-29T19:30:16.097Z] FAIL [2023-06-29T19:30:16.097Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-29T19:30:16.114Z] $ docker stop --time=1 daeaf2f83ef76b798cd89d94be6555c96e300557a1d0c9b05e4c7ed0186b5996 [2023-06-29T19:30:19.322Z] $ docker rm -f --volumes daeaf2f83ef76b798cd89d94be6555c96e300557a1d0c9b05e4c7ed0186b5996 [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-29T19:30:19.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T19:30:19.929Z] [2023-06-29T19:30:19.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:30:20.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T19:30:20.232Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-29T19:30:20.232Z] 5eb5b503b376: Pulling fs layer [2023-06-29T19:30:20.232Z] 5c69ac0246d0: Pulling fs layer [2023-06-29T19:30:20.232Z] ec43610c2a17: Pulling fs layer [2023-06-29T19:30:20.232Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-29T19:30:20.232Z] 33b1e0a273af: Pulling fs layer [2023-06-29T19:30:20.232Z] 5d3b04190fa2: Pulling fs layer [2023-06-29T19:30:20.232Z] 2f39f015ded8: Pulling fs layer [2023-06-29T19:30:20.232Z] 3a2ae6a8a46f: Waiting [2023-06-29T19:30:20.232Z] 33b1e0a273af: Waiting [2023-06-29T19:30:20.232Z] 5c69ac0246d0: Download complete [2023-06-29T19:30:20.232Z] 3a2ae6a8a46f: Download complete [2023-06-29T19:30:20.491Z] 33b1e0a273af: Verifying Checksum [2023-06-29T19:30:20.491Z] 33b1e0a273af: Download complete [2023-06-29T19:30:20.491Z] 5d3b04190fa2: Verifying Checksum [2023-06-29T19:30:20.491Z] 5d3b04190fa2: Download complete [2023-06-29T19:30:20.491Z] ec43610c2a17: Verifying Checksum [2023-06-29T19:30:20.491Z] ec43610c2a17: Download complete [2023-06-29T19:30:20.491Z] 5eb5b503b376: Verifying Checksum [2023-06-29T19:30:20.491Z] 5eb5b503b376: Download complete [2023-06-29T19:30:21.057Z] 2f39f015ded8: Download complete [2023-06-29T19:30:21.623Z] 5eb5b503b376: Pull complete [2023-06-29T19:30:21.881Z] 5c69ac0246d0: Pull complete [2023-06-29T19:30:22.140Z] ec43610c2a17: Pull complete [2023-06-29T19:30:22.140Z] 3a2ae6a8a46f: Pull complete [2023-06-29T19:30:22.397Z] 33b1e0a273af: Pull complete [2023-06-29T19:30:22.397Z] 5d3b04190fa2: Pull complete [2023-06-29T19:30:26.588Z] 2f39f015ded8: Pull complete [2023-06-29T19:30:26.588Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-29T19:30:26.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T19:30:26.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:30:26.684Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-06-29T19:30:26.722Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T19:30:31.553Z] $ docker top ad97b23cd70baa31ae807ff8dca459f3e2e989a4ee0306f62eaa30b4a257d2a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:30:31.934Z] ---> job-cost.sh [2023-06-29T19:30:31.934Z] lf-activate-venv: SKIPPING [2023-06-29T19:30:31.934Z] INFO: No Stack... [2023-06-29T19:30:32.194Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T19:30:35.482Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T19:30:35.771Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-29T19:30:35.771Z] + cut -d, -f6 [Pipeline] lock [2023-06-29T19:30:35.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [2023-06-29T19:30:35.794Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] did not exist. Created. [2023-06-29T19:30:35.794Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T19:30:36.091Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-29T19:30:36.127Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T19:30:36.138Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T19:30:36.159Z] $ docker stop --time=1 ad97b23cd70baa31ae807ff8dca459f3e2e989a4ee0306f62eaa30b4a257d2a8 [2023-06-29T19:30:37.309Z] $ docker rm -f --volumes ad97b23cd70baa31ae807ff8dca459f3e2e989a4ee0306f62eaa30b4a257d2a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T19:30:37.408Z] Failed in branch amd64 [2023-06-29T19:30:45.812Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-187 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-29T19:30:45.825Z] Running in /w/workspace/device-usb-camera/19 [Pipeline] { [Pipeline] checkout [2023-06-29T19:30:45.864Z] Selected Git installation does not exist. Using Default [2023-06-29T19:30:45.864Z] The recommended git tool is: NONE [2023-06-29T19:30:50.900Z] using credential edgex-jenkins-ssh [2023-06-29T19:30:50.915Z] Cloning the remote Git repository [2023-06-29T19:30:50.955Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-29T19:30:51.043Z] > git init /w/workspace/device-usb-camera/19 # timeout=10 [2023-06-29T19:30:51.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-29T19:30:51.175Z] > git --version # timeout=10 [2023-06-29T19:30:51.194Z] > git --version # 'git version 2.25.1' [2023-06-29T19:30:51.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T19:30:51.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T19:30:52.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-29T19:30:52.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T19:30:52.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-29T19:30:52.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-29T19:30:52.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T19:30:52.940Z] > 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-29T19:30:53.531Z] Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit b60069efaff03ec5032551d86ab44005fb8433b0 [2023-06-29T19:30:53.801Z] Merge succeeded, producing b60069efaff03ec5032551d86ab44005fb8433b0 [2023-06-29T19:30:53.802Z] Checking out Revision b60069efaff03ec5032551d86ab44005fb8433b0 (PR-262) [2023-06-29T19:30:54.204Z] Commit message: "feat: update path storage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T19:30:53.547Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T19:30:53.622Z] > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 [2023-06-29T19:30:53.705Z] > git remote # timeout=10 [2023-06-29T19:30:53.722Z] > git config --get remote.origin.url # timeout=10 [2023-06-29T19:30:53.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T19:30:53.752Z] > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [2023-06-29T19:30:53.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-29T19:30:53.808Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T19:30:53.826Z] > git checkout -f b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 [2023-06-29T19:30:55.146Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-29T19:30:55.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-29T19:30:55.146Z] Dload Upload Total Spent Left Speed [2023-06-29T19:30:55.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10469 0 0 78126 0 --:--:-- --:--:-- --:--:-- 77548 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-06-29T19:30:55.813Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-29T19:30:56.141Z] + sudo tee /etc/docker/daemon.new [2023-06-29T19:30:56.141Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-29T19:30:56.141Z] { [2023-06-29T19:30:56.141Z] "registry-mirrors": [ [2023-06-29T19:30:56.141Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-29T19:30:56.141Z] ], [2023-06-29T19:30:56.141Z] "bip": "10.250.0.254/24", [2023-06-29T19:30:56.141Z] "hosts": [ [2023-06-29T19:30:56.141Z] "tcp://0.0.0.0:5555", [2023-06-29T19:30:56.141Z] "unix:///var/run/docker.sock" [2023-06-29T19:30:56.141Z] ], [2023-06-29T19:30:56.141Z] "mtu": 1458, [2023-06-29T19:30:56.141Z] "selinux-enabled": true, [2023-06-29T19:30:56.141Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-29T19:30:56.141Z] } [Pipeline] sh [2023-06-29T19:30:56.467Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-29T19:30:56.808Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T19:31:15.060Z] provisioning config files... [2023-06-29T19:31:15.084Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/19@tmp/config13934843733008398386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:31:15.431Z] ---> docker-login.sh [2023-06-29T19:31:15.431Z] nexus3.edgexfoundry.org:10001 [2023-06-29T19:31:15.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:31:15.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:31:15.971Z] Configure a credential helper to remove this warning. See [2023-06-29T19:31:15.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:31:15.971Z] [2023-06-29T19:31:15.971Z] Login Succeeded [2023-06-29T19:31:15.971Z] nexus3.edgexfoundry.org:10002 [2023-06-29T19:31:16.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:31:16.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:31:16.241Z] Configure a credential helper to remove this warning. See [2023-06-29T19:31:16.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:31:16.241Z] [2023-06-29T19:31:16.241Z] Login Succeeded [2023-06-29T19:31:16.510Z] nexus3.edgexfoundry.org:10003 [2023-06-29T19:31:16.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:31:16.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:31:16.780Z] Configure a credential helper to remove this warning. See [2023-06-29T19:31:16.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:31:16.780Z] [2023-06-29T19:31:16.780Z] Login Succeeded [2023-06-29T19:31:16.780Z] nexus3.edgexfoundry.org:10004 [2023-06-29T19:31:17.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:31:17.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:31:17.057Z] Configure a credential helper to remove this warning. See [2023-06-29T19:31:17.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:31:17.057Z] [2023-06-29T19:31:17.057Z] Login Succeeded [2023-06-29T19:31:17.057Z] docker.io [2023-06-29T19:31:17.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T19:31:17.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T19:31:17.596Z] Configure a credential helper to remove this warning. See [2023-06-29T19:31:17.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T19:31:17.596Z] [2023-06-29T19:31:17.596Z] Login Succeeded [2023-06-29T19:31:17.596Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T19:31:17.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T19:31:17.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T19:31:17.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T19:31:17.884Z] ========================================================= [2023-06-29T19:31:17.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-29T19:31:17.884Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:31:18.217Z] + 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-29T19:31:18.486Z] Sending build context to Docker daemon 1.23MB [2023-06-29T19:31:18.486Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-29T19:31:18.486Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-29T19:31:18.756Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-29T19:31:18.756Z] c41833b44d91: Pulling fs layer [2023-06-29T19:31:18.756Z] ed15518f5707: Pulling fs layer [2023-06-29T19:31:18.756Z] feae8fd75edb: Pulling fs layer [2023-06-29T19:31:18.756Z] 242c74f7c9fa: Pulling fs layer [2023-06-29T19:31:18.756Z] 3cdef696dda3: Pulling fs layer [2023-06-29T19:31:18.756Z] 2ced38df9373: Pulling fs layer [2023-06-29T19:31:18.756Z] 58f1dce35555: Pulling fs layer [2023-06-29T19:31:18.756Z] 2ced38df9373: Waiting [2023-06-29T19:31:18.756Z] 242c74f7c9fa: Waiting [2023-06-29T19:31:18.756Z] 3cdef696dda3: Waiting [2023-06-29T19:31:18.756Z] 58f1dce35555: Waiting [2023-06-29T19:31:18.756Z] ed15518f5707: Verifying Checksum [2023-06-29T19:31:18.756Z] ed15518f5707: Download complete [2023-06-29T19:31:18.756Z] 242c74f7c9fa: Verifying Checksum [2023-06-29T19:31:18.756Z] 242c74f7c9fa: Download complete [2023-06-29T19:31:18.756Z] 3cdef696dda3: Verifying Checksum [2023-06-29T19:31:18.757Z] 3cdef696dda3: Download complete [2023-06-29T19:31:18.757Z] c41833b44d91: Verifying Checksum [2023-06-29T19:31:18.757Z] c41833b44d91: Download complete [2023-06-29T19:31:19.725Z] c41833b44d91: Pull complete [2023-06-29T19:31:19.999Z] 58f1dce35555: Verifying Checksum [2023-06-29T19:31:19.999Z] 58f1dce35555: Download complete [2023-06-29T19:31:20.286Z] ed15518f5707: Pull complete [2023-06-29T19:31:21.255Z] feae8fd75edb: Verifying Checksum [2023-06-29T19:31:21.255Z] feae8fd75edb: Download complete [2023-06-29T19:31:21.255Z] 2ced38df9373: Verifying Checksum [2023-06-29T19:31:21.255Z] 2ced38df9373: Download complete [2023-06-29T19:31:33.603Z] feae8fd75edb: Pull complete [2023-06-29T19:31:33.603Z] 242c74f7c9fa: Pull complete [2023-06-29T19:31:33.603Z] 3cdef696dda3: Pull complete [2023-06-29T19:31:40.259Z] 2ced38df9373: Pull complete [2023-06-29T19:31:41.736Z] 58f1dce35555: Pull complete [2023-06-29T19:31:42.017Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-29T19:31:42.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-29T19:31:42.017Z] ---> fadd8f120f05 [2023-06-29T19:31:42.017Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-29T19:31:43.445Z] ---> Running in bd59b2efb768 [2023-06-29T19:31:43.716Z] Removing intermediate container bd59b2efb768 [2023-06-29T19:31:43.716Z] ---> 10128cc95e38 [2023-06-29T19:31:43.716Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-29T19:31:43.984Z] ---> Running in e3ee9d69d0d5 [2023-06-29T19:31:44.251Z] Removing intermediate container e3ee9d69d0d5 [2023-06-29T19:31:44.251Z] ---> 63ba65d2fa5b [2023-06-29T19:31:44.251Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-29T19:31:44.251Z] ---> Running in 2f22be0df6c9 [2023-06-29T19:31:44.520Z] Removing intermediate container 2f22be0df6c9 [2023-06-29T19:31:44.520Z] ---> 257adb3bb67a [2023-06-29T19:31:44.520Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-29T19:31:44.520Z] ---> Running in f1ff1ce7251d [2023-06-29T19:31:44.787Z] Removing intermediate container f1ff1ce7251d [2023-06-29T19:31:44.787Z] ---> ee7068a788e5 [2023-06-29T19:31:44.787Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-29T19:31:45.058Z] ---> Running in 261ac06e0d15 [2023-06-29T19:31:46.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-29T19:31:46.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-29T19:31:47.559Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-29T19:31:47.559Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-29T19:31:47.559Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-29T19:31:47.559Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-29T19:31:47.559Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-29T19:31:47.559Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-29T19:31:47.559Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-29T19:31:47.828Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-29T19:31:47.828Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-29T19:31:47.828Z] (10/14) Installing kmod-libs (30-r1) [2023-06-29T19:31:47.828Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-29T19:31:47.828Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-29T19:31:47.828Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-29T19:31:47.828Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-29T19:31:47.828Z] Executing busybox-1.35.0-r29.trigger [2023-06-29T19:31:47.828Z] Executing eudev-3.2.11-r4.trigger [2023-06-29T19:31:47.828Z] OK: 271 MiB in 67 packages [2023-06-29T19:31:49.247Z] Removing intermediate container 261ac06e0d15 [2023-06-29T19:31:49.247Z] ---> 9faf16bcc043 [2023-06-29T19:31:49.247Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-29T19:31:49.247Z] ---> Running in 668608f163bd [2023-06-29T19:31:49.515Z] Removing intermediate container 668608f163bd [2023-06-29T19:31:49.515Z] ---> ceb8226b0131 [2023-06-29T19:31:49.515Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-29T19:31:49.785Z] ---> 48be7cf32ed3 [2023-06-29T19:31:49.785Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-29T19:31:50.059Z] ---> Running in 732b4280789b [2023-06-29T19:32:57.941Z] Removing intermediate container 732b4280789b [2023-06-29T19:32:57.941Z] ---> 6c38377f3c33 [2023-06-29T19:32:57.941Z] Step 11/13 : COPY . . [2023-06-29T19:32:57.941Z] ---> 43a930ff3e85 [2023-06-29T19:32:57.941Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-29T19:32:57.941Z] ---> Running in d1fe201e1634 [2023-06-29T19:32:57.941Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-29T19:32:57.941Z] Dload Upload Total Spent Left Speed [2023-06-29T19:32:57.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4257 0 --:--:-- --:--:-- --:--:-- 4265 [2023-06-29T19:32:57.941Z] Removing intermediate container d1fe201e1634 [2023-06-29T19:32:57.941Z] ---> 4d7260cf7033 [2023-06-29T19:32:57.941Z] Step 13/13 : RUN ${MAKE} [2023-06-29T19:32:57.941Z] ---> Running in 70aa585f25d2 [2023-06-29T19:32:57.941Z] noop [2023-06-29T19:32:57.941Z] Removing intermediate container 70aa585f25d2 [2023-06-29T19:32:57.941Z] ---> c40582fd130a [2023-06-29T19:32:57.941Z] Successfully built c40582fd130a [2023-06-29T19:32:57.941Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:32:58.298Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T19:32:58.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:32:58.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-187 does not seem to be running inside a container [2023-06-29T19:32:58.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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-29T19:32:59.741Z] $ docker top c311ce09a1adb500b69bdcff9de5e8b57bbd1e52a21ebbcdb2f06a4af8382e0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T19:33:00.563Z] + go version [2023-06-29T19:33:00.563Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-29T19:33:00.586Z] $ docker stop --time=1 c311ce09a1adb500b69bdcff9de5e8b57bbd1e52a21ebbcdb2f06a4af8382e0e [2023-06-29T19:33:04.433Z] $ docker rm -f --volumes c311ce09a1adb500b69bdcff9de5e8b57bbd1e52a21ebbcdb2f06a4af8382e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:33:04.953Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T19:33:04.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:33:05.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-187 does not seem to be running inside a container [2023-06-29T19:33:05.199Z] $ 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/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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-29T19:33:06.348Z] $ docker top 500fc864429918058ad8e22a474ce691944274aba356e53cfaa46ac2d666424a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T19:33:06.837Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/19 [Pipeline] fileExists [Pipeline] sh [2023-06-29T19:33:07.427Z] + make test [2023-06-29T19:33:07.428Z] go test ./... -coverprofile=coverage.out ./... [2023-06-29T19:33:10.782Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-06-29T19:33:10.782Z] internal/driver/driver_test.go:34:14: expected type, found '{' [2023-06-29T19:33:10.782Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [setup failed] [2023-06-29T19:33:37.459Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-29T19:35:29.082Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-29T19:35:29.082Z] FAIL [2023-06-29T19:35:29.082Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-29T19:35:29.107Z] $ docker stop --time=1 500fc864429918058ad8e22a474ce691944274aba356e53cfaa46ac2d666424a [2023-06-29T19:35:31.928Z] $ docker rm -f --volumes 500fc864429918058ad8e22a474ce691944274aba356e53cfaa46ac2d666424a [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-29T19:35:33.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T19:35:33.171Z] [2023-06-29T19:35:33.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:35:33.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T19:35:33.778Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-29T19:35:33.778Z] 8998bd30e6a1: Pulling fs layer [2023-06-29T19:35:33.778Z] 04944245beec: Pulling fs layer [2023-06-29T19:35:33.778Z] 699f458cf7ca: Pulling fs layer [2023-06-29T19:35:33.778Z] 765212b225bb: Pulling fs layer [2023-06-29T19:35:33.778Z] f23df028b6ca: Pulling fs layer [2023-06-29T19:35:33.778Z] d65c8cfc05b1: Pulling fs layer [2023-06-29T19:35:33.778Z] 2437ff75d9bd: Pulling fs layer [2023-06-29T19:35:33.778Z] 765212b225bb: Waiting [2023-06-29T19:35:33.778Z] d65c8cfc05b1: Waiting [2023-06-29T19:35:33.778Z] f23df028b6ca: Waiting [2023-06-29T19:35:33.778Z] 2437ff75d9bd: Waiting [2023-06-29T19:35:33.778Z] 04944245beec: Verifying Checksum [2023-06-29T19:35:33.778Z] 04944245beec: Download complete [2023-06-29T19:35:33.778Z] 765212b225bb: Verifying Checksum [2023-06-29T19:35:33.778Z] 765212b225bb: Download complete [2023-06-29T19:35:34.045Z] f23df028b6ca: Verifying Checksum [2023-06-29T19:35:34.045Z] f23df028b6ca: Download complete [2023-06-29T19:35:34.045Z] d65c8cfc05b1: Verifying Checksum [2023-06-29T19:35:34.045Z] d65c8cfc05b1: Download complete [2023-06-29T19:35:34.045Z] 699f458cf7ca: Verifying Checksum [2023-06-29T19:35:34.045Z] 699f458cf7ca: Download complete [2023-06-29T19:35:34.319Z] 8998bd30e6a1: Verifying Checksum [2023-06-29T19:35:34.319Z] 8998bd30e6a1: Download complete [2023-06-29T19:35:36.908Z] 2437ff75d9bd: Verifying Checksum [2023-06-29T19:35:36.908Z] 2437ff75d9bd: Download complete [2023-06-29T19:35:39.488Z] 8998bd30e6a1: Pull complete [2023-06-29T19:35:39.759Z] 04944245beec: Pull complete [2023-06-29T19:35:41.188Z] 699f458cf7ca: Pull complete [2023-06-29T19:35:41.456Z] 765212b225bb: Pull complete [2023-06-29T19:35:42.420Z] f23df028b6ca: Pull complete [2023-06-29T19:35:42.687Z] d65c8cfc05b1: Pull complete [2023-06-29T19:36:00.895Z] 2437ff75d9bd: Pull complete [2023-06-29T19:36:00.895Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-29T19:36:00.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T19:36:00.895Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:36:01.087Z] prd-ubuntu20.04-docker-arm64-4c-16g-187 does not seem to be running inside a container [2023-06-29T19:36:01.156Z] $ 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/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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-29T19:36:03.099Z] $ docker top c012e7b48c0018ad3ca5bd5913512d86453360bb1aefb3dd5f54065864104490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:04.019Z] ---> job-cost.sh [2023-06-29T19:36:04.020Z] lf-activate-venv: SKIPPING [2023-06-29T19:36:04.020Z] INFO: No Stack... [2023-06-29T19:36:04.289Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-29T19:36:05.267Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T19:36:05.931Z] + cut -d, -f6 [2023-06-29T19:36:05.931Z] + cat /w/workspace/device-usb-camera/19/archives/cost.csv [Pipeline] lock [2023-06-29T19:36:06.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [2023-06-29T19:36:06.026Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] did not exist. Created. [2023-06-29T19:36:06.027Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T19:36:06.703Z] /w/workspace/device-usb-camera/19@tmp/durable-3d1caae4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-29T19:36:07.361Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-29T19:36:07.385Z] Warning: overwriting stash ‘stack-cost’ [2023-06-29T19:36:07.854Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T19:36:07.860Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-19-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T19:36:07.887Z] $ docker stop --time=1 c012e7b48c0018ad3ca5bd5913512d86453360bb1aefb3dd5f54065864104490 [2023-06-29T19:36:09.453Z] $ docker rm -f --volumes c012e7b48c0018ad3ca5bd5913512d86453360bb1aefb3dd5f54065864104490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T19:36:09.720Z] 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-29T19:36:10.434Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-29T19:36:10.434Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-29T19:36:10.434Z] total 16 [2023-06-29T19:36:10.434Z] drwxr-xr-x 3 root root 4096 Jun 29 19:30 . [2023-06-29T19:36:10.434Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 19:30 .. [2023-06-29T19:36:10.434Z] drwxr-xr-x 2 root root 4096 Jun 29 19:30 cost [2023-06-29T19:36:10.434Z] -rw-r--r-- 1 root root 90 Jun 29 19:30 cost.csv [2023-06-29T19:36:10.434Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-29T19:36:10.434Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-29T19:36:10.434Z] total 16 [2023-06-29T19:36:10.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 19:30 . [2023-06-29T19:36:10.434Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 19:30 .. [2023-06-29T19:36:10.434Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 19:30 cost [2023-06-29T19:36:10.434Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 29 19:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:10.725Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:11.584Z] ---> package-listing.sh [2023-06-29T19:36:11.584Z] ++ facter osfamily [2023-06-29T19:36:11.584Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-29T19:36:11.843Z] + OS_FAMILY=debian [2023-06-29T19:36:11.843Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-29T19:36:11.843Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-29T19:36:11.843Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-29T19:36:11.843Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-29T19:36:11.843Z] + PACKAGES=/tmp/packages_start.txt [2023-06-29T19:36:11.843Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-29T19:36:11.843Z] + PACKAGES=/tmp/packages_end.txt [2023-06-29T19:36:11.843Z] + case "${OS_FAMILY}" in [2023-06-29T19:36:11.843Z] + dpkg -l [2023-06-29T19:36:11.843Z] + grep '^ii' [2023-06-29T19:36:11.843Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-29T19:36:11.843Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-29T19:36:11.843Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-29T19:36:11.843Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-29T19:36:11.843Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-29T19:36:11.843Z] + 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-29T19:36:11.853Z] 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-29T19:36:12.129Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T19:36:12.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T19:36:12.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T19:36:12.761Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-06-29T19:36:12.797Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T19:36:13.016Z] $ docker top c34494ea970df7544f10a54cb2ff81f6cdd8d46aa0516c4c79d62c548af4266d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T19:36:13.351Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-29T19:36:13.637Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-29T19:36:13.923Z] + ls /var/log/sa-host [2023-06-29T19:36:13.923Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T19:36:14.063Z] provisioning config files... [2023-06-29T19:36:14.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config6350934776307306266tmp [Pipeline] { [Pipeline] echo [2023-06-29T19:36:14.089Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:14.371Z] ---> create-netrc.sh [Pipeline] } [2023-06-29T19:36:14.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:14.704Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-29T19:36:14.712Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:14.998Z] ---> sudo-logs.sh [2023-06-29T19:36:14.998Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-29T19:36:15.024Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:15.308Z] ---> job-cost.sh [2023-06-29T19:36:15.308Z] lf-activate-venv: SKIPPING [2023-06-29T19:36:15.308Z] DEBUG: total: 0.2199999988079071 [2023-06-29T19:36:15.308Z] INFO: Retrieving Stack Cost... [2023-06-29T19:36:15.876Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T19:36:16.135Z] INFO: Archiving Costs [Pipeline] echo [2023-06-29T19:36:16.147Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T19:36:16.432Z] ---> logs-deploy.sh [2023-06-29T19:36:16.433Z] lf-activate-venv: SKIPPING [2023-06-29T19:36:16.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/19 [2023-06-29T19:36:16.433Z] INFO: archiving workspace using pattern(s): [2023-06-29T19:36:17.379Z] Archives upload complete. [2023-06-29T19:36:17.640Z] INFO: archiving logs to Nexus