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 d047ebfebda34aae1c24a07cac61fbfd5d78d65d 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-ssh3604643452788184030.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-ssh6596918073521800855.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-ssh7440224410946908527.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-ssh11412146220046521128.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-ssh2297262915899323284.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19260 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 d047ebfebda34aae1c24a07cac61fbfd5d78d65d Merge succeeded, producing d047ebfebda34aae1c24a07cac61fbfd5d78d65d Checking out Revision d047ebfebda34aae1c24a07cac61fbfd5d78d65d (PR-262) > git config core.sparsecheckout # timeout=10 > git checkout -f d047ebfebda34aae1c24a07cac61fbfd5d78d65d # 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 d047ebfebda34aae1c24a07cac61fbfd5d78d65d # timeout=10 Commit message: "reafactor: incorporate panic fixes" > git rev-list --no-walk bde17c69826b3fa20961d2c7a3123323d0d8502e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-26T18:13:45.210Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-26T18:13:45.273Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-26T18:13:45.290Z] ========================================================= [2023-06-26T18:13:45.290Z] EdgeX Global Pipelines Version Info [2023-06-26T18:13:45.290Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:13:46.008Z] ------------------- [2023-06-26T18:13:46.008Z] stable info: [2023-06-26T18:13:46.008Z] ------------------- [2023-06-26T18:13:46.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-26T18:13:46.008Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-26T18:13:46.008Z] Message: update stable to v1.0.250 [2023-06-26T18:13:46.579Z] ------------------- [2023-06-26T18:13:46.579Z] experimental info: [2023-06-26T18:13:46.579Z] ------------------- [2023-06-26T18:13:46.579Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-26T18:13:46.579Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-26T18:13:46.579Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-26T18:13:46.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-26T18:13:46.771Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-26T18:13:46.782Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-26T18:13:46.792Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-26T18:13:46.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-26T18:13:46.810Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-26T18:13:46.818Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-26T18:13:46.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-26T18:13:46.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-26T18:13:46.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-26T18:13:46.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-26T18:13:46.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-26T18:13:46.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-26T18:13:46.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-26T18:13:46.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-26T18:13:46.942Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-26T18:13:46.958Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-26T18:13:46.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-26T18:13:46.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-26T18:13:47.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-26T18:13:47.017Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-26T18:13:47.030Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-26T18:13:47.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-26T18:13:47.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-26T18:13:47.088Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-26T18:13:47.105Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-26T18:13:47.120Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-26T18:13:47.142Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-26T18:13:47.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-26T18:13:47.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-26T18:13:47.202Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d047ebfebda34aae1c24a07cac61fbfd5d78d65d [Pipeline] echo [2023-06-26T18:13:47.218Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d047ebf [Pipeline] echo [2023-06-26T18:13:47.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-26T18:13:47.285Z] provisioning config files... [2023-06-26T18:13:47.300Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config5645857586617456531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:13:47.607Z] ---> docker-login.sh [2023-06-26T18:13:47.607Z] nexus3.edgexfoundry.org:10001 [2023-06-26T18:13:47.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:13:47.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:13:47.867Z] Configure a credential helper to remove this warning. See [2023-06-26T18:13:47.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:13:47.867Z] [2023-06-26T18:13:47.867Z] Login Succeeded [2023-06-26T18:13:47.867Z] nexus3.edgexfoundry.org:10002 [2023-06-26T18:13:47.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:13:48.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:13:48.128Z] Configure a credential helper to remove this warning. See [2023-06-26T18:13:48.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:13:48.128Z] [2023-06-26T18:13:48.128Z] Login Succeeded [2023-06-26T18:13:48.128Z] nexus3.edgexfoundry.org:10003 [2023-06-26T18:13:48.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:13:48.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:13:48.128Z] Configure a credential helper to remove this warning. See [2023-06-26T18:13:48.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:13:48.128Z] [2023-06-26T18:13:48.128Z] Login Succeeded [2023-06-26T18:13:48.128Z] nexus3.edgexfoundry.org:10004 [2023-06-26T18:13:48.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:13:48.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:13:48.128Z] Configure a credential helper to remove this warning. See [2023-06-26T18:13:48.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:13:48.128Z] [2023-06-26T18:13:48.128Z] Login Succeeded [2023-06-26T18:13:48.128Z] docker.io [2023-06-26T18:13:48.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:13:48.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:13:48.389Z] Configure a credential helper to remove this warning. See [2023-06-26T18:13:48.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:13:48.389Z] [2023-06-26T18:13:48.389Z] Login Succeeded [2023-06-26T18:13:48.650Z] ---> docker-login.sh ends [Pipeline] } [2023-06-26T18:13:48.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-26T18:13:49.012Z] + git rev-list -1 --merges d047ebfebda34aae1c24a07cac61fbfd5d78d65d~1..d047ebfebda34aae1c24a07cac61fbfd5d78d65d [Pipeline] echo [2023-06-26T18:13:49.055Z] -----------> git rev-list -1 --merges d047ebfebda34aae1c24a07cac61fbfd5d78d65d~1..d047ebfebda34aae1c24a07cac61fbfd5d78d65d d047ebfebda34aae1c24a07cac61fbfd5d78d65d [false] [Pipeline] sh [2023-06-26T18:13:49.340Z] + git log --format=format:%s -1 d047ebfebda34aae1c24a07cac61fbfd5d78d65d [Pipeline] echo [2023-06-26T18:13:49.354Z] ========================================================= [2023-06-26T18:13:49.354Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-26T18:13:49.354Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-26T18:13:49.666Z] + git log --format=format:%s -1 d047ebfebda34aae1c24a07cac61fbfd5d78d65d [Pipeline] echo [2023-06-26T18:13:49.679Z] [semverPrep] GIT_COMMIT: d047ebfebda34aae1c24a07cac61fbfd5d78d65d, Commit Message: reafactor: incorporate panic fixes [Pipeline] echo [2023-06-26T18:13:49.687Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-26T18:13:50.025Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-26T18:13:50.025Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-26T18:13:50.025Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-26T18:13:50.025Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-26T18:13:50.025Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-26T18:13:50.025Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-26T18:13:50.025Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:13:50.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-26T18:13:50.368Z] [2023-06-26T18:13:50.368Z] 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-26T18:13:50.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-26T18:13:50.672Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-26T18:13:50.672Z] b85a868b505f: Pulling fs layer [2023-06-26T18:13:50.672Z] e2be974225ed: Pulling fs layer [2023-06-26T18:13:50.673Z] 339a4e72a1f5: Pulling fs layer [2023-06-26T18:13:50.673Z] 988bab9f4d93: Pulling fs layer [2023-06-26T18:13:50.673Z] 1469e6f7b9e6: Pulling fs layer [2023-06-26T18:13:50.673Z] eaf3925da568: Pulling fs layer [2023-06-26T18:13:50.673Z] bab4dde63d76: Pulling fs layer [2023-06-26T18:13:50.673Z] bde34c3a00c8: Pulling fs layer [2023-06-26T18:13:50.673Z] b352a97aabf1: Pulling fs layer [2023-06-26T18:13:50.673Z] 4872d77fe225: Pulling fs layer [2023-06-26T18:13:50.673Z] 5851b861e8e6: Pulling fs layer [2023-06-26T18:13:50.673Z] 988bab9f4d93: Waiting [2023-06-26T18:13:50.673Z] bde34c3a00c8: Waiting [2023-06-26T18:13:50.673Z] 4872d77fe225: Waiting [2023-06-26T18:13:50.673Z] 1469e6f7b9e6: Waiting [2023-06-26T18:13:50.673Z] eaf3925da568: Waiting [2023-06-26T18:13:50.673Z] bab4dde63d76: Waiting [2023-06-26T18:13:50.673Z] 5851b861e8e6: Waiting [2023-06-26T18:13:50.673Z] b352a97aabf1: Waiting [2023-06-26T18:13:50.673Z] e2be974225ed: Download complete [2023-06-26T18:13:50.673Z] 988bab9f4d93: Download complete [2023-06-26T18:13:50.932Z] 1469e6f7b9e6: Verifying Checksum [2023-06-26T18:13:50.932Z] 1469e6f7b9e6: Download complete [2023-06-26T18:13:50.932Z] 339a4e72a1f5: Verifying Checksum [2023-06-26T18:13:50.932Z] 339a4e72a1f5: Download complete [2023-06-26T18:13:50.932Z] eaf3925da568: Verifying Checksum [2023-06-26T18:13:50.932Z] eaf3925da568: Download complete [2023-06-26T18:13:50.932Z] bde34c3a00c8: Verifying Checksum [2023-06-26T18:13:50.932Z] bde34c3a00c8: Download complete [2023-06-26T18:13:50.932Z] b352a97aabf1: Verifying Checksum [2023-06-26T18:13:50.932Z] b352a97aabf1: Download complete [2023-06-26T18:13:50.932Z] 4872d77fe225: Verifying Checksum [2023-06-26T18:13:50.932Z] 4872d77fe225: Download complete [2023-06-26T18:13:50.932Z] 5851b861e8e6: Verifying Checksum [2023-06-26T18:13:50.932Z] 5851b861e8e6: Download complete [2023-06-26T18:13:50.932Z] b85a868b505f: Download complete [2023-06-26T18:13:51.190Z] bab4dde63d76: Verifying Checksum [2023-06-26T18:13:51.190Z] bab4dde63d76: Download complete [2023-06-26T18:13:52.127Z] b85a868b505f: Pull complete [2023-06-26T18:13:52.127Z] e2be974225ed: Pull complete [2023-06-26T18:13:52.695Z] 339a4e72a1f5: Pull complete [2023-06-26T18:13:52.695Z] 988bab9f4d93: Pull complete [2023-06-26T18:13:52.954Z] 1469e6f7b9e6: Pull complete [2023-06-26T18:13:52.954Z] eaf3925da568: Pull complete [2023-06-26T18:13:54.862Z] bab4dde63d76: Pull complete [2023-06-26T18:13:54.862Z] bde34c3a00c8: Pull complete [2023-06-26T18:13:54.862Z] b352a97aabf1: Pull complete [2023-06-26T18:13:54.862Z] 4872d77fe225: Pull complete [2023-06-26T18:13:54.862Z] 5851b861e8e6: Pull complete [2023-06-26T18:13:54.862Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-26T18:13:54.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-26T18:13:54.862Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:13:55.002Z] prd-ubuntu20.04-docker-8c-8g-19260 does not seem to be running inside a container [2023-06-26T18:13:55.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-26T18:13:57.351Z] $ docker top fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 -eo pid,comm [2023-06-26T18:13:57.404Z] 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-26T18:13:57.404Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-26T18:13:57.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-26T18:13:57.445Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-26T18:13:57.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-26T18:13:57.552Z] $ docker exec fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 ssh-agent [2023-06-26T18:13:57.651Z] SSH_AUTH_SOCK=/tmp/ssh-x0C2BS9aPEBj/agent.32 [2023-06-26T18:13:57.651Z] SSH_AGENT_PID=38 [2023-06-26T18:13:57.657Z] Running ssh-add (command line suppressed) [2023-06-26T18:13:57.772Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_1929809975791437143.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_1929809975791437143.key) [2023-06-26T18:13:57.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-26T18:13:58.068Z] + git tag --points-at HEAD [Pipeline] } [2023-06-26T18:13:58.085Z] $ docker exec --env ******** --env ******** fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 ssh-agent -k [2023-06-26T18:13:58.182Z] unset SSH_AUTH_SOCK; [2023-06-26T18:13:58.182Z] unset SSH_AGENT_PID; [2023-06-26T18:13:58.183Z] echo Agent pid 38 killed; [2023-06-26T18:13:58.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-26T18:13:58.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-26T18:13:58.215Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-26T18:13:58.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-26T18:13:58.320Z] $ docker exec fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 ssh-agent [2023-06-26T18:13:58.425Z] SSH_AUTH_SOCK=/tmp/ssh-RIIiRQg0DxIb/agent.70 [2023-06-26T18:13:58.425Z] SSH_AGENT_PID=76 [2023-06-26T18:13:58.430Z] Running ssh-add (command line suppressed) [2023-06-26T18:13:58.528Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_13493573039047536212.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_13493573039047536212.key) [2023-06-26T18:13:58.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-26T18:13:58.830Z] + git semver init [2023-06-26T18:13:59.089Z] 2023-06-26 18:13:59,019 [run_init] DEBUG init version:0.0.0 force:False [2023-06-26T18:13:59.089Z] 2023-06-26 18:13:59,020 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-26T18:13:59.089Z] 2023-06-26 18:13:59,020 [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-26T18:13:59.089Z] 2023-06-26 18:13:59,020 [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-26T18:14:00.026Z] 2023-06-26 18:13:59,714 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-26T18:14:00.026Z] 2023-06-26 18:13:59,715 [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-26T18:14:00.027Z] 2023-06-26 18:13:59,715 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-26T18:14:00.027Z] 2023-06-26 18:13:59,719 [execute] INFO git cat-file --batch-check [2023-06-26T18:14:00.027Z] 2023-06-26 18:13:59,719 [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-26T18:14:00.027Z] 2023-06-26 18:13:59,725 [execute] INFO git cat-file --batch [2023-06-26T18:14:00.027Z] 2023-06-26 18:13:59,725 [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-26T18:14:00.027Z] 2023-06-26 18:13:59,730 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-26T18:14:00.027Z] 0.0.0 [Pipeline] } [2023-06-26T18:14:00.039Z] $ docker exec --env ******** --env ******** fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 ssh-agent -k [2023-06-26T18:14:00.136Z] unset SSH_AUTH_SOCK; [2023-06-26T18:14:00.136Z] unset SSH_AGENT_PID; [2023-06-26T18:14:00.136Z] echo Agent pid 76 killed; [2023-06-26T18:14:00.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-26T18:14:00.450Z] + git semver [Pipeline] } [2023-06-26T18:14:00.727Z] $ docker stop --time=1 fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 [2023-06-26T18:14:02.002Z] $ docker rm -f --volumes fc76276621c3f8ed686151cc00105e7010d7ad587773634bf33415c2df1009f2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-26T18:14:02.338Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-26T18:14:02.555Z] Stashed 1 file(s) [Pipeline] echo [2023-06-26T18:14:02.559Z] [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-26T18:14:02.667Z] provisioning config files... [2023-06-26T18:14:02.676Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config12084631554715250102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:14:02.975Z] ---> docker-login.sh [2023-06-26T18:14:02.976Z] nexus3.edgexfoundry.org:10001 [2023-06-26T18:14:02.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:14:02.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:14:02.976Z] Configure a credential helper to remove this warning. See [2023-06-26T18:14:02.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:14:02.976Z] [2023-06-26T18:14:02.976Z] Login Succeeded [2023-06-26T18:14:02.976Z] nexus3.edgexfoundry.org:10002 [2023-06-26T18:14:02.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:14:02.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:14:02.976Z] Configure a credential helper to remove this warning. See [2023-06-26T18:14:02.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:14:02.976Z] [2023-06-26T18:14:02.976Z] Login Succeeded [2023-06-26T18:14:02.976Z] nexus3.edgexfoundry.org:10003 [2023-06-26T18:14:03.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:14:03.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:14:03.235Z] Configure a credential helper to remove this warning. See [2023-06-26T18:14:03.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:14:03.235Z] [2023-06-26T18:14:03.235Z] Login Succeeded [2023-06-26T18:14:03.235Z] nexus3.edgexfoundry.org:10004 [2023-06-26T18:14:03.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:14:03.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:14:03.235Z] Configure a credential helper to remove this warning. See [2023-06-26T18:14:03.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:14:03.235Z] [2023-06-26T18:14:03.235Z] Login Succeeded [2023-06-26T18:14:03.235Z] docker.io [2023-06-26T18:14:03.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:14:03.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:14:03.495Z] Configure a credential helper to remove this warning. See [2023-06-26T18:14:03.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:14:03.495Z] [2023-06-26T18:14:03.495Z] Login Succeeded [2023-06-26T18:14:03.495Z] ---> docker-login.sh ends [Pipeline] } [2023-06-26T18:14:03.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-26T18:14:03.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T18:14:03.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T18:14:03.592Z] ========================================================= [2023-06-26T18:14:03.592Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-26T18:14:03.592Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:14:03.922Z] + 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-26T18:14:03.922Z] Sending build context to Docker daemon 2.212MB [2023-06-26T18:14:03.922Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-26T18:14:03.922Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-26T18:14:03.922Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-26T18:14:03.922Z] f56be85fc22e: Pulling fs layer [2023-06-26T18:14:03.922Z] 85791d961cd3: Pulling fs layer [2023-06-26T18:14:03.922Z] d694b5ae8c79: Pulling fs layer [2023-06-26T18:14:03.922Z] 9f32a84ed3da: Pulling fs layer [2023-06-26T18:14:03.922Z] 4d19c01a9841: Pulling fs layer [2023-06-26T18:14:03.922Z] 9325e15d5711: Pulling fs layer [2023-06-26T18:14:03.922Z] 556b6ee489ea: Pulling fs layer [2023-06-26T18:14:03.922Z] c5a4b2cf53e6: Pulling fs layer [2023-06-26T18:14:03.922Z] 4d19c01a9841: Waiting [2023-06-26T18:14:03.922Z] 9325e15d5711: Waiting [2023-06-26T18:14:03.922Z] 556b6ee489ea: Waiting [2023-06-26T18:14:03.922Z] c5a4b2cf53e6: Waiting [2023-06-26T18:14:03.922Z] 9f32a84ed3da: Waiting [2023-06-26T18:14:03.922Z] 85791d961cd3: Verifying Checksum [2023-06-26T18:14:03.922Z] 85791d961cd3: Download complete [2023-06-26T18:14:03.922Z] 9f32a84ed3da: Download complete [2023-06-26T18:14:03.922Z] 4d19c01a9841: Download complete [2023-06-26T18:14:04.183Z] f56be85fc22e: Verifying Checksum [2023-06-26T18:14:04.183Z] f56be85fc22e: Download complete [2023-06-26T18:14:04.183Z] 9325e15d5711: Verifying Checksum [2023-06-26T18:14:04.183Z] 9325e15d5711: Download complete [2023-06-26T18:14:04.183Z] f56be85fc22e: Pull complete [2023-06-26T18:14:04.442Z] 85791d961cd3: Pull complete [2023-06-26T18:14:04.442Z] c5a4b2cf53e6: Verifying Checksum [2023-06-26T18:14:04.442Z] c5a4b2cf53e6: Download complete [2023-06-26T18:14:04.700Z] d694b5ae8c79: Verifying Checksum [2023-06-26T18:14:04.700Z] d694b5ae8c79: Download complete [2023-06-26T18:14:04.958Z] 556b6ee489ea: Verifying Checksum [2023-06-26T18:14:04.958Z] 556b6ee489ea: Download complete [2023-06-26T18:14:08.243Z] d694b5ae8c79: Pull complete [2023-06-26T18:14:08.243Z] 9f32a84ed3da: Pull complete [2023-06-26T18:14:08.243Z] 4d19c01a9841: Pull complete [2023-06-26T18:14:08.243Z] 9325e15d5711: Pull complete [2023-06-26T18:14:10.784Z] 556b6ee489ea: Pull complete [2023-06-26T18:14:11.371Z] c5a4b2cf53e6: Pull complete [2023-06-26T18:14:11.371Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-26T18:14:11.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-26T18:14:11.371Z] ---> c4be618373d6 [2023-06-26T18:14:11.371Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-26T18:14:15.563Z] ---> Running in b5f14be1858f [2023-06-26T18:14:15.563Z] Removing intermediate container b5f14be1858f [2023-06-26T18:14:15.563Z] ---> c64875453fd8 [2023-06-26T18:14:15.563Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-26T18:14:15.563Z] ---> Running in 14ec9846f79b [2023-06-26T18:14:15.563Z] Removing intermediate container 14ec9846f79b [2023-06-26T18:14:15.563Z] ---> ff4fa0eb0c8c [2023-06-26T18:14:15.563Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-26T18:14:15.563Z] ---> Running in 5df5df6ba5ce [2023-06-26T18:14:15.563Z] Removing intermediate container 5df5df6ba5ce [2023-06-26T18:14:15.563Z] ---> 39151348089b [2023-06-26T18:14:15.563Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-26T18:14:15.563Z] ---> Running in 23bbc0419e60 [2023-06-26T18:14:15.563Z] Removing intermediate container 23bbc0419e60 [2023-06-26T18:14:15.563Z] ---> 266954ec8c9e [2023-06-26T18:14:15.563Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-26T18:14:15.563Z] ---> Running in ba1a5388082e [2023-06-26T18:14:15.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-26T18:14:16.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-26T18:14:16.340Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-26T18:14:16.340Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-26T18:14:16.340Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-26T18:14:16.340Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-26T18:14:16.340Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-26T18:14:16.340Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-26T18:14:16.340Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-26T18:14:16.340Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-26T18:14:16.340Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-26T18:14:16.340Z] (10/14) Installing kmod-libs (30-r1) [2023-06-26T18:14:16.340Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-26T18:14:16.340Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-26T18:14:16.340Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-26T18:14:16.340Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-26T18:14:16.340Z] Executing busybox-1.35.0-r29.trigger [2023-06-26T18:14:16.340Z] Executing eudev-3.2.11-r4.trigger [2023-06-26T18:14:16.340Z] OK: 272 MiB in 67 packages [2023-06-26T18:14:16.910Z] Removing intermediate container ba1a5388082e [2023-06-26T18:14:16.910Z] ---> 1c3b1e9811e9 [2023-06-26T18:14:16.910Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-26T18:14:16.910Z] ---> Running in 0320dba5d52e [2023-06-26T18:14:17.169Z] Removing intermediate container 0320dba5d52e [2023-06-26T18:14:17.169Z] ---> c0593920656b [2023-06-26T18:14:17.169Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-26T18:14:17.169Z] ---> de2e77c8c6a1 [2023-06-26T18:14:17.169Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-26T18:14:17.169Z] ---> Running in a90ea1eb8ca1 [2023-06-26T18:14:17.636Z] Still waiting to schedule task [2023-06-26T18:14:17.637Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-26T18:14:35.250Z] Removing intermediate container a90ea1eb8ca1 [2023-06-26T18:14:35.250Z] ---> 468a1e3c82e5 [2023-06-26T18:14:35.250Z] Step 11/13 : COPY . . [2023-06-26T18:14:35.250Z] ---> b31f5bbc4e7c [2023-06-26T18:14:35.250Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-26T18:14:35.250Z] ---> Running in 2f46fc344b70 [2023-06-26T18:14:35.509Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T18:14:35.509Z] Dload Upload Total Spent Left Speed [2023-06-26T18:14:35.768Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0   8513      0 --:--:-- --:--:-- --:--:--  8564 [2023-06-26T18:14:36.026Z] Removing intermediate container 2f46fc344b70 [2023-06-26T18:14:36.026Z] ---> 40647abcab3a [2023-06-26T18:14:36.026Z] Step 13/13 : RUN ${MAKE} [2023-06-26T18:14:36.026Z] ---> Running in f9524e8a7fd0 [2023-06-26T18:14:36.285Z] noop [2023-06-26T18:14:36.543Z] Removing intermediate container f9524e8a7fd0 [2023-06-26T18:14:36.543Z] ---> 8b989b6a75e9 [2023-06-26T18:14:36.543Z] Successfully built 8b989b6a75e9 [2023-06-26T18:14:36.543Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:14:36.866Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-26T18:14:36.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:14:36.943Z] prd-ubuntu20.04-docker-8c-8g-19260 does not seem to be running inside a container [2023-06-26T18:14:36.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-26T18:14:37.286Z] $ docker top a392c405ea17cf0f883038306d3129f444d53f9ecf250291eb9afab813c3e5f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T18:14:37.618Z] + go version [2023-06-26T18:14:37.618Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-26T18:14:37.629Z] $ docker stop --time=1 a392c405ea17cf0f883038306d3129f444d53f9ecf250291eb9afab813c3e5f0 [2023-06-26T18:14:38.886Z] $ docker rm -f --volumes a392c405ea17cf0f883038306d3129f444d53f9ecf250291eb9afab813c3e5f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:14:39.271Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-26T18:14:39.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:14:39.354Z] prd-ubuntu20.04-docker-8c-8g-19260 does not seem to be running inside a container [2023-06-26T18:14:39.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-26T18:14:39.690Z] $ docker top 85a8aea5970388e61fe9f8343cd41f99ac53248f944a2679ca4d93aae5cc95f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T18:14:40.030Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-26T18:14:40.328Z] + make test [2023-06-26T18:14:40.328Z] go test ./... -coverprofile=coverage.out ./... [2023-06-26T18:14:44.512Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-26T18:14:54.492Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-26T18:14:55.080Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.044s coverage: 3.6% of statements [2023-06-26T18:15:01.640Z] go vet ./... [2023-06-26T18:15:04.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-26T18:15:04.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-26T18:15:04.918Z] ./bin/test-attribution-txt.sh [2023-06-26T18:15:04.918Z] An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add [2023-06-26T18:15:04.918Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2023-06-26T18:15:04.918Z] An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [2023-06-26T18:15:04.918Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2023-06-26T18:15:04.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-26T18:15:04.949Z] $ docker stop --time=1 85a8aea5970388e61fe9f8343cd41f99ac53248f944a2679ca4d93aae5cc95f0 [2023-06-26T18:15:07.838Z] $ docker rm -f --volumes 85a8aea5970388e61fe9f8343cd41f99ac53248f944a2679ca4d93aae5cc95f0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-26T18:15:08.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-26T18:15:08.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-26T18:15:08.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-26T18:15:09.170Z] + ls -al . [2023-06-26T18:15:09.170Z] total 200 [2023-06-26T18:15:09.170Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 18:14 . [2023-06-26T18:15:09.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:13 .. [2023-06-26T18:15:09.170Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 18:14 .git [2023-06-26T18:15:09.170Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 18:13 .github [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 26 18:13 .gitignore [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 26 18:13 .golangci.yml [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 26 18:13 .hadolint.yml [2023-06-26T18:15:09.170Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 18:13 .semver [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 9665 Jun 26 18:13 Attribution.txt [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 26 18:13 CHANGELOG.md [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 26 18:13 Dockerfile [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 26 18:13 GOVERNANCE.md [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 26 18:13 Jenkinsfile [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 26 18:13 LICENSE [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 26 18:13 Makefile [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 26 18:13 OWNERS.md [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 26 18:13 README.md [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 18:14 VERSION [2023-06-26T18:15:09.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 18:13 bin [2023-06-26T18:15:09.170Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 18:13 cmd [2023-06-26T18:15:09.170Z] -rw-r--r-- 1 jenkins jenkins 37610 Jun 26 18:14 coverage.out [2023-06-26T18:15:09.170Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 26 18:13 docker-entrypoint.sh [2023-06-26T18:15:09.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 18:13 docs [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 3541 Jun 26 18:13 go.mod [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 32704 Jun 26 18:13 go.sum [2023-06-26T18:15:09.170Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 18:13 internal [2023-06-26T18:15:09.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:13 snap [2023-06-26T18:15:09.170Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 26 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:15:09.473Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d047ebfebda34aae1c24a07cac61fbfd5d78d65d --label arch=amd64 --label version=0.0.0 . [2023-06-26T18:15:09.473Z] Sending build context to Docker daemon 2.251MB [2023-06-26T18:15:09.473Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-26T18:15:09.473Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-26T18:15:09.473Z] ---> 8b989b6a75e9 [2023-06-26T18:15:09.473Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-26T18:15:09.732Z] ---> Running in 0903913c698b [2023-06-26T18:15:09.732Z] Removing intermediate container 0903913c698b [2023-06-26T18:15:09.732Z] ---> 24d2d2b2015d [2023-06-26T18:15:09.732Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-26T18:15:09.732Z] ---> Running in 890ea4fb79b7 [2023-06-26T18:15:09.732Z] Removing intermediate container 890ea4fb79b7 [2023-06-26T18:15:09.732Z] ---> 93e40f730b4c [2023-06-26T18:15:09.732Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-26T18:15:09.990Z] ---> Running in 9c17b0969ab4 [2023-06-26T18:15:09.990Z] Removing intermediate container 9c17b0969ab4 [2023-06-26T18:15:09.990Z] ---> 8fc8da2886b1 [2023-06-26T18:15:09.990Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-26T18:15:09.990Z] ---> Running in b2c6575df365 [2023-06-26T18:15:09.990Z] Removing intermediate container b2c6575df365 [2023-06-26T18:15:09.990Z] ---> 164c942fcda1 [2023-06-26T18:15:09.990Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-26T18:15:09.990Z] ---> Running in 3c082293fe59 [2023-06-26T18:15:10.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-26T18:15:10.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-26T18:15:10.816Z] OK: 272 MiB in 67 packages [2023-06-26T18:15:11.074Z] Removing intermediate container 3c082293fe59 [2023-06-26T18:15:11.074Z] ---> c9ebbc055287 [2023-06-26T18:15:11.074Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-26T18:15:11.074Z] ---> Running in f48cd613b200 [2023-06-26T18:15:11.332Z] Removing intermediate container f48cd613b200 [2023-06-26T18:15:11.332Z] ---> dec28056bd54 [2023-06-26T18:15:11.332Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-26T18:15:11.332Z] ---> a94b958d5a40 [2023-06-26T18:15:11.332Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-26T18:15:11.332Z] ---> Running in 1238ebc561ee [2023-06-26T18:15:12.286Z] Removing intermediate container 1238ebc561ee [2023-06-26T18:15:12.286Z] ---> 3ecb4ad3f275 [2023-06-26T18:15:12.286Z] Step 11/36 : COPY . . [2023-06-26T18:15:12.544Z] ---> 74e2b9b02a8d [2023-06-26T18:15:12.544Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-26T18:15:12.544Z] ---> Running in cb4839fe6d4a [2023-06-26T18:15:12.803Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T18:15:12.803Z] Dload Upload Total Spent Left Speed [2023-06-26T18:15:12.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20645 0 --:--:-- --:--:-- --:--:-- 20823 [2023-06-26T18:15:13.061Z] Removing intermediate container cb4839fe6d4a [2023-06-26T18:15:13.061Z] ---> 6a2ef61de811 [2023-06-26T18:15:13.061Z] Step 13/36 : RUN ${MAKE} [2023-06-26T18:15:13.061Z] ---> Running in 08c1635cd195 [2023-06-26T18:15:13.318Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-06-26T18:15:35.243Z] Removing intermediate container 08c1635cd195 [2023-06-26T18:15:35.243Z] ---> f1de250d5f91 [2023-06-26T18:15:35.243Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-26T18:15:35.243Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-26T18:15:35.243Z] 4acc49c71d14: Pulling fs layer [2023-06-26T18:15:35.243Z] 4acc49c71d14: Verifying Checksum [2023-06-26T18:15:35.243Z] 4acc49c71d14: Download complete [2023-06-26T18:15:35.243Z] 4acc49c71d14: Pull complete [2023-06-26T18:15:35.243Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-26T18:15:35.243Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-26T18:15:35.243Z] ---> 01a2bd3e5fff [2023-06-26T18:15:35.243Z] Step 15/36 : FROM alpine:3.17 [2023-06-26T18:15:35.503Z] 3.17: Pulling from library/alpine [2023-06-26T18:15:35.503Z] 4db1b89c0bd1: Pulling fs layer [2023-06-26T18:15:35.762Z] 4db1b89c0bd1: Download complete [2023-06-26T18:15:36.037Z] 4db1b89c0bd1: Pull complete [2023-06-26T18:15:36.037Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-26T18:15:36.037Z] Status: Downloaded newer image for alpine:3.17 [2023-06-26T18:15:36.037Z] ---> 1f73a9d63274 [2023-06-26T18:15:36.037Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-26T18:15:36.296Z] ---> Running in 2e62614f11c0 [2023-06-26T18:15:36.296Z] Removing intermediate container 2e62614f11c0 [2023-06-26T18:15:36.296Z] ---> 03d0ab771597 [2023-06-26T18:15:36.296Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-26T18:15:36.296Z] ---> Running in 52c56476ea00 [2023-06-26T18:15:36.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-26T18:15:36.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-26T18:15:37.071Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-06-26T18:15:37.071Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-06-26T18:15:37.071Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-06-26T18:15:37.071Z] (4/86) Installing libxau (1.0.10-r0) [2023-06-26T18:15:37.071Z] (5/86) Installing libmd (1.0.4-r0) [2023-06-26T18:15:37.071Z] (6/86) Installing libbsd (0.11.7-r0) [2023-06-26T18:15:37.071Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-06-26T18:15:37.071Z] (8/86) Installing libxcb (1.15-r0) [2023-06-26T18:15:37.071Z] (9/86) Installing libx11 (1.8.4-r1) [2023-06-26T18:15:37.071Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-06-26T18:15:37.332Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-06-26T18:15:37.332Z] (12/86) Installing libexpat (2.5.0-r0) [2023-06-26T18:15:37.332Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-06-26T18:15:37.332Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-06-26T18:15:37.332Z] (15/86) Installing libpng (1.6.38-r0) [2023-06-26T18:15:37.332Z] (16/86) Installing freetype (2.12.1-r0) [2023-06-26T18:15:37.332Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-06-26T18:15:37.332Z] (18/86) Installing fribidi (1.0.12-r0) [2023-06-26T18:15:37.332Z] (19/86) Installing libffi (3.4.4-r0) [2023-06-26T18:15:37.332Z] (20/86) Installing libintl (0.21.1-r1) [2023-06-26T18:15:37.332Z] (21/86) Installing libblkid (2.38.1-r1) [2023-06-26T18:15:37.332Z] (22/86) Installing libmount (2.38.1-r1) [2023-06-26T18:15:37.332Z] (23/86) Installing pcre2 (10.42-r0) [2023-06-26T18:15:37.332Z] (24/86) Installing glib (2.74.7-r0) [2023-06-26T18:15:37.332Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-06-26T18:15:37.332Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-06-26T18:15:37.332Z] (27/86) Installing libass (0.16.0-r1) [2023-06-26T18:15:37.332Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-06-26T18:15:37.332Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-06-26T18:15:37.332Z] (30/86) Installing libpciaccess (0.17-r0) [2023-06-26T18:15:37.332Z] (31/86) Installing libdrm (2.4.114-r0) [2023-06-26T18:15:37.591Z] (32/86) Installing gmp (6.2.1-r2) [2023-06-26T18:15:37.591Z] (33/86) Installing nettle (3.8.1-r0) [2023-06-26T18:15:37.591Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-06-26T18:15:37.591Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-06-26T18:15:37.591Z] (36/86) Installing libunistring (1.1-r0) [2023-06-26T18:15:37.591Z] (37/86) Installing gnutls (3.7.8-r3) [2023-06-26T18:15:37.591Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-26T18:15:37.591Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-26T18:15:37.591Z] (40/86) Installing lame (3.100-r2) [2023-06-26T18:15:37.591Z] (41/86) Installing opus (1.3.1-r1) [2023-06-26T18:15:37.591Z] (42/86) Installing libasyncns (0.8-r1) [2023-06-26T18:15:37.591Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-06-26T18:15:37.591Z] (44/86) Installing libltdl (2.4.7-r1) [2023-06-26T18:15:37.591Z] (45/86) Installing orc (0.4.33-r0) [2023-06-26T18:15:37.591Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-06-26T18:15:37.591Z] (47/86) Installing libogg (1.3.5-r2) [2023-06-26T18:15:37.591Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-26T18:15:37.591Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-06-26T18:15:37.591Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-06-26T18:15:37.591Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-06-26T18:15:37.591Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-06-26T18:15:37.591Z] (53/86) Installing soxr (0.1.3-r3) [2023-06-26T18:15:37.591Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-06-26T18:15:37.591Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-06-26T18:15:37.591Z] (56/86) Installing libpulse (16.1-r6) [2023-06-26T18:15:37.591Z] (57/86) Installing cjson (1.7.15-r3) [2023-06-26T18:15:37.850Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-06-26T18:15:37.850Z] (59/86) Installing librist (0.2.7-r0) [2023-06-26T18:15:37.850Z] (60/86) Installing libsrt (1.5.1-r0) [2023-06-26T18:15:37.850Z] (61/86) Installing libssh (0.10.5-r0) [2023-06-26T18:15:37.850Z] (62/86) Installing libtheora (1.1.1-r16) [2023-06-26T18:15:37.850Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-06-26T18:15:37.850Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-06-26T18:15:37.850Z] (65/86) Installing libxext (1.3.5-r0) [2023-06-26T18:15:37.850Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-06-26T18:15:37.850Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-06-26T18:15:37.850Z] (68/86) Installing libva (2.16.0-r0) [2023-06-26T18:15:37.850Z] (69/86) Installing libvdpau (1.5-r0) [2023-06-26T18:15:37.850Z] (70/86) Installing vidstab (1.1.0-r2) [2023-06-26T18:15:37.850Z] (71/86) Installing libvpx (1.12.0-r1) [2023-06-26T18:15:37.850Z] (72/86) Installing libwebp (1.2.4-r2) [2023-06-26T18:15:37.850Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-06-26T18:15:37.850Z] (74/86) Installing numactl (2.0.16-r1) [2023-06-26T18:15:37.850Z] (75/86) Installing x265-libs (3.5-r3) [2023-06-26T18:15:38.109Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-06-26T18:15:38.109Z] (77/86) Installing libsodium (1.0.18-r2) [2023-06-26T18:15:38.109Z] (78/86) Installing libzmq (4.3.4-r1) [2023-06-26T18:15:38.109Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-06-26T18:15:38.109Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-06-26T18:15:38.109Z] (81/86) Installing udev-init-scripts (35-r1) [2023-06-26T18:15:38.109Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-06-26T18:15:38.109Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-06-26T18:15:38.109Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-06-26T18:15:38.109Z] (85/86) Installing kmod-libs (30-r1) [2023-06-26T18:15:38.109Z] (86/86) Installing eudev (3.2.11-r4) [2023-06-26T18:15:38.109Z] Executing busybox-1.35.0-r29.trigger [2023-06-26T18:15:38.109Z] Executing eudev-3.2.11-r4.trigger [2023-06-26T18:15:38.109Z] OK: 112 MiB in 101 packages [2023-06-26T18:15:40.640Z] Removing intermediate container 52c56476ea00 [2023-06-26T18:15:40.640Z] ---> ddb093628a94 [2023-06-26T18:15:40.640Z] Step 18/36 : WORKDIR / [2023-06-26T18:15:40.640Z] ---> Running in 037afe9f2740 [2023-06-26T18:15:40.899Z] Removing intermediate container 037afe9f2740 [2023-06-26T18:15:40.899Z] ---> 0ad0a16008f7 [2023-06-26T18:15:40.899Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-26T18:15:41.465Z] ---> 210953499c5e [2023-06-26T18:15:41.465Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-26T18:15:41.465Z] ---> 9c90c563a6ba [2023-06-26T18:15:41.465Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-26T18:15:41.722Z] ---> c2fb7cb97d42 [2023-06-26T18:15:41.722Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-26T18:15:41.722Z] ---> 084a4891c5b1 [2023-06-26T18:15:41.722Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-26T18:15:41.981Z] ---> 2b534ed9f05c [2023-06-26T18:15:41.981Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-26T18:15:41.981Z] ---> 89e0cc18cc7d [2023-06-26T18:15:41.981Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-26T18:15:42.916Z] ---> c009f4f3bcf2 [2023-06-26T18:15:42.916Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-26T18:15:42.916Z] ---> Running in d6984c252acb [2023-06-26T18:15:43.485Z] Removing intermediate container d6984c252acb [2023-06-26T18:15:43.485Z] ---> 036a15c00882 [2023-06-26T18:15:43.485Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-26T18:15:43.485Z] ---> Running in 6675e0b7d7c0 [2023-06-26T18:15:43.744Z] Removing intermediate container 6675e0b7d7c0 [2023-06-26T18:15:43.744Z] ---> 02f64ac496e8 [2023-06-26T18:15:43.744Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-26T18:15:44.002Z] ---> Running in d8ca9716d241 [2023-06-26T18:15:44.569Z] Removing intermediate container d8ca9716d241 [2023-06-26T18:15:44.569Z] ---> b69a44a34bb1 [2023-06-26T18:15:44.569Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-26T18:15:44.569Z] ---> Running in d6786debbded [2023-06-26T18:15:45.135Z] Removing intermediate container d6786debbded [2023-06-26T18:15:45.135Z] ---> 8f902e9dad49 [2023-06-26T18:15:45.135Z] Step 30/36 : EXPOSE 59983 [2023-06-26T18:15:45.135Z] ---> Running in 5aff39fb289f [2023-06-26T18:15:45.135Z] Removing intermediate container 5aff39fb289f [2023-06-26T18:15:45.135Z] ---> a8028f07ffde [2023-06-26T18:15:45.135Z] Step 31/36 : EXPOSE 8554 [2023-06-26T18:15:45.135Z] ---> Running in 0263dd0aa16b [2023-06-26T18:15:45.135Z] Removing intermediate container 0263dd0aa16b [2023-06-26T18:15:45.135Z] ---> a02b5ae0ac1b [2023-06-26T18:15:45.135Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-26T18:15:45.135Z] ---> Running in 1f9f6e35c3c2 [2023-06-26T18:15:45.392Z] Removing intermediate container 1f9f6e35c3c2 [2023-06-26T18:15:45.392Z] ---> 6c6535dc2929 [2023-06-26T18:15:45.392Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-26T18:15:45.392Z] ---> Running in d65f06d6341b [2023-06-26T18:15:45.392Z] Removing intermediate container d65f06d6341b [2023-06-26T18:15:45.392Z] ---> a8ae69cd1681 [2023-06-26T18:15:45.392Z] Step 34/36 : LABEL arch=amd64 [2023-06-26T18:15:45.392Z] ---> Running in 01f5732d1b82 [2023-06-26T18:15:45.392Z] Removing intermediate container 01f5732d1b82 [2023-06-26T18:15:45.392Z] ---> b7e6414bd038 [2023-06-26T18:15:45.392Z] Step 35/36 : LABEL git_sha=d047ebfebda34aae1c24a07cac61fbfd5d78d65d [2023-06-26T18:15:45.392Z] ---> Running in 9fb44965eab8 [2023-06-26T18:15:45.650Z] Removing intermediate container 9fb44965eab8 [2023-06-26T18:15:45.650Z] ---> bec88e612a9b [2023-06-26T18:15:45.650Z] Step 36/36 : LABEL version=0.0.0 [2023-06-26T18:15:45.650Z] ---> Running in 194a374c4331 [2023-06-26T18:15:45.650Z] Removing intermediate container 194a374c4331 [2023-06-26T18:15:45.650Z] ---> 33dd3d525978 [2023-06-26T18:15:45.650Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-26T18:15:45.650Z] Successfully built 33dd3d525978 [2023-06-26T18:15:45.650Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:15:46.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T18:15:46.102Z] [2023-06-26T18:15:46.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:15:46.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T18:15:46.395Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-26T18:15:46.395Z] 5eb5b503b376: Pulling fs layer [2023-06-26T18:15:46.395Z] 5c69ac0246d0: Pulling fs layer [2023-06-26T18:15:46.395Z] ec43610c2a17: Pulling fs layer [2023-06-26T18:15:46.395Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-26T18:15:46.395Z] 33b1e0a273af: Pulling fs layer [2023-06-26T18:15:46.395Z] 5d3b04190fa2: Pulling fs layer [2023-06-26T18:15:46.395Z] 2f39f015ded8: Pulling fs layer [2023-06-26T18:15:46.395Z] 5d3b04190fa2: Waiting [2023-06-26T18:15:46.395Z] 3a2ae6a8a46f: Waiting [2023-06-26T18:15:46.395Z] 2f39f015ded8: Waiting [2023-06-26T18:15:46.395Z] 33b1e0a273af: Waiting [2023-06-26T18:15:46.395Z] 5c69ac0246d0: Verifying Checksum [2023-06-26T18:15:46.395Z] 5c69ac0246d0: Download complete [2023-06-26T18:15:46.395Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-26T18:15:46.395Z] 3a2ae6a8a46f: Download complete [2023-06-26T18:15:46.395Z] 33b1e0a273af: Verifying Checksum [2023-06-26T18:15:46.395Z] 33b1e0a273af: Download complete [2023-06-26T18:15:46.395Z] 5d3b04190fa2: Verifying Checksum [2023-06-26T18:15:46.395Z] 5d3b04190fa2: Download complete [2023-06-26T18:15:46.395Z] ec43610c2a17: Verifying Checksum [2023-06-26T18:15:46.395Z] ec43610c2a17: Download complete [2023-06-26T18:15:46.654Z] 5eb5b503b376: Verifying Checksum [2023-06-26T18:15:46.654Z] 5eb5b503b376: Download complete [2023-06-26T18:15:47.219Z] 2f39f015ded8: Download complete [2023-06-26T18:15:47.784Z] 5eb5b503b376: Pull complete [2023-06-26T18:15:47.784Z] 5c69ac0246d0: Pull complete [2023-06-26T18:15:49.798Z] ec43610c2a17: Pull complete [2023-06-26T18:15:49.798Z] 3a2ae6a8a46f: Pull complete [2023-06-26T18:15:49.798Z] 33b1e0a273af: Pull complete [2023-06-26T18:15:49.798Z] 5d3b04190fa2: Pull complete [2023-06-26T18:15:53.984Z] 2f39f015ded8: Pull complete [2023-06-26T18:15:53.984Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-26T18:15:53.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T18:15:53.984Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:15:54.061Z] prd-ubuntu20.04-docker-8c-8g-19260 does not seem to be running inside a container [2023-06-26T18:15:54.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-26T18:15:57.328Z] $ docker top 45f5e0a96632b1540e1f3aa410ce6920304667c5ed7da481deeab923800b5cfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:15:57.939Z] ---> job-cost.sh [2023-06-26T18:15:57.939Z] lf-activate-venv: SKIPPING [2023-06-26T18:15:57.939Z] INFO: No Stack... [2023-06-26T18:15:57.939Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-26T18:15:59.727Z] INFO: Archiving Costs [Pipeline] sh [2023-06-26T18:16:00.019Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-26T18:16:00.019Z] + cut -d, -f6 [Pipeline] lock [2023-06-26T18:16:00.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] [2023-06-26T18:16:00.039Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] did not exist. Created. [2023-06-26T18:16:00.040Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-26T18:16:01.978Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-26T18:16:02.009Z] Stashed 1 file(s) [Pipeline] } [2023-06-26T18:16:02.017Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-26T18:16:02.043Z] $ docker stop --time=1 45f5e0a96632b1540e1f3aa410ce6920304667c5ed7da481deeab923800b5cfd [2023-06-26T18:16:03.780Z] $ docker rm -f --volumes 45f5e0a96632b1540e1f3aa410ce6920304667c5ed7da481deeab923800b5cfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-26T18:17:08.116Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19261 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-26T18:17:08.129Z] Running in /w/workspace/device-usb-camera/7 [Pipeline] { [Pipeline] checkout [2023-06-26T18:17:08.193Z] Selected Git installation does not exist. Using Default [2023-06-26T18:17:08.193Z] The recommended git tool is: NONE [2023-06-26T18:17:13.063Z] using credential edgex-jenkins-ssh [2023-06-26T18:17:13.078Z] Cloning the remote Git repository [2023-06-26T18:17:13.123Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-26T18:17:13.222Z] > git init /w/workspace/device-usb-camera/7 # timeout=10 [2023-06-26T18:17:13.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-26T18:17:13.371Z] > git --version # timeout=10 [2023-06-26T18:17:13.389Z] > git --version # 'git version 2.25.1' [2023-06-26T18:17:13.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-26T18:17:13.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-26T18:17:14.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-26T18:17:14.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-26T18:17:15.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-26T18:17:15.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-26T18:17:15.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-26T18:17:15.180Z] > 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-26T18:17:15.804Z] Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit d047ebfebda34aae1c24a07cac61fbfd5d78d65d [2023-06-26T18:17:16.073Z] Merge succeeded, producing d047ebfebda34aae1c24a07cac61fbfd5d78d65d [2023-06-26T18:17:16.074Z] Checking out Revision d047ebfebda34aae1c24a07cac61fbfd5d78d65d (PR-262) [2023-06-26T18:17:15.823Z] > git config core.sparsecheckout # timeout=10 [2023-06-26T18:17:15.889Z] > git checkout -f d047ebfebda34aae1c24a07cac61fbfd5d78d65d # timeout=10 [2023-06-26T18:17:15.971Z] > git remote # timeout=10 [2023-06-26T18:17:15.990Z] > git config --get remote.origin.url # timeout=10 [2023-06-26T18:17:16.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-26T18:17:16.026Z] > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [2023-06-26T18:17:16.052Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-26T18:17:16.081Z] > git config core.sparsecheckout # timeout=10 [2023-06-26T18:17:16.096Z] > git checkout -f d047ebfebda34aae1c24a07cac61fbfd5d78d65d # timeout=10 [2023-06-26T18:17:19.541Z] Commit message: "reafactor: incorporate panic fixes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-26T18:17:20.447Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-26T18:17:20.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T18:17:20.447Z] Dload Upload Total Spent Left Speed [2023-06-26T18:17:20.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-06-26T18:17:21.186Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-26T18:17:21.526Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-26T18:17:21.526Z] + sudo tee /etc/docker/daemon.new [2023-06-26T18:17:21.526Z] { [2023-06-26T18:17:21.526Z] "registry-mirrors": [ [2023-06-26T18:17:21.526Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-26T18:17:21.526Z] ], [2023-06-26T18:17:21.526Z] "bip": "10.250.0.254/24", [2023-06-26T18:17:21.526Z] "hosts": [ [2023-06-26T18:17:21.526Z] "tcp://0.0.0.0:5555", [2023-06-26T18:17:21.526Z] "unix:///var/run/docker.sock" [2023-06-26T18:17:21.526Z] ], [2023-06-26T18:17:21.526Z] "mtu": 1458, [2023-06-26T18:17:21.526Z] "selinux-enabled": true, [2023-06-26T18:17:21.526Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-26T18:17:21.526Z] } [Pipeline] sh [2023-06-26T18:17:21.855Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-26T18:17:22.181Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-26T18:17:40.442Z] provisioning config files... [2023-06-26T18:17:40.465Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/7@tmp/config1685470512844380501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:17:40.813Z] ---> docker-login.sh [2023-06-26T18:17:40.813Z] nexus3.edgexfoundry.org:10001 [2023-06-26T18:17:41.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:17:41.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:17:41.353Z] Configure a credential helper to remove this warning. See [2023-06-26T18:17:41.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:17:41.353Z] [2023-06-26T18:17:41.353Z] Login Succeeded [2023-06-26T18:17:41.353Z] nexus3.edgexfoundry.org:10002 [2023-06-26T18:17:41.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:17:41.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:17:41.889Z] Configure a credential helper to remove this warning. See [2023-06-26T18:17:41.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:17:41.889Z] [2023-06-26T18:17:41.889Z] Login Succeeded [2023-06-26T18:17:41.889Z] nexus3.edgexfoundry.org:10003 [2023-06-26T18:17:41.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:17:42.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:17:42.160Z] Configure a credential helper to remove this warning. See [2023-06-26T18:17:42.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:17:42.160Z] [2023-06-26T18:17:42.160Z] Login Succeeded [2023-06-26T18:17:42.160Z] nexus3.edgexfoundry.org:10004 [2023-06-26T18:17:42.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:17:42.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:17:42.430Z] Configure a credential helper to remove this warning. See [2023-06-26T18:17:42.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:17:42.430Z] [2023-06-26T18:17:42.430Z] Login Succeeded [2023-06-26T18:17:42.430Z] docker.io [2023-06-26T18:17:42.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T18:17:42.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T18:17:42.970Z] Configure a credential helper to remove this warning. See [2023-06-26T18:17:42.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T18:17:42.970Z] [2023-06-26T18:17:42.970Z] Login Succeeded [2023-06-26T18:17:42.970Z] ---> docker-login.sh ends [Pipeline] } [2023-06-26T18:17:42.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-26T18:17:43.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T18:17:43.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T18:17:43.248Z] ========================================================= [2023-06-26T18:17:43.248Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-26T18:17:43.248Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:17:43.600Z] + 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-26T18:17:43.872Z] Sending build context to Docker daemon 1.412MB [2023-06-26T18:17:43.872Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-26T18:17:43.872Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-26T18:17:46.722Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-26T18:17:46.722Z] c41833b44d91: Pulling fs layer [2023-06-26T18:17:46.722Z] ed15518f5707: Pulling fs layer [2023-06-26T18:17:46.722Z] feae8fd75edb: Pulling fs layer [2023-06-26T18:17:46.722Z] 242c74f7c9fa: Pulling fs layer [2023-06-26T18:17:46.722Z] 3cdef696dda3: Pulling fs layer [2023-06-26T18:17:46.722Z] 2ced38df9373: Pulling fs layer [2023-06-26T18:17:46.722Z] 58f1dce35555: Pulling fs layer [2023-06-26T18:17:46.722Z] 3cdef696dda3: Waiting [2023-06-26T18:17:46.722Z] 2ced38df9373: Waiting [2023-06-26T18:17:46.722Z] 58f1dce35555: Waiting [2023-06-26T18:17:46.722Z] 242c74f7c9fa: Waiting [2023-06-26T18:17:46.722Z] ed15518f5707: Download complete [2023-06-26T18:17:46.722Z] 242c74f7c9fa: Verifying Checksum [2023-06-26T18:17:46.722Z] 242c74f7c9fa: Download complete [2023-06-26T18:17:46.722Z] 3cdef696dda3: Verifying Checksum [2023-06-26T18:17:46.722Z] 3cdef696dda3: Download complete [2023-06-26T18:17:46.722Z] c41833b44d91: Verifying Checksum [2023-06-26T18:17:47.687Z] c41833b44d91: Pull complete [2023-06-26T18:17:47.956Z] 58f1dce35555: Verifying Checksum [2023-06-26T18:17:47.956Z] 58f1dce35555: Download complete [2023-06-26T18:17:47.956Z] ed15518f5707: Pull complete [2023-06-26T18:17:48.925Z] feae8fd75edb: Download complete [2023-06-26T18:17:49.191Z] 2ced38df9373: Verifying Checksum [2023-06-26T18:17:49.191Z] 2ced38df9373: Download complete [2023-06-26T18:18:01.555Z] feae8fd75edb: Pull complete [2023-06-26T18:18:01.555Z] 242c74f7c9fa: Pull complete [2023-06-26T18:18:01.555Z] 3cdef696dda3: Pull complete [2023-06-26T18:18:06.917Z] 2ced38df9373: Pull complete [2023-06-26T18:18:09.514Z] 58f1dce35555: Pull complete [2023-06-26T18:18:09.514Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-26T18:18:09.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-26T18:18:09.514Z] ---> fadd8f120f05 [2023-06-26T18:18:09.514Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-26T18:18:10.930Z] ---> Running in 1b369f5f60c0 [2023-06-26T18:18:11.196Z] Removing intermediate container 1b369f5f60c0 [2023-06-26T18:18:11.196Z] ---> f68de613c505 [2023-06-26T18:18:11.197Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-26T18:18:11.197Z] ---> Running in 94f81524f3d0 [2023-06-26T18:18:11.467Z] Removing intermediate container 94f81524f3d0 [2023-06-26T18:18:11.467Z] ---> fc921cee4eb1 [2023-06-26T18:18:11.467Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-26T18:18:11.739Z] ---> Running in 6b5b224024fc [2023-06-26T18:18:12.005Z] Removing intermediate container 6b5b224024fc [2023-06-26T18:18:12.005Z] ---> cf04e40d4866 [2023-06-26T18:18:12.005Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-26T18:18:12.005Z] ---> Running in 5a0c50021837 [2023-06-26T18:18:12.275Z] Removing intermediate container 5a0c50021837 [2023-06-26T18:18:12.275Z] ---> 85c2d026bd95 [2023-06-26T18:18:12.275Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-26T18:18:12.275Z] ---> Running in 36a0f71e34f8 [2023-06-26T18:18:13.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-26T18:18:13.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-26T18:18:14.908Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-26T18:18:14.908Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-26T18:18:14.908Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-26T18:18:14.908Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-26T18:18:14.908Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-26T18:18:15.176Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-26T18:18:15.176Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-26T18:18:15.176Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-26T18:18:15.176Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-26T18:18:15.176Z] (10/14) Installing kmod-libs (30-r1) [2023-06-26T18:18:15.176Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-26T18:18:15.176Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-26T18:18:15.176Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-26T18:18:15.176Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-26T18:18:15.176Z] Executing busybox-1.35.0-r29.trigger [2023-06-26T18:18:15.176Z] Executing eudev-3.2.11-r4.trigger [2023-06-26T18:18:15.176Z] OK: 271 MiB in 67 packages [2023-06-26T18:18:16.587Z] Removing intermediate container 36a0f71e34f8 [2023-06-26T18:18:16.587Z] ---> de1f2b2b3b10 [2023-06-26T18:18:16.587Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-26T18:18:16.587Z] ---> Running in cd1e7d63da09 [2023-06-26T18:18:16.853Z] Removing intermediate container cd1e7d63da09 [2023-06-26T18:18:16.853Z] ---> 573d389a5328 [2023-06-26T18:18:16.853Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-26T18:18:17.120Z] ---> 4fa90d8aabca [2023-06-26T18:18:17.120Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-26T18:18:17.388Z] ---> Running in 422ee7ce2faf [2023-06-26T18:19:04.223Z] Removing intermediate container 422ee7ce2faf [2023-06-26T18:19:04.223Z] ---> b9a46c8062f9 [2023-06-26T18:19:04.223Z] Step 11/13 : COPY . . [2023-06-26T18:19:04.810Z] ---> 2cb6b897e640 [2023-06-26T18:19:04.810Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-26T18:19:04.810Z] ---> Running in 9737303d7254 [2023-06-26T18:19:05.774Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-06-26T18:19:05.774Z] Dload Upload Total Spent Left Speed [2023-06-26T18:19:06.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4302 0 --:--:-- --:--:-- --:--:-- 4299 100 1062 100 1062 0 0 4291 0 --:--:-- --:--:-- --:--:-- 4299 [2023-06-26T18:19:06.629Z] Removing intermediate container 9737303d7254 [2023-06-26T18:19:06.629Z] ---> b9a59ef24d94 [2023-06-26T18:19:06.629Z] Step 13/13 : RUN ${MAKE} [2023-06-26T18:19:06.629Z] ---> Running in b03a175a9c7d [2023-06-26T18:19:07.593Z] noop [2023-06-26T18:19:08.181Z] Removing intermediate container b03a175a9c7d [2023-06-26T18:19:08.181Z] ---> 0433b36c6e90 [2023-06-26T18:19:08.181Z] Successfully built 0433b36c6e90 [2023-06-26T18:19:08.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:19:08.800Z] + docker inspect -f . ci-base-image-arm64 [2023-06-26T18:19:08.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:19:09.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-19261 does not seem to be running inside a container [2023-06-26T18:19:09.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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-26T18:19:10.187Z] $ docker top c6af7ad71f9328ee4cdf5a8000cf9de2f68228da91e2b8130dd3c687f81e8623 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T18:19:10.996Z] + go version [2023-06-26T18:19:10.996Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-26T18:19:11.020Z] $ docker stop --time=1 c6af7ad71f9328ee4cdf5a8000cf9de2f68228da91e2b8130dd3c687f81e8623 [2023-06-26T18:19:12.638Z] $ docker rm -f --volumes c6af7ad71f9328ee4cdf5a8000cf9de2f68228da91e2b8130dd3c687f81e8623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:19:13.182Z] + docker inspect -f . ci-base-image-arm64 [2023-06-26T18:19:13.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:19:13.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-19261 does not seem to be running inside a container [2023-06-26T18:19:13.427Z] $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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-26T18:19:14.559Z] $ docker top 23e8a2d654d6e0dc4a241f390cb8a091704e1dcbafbedbd01846edde6f5eaaa1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T18:19:15.039Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/7 [Pipeline] fileExists [Pipeline] sh [2023-06-26T18:19:15.376Z] + make test [2023-06-26T18:19:15.376Z] go test ./... -coverprofile=coverage.out ./... [2023-06-26T18:19:47.617Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-26T18:21:39.256Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-26T18:21:44.632Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.112s coverage: 3.6% of statements [2023-06-26T18:21:45.214Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-26T18:21:45.214Z] go vet ./... [2023-06-26T18:22:24.125Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-26T18:22:24.125Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-26T18:22:24.125Z] ./bin/test-attribution-txt.sh [2023-06-26T18:22:24.125Z] An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add [2023-06-26T18:22:24.125Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2023-06-26T18:22:24.125Z] An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add [2023-06-26T18:22:24.125Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2023-06-26T18:22:24.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-26T18:22:24.283Z] $ docker stop --time=1 23e8a2d654d6e0dc4a241f390cb8a091704e1dcbafbedbd01846edde6f5eaaa1 [2023-06-26T18:22:26.951Z] $ docker rm -f --volumes 23e8a2d654d6e0dc4a241f390cb8a091704e1dcbafbedbd01846edde6f5eaaa1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-26T18:22:28.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-26T18:22:28.500Z] Warning: overwriting stash ‘coverage-report’ [2023-06-26T18:22:29.279Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-26T18:22:29.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-26T18:22:30.033Z] + ls -al . [2023-06-26T18:22:30.033Z] total 196 [2023-06-26T18:22:30.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 18:19 . [2023-06-26T18:22:30.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:17 .. [2023-06-26T18:22:30.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 18:17 .git [2023-06-26T18:22:30.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 18:17 .github [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 26 18:17 .gitignore [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 26 18:17 .golangci.yml [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 26 18:17 .hadolint.yml [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 9665 Jun 26 18:17 Attribution.txt [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 26 18:17 CHANGELOG.md [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 26 18:17 Dockerfile [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 26 18:17 GOVERNANCE.md [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 26 18:17 Jenkinsfile [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 26 18:17 LICENSE [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 26 18:17 Makefile [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 26 18:17 OWNERS.md [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 26 18:17 README.md [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 18:14 VERSION [2023-06-26T18:22:30.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 18:17 bin [2023-06-26T18:22:30.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 18:17 cmd [2023-06-26T18:22:30.033Z] -rw-r--r-- 1 jenkins jenkins 37610 Jun 26 18:21 coverage.out [2023-06-26T18:22:30.033Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 26 18:17 docker-entrypoint.sh [2023-06-26T18:22:30.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 18:17 docs [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 3541 Jun 26 18:17 go.mod [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 32704 Jun 26 18:17 go.sum [2023-06-26T18:22:30.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 18:17 internal [2023-06-26T18:22:30.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:17 snap [2023-06-26T18:22:30.033Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 26 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:22:30.422Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d047ebfebda34aae1c24a07cac61fbfd5d78d65d --label arch=arm64 --label version=0.0.0 . [2023-06-26T18:22:31.020Z] Sending build context to Docker daemon 1.45MB [2023-06-26T18:22:31.020Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-26T18:22:31.020Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-26T18:22:31.020Z] ---> 0433b36c6e90 [2023-06-26T18:22:31.020Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-26T18:22:31.020Z] ---> Running in 50f77d9c7d2e [2023-06-26T18:22:31.296Z] Removing intermediate container 50f77d9c7d2e [2023-06-26T18:22:31.296Z] ---> 8e96274dec34 [2023-06-26T18:22:31.296Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-26T18:22:31.566Z] ---> Running in 36313a22afbe [2023-06-26T18:22:31.835Z] Removing intermediate container 36313a22afbe [2023-06-26T18:22:31.835Z] ---> b1ca3ceadce9 [2023-06-26T18:22:31.835Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-26T18:22:31.835Z] ---> Running in be5612400fc0 [2023-06-26T18:22:32.105Z] Removing intermediate container be5612400fc0 [2023-06-26T18:22:32.105Z] ---> 6941eb023c15 [2023-06-26T18:22:32.105Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-26T18:22:32.374Z] ---> Running in a573a564c2c6 [2023-06-26T18:22:32.652Z] Removing intermediate container a573a564c2c6 [2023-06-26T18:22:32.652Z] ---> 8ac5a89452ef [2023-06-26T18:22:32.652Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-26T18:22:32.652Z] ---> Running in cf0ce8eff822 [2023-06-26T18:22:33.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-26T18:22:34.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-26T18:22:35.608Z] OK: 271 MiB in 67 packages [2023-06-26T18:22:36.192Z] Removing intermediate container cf0ce8eff822 [2023-06-26T18:22:36.192Z] ---> 078da6baf94d [2023-06-26T18:22:36.192Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-26T18:22:36.192Z] ---> Running in 6343716de591 [2023-06-26T18:22:36.459Z] Removing intermediate container 6343716de591 [2023-06-26T18:22:36.459Z] ---> 5d9d6e5e5a6d [2023-06-26T18:22:36.459Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-26T18:22:37.050Z] ---> ee269c16ef1c [2023-06-26T18:22:37.050Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-26T18:22:37.050Z] ---> Running in dd5026716bf6 [2023-06-26T18:22:40.404Z] Removing intermediate container dd5026716bf6 [2023-06-26T18:22:40.404Z] ---> 633275616fc3 [2023-06-26T18:22:40.404Z] Step 11/36 : COPY . . [2023-06-26T18:22:41.365Z] ---> 1e1b83e2eb53 [2023-06-26T18:22:41.365Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-26T18:22:41.365Z] ---> Running in 874a2539c8de [2023-06-26T18:22:42.324Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T18:22:42.324Z] Dload Upload Total Spent Left Speed [2023-06-26T18:22:42.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3159 0 --:--:-- --:--:-- --:--:-- 3170 [2023-06-26T18:22:43.179Z] Removing intermediate container 874a2539c8de [2023-06-26T18:22:43.179Z] ---> fd3cd96210a8 [2023-06-26T18:22:43.179Z] Step 13/36 : RUN ${MAKE} [2023-06-26T18:22:43.179Z] ---> Running in a23babfebf00 [2023-06-26T18:22:44.139Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-06-26T18:25:05.797Z] Removing intermediate container a23babfebf00 [2023-06-26T18:25:05.797Z] ---> 44f4d8adcc82 [2023-06-26T18:25:05.797Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-26T18:25:05.797Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-26T18:25:05.797Z] 8766b47fe142: Pulling fs layer [2023-06-26T18:25:06.376Z] 8766b47fe142: Verifying Checksum [2023-06-26T18:25:06.376Z] 8766b47fe142: Download complete [2023-06-26T18:25:06.958Z] 8766b47fe142: Pull complete [2023-06-26T18:25:06.958Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-26T18:25:06.958Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-26T18:25:06.958Z] ---> 69d40e2cb93c [2023-06-26T18:25:06.958Z] Step 15/36 : FROM alpine:3.17 [2023-06-26T18:25:07.222Z] 3.17: Pulling from library/alpine [2023-06-26T18:25:07.489Z] edb6bdbacee9: Pulling fs layer [2023-06-26T18:25:07.489Z] edb6bdbacee9: Verifying Checksum [2023-06-26T18:25:07.489Z] edb6bdbacee9: Download complete [2023-06-26T18:25:08.077Z] edb6bdbacee9: Pull complete [2023-06-26T18:25:08.077Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-26T18:25:08.077Z] Status: Downloaded newer image for alpine:3.17 [2023-06-26T18:25:08.077Z] ---> 779605e5fbc0 [2023-06-26T18:25:08.077Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-26T18:25:08.343Z] ---> Running in 2f20656a63f3 [2023-06-26T18:25:08.610Z] Removing intermediate container 2f20656a63f3 [2023-06-26T18:25:08.610Z] ---> 7658e1049b3a [2023-06-26T18:25:08.610Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-26T18:25:08.610Z] ---> Running in 83775f1c0a1a [2023-06-26T18:25:09.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-26T18:25:10.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-26T18:25:11.104Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-06-26T18:25:11.104Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-06-26T18:25:11.104Z] (3/83) Installing libxau (1.0.10-r0) [2023-06-26T18:25:11.104Z] (4/83) Installing libmd (1.0.4-r0) [2023-06-26T18:25:11.104Z] (5/83) Installing libbsd (0.11.7-r0) [2023-06-26T18:25:11.104Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-06-26T18:25:11.104Z] (7/83) Installing libxcb (1.15-r0) [2023-06-26T18:25:11.104Z] (8/83) Installing libx11 (1.8.4-r1) [2023-06-26T18:25:11.369Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-06-26T18:25:11.369Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-06-26T18:25:11.369Z] (11/83) Installing libexpat (2.5.0-r0) [2023-06-26T18:25:11.369Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-06-26T18:25:11.369Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-06-26T18:25:11.369Z] (14/83) Installing libpng (1.6.38-r0) [2023-06-26T18:25:11.369Z] (15/83) Installing freetype (2.12.1-r0) [2023-06-26T18:25:11.634Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-06-26T18:25:11.634Z] (17/83) Installing fribidi (1.0.12-r0) [2023-06-26T18:25:11.634Z] (18/83) Installing libffi (3.4.4-r0) [2023-06-26T18:25:11.634Z] (19/83) Installing libintl (0.21.1-r1) [2023-06-26T18:25:11.634Z] (20/83) Installing libblkid (2.38.1-r1) [2023-06-26T18:25:11.634Z] (21/83) Installing libmount (2.38.1-r1) [2023-06-26T18:25:11.634Z] (22/83) Installing pcre2 (10.42-r0) [2023-06-26T18:25:11.634Z] (23/83) Installing glib (2.74.7-r0) [2023-06-26T18:25:11.898Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-06-26T18:25:11.898Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-06-26T18:25:11.898Z] (26/83) Installing libass (0.16.0-r1) [2023-06-26T18:25:11.898Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-06-26T18:25:11.898Z] (28/83) Installing libdrm (2.4.114-r0) [2023-06-26T18:25:11.898Z] (29/83) Installing gmp (6.2.1-r2) [2023-06-26T18:25:11.898Z] (30/83) Installing nettle (3.8.1-r0) [2023-06-26T18:25:11.898Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-06-26T18:25:11.898Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-06-26T18:25:11.898Z] (33/83) Installing libunistring (1.1-r0) [2023-06-26T18:25:11.898Z] (34/83) Installing gnutls (3.7.8-r3) [2023-06-26T18:25:12.162Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-26T18:25:12.162Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-26T18:25:12.162Z] (37/83) Installing lame (3.100-r2) [2023-06-26T18:25:12.162Z] (38/83) Installing opus (1.3.1-r1) [2023-06-26T18:25:12.162Z] (39/83) Installing libasyncns (0.8-r1) [2023-06-26T18:25:12.162Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-06-26T18:25:12.162Z] (41/83) Installing libltdl (2.4.7-r1) [2023-06-26T18:25:12.162Z] (42/83) Installing orc (0.4.33-r0) [2023-06-26T18:25:12.162Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-06-26T18:25:12.162Z] (44/83) Installing libogg (1.3.5-r2) [2023-06-26T18:25:12.162Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-26T18:25:12.162Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-06-26T18:25:12.162Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-06-26T18:25:12.162Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-06-26T18:25:12.427Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-06-26T18:25:12.427Z] (50/83) Installing soxr (0.1.3-r3) [2023-06-26T18:25:12.427Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-06-26T18:25:12.427Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-06-26T18:25:12.427Z] (53/83) Installing libpulse (16.1-r6) [2023-06-26T18:25:12.427Z] (54/83) Installing cjson (1.7.15-r3) [2023-06-26T18:25:12.427Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-06-26T18:25:12.427Z] (56/83) Installing librist (0.2.7-r0) [2023-06-26T18:25:12.427Z] (57/83) Installing libsrt (1.5.1-r0) [2023-06-26T18:25:12.427Z] (58/83) Installing libssh (0.10.5-r0) [2023-06-26T18:25:12.427Z] (59/83) Installing libtheora (1.1.1-r16) [2023-06-26T18:25:12.427Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-06-26T18:25:12.427Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-06-26T18:25:12.693Z] (62/83) Installing libxext (1.3.5-r0) [2023-06-26T18:25:12.693Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-06-26T18:25:12.693Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-06-26T18:25:12.693Z] (65/83) Installing libva (2.16.0-r0) [2023-06-26T18:25:12.693Z] (66/83) Installing libvdpau (1.5-r0) [2023-06-26T18:25:12.693Z] (67/83) Installing vidstab (1.1.0-r2) [2023-06-26T18:25:12.693Z] (68/83) Installing libvpx (1.12.0-r1) [2023-06-26T18:25:12.693Z] (69/83) Installing libwebp (1.2.4-r2) [2023-06-26T18:25:12.693Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-06-26T18:25:12.693Z] (71/83) Installing numactl (2.0.16-r1) [2023-06-26T18:25:12.693Z] (72/83) Installing x265-libs (3.5-r3) [2023-06-26T18:25:12.958Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-06-26T18:25:12.958Z] (74/83) Installing libsodium (1.0.18-r2) [2023-06-26T18:25:12.958Z] (75/83) Installing libzmq (4.3.4-r1) [2023-06-26T18:25:12.958Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-06-26T18:25:13.537Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-06-26T18:25:13.537Z] (78/83) Installing udev-init-scripts (35-r1) [2023-06-26T18:25:13.537Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-06-26T18:25:13.537Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-06-26T18:25:13.537Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-06-26T18:25:13.537Z] (82/83) Installing kmod-libs (30-r1) [2023-06-26T18:25:13.537Z] (83/83) Installing eudev (3.2.11-r4) [2023-06-26T18:25:13.537Z] Executing busybox-1.35.0-r29.trigger [2023-06-26T18:25:13.537Z] Executing eudev-3.2.11-r4.trigger [2023-06-26T18:25:13.537Z] OK: 86 MiB in 98 packages [2023-06-26T18:25:17.771Z] Removing intermediate container 83775f1c0a1a [2023-06-26T18:25:17.771Z] ---> 5d6e3f24968b [2023-06-26T18:25:17.772Z] Step 18/36 : WORKDIR / [2023-06-26T18:25:17.772Z] ---> Running in 9844979fd2b2 [2023-06-26T18:25:18.036Z] Removing intermediate container 9844979fd2b2 [2023-06-26T18:25:18.036Z] ---> 0b51f36bf273 [2023-06-26T18:25:18.036Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-26T18:25:19.436Z] ---> 75c659cc22da [2023-06-26T18:25:19.437Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-26T18:25:19.702Z] ---> ea7bf3f90d03 [2023-06-26T18:25:19.702Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-26T18:25:20.280Z] ---> 1e2b4a4e6ddf [2023-06-26T18:25:20.280Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-26T18:25:20.544Z] ---> 510a5616ab27 [2023-06-26T18:25:20.544Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-26T18:25:21.122Z] ---> c054ee6e2c49 [2023-06-26T18:25:21.122Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-26T18:25:21.702Z] ---> df7a9255077c [2023-06-26T18:25:21.702Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-26T18:25:23.103Z] ---> c9bdfa889c73 [2023-06-26T18:25:23.103Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-26T18:25:23.103Z] ---> Running in 65e008a4fbb8 [2023-06-26T18:25:24.534Z] Removing intermediate container 65e008a4fbb8 [2023-06-26T18:25:24.534Z] ---> 8f537ce1da5b [2023-06-26T18:25:24.534Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-26T18:25:24.534Z] ---> Running in eeb3d1166653 [2023-06-26T18:25:25.940Z] Removing intermediate container eeb3d1166653 [2023-06-26T18:25:25.940Z] ---> 76aa81f85dc3 [2023-06-26T18:25:25.940Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-26T18:25:25.940Z] ---> Running in b2e20718799a [2023-06-26T18:25:27.341Z] Removing intermediate container b2e20718799a [2023-06-26T18:25:27.341Z] ---> 9970814215e1 [2023-06-26T18:25:27.341Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-26T18:25:27.606Z] ---> Running in c021addff387 [2023-06-26T18:25:31.842Z] Removing intermediate container c021addff387 [2023-06-26T18:25:31.842Z] ---> 2261f6c47e6c [2023-06-26T18:25:31.842Z] Step 30/36 : EXPOSE 59983 [2023-06-26T18:25:31.842Z] ---> Running in 1d004ff2e7b2 [2023-06-26T18:25:32.109Z] Removing intermediate container 1d004ff2e7b2 [2023-06-26T18:25:32.109Z] ---> 1f5ab4fcd24b [2023-06-26T18:25:32.109Z] Step 31/36 : EXPOSE 8554 [2023-06-26T18:25:32.109Z] ---> Running in 55c90c7b5a29 [2023-06-26T18:25:32.374Z] Removing intermediate container 55c90c7b5a29 [2023-06-26T18:25:32.374Z] ---> 67dafcbb2467 [2023-06-26T18:25:32.374Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-26T18:25:32.640Z] ---> Running in 909e82695fb7 [2023-06-26T18:25:32.910Z] Removing intermediate container 909e82695fb7 [2023-06-26T18:25:32.910Z] ---> 6771c88187c9 [2023-06-26T18:25:32.910Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-26T18:25:32.910Z] ---> Running in c52a5e092fc3 [2023-06-26T18:25:33.177Z] Removing intermediate container c52a5e092fc3 [2023-06-26T18:25:33.177Z] ---> 7bc1cf06fd6b [2023-06-26T18:25:33.177Z] Step 34/36 : LABEL arch=arm64 [2023-06-26T18:25:33.177Z] ---> Running in 97dd4c9137f8 [2023-06-26T18:25:33.445Z] Removing intermediate container 97dd4c9137f8 [2023-06-26T18:25:33.445Z] ---> cd77e47c8db4 [2023-06-26T18:25:33.445Z] Step 35/36 : LABEL git_sha=d047ebfebda34aae1c24a07cac61fbfd5d78d65d [2023-06-26T18:25:33.445Z] ---> Running in 8af9e87e1144 [2023-06-26T18:25:33.711Z] Removing intermediate container 8af9e87e1144 [2023-06-26T18:25:33.711Z] ---> c4ce78b525b5 [2023-06-26T18:25:33.711Z] Step 36/36 : LABEL version=0.0.0 [2023-06-26T18:25:33.977Z] ---> Running in e3c8d83efa26 [2023-06-26T18:25:33.977Z] Removing intermediate container e3c8d83efa26 [2023-06-26T18:25:33.977Z] ---> 7044253066f9 [2023-06-26T18:25:33.977Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-26T18:25:34.240Z] Successfully built 7044253066f9 [2023-06-26T18:25:34.240Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:25:34.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-26T18:25:34.713Z] [2023-06-26T18:25:34.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:25:35.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-26T18:25:35.041Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-26T18:25:35.041Z] 8998bd30e6a1: Pulling fs layer [2023-06-26T18:25:35.041Z] 04944245beec: Pulling fs layer [2023-06-26T18:25:35.041Z] 699f458cf7ca: Pulling fs layer [2023-06-26T18:25:35.041Z] 765212b225bb: Pulling fs layer [2023-06-26T18:25:35.041Z] f23df028b6ca: Pulling fs layer [2023-06-26T18:25:35.041Z] d65c8cfc05b1: Pulling fs layer [2023-06-26T18:25:35.041Z] 2437ff75d9bd: Pulling fs layer [2023-06-26T18:25:35.041Z] 765212b225bb: Waiting [2023-06-26T18:25:35.041Z] f23df028b6ca: Waiting [2023-06-26T18:25:35.041Z] d65c8cfc05b1: Waiting [2023-06-26T18:25:35.041Z] 2437ff75d9bd: Waiting [2023-06-26T18:25:35.307Z] 04944245beec: Verifying Checksum [2023-06-26T18:25:35.308Z] 04944245beec: Download complete [2023-06-26T18:25:35.308Z] 765212b225bb: Verifying Checksum [2023-06-26T18:25:35.308Z] 765212b225bb: Download complete [2023-06-26T18:25:35.308Z] f23df028b6ca: Verifying Checksum [2023-06-26T18:25:35.308Z] f23df028b6ca: Download complete [2023-06-26T18:25:35.308Z] d65c8cfc05b1: Verifying Checksum [2023-06-26T18:25:35.308Z] d65c8cfc05b1: Download complete [2023-06-26T18:25:35.308Z] 699f458cf7ca: Verifying Checksum [2023-06-26T18:25:35.308Z] 699f458cf7ca: Download complete [2023-06-26T18:25:35.890Z] 8998bd30e6a1: Verifying Checksum [2023-06-26T18:25:35.890Z] 8998bd30e6a1: Download complete [2023-06-26T18:25:37.824Z] 2437ff75d9bd: Verifying Checksum [2023-06-26T18:25:37.824Z] 2437ff75d9bd: Download complete [2023-06-26T18:25:39.765Z] 8998bd30e6a1: Pull complete [2023-06-26T18:25:40.030Z] 04944245beec: Pull complete [2023-06-26T18:25:41.435Z] 699f458cf7ca: Pull complete [2023-06-26T18:25:41.435Z] 765212b225bb: Pull complete [2023-06-26T18:25:42.393Z] f23df028b6ca: Pull complete [2023-06-26T18:25:45.723Z] d65c8cfc05b1: Pull complete [2023-06-26T18:26:00.699Z] 2437ff75d9bd: Pull complete [2023-06-26T18:26:00.699Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-26T18:26:00.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-26T18:26:00.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:26:00.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-19261 does not seem to be running inside a container [2023-06-26T18:26:00.937Z] $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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-26T18:26:03.272Z] $ docker top 1e766399dd8554fa2ff8b7849738f8631fcccadce46c4c286a790dbfc8fbf8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:04.097Z] ---> job-cost.sh [2023-06-26T18:26:04.097Z] lf-activate-venv: SKIPPING [2023-06-26T18:26:04.097Z] INFO: No Stack... [2023-06-26T18:26:04.673Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-26T18:26:05.627Z] INFO: Archiving Costs [Pipeline] sh [2023-06-26T18:26:05.943Z] + cat /w/workspace/device-usb-camera/7/archives/cost.csv [2023-06-26T18:26:05.943Z] + cut -d, -f6 [Pipeline] lock [2023-06-26T18:26:06.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] [2023-06-26T18:26:06.270Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] did not exist. Created. [2023-06-26T18:26:06.270Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-26T18:26:06.605Z] /w/workspace/device-usb-camera/7@tmp/durable-68447460/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-26T18:26:07.197Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-26T18:26:07.217Z] Warning: overwriting stash ‘stack-cost’ [2023-06-26T18:26:07.260Z] Stashed 1 file(s) [Pipeline] } [2023-06-26T18:26:07.269Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-26T18:26:07.294Z] $ docker stop --time=1 1e766399dd8554fa2ff8b7849738f8631fcccadce46c4c286a790dbfc8fbf8b7 [2023-06-26T18:26:08.750Z] $ docker rm -f --volumes 1e766399dd8554fa2ff8b7849738f8631fcccadce46c4c286a790dbfc8fbf8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-06-26T18:26:09.195Z] provisioning config files... [2023-06-26T18:26:09.203Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config6852345597184966620tmp [Pipeline] { [Pipeline] sh [2023-06-26T18:26:09.494Z] + set +x [2023-06-26T18:26:09.494Z] + curl -s https://codecov.io/bash [2023-06-26T18:26:09.494Z] + bash -s -- [2023-06-26T18:26:09.494Z] [2023-06-26T18:26:09.494Z] _____ _ [2023-06-26T18:26:09.494Z] / ____| | | [2023-06-26T18:26:09.494Z] | | ___ __| | ___ ___ _____ __ [2023-06-26T18:26:09.494Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-26T18:26:09.494Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-26T18:26:09.494Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-26T18:26:09.494Z] Bash-1.0.6 [2023-06-26T18:26:09.494Z] [2023-06-26T18:26:09.494Z] [2023-06-26T18:26:09.494Z] ==> git version 2.25.1 found [2023-06-26T18:26:09.494Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-06-26T18:26:09.494Z] Release-Date: 2020-01-08 [2023-06-26T18:26:09.494Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-06-26T18:26:09.494Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-26T18:26:09.494Z] ==> Jenkins CI detected. [2023-06-26T18:26:09.494Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-262 [2023-06-26T18:26:09.494Z] project root: . [2023-06-26T18:26:09.494Z] --> token set from env [2023-06-26T18:26:09.494Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-26T18:26:09.494Z] ==> Running gcov in . (disable via -X gcov) [2023-06-26T18:26:09.494Z] ==> Python coveragepy not found [2023-06-26T18:26:09.494Z] ==> Searching for coverage reports in: [2023-06-26T18:26:09.494Z] + . [2023-06-26T18:26:09.494Z] -> Found 1 reports [2023-06-26T18:26:09.494Z] ==> Detecting git/mercurial file structure [2023-06-26T18:26:09.753Z] ==> Reading reports [2023-06-26T18:26:09.753Z] + ./coverage.out bytes=37610 [2023-06-26T18:26:09.753Z] ==> Appending adjustments [2023-06-26T18:26:09.753Z] https://docs.codecov.io/docs/fixing-reports [2023-06-26T18:26:09.753Z] + Found adjustments [2023-06-26T18:26:09.753Z] ==> Gzipping contents [2023-06-26T18:26:09.753Z] 8.0K /tmp/codecov.s9p942.gz [2023-06-26T18:26:09.753Z] ==> Uploading reports [2023-06-26T18:26:09.753Z] url: https://codecov.io [2023-06-26T18:26:09.753Z] query: branch=PR-262&commit=d047ebfebda34aae1c24a07cac61fbfd5d78d65d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-06-26T18:26:09.753Z] -> Pinging Codecov [2023-06-26T18:26:09.753Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-262&commit=d047ebfebda34aae1c24a07cac61fbfd5d78d65d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-06-26T18:26:10.012Z] -> Uploading to [2023-06-26T18:26:10.012Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-26/73D8F5FF140700D3E01443B452E23636/d047ebfebda34aae1c24a07cac61fbfd5d78d65d/a5c736dd-6662-4f1c-8e2d-60960d932a8e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230626%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230626T182609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24a03926b626f8cb9a170896fa301b704b9d518943008549f6233b5a9a73d424 [2023-06-26T18:26:10.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T18:26:10.012Z] Dload Upload Total Spent Left Speed [2023-06-26T18:26:10.272Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5201 0 0 100 5201 0 23640 --:--:-- --:--:-- --:--:-- 23640 [2023-06-26T18:26:10.272Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d047ebfebda34aae1c24a07cac61fbfd5d78d65d [Pipeline] } [2023-06-26T18:26:10.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-06-26T18:26:10.967Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-26T18:26:10.967Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-26T18:26:10.967Z] total 16 [2023-06-26T18:26:10.967Z] drwxr-xr-x 3 root root 4096 Jun 26 18:15 . [2023-06-26T18:26:10.967Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 26 18:16 .. [2023-06-26T18:26:10.967Z] drwxr-xr-x 2 root root 4096 Jun 26 18:15 cost [2023-06-26T18:26:10.967Z] -rw-r--r-- 1 root root 89 Jun 26 18:15 cost.csv [2023-06-26T18:26:10.967Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-26T18:26:10.967Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-26T18:26:10.967Z] total 16 [2023-06-26T18:26:10.967Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 18:15 . [2023-06-26T18:26:10.968Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 26 18:16 .. [2023-06-26T18:26:10.968Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 18:15 cost [2023-06-26T18:26:10.968Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 26 18:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:11.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:12.123Z] ---> package-listing.sh [2023-06-26T18:26:12.123Z] ++ facter osfamily [2023-06-26T18:26:12.123Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-26T18:26:12.382Z] + OS_FAMILY=debian [2023-06-26T18:26:12.382Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-26T18:26:12.382Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-26T18:26:12.382Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-26T18:26:12.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-26T18:26:12.382Z] + PACKAGES=/tmp/packages_start.txt [2023-06-26T18:26:12.382Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-26T18:26:12.382Z] + PACKAGES=/tmp/packages_end.txt [2023-06-26T18:26:12.382Z] + case "${OS_FAMILY}" in [2023-06-26T18:26:12.382Z] + dpkg -l [2023-06-26T18:26:12.382Z] + grep '^ii' [2023-06-26T18:26:12.382Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-26T18:26:12.382Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-26T18:26:12.382Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-26T18:26:12.382Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-26T18:26:12.382Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-26T18:26:12.382Z] + 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-26T18:26:12.393Z] 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-26T18:26:12.672Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T18:26:13.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T18:26:13.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T18:26:13.300Z] prd-ubuntu20.04-docker-8c-8g-19260 does not seem to be running inside a container [2023-06-26T18:26:13.338Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-26T18:26:13.554Z] $ docker top e26be7d71f3ac5fd3847c668cbb221645e0a00af62b15fbd9624b293a52cbe9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T18:26:13.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-26T18:26:14.188Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-26T18:26:14.474Z] + ls /var/log/sa-host [2023-06-26T18:26:14.475Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-26T18:26:14.549Z] provisioning config files... [2023-06-26T18:26:14.557Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config13263346798734387666tmp [Pipeline] { [Pipeline] echo [2023-06-26T18:26:14.569Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:14.851Z] ---> create-netrc.sh [Pipeline] } [2023-06-26T18:26:14.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:15.187Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-26T18:26:15.195Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:15.480Z] ---> sudo-logs.sh [2023-06-26T18:26:15.481Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-26T18:26:15.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:15.798Z] ---> job-cost.sh [2023-06-26T18:26:15.798Z] lf-activate-venv: SKIPPING [2023-06-26T18:26:15.798Z] DEBUG: total: 0.2199999988079071 [2023-06-26T18:26:15.798Z] INFO: Retrieving Stack Cost... [2023-06-26T18:26:16.058Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-26T18:26:16.625Z] INFO: Archiving Costs [Pipeline] echo [2023-06-26T18:26:16.638Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T18:26:16.929Z] ---> logs-deploy.sh [2023-06-26T18:26:16.929Z] lf-activate-venv: SKIPPING [2023-06-26T18:26:16.929Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/7 [2023-06-26T18:26:16.929Z] INFO: archiving workspace using pattern(s): [2023-06-26T18:26:17.876Z] Archives upload complete. [2023-06-26T18:26:17.876Z] INFO: archiving logs to Nexus