Pull request #242 opened 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 lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 52b8227178c8b16fdaadcc1dc7177f9d18f5134d+f3ee1c0153f2e3f72d736c3f75fc81f5cc565b30 (861c2133a4adf9613e6976dad8ba35035ee64df4) 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-ssh9819384645449562022.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12537563290970064979.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9083126577183403429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12287549160952002766.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15256139218328099140.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-242/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-242/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5936503766529640554.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-14765 in /w/workspace/foundry_device-usb-camera_PR-242 [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-242 # 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/242/head:refs/remotes/origin/PR-242 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f3ee1c0153f2e3f72d736c3f75fc81f5cc565b30 into PR head commit 52b8227178c8b16fdaadcc1dc7177f9d18f5134d Merge succeeded, producing 52b8227178c8b16fdaadcc1dc7177f9d18f5134d Checking out Revision 52b8227178c8b16fdaadcc1dc7177f9d18f5134d (PR-242) > git config core.sparsecheckout # timeout=10 > git checkout -f 52b8227178c8b16fdaadcc1dc7177f9d18f5134d # 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 f3ee1c0153f2e3f72d736c3f75fc81f5cc565b30 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52b8227178c8b16fdaadcc1dc7177f9d18f5134d # timeout=10 Commit message: "refactor: Consume Provision Watcher changes for running multiple instances" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T21:07:31.540Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T21:07:31.776Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T21:07:31.902Z] ========================================================= [2023-05-09T21:07:31.902Z] EdgeX Global Pipelines Version Info [2023-05-09T21:07:31.902Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:07:33.076Z] ------------------- [2023-05-09T21:07:33.076Z] stable info: [2023-05-09T21:07:33.076Z] ------------------- [2023-05-09T21:07:33.076Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T21:07:33.076Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T21:07:33.076Z] Message: update stable to v1.0.249 [2023-05-09T21:07:33.337Z] ------------------- [2023-05-09T21:07:33.337Z] experimental info: [2023-05-09T21:07:33.337Z] ------------------- [2023-05-09T21:07:33.337Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T21:07:33.337Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T21:07:33.337Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T21:07:33.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-09T21:07:33.710Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-09T21:07:33.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T21:07:33.810Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T21:07:33.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T21:07:33.898Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T21:07:33.941Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T21:07:33.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-09T21:07:34.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T21:07:34.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T21:07:34.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T21:07:34.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-09T21:07:34.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T21:07:34.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T21:07:34.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T21:07:34.404Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T21:07:34.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T21:07:34.494Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T21:07:34.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T21:07:34.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T21:07:34.618Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-09T21:07:34.657Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-09T21:07:34.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T21:07:34.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T21:07:34.787Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T21:07:34.836Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T21:07:34.879Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T21:07:34.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-242 [Pipeline] echo [2023-05-09T21:07:34.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-242 [Pipeline] echo [2023-05-09T21:07:35.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-242 [Pipeline] echo [2023-05-09T21:07:35.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52b8227178c8b16fdaadcc1dc7177f9d18f5134d [Pipeline] echo [2023-05-09T21:07:35.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52b8227 [Pipeline] echo [2023-05-09T21:07:35.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T21:07:35.271Z] provisioning config files... [2023-05-09T21:07:35.285Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-242@tmp/config63436543492724843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:07:35.629Z] ---> docker-login.sh [2023-05-09T21:07:35.630Z] nexus3.edgexfoundry.org:10001 [2023-05-09T21:07:35.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:35.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:35.889Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:35.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:35.889Z] [2023-05-09T21:07:35.889Z] Login Succeeded [2023-05-09T21:07:35.889Z] nexus3.edgexfoundry.org:10002 [2023-05-09T21:07:36.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:36.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:36.150Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:36.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:36.150Z] [2023-05-09T21:07:36.150Z] Login Succeeded [2023-05-09T21:07:36.150Z] nexus3.edgexfoundry.org:10003 [2023-05-09T21:07:36.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:36.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:36.150Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:36.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:36.150Z] [2023-05-09T21:07:36.150Z] Login Succeeded [2023-05-09T21:07:36.150Z] nexus3.edgexfoundry.org:10004 [2023-05-09T21:07:36.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:36.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:36.410Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:36.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:36.410Z] [2023-05-09T21:07:36.410Z] Login Succeeded [2023-05-09T21:07:36.410Z] docker.io [2023-05-09T21:07:36.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:36.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:36.672Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:36.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:36.672Z] [2023-05-09T21:07:36.672Z] Login Succeeded [2023-05-09T21:07:36.672Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T21:07:36.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T21:07:37.365Z] + git rev-list -1 --merges 52b8227178c8b16fdaadcc1dc7177f9d18f5134d~1..52b8227178c8b16fdaadcc1dc7177f9d18f5134d [Pipeline] echo [2023-05-09T21:07:37.434Z] -----------> git rev-list -1 --merges 52b8227178c8b16fdaadcc1dc7177f9d18f5134d~1..52b8227178c8b16fdaadcc1dc7177f9d18f5134d 52b8227178c8b16fdaadcc1dc7177f9d18f5134d [false] [Pipeline] sh [2023-05-09T21:07:37.744Z] + git log --format=format:%s -1 52b8227178c8b16fdaadcc1dc7177f9d18f5134d [Pipeline] echo [2023-05-09T21:07:37.778Z] ========================================================= [2023-05-09T21:07:37.778Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T21:07:37.778Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T21:07:38.235Z] + git log --format=format:%s -1 52b8227178c8b16fdaadcc1dc7177f9d18f5134d [Pipeline] echo [2023-05-09T21:07:38.269Z] [semverPrep] GIT_COMMIT: 52b8227178c8b16fdaadcc1dc7177f9d18f5134d, Commit Message: refactor: Consume Provision Watcher changes for running multiple instances [Pipeline] echo [2023-05-09T21:07:38.303Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T21:07:38.699Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T21:07:38.699Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T21:07:38.699Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T21:07:38.699Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T21:07:38.699Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T21:07:38.699Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T21:07:38.699Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:07:39.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T21:07:39.152Z] [2023-05-09T21:07:39.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:07:39.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T21:07:39.532Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T21:07:39.532Z] b85a868b505f: Pulling fs layer [2023-05-09T21:07:39.532Z] e2be974225ed: Pulling fs layer [2023-05-09T21:07:39.532Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T21:07:39.532Z] 988bab9f4d93: Pulling fs layer [2023-05-09T21:07:39.532Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T21:07:39.532Z] eaf3925da568: Pulling fs layer [2023-05-09T21:07:39.532Z] bab4dde63d76: Pulling fs layer [2023-05-09T21:07:39.532Z] bde34c3a00c8: Pulling fs layer [2023-05-09T21:07:39.532Z] b352a97aabf1: Pulling fs layer [2023-05-09T21:07:39.532Z] 4872d77fe225: Pulling fs layer [2023-05-09T21:07:39.532Z] 5851b861e8e6: Pulling fs layer [2023-05-09T21:07:39.532Z] 1469e6f7b9e6: Waiting [2023-05-09T21:07:39.532Z] bab4dde63d76: Waiting [2023-05-09T21:07:39.532Z] bde34c3a00c8: Waiting [2023-05-09T21:07:39.532Z] 988bab9f4d93: Waiting [2023-05-09T21:07:39.532Z] b352a97aabf1: Waiting [2023-05-09T21:07:39.532Z] 5851b861e8e6: Waiting [2023-05-09T21:07:39.532Z] eaf3925da568: Waiting [2023-05-09T21:07:39.532Z] e2be974225ed: Verifying Checksum [2023-05-09T21:07:39.532Z] e2be974225ed: Download complete [2023-05-09T21:07:39.532Z] 988bab9f4d93: Verifying Checksum [2023-05-09T21:07:39.532Z] 988bab9f4d93: Download complete [2023-05-09T21:07:39.794Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T21:07:39.794Z] 339a4e72a1f5: Download complete [2023-05-09T21:07:39.794Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T21:07:39.794Z] 1469e6f7b9e6: Download complete [2023-05-09T21:07:39.794Z] eaf3925da568: Verifying Checksum [2023-05-09T21:07:39.794Z] eaf3925da568: Download complete [2023-05-09T21:07:39.794Z] bde34c3a00c8: Download complete [2023-05-09T21:07:40.053Z] b352a97aabf1: Verifying Checksum [2023-05-09T21:07:40.053Z] b352a97aabf1: Download complete [2023-05-09T21:07:40.053Z] 4872d77fe225: Verifying Checksum [2023-05-09T21:07:40.053Z] 4872d77fe225: Download complete [2023-05-09T21:07:40.053Z] 5851b861e8e6: Verifying Checksum [2023-05-09T21:07:40.053Z] 5851b861e8e6: Download complete [2023-05-09T21:07:40.053Z] b85a868b505f: Verifying Checksum [2023-05-09T21:07:40.053Z] b85a868b505f: Download complete [2023-05-09T21:07:40.622Z] bab4dde63d76: Verifying Checksum [2023-05-09T21:07:40.622Z] bab4dde63d76: Download complete [2023-05-09T21:07:41.191Z] b85a868b505f: Pull complete [2023-05-09T21:07:41.452Z] e2be974225ed: Pull complete [2023-05-09T21:07:41.716Z] 339a4e72a1f5: Pull complete [2023-05-09T21:07:41.975Z] 988bab9f4d93: Pull complete [2023-05-09T21:07:42.234Z] 1469e6f7b9e6: Pull complete [2023-05-09T21:07:42.234Z] eaf3925da568: Pull complete [2023-05-09T21:07:44.137Z] bab4dde63d76: Pull complete [2023-05-09T21:07:44.137Z] bde34c3a00c8: Pull complete [2023-05-09T21:07:44.137Z] b352a97aabf1: Pull complete [2023-05-09T21:07:44.137Z] 4872d77fe225: Pull complete [2023-05-09T21:07:44.398Z] 5851b861e8e6: Pull complete [2023-05-09T21:07:44.398Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T21:07:44.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T21:07:44.398Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:07:44.648Z] prd-ubuntu20.04-docker-8c-8g-14765 does not seem to be running inside a container [2023-05-09T21:07:44.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-242 -v /w/workspace/foundry_device-usb-camera_PR-242:/w/workspace/foundry_device-usb-camera_PR-242:rw,z -v /w/workspace/foundry_device-usb-camera_PR-242@tmp:/w/workspace/foundry_device-usb-camera_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T21:07:46.775Z] $ docker top 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 -eo pid,comm [2023-05-09T21:07:46.827Z] 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-05-09T21:07:46.827Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T21:07:46.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T21:07:46.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T21:07:47.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T21:07:47.097Z] $ docker exec 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 ssh-agent [2023-05-09T21:07:47.203Z] SSH_AUTH_SOCK=/tmp/ssh-a23gnJxyjNCx/agent.32 [2023-05-09T21:07:47.203Z] SSH_AGENT_PID=38 [2023-05-09T21:07:47.209Z] Running ssh-add (command line suppressed) [2023-05-09T21:07:47.325Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-242@tmp/private_key_1007269601074566211.key (/w/workspace/foundry_device-usb-camera_PR-242@tmp/private_key_1007269601074566211.key) [2023-05-09T21:07:47.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T21:07:47.674Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T21:07:47.713Z] $ docker exec --env ******** --env ******** 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 ssh-agent -k [2023-05-09T21:07:47.817Z] unset SSH_AUTH_SOCK; [2023-05-09T21:07:47.822Z] unset SSH_AGENT_PID; [2023-05-09T21:07:47.822Z] echo Agent pid 38 killed; [2023-05-09T21:07:47.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T21:07:47.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T21:07:47.924Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T21:07:48.045Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T21:07:48.057Z] $ docker exec 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 ssh-agent [2023-05-09T21:07:48.152Z] SSH_AUTH_SOCK=/tmp/ssh-kJoaPXEto8Bo/agent.70 [2023-05-09T21:07:48.152Z] SSH_AGENT_PID=76 [2023-05-09T21:07:48.158Z] Running ssh-add (command line suppressed) [2023-05-09T21:07:48.272Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-242@tmp/private_key_13501166329821584004.key (/w/workspace/foundry_device-usb-camera_PR-242@tmp/private_key_13501166329821584004.key) [2023-05-09T21:07:48.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T21:07:48.616Z] + git semver init [2023-05-09T21:07:48.883Z] 2023-05-09 21:07:48,803 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T21:07:48.883Z] 2023-05-09 21:07:48,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-242/.semver [2023-05-09T21:07:48.883Z] 2023-05-09 21:07:48,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-242/.semver [2023-05-09T21:07:48.883Z] 2023-05-09 21:07:48,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-242/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-242, universal_newlines=False, shell=None, istream=None) [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,515 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-242/.git/info/exclude [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,515 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-242/.semver/PR-242 with force:False [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,515 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-242/.semver/PR-242 [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,519 [execute] INFO git cat-file --batch-check [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-242/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,526 [execute] INFO git cat-file --batch [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-242/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T21:07:49.833Z] 2023-05-09 21:07:49,532 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-242/.semver/PR-242 [2023-05-09T21:07:49.833Z] 0.0.0 [Pipeline] } [2023-05-09T21:07:49.872Z] $ docker exec --env ******** --env ******** 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 ssh-agent -k [2023-05-09T21:07:49.977Z] unset SSH_AUTH_SOCK; [2023-05-09T21:07:49.978Z] unset SSH_AGENT_PID; [2023-05-09T21:07:49.978Z] echo Agent pid 76 killed; [2023-05-09T21:07:49.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T21:07:50.423Z] + git semver [Pipeline] } [2023-05-09T21:07:50.721Z] $ docker stop --time=1 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 [2023-05-09T21:07:52.018Z] $ docker rm -f --volumes 8aacd37bc46124e7673dd968d24c66c10ea92415637cef2b728dd7ed99ffe441 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T21:07:52.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T21:07:52.693Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T21:07:52.713Z] [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-05-09T21:07:53.362Z] provisioning config files... [2023-05-09T21:07:53.373Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-242@tmp/config5911988237926534281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:07:53.727Z] ---> docker-login.sh [2023-05-09T21:07:53.727Z] nexus3.edgexfoundry.org:10001 [2023-05-09T21:07:53.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:53.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:53.727Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:53.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:53.727Z] [2023-05-09T21:07:53.727Z] Login Succeeded [2023-05-09T21:07:53.727Z] nexus3.edgexfoundry.org:10002 [2023-05-09T21:07:53.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:53.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:53.987Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:53.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:53.987Z] [2023-05-09T21:07:53.987Z] Login Succeeded [2023-05-09T21:07:53.987Z] nexus3.edgexfoundry.org:10003 [2023-05-09T21:07:53.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:53.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:53.987Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:53.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:53.987Z] [2023-05-09T21:07:53.987Z] Login Succeeded [2023-05-09T21:07:53.987Z] nexus3.edgexfoundry.org:10004 [2023-05-09T21:07:54.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:54.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:54.246Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:54.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:54.246Z] [2023-05-09T21:07:54.246Z] Login Succeeded [2023-05-09T21:07:54.246Z] docker.io [2023-05-09T21:07:54.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:07:54.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:07:54.508Z] Configure a credential helper to remove this warning. See [2023-05-09T21:07:54.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:07:54.508Z] [2023-05-09T21:07:54.508Z] Login Succeeded [2023-05-09T21:07:54.508Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T21:07:54.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T21:07:54.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:07:54.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:07:54.822Z] ========================================================= [2023-05-09T21:07:54.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T21:07:54.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:07:55.321Z] + 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-05-09T21:07:55.322Z] Sending build context to Docker daemon 2.02MB [2023-05-09T21:07:55.322Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:07:55.322Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-09T21:07:55.322Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T21:07:55.322Z] f56be85fc22e: Pulling fs layer [2023-05-09T21:07:55.322Z] 85791d961cd3: Pulling fs layer [2023-05-09T21:07:55.322Z] d694b5ae8c79: Pulling fs layer [2023-05-09T21:07:55.322Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T21:07:55.322Z] 4d19c01a9841: Pulling fs layer [2023-05-09T21:07:55.322Z] 9325e15d5711: Pulling fs layer [2023-05-09T21:07:55.322Z] 556b6ee489ea: Pulling fs layer [2023-05-09T21:07:55.322Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T21:07:55.322Z] 4d19c01a9841: Waiting [2023-05-09T21:07:55.322Z] 9f32a84ed3da: Waiting [2023-05-09T21:07:55.322Z] 556b6ee489ea: Waiting [2023-05-09T21:07:55.322Z] c5a4b2cf53e6: Waiting [2023-05-09T21:07:55.322Z] 9325e15d5711: Waiting [2023-05-09T21:07:55.581Z] 85791d961cd3: Download complete [2023-05-09T21:07:55.581Z] 9f32a84ed3da: Verifying Checksum [2023-05-09T21:07:55.581Z] 9f32a84ed3da: Download complete [2023-05-09T21:07:55.581Z] 4d19c01a9841: Verifying Checksum [2023-05-09T21:07:55.581Z] 4d19c01a9841: Download complete [2023-05-09T21:07:55.581Z] f56be85fc22e: Verifying Checksum [2023-05-09T21:07:55.581Z] f56be85fc22e: Download complete [2023-05-09T21:07:55.581Z] 9325e15d5711: Verifying Checksum [2023-05-09T21:07:55.581Z] 9325e15d5711: Download complete [2023-05-09T21:07:55.581Z] f56be85fc22e: Pull complete [2023-05-09T21:07:55.843Z] 85791d961cd3: Pull complete [2023-05-09T21:07:56.779Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T21:07:56.779Z] c5a4b2cf53e6: Download complete [2023-05-09T21:07:57.038Z] d694b5ae8c79: Verifying Checksum [2023-05-09T21:07:57.038Z] d694b5ae8c79: Download complete [2023-05-09T21:07:57.297Z] 556b6ee489ea: Verifying Checksum [2023-05-09T21:07:57.297Z] 556b6ee489ea: Download complete [2023-05-09T21:08:00.578Z] d694b5ae8c79: Pull complete [2023-05-09T21:08:00.578Z] 9f32a84ed3da: Pull complete [2023-05-09T21:08:00.578Z] 4d19c01a9841: Pull complete [2023-05-09T21:08:00.578Z] 9325e15d5711: Pull complete [2023-05-09T21:08:03.107Z] 556b6ee489ea: Pull complete [2023-05-09T21:08:03.675Z] c5a4b2cf53e6: Pull complete [2023-05-09T21:08:03.675Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T21:08:03.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T21:08:03.675Z] ---> c4be618373d6 [2023-05-09T21:08:03.675Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-09T21:08:06.968Z] ---> Running in 9b501fbfc108 [2023-05-09T21:08:06.968Z] Removing intermediate container 9b501fbfc108 [2023-05-09T21:08:06.968Z] ---> 33a32a5ce814 [2023-05-09T21:08:06.968Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T21:08:06.968Z] ---> Running in a4e6b468a879 [2023-05-09T21:08:06.968Z] Removing intermediate container a4e6b468a879 [2023-05-09T21:08:06.968Z] ---> 00de92164bd7 [2023-05-09T21:08:06.968Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-09T21:08:06.968Z] ---> Running in c5efa3fe00c6 [2023-05-09T21:08:06.968Z] Removing intermediate container c5efa3fe00c6 [2023-05-09T21:08:06.968Z] ---> 99b9ba5164cd [2023-05-09T21:08:06.968Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-09T21:08:06.968Z] ---> Running in b227424728dc [2023-05-09T21:08:06.968Z] Removing intermediate container b227424728dc [2023-05-09T21:08:06.968Z] ---> bf0406144acf [2023-05-09T21:08:06.968Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T21:08:06.968Z] ---> Running in 5bac2b4a2666 [2023-05-09T21:08:07.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T21:08:07.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T21:08:07.491Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-09T21:08:07.491Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-09T21:08:07.491Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-09T21:08:07.491Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-09T21:08:07.491Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-09T21:08:07.750Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-09T21:08:07.750Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-09T21:08:07.750Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-09T21:08:07.750Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-09T21:08:07.750Z] (10/14) Installing kmod-libs (30-r1) [2023-05-09T21:08:07.750Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-09T21:08:07.750Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-09T21:08:07.750Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-09T21:08:07.750Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-09T21:08:07.750Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T21:08:07.750Z] Executing eudev-3.2.11-r4.trigger [2023-05-09T21:08:07.750Z] OK: 272 MiB in 67 packages [2023-05-09T21:08:08.170Z] Still waiting to schedule task [2023-05-09T21:08:08.171Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T21:08:08.317Z] Removing intermediate container 5bac2b4a2666 [2023-05-09T21:08:08.317Z] ---> ef0492554520 [2023-05-09T21:08:08.317Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-09T21:08:08.317Z] ---> Running in 41fe7058615c [2023-05-09T21:08:08.317Z] Removing intermediate container 41fe7058615c [2023-05-09T21:08:08.317Z] ---> 3bd6ebba09e6 [2023-05-09T21:08:08.317Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-09T21:08:08.577Z] ---> 01784e091a79 [2023-05-09T21:08:08.577Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:08:08.577Z] ---> Running in 245afa4f7d26 [2023-05-09T21:08:35.132Z] Removing intermediate container 245afa4f7d26 [2023-05-09T21:08:35.132Z] ---> e5a95755fb64 [2023-05-09T21:08:35.132Z] Step 11/13 : COPY . . [2023-05-09T21:08:35.132Z] ---> 33d5b133bae0 [2023-05-09T21:08:35.132Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-09T21:08:35.132Z] ---> Running in d61ede8200c0 [2023-05-09T21:08:35.132Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:08:35.132Z] Dload Upload Total Spent Left Speed [2023-05-09T21:08:35.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7905 0 --:--:-- --:--:-- --:--:-- 7925 [2023-05-09T21:08:35.132Z] Removing intermediate container d61ede8200c0 [2023-05-09T21:08:35.132Z] ---> 882280c65ac7 [2023-05-09T21:08:35.132Z] Step 13/13 : RUN ${MAKE} [2023-05-09T21:08:35.132Z] ---> Running in 3cfad755d1d5 [2023-05-09T21:08:35.132Z] noop [2023-05-09T21:08:35.132Z] Removing intermediate container 3cfad755d1d5 [2023-05-09T21:08:35.132Z] ---> 49fb990e155f [2023-05-09T21:08:35.132Z] Successfully built 49fb990e155f [2023-05-09T21:08:35.132Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:08:35.604Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T21:08:35.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:08:35.852Z] prd-ubuntu20.04-docker-8c-8g-14765 does not seem to be running inside a container [2023-05-09T21:08:35.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-242 -v /w/workspace/foundry_device-usb-camera_PR-242:/w/workspace/foundry_device-usb-camera_PR-242:rw,z -v /w/workspace/foundry_device-usb-camera_PR-242@tmp:/w/workspace/foundry_device-usb-camera_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T21:08:36.266Z] $ docker top 6cb3f88e0c91cd0fc6241f6f8fd6613307d2d7bd245e789370082bccb891ad30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:08:36.668Z] + go version [2023-05-09T21:08:36.668Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T21:08:36.710Z] $ docker stop --time=1 6cb3f88e0c91cd0fc6241f6f8fd6613307d2d7bd245e789370082bccb891ad30 [2023-05-09T21:08:37.943Z] $ docker rm -f --volumes 6cb3f88e0c91cd0fc6241f6f8fd6613307d2d7bd245e789370082bccb891ad30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:08:38.707Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T21:08:38.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:08:38.875Z] prd-ubuntu20.04-docker-8c-8g-14765 does not seem to be running inside a container [2023-05-09T21:08:38.916Z] $ 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-242 -v /w/workspace/foundry_device-usb-camera_PR-242:/w/workspace/foundry_device-usb-camera_PR-242:rw,z -v /w/workspace/foundry_device-usb-camera_PR-242@tmp:/w/workspace/foundry_device-usb-camera_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T21:08:39.283Z] $ docker top 53b1fbfcf909fe185f6d987d7e05045b0e1fad971fb0b951ab3097b313a144bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:08:39.676Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-242 [Pipeline] fileExists [Pipeline] sh [2023-05-09T21:08:40.042Z] + make test [2023-05-09T21:08:40.042Z] go test ./... -coverprofile=coverage.out ./... [2023-05-09T21:08:45.315Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-09T21:08:55.529Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-09T21:08:55.529Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements [2023-05-09T21:09:02.085Z] go vet ./... [2023-05-09T21:09:06.266Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T21:09:06.266Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T21:09:06.266Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T21:09:06.314Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T21:09:06.357Z] $ docker stop --time=1 53b1fbfcf909fe185f6d987d7e05045b0e1fad971fb0b951ab3097b313a144bc [2023-05-09T21:09:09.289Z] $ docker rm -f --volumes 53b1fbfcf909fe185f6d987d7e05045b0e1fad971fb0b951ab3097b313a144bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T21:09:09.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T21:09:09.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T21:09:10.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T21:09:10.920Z] + ls -al . [2023-05-09T21:09:10.920Z] total 192 [2023-05-09T21:09:10.920Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:08 . [2023-05-09T21:09:10.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:07 .. [2023-05-09T21:09:10.920Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:07 .git [2023-05-09T21:09:10.920Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:07 .github [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 414 May 9 21:07 .gitignore [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:07 .golangci.yml [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 77 May 9 21:07 .hadolint.yml [2023-05-09T21:09:10.920Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:07 .semver [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 9 21:07 Attribution.txt [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 9 21:07 CHANGELOG.md [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 9 21:07 Dockerfile [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 678 May 9 21:07 GOVERNANCE.md [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 659 May 9 21:07 Jenkinsfile [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 9 21:07 LICENSE [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 9 21:07 Makefile [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 21:07 OWNERS.md [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 9 21:07 README.md [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:07 VERSION [2023-05-09T21:09:10.920Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:07 bin [2023-05-09T21:09:10.920Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:07 cmd [2023-05-09T21:09:10.920Z] -rw-r--r-- 1 jenkins jenkins 28693 May 9 21:08 coverage.out [2023-05-09T21:09:10.920Z] -rwxrwxr-x 1 jenkins jenkins 140 May 9 21:07 docker-entrypoint.sh [2023-05-09T21:09:10.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:07 docs [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 9 21:07 go.mod [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 9 21:07 go.sum [2023-05-09T21:09:10.920Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:07 internal [2023-05-09T21:09:10.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:07 snap [2023-05-09T21:09:10.920Z] -rw-rw-r-- 1 jenkins jenkins 231 May 9 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:09:11.331Z] + 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=52b8227178c8b16fdaadcc1dc7177f9d18f5134d --label arch=amd64 --label version=0.0.0 . [2023-05-09T21:09:11.331Z] Sending build context to Docker daemon 2.05MB [2023-05-09T21:09:11.331Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:09:11.331Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-09T21:09:11.331Z] ---> 49fb990e155f [2023-05-09T21:09:11.331Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-09T21:09:11.331Z] ---> Running in 865d22905550 [2023-05-09T21:09:11.592Z] Removing intermediate container 865d22905550 [2023-05-09T21:09:11.592Z] ---> d700b15ea127 [2023-05-09T21:09:11.592Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T21:09:11.592Z] ---> Running in 57261b116309 [2023-05-09T21:09:11.592Z] Removing intermediate container 57261b116309 [2023-05-09T21:09:11.592Z] ---> e24f35770691 [2023-05-09T21:09:11.592Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-09T21:09:11.592Z] ---> Running in d64e699b585c [2023-05-09T21:09:11.592Z] Removing intermediate container d64e699b585c [2023-05-09T21:09:11.592Z] ---> 76b6cd253faf [2023-05-09T21:09:11.592Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-09T21:09:11.592Z] ---> Running in 04a64184be92 [2023-05-09T21:09:11.852Z] Removing intermediate container 04a64184be92 [2023-05-09T21:09:11.852Z] ---> e612569a8ef6 [2023-05-09T21:09:11.852Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T21:09:11.852Z] ---> Running in 92593785e45c [2023-05-09T21:09:12.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T21:09:12.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T21:09:12.372Z] OK: 272 MiB in 67 packages [2023-05-09T21:09:12.631Z] Removing intermediate container 92593785e45c [2023-05-09T21:09:12.631Z] ---> bd0d77725971 [2023-05-09T21:09:12.631Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-09T21:09:12.631Z] ---> Running in 2399c6bdd0a8 [2023-05-09T21:09:12.890Z] Removing intermediate container 2399c6bdd0a8 [2023-05-09T21:09:12.890Z] ---> 8ac725701d04 [2023-05-09T21:09:12.890Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-09T21:09:12.890Z] ---> 75170ba3badb [2023-05-09T21:09:12.890Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:09:12.890Z] ---> Running in a117d6c5fbd9 [2023-05-09T21:09:13.825Z] Removing intermediate container a117d6c5fbd9 [2023-05-09T21:09:13.825Z] ---> 828c5b4c9ece [2023-05-09T21:09:13.825Z] Step 11/35 : COPY . . [2023-05-09T21:09:14.084Z] ---> a7895efb8ca9 [2023-05-09T21:09:14.084Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-09T21:09:14.084Z] ---> Running in d975cfb01fae [2023-05-09T21:09:14.343Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:09:14.343Z] Dload Upload Total Spent Left Speed [2023-05-09T21:09:14.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21401 0 --:--:-- --:--:-- --:--:-- 21240 [2023-05-09T21:09:14.602Z] Removing intermediate container d975cfb01fae [2023-05-09T21:09:14.602Z] ---> af9e2132f266 [2023-05-09T21:09:14.602Z] Step 13/35 : RUN ${MAKE} [2023-05-09T21:09:14.602Z] ---> Running in 3e54154e1496 [2023-05-09T21:09:15.171Z] 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-05-09T21:09:37.158Z] Removing intermediate container 3e54154e1496 [2023-05-09T21:09:37.158Z] ---> 26837d8b329e [2023-05-09T21:09:37.158Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-09T21:09:37.158Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-09T21:09:37.158Z] 4acc49c71d14: Pulling fs layer [2023-05-09T21:09:37.158Z] 4acc49c71d14: Verifying Checksum [2023-05-09T21:09:37.158Z] 4acc49c71d14: Download complete [2023-05-09T21:09:37.158Z] 4acc49c71d14: Pull complete [2023-05-09T21:09:37.158Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-09T21:09:37.158Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-09T21:09:37.158Z] ---> 01a2bd3e5fff [2023-05-09T21:09:37.158Z] Step 15/35 : FROM alpine:3.17 [2023-05-09T21:09:37.416Z] 3.17: Pulling from library/alpine [2023-05-09T21:09:37.416Z] f56be85fc22e: Already exists [2023-05-09T21:09:37.679Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T21:09:37.679Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T21:09:37.679Z] ---> 9ed4aefc74f6 [2023-05-09T21:09:37.679Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-09T21:09:37.679Z] ---> Running in 13e1f6cf2be5 [2023-05-09T21:09:37.938Z] Removing intermediate container 13e1f6cf2be5 [2023-05-09T21:09:37.938Z] ---> a91037bf3b6f [2023-05-09T21:09:37.938Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-09T21:09:37.938Z] ---> Running in d3428dc9c59e [2023-05-09T21:09:38.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T21:09:38.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T21:09:38.455Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-09T21:09:38.455Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-09T21:09:38.455Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-09T21:09:38.455Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-09T21:09:38.455Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-09T21:09:38.455Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-09T21:09:38.455Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-09T21:09:38.455Z] (8/86) Installing libxcb (1.15-r0) [2023-05-09T21:09:38.455Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-09T21:09:38.715Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-09T21:09:38.715Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-09T21:09:38.715Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-09T21:09:38.715Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-09T21:09:38.715Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-09T21:09:38.715Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-09T21:09:38.715Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-09T21:09:38.715Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-09T21:09:38.715Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-09T21:09:38.715Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-09T21:09:38.715Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-09T21:09:38.715Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-09T21:09:38.715Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-09T21:09:38.715Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-09T21:09:38.715Z] (24/86) Installing glib (2.74.6-r0) [2023-05-09T21:09:38.986Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-09T21:09:38.987Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-09T21:09:38.987Z] (27/86) Installing libass (0.16.0-r1) [2023-05-09T21:09:38.987Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-09T21:09:38.987Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-09T21:09:38.987Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-09T21:09:38.987Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-09T21:09:38.987Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-09T21:09:38.987Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-09T21:09:38.987Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-09T21:09:38.987Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-09T21:09:38.987Z] (36/86) Installing libunistring (1.1-r0) [2023-05-09T21:09:38.987Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-09T21:09:38.987Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-09T21:09:38.987Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-09T21:09:38.987Z] (40/86) Installing lame (3.100-r2) [2023-05-09T21:09:38.987Z] (41/86) Installing opus (1.3.1-r1) [2023-05-09T21:09:38.987Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-09T21:09:38.987Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-09T21:09:38.987Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-09T21:09:38.987Z] (45/86) Installing orc (0.4.33-r0) [2023-05-09T21:09:38.987Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-09T21:09:38.987Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-09T21:09:38.987Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-09T21:09:38.987Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-09T21:09:38.987Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-09T21:09:39.246Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-09T21:09:39.246Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-09T21:09:39.246Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-09T21:09:39.246Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-09T21:09:39.246Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-09T21:09:39.246Z] (56/86) Installing libpulse (16.1-r6) [2023-05-09T21:09:39.246Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-09T21:09:39.246Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-09T21:09:39.246Z] (59/86) Installing librist (0.2.7-r0) [2023-05-09T21:09:39.246Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-09T21:09:39.246Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-09T21:09:39.246Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-09T21:09:39.246Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-09T21:09:39.246Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-09T21:09:39.246Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-09T21:09:39.246Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-09T21:09:39.246Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-09T21:09:39.246Z] (68/86) Installing libva (2.16.0-r0) [2023-05-09T21:09:39.246Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-09T21:09:39.246Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-09T21:09:39.246Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-09T21:09:39.246Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-09T21:09:39.246Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-09T21:09:39.246Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-09T21:09:39.246Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-09T21:09:39.505Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-09T21:09:39.505Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-09T21:09:39.505Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-09T21:09:39.505Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-09T21:09:39.505Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-09T21:09:39.505Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-09T21:09:39.505Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-09T21:09:39.505Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-09T21:09:39.505Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-09T21:09:39.505Z] (85/86) Installing kmod-libs (30-r1) [2023-05-09T21:09:39.505Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-09T21:09:39.766Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T21:09:39.766Z] Executing eudev-3.2.11-r4.trigger [2023-05-09T21:09:39.766Z] OK: 112 MiB in 101 packages [2023-05-09T21:09:42.299Z] Removing intermediate container d3428dc9c59e [2023-05-09T21:09:42.299Z] ---> b437745d8712 [2023-05-09T21:09:42.299Z] Step 18/35 : WORKDIR / [2023-05-09T21:09:42.299Z] ---> Running in ba6180dca8a7 [2023-05-09T21:09:42.299Z] Removing intermediate container ba6180dca8a7 [2023-05-09T21:09:42.299Z] ---> f2ead7a450b8 [2023-05-09T21:09:42.299Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-09T21:09:42.867Z] ---> 08c9138ac572 [2023-05-09T21:09:42.867Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-09T21:09:43.126Z] ---> 4ae8c4b50966 [2023-05-09T21:09:43.126Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-09T21:09:43.126Z] ---> bb7ef67adac0 [2023-05-09T21:09:43.126Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-09T21:09:43.385Z] ---> 810c554ab448 [2023-05-09T21:09:43.385Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-09T21:09:43.385Z] ---> 64d7a0226912 [2023-05-09T21:09:43.385Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-09T21:09:43.643Z] ---> 3164bd6c18b4 [2023-05-09T21:09:43.643Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-09T21:09:44.211Z] ---> 5e479245cab6 [2023-05-09T21:09:44.211Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-09T21:09:44.211Z] ---> Running in 85b07d537770 [2023-05-09T21:09:44.777Z] Removing intermediate container 85b07d537770 [2023-05-09T21:09:44.777Z] ---> 10280e5d8d83 [2023-05-09T21:09:44.777Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-09T21:09:44.777Z] ---> Running in 8341fca75fb4 [2023-05-09T21:09:45.344Z] Removing intermediate container 8341fca75fb4 [2023-05-09T21:09:45.344Z] ---> b4ed420a5242 [2023-05-09T21:09:45.344Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-09T21:09:45.344Z] ---> Running in 621686a545ab [2023-05-09T21:09:45.914Z] Removing intermediate container 621686a545ab [2023-05-09T21:09:45.914Z] ---> 151456bb13aa [2023-05-09T21:09:45.914Z] Step 29/35 : EXPOSE 59983 [2023-05-09T21:09:45.914Z] ---> Running in 1e6ac3e91b9a [2023-05-09T21:09:45.914Z] Removing intermediate container 1e6ac3e91b9a [2023-05-09T21:09:45.914Z] ---> 2421d60b433f [2023-05-09T21:09:45.914Z] Step 30/35 : EXPOSE 8554 [2023-05-09T21:09:45.914Z] ---> Running in d6c7421d3b5d [2023-05-09T21:09:46.173Z] Removing intermediate container d6c7421d3b5d [2023-05-09T21:09:46.173Z] ---> d6daca86c731 [2023-05-09T21:09:46.173Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-09T21:09:46.173Z] ---> Running in 44c8cae22147 [2023-05-09T21:09:46.173Z] Removing intermediate container 44c8cae22147 [2023-05-09T21:09:46.173Z] ---> d465b0fb1e32 [2023-05-09T21:09:46.173Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-09T21:09:46.173Z] ---> Running in 372c119c2b98 [2023-05-09T21:09:46.173Z] Removing intermediate container 372c119c2b98 [2023-05-09T21:09:46.173Z] ---> c58cea5aad66 [2023-05-09T21:09:46.173Z] Step 33/35 : LABEL arch=amd64 [2023-05-09T21:09:46.173Z] ---> Running in bd630dd2e7dc [2023-05-09T21:09:46.434Z] Removing intermediate container bd630dd2e7dc [2023-05-09T21:09:46.434Z] ---> f32bccabe186 [2023-05-09T21:09:46.434Z] Step 34/35 : LABEL git_sha=52b8227178c8b16fdaadcc1dc7177f9d18f5134d [2023-05-09T21:09:46.434Z] ---> Running in e0e9a645e7d3 [2023-05-09T21:09:46.434Z] Removing intermediate container e0e9a645e7d3 [2023-05-09T21:09:46.434Z] ---> 5ba2803cdaa6 [2023-05-09T21:09:46.434Z] Step 35/35 : LABEL version=0.0.0 [2023-05-09T21:09:46.434Z] ---> Running in 3cc38f16a4c6 [2023-05-09T21:09:46.693Z] Removing intermediate container 3cc38f16a4c6 [2023-05-09T21:09:46.693Z] ---> ff74a8113167 [2023-05-09T21:09:46.693Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T21:09:46.693Z] Successfully built ff74a8113167 [2023-05-09T21:09:46.693Z] 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-05-09T21:09:47.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:09:47.587Z] [2023-05-09T21:09:47.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:09:47.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:09:47.969Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T21:09:47.969Z] 5eb5b503b376: Pulling fs layer [2023-05-09T21:09:47.969Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T21:09:47.969Z] ec43610c2a17: Pulling fs layer [2023-05-09T21:09:47.969Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T21:09:47.969Z] 33b1e0a273af: Pulling fs layer [2023-05-09T21:09:47.969Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T21:09:47.969Z] 2f39f015ded8: Pulling fs layer [2023-05-09T21:09:47.969Z] 3a2ae6a8a46f: Waiting [2023-05-09T21:09:47.969Z] 33b1e0a273af: Waiting [2023-05-09T21:09:47.969Z] 5d3b04190fa2: Waiting [2023-05-09T21:09:47.969Z] 2f39f015ded8: Waiting [2023-05-09T21:09:47.969Z] 5c69ac0246d0: Download complete [2023-05-09T21:09:47.969Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-09T21:09:47.969Z] 3a2ae6a8a46f: Download complete [2023-05-09T21:09:47.969Z] ec43610c2a17: Verifying Checksum [2023-05-09T21:09:47.969Z] ec43610c2a17: Download complete [2023-05-09T21:09:48.228Z] 5d3b04190fa2: Verifying Checksum [2023-05-09T21:09:48.228Z] 5d3b04190fa2: Download complete [2023-05-09T21:09:48.228Z] 33b1e0a273af: Verifying Checksum [2023-05-09T21:09:48.228Z] 33b1e0a273af: Download complete [2023-05-09T21:09:48.228Z] 5eb5b503b376: Download complete [2023-05-09T21:09:49.166Z] 2f39f015ded8: Download complete [2023-05-09T21:09:49.733Z] 5eb5b503b376: Pull complete [2023-05-09T21:09:49.733Z] 5c69ac0246d0: Pull complete [2023-05-09T21:09:50.302Z] ec43610c2a17: Pull complete [2023-05-09T21:09:50.302Z] 3a2ae6a8a46f: Pull complete [2023-05-09T21:09:50.562Z] 33b1e0a273af: Pull complete [2023-05-09T21:09:50.562Z] 5d3b04190fa2: Pull complete [2023-05-09T21:09:55.828Z] 2f39f015ded8: Pull complete [2023-05-09T21:09:55.828Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T21:09:55.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:09:55.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:09:56.065Z] prd-ubuntu20.04-docker-8c-8g-14765 does not seem to be running inside a container [2023-05-09T21:09:56.106Z] $ 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-242 -v /w/workspace/foundry_device-usb-camera_PR-242:/w/workspace/foundry_device-usb-camera_PR-242:rw,z -v /w/workspace/foundry_device-usb-camera_PR-242@tmp:/w/workspace/foundry_device-usb-camera_PR-242@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-05-09T21:09:59.305Z] $ docker top a26f64c2ae02fdc9e3dad1e84afad0f70ea5e11dd84d7f35c8b32d29a9891e62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:09:59.745Z] ---> job-cost.sh [2023-05-09T21:09:59.746Z] lf-activate-venv: SKIPPING [2023-05-09T21:09:59.746Z] INFO: No Stack... [2023-05-09T21:10:00.004Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T21:10:00.263Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T21:10:00.583Z] + cat /w/workspace/foundry_device-usb-camera_PR-242/archives/cost.csv [2023-05-09T21:10:00.583Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T21:10:00.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] [2023-05-09T21:10:00.632Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] did not exist. Created. [2023-05-09T21:10:00.632Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T21:10:01.035Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T21:10:01.092Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T21:10:01.125Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T21:10:01.220Z] $ docker stop --time=1 a26f64c2ae02fdc9e3dad1e84afad0f70ea5e11dd84d7f35c8b32d29a9891e62 [2023-05-09T21:10:02.375Z] $ docker rm -f --volumes a26f64c2ae02fdc9e3dad1e84afad0f70ea5e11dd84d7f35c8b32d29a9891e62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T21:11:35.122Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14766 in /w/workspace/foundry_device-usb-camera_PR-242 [Pipeline] { [Pipeline] ws [2023-05-09T21:11:35.187Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-09T21:11:35.277Z] Selected Git installation does not exist. Using Default [2023-05-09T21:11:35.277Z] The recommended git tool is: NONE [2023-05-09T21:11:41.021Z] using credential edgex-jenkins-ssh [2023-05-09T21:11:41.043Z] Cloning the remote Git repository [2023-05-09T21:11:41.093Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-09T21:11:41.209Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-09T21:11:41.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-09T21:11:41.394Z] > git --version # timeout=10 [2023-05-09T21:11:41.421Z] > git --version # 'git version 2.25.1' [2023-05-09T21:11:41.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T21:11:41.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T21:11:42.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-09T21:11:42.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T21:11:43.508Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-09T21:11:43.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-09T21:11:43.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T21:11:43.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T21:11:44.213Z] Merging remotes/origin/main commit f3ee1c0153f2e3f72d736c3f75fc81f5cc565b30 into PR head commit 52b8227178c8b16fdaadcc1dc7177f9d18f5134d [2023-05-09T21:11:44.544Z] Merge succeeded, producing 52b8227178c8b16fdaadcc1dc7177f9d18f5134d [2023-05-09T21:11:44.545Z] Checking out Revision 52b8227178c8b16fdaadcc1dc7177f9d18f5134d (PR-242) [2023-05-09T21:11:44.222Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T21:11:44.310Z] > git checkout -f 52b8227178c8b16fdaadcc1dc7177f9d18f5134d # timeout=10 [2023-05-09T21:11:44.408Z] > git remote # timeout=10 [2023-05-09T21:11:44.428Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T21:11:44.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T21:11:44.483Z] > git merge f3ee1c0153f2e3f72d736c3f75fc81f5cc565b30 # timeout=10 [2023-05-09T21:11:44.512Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T21:11:44.541Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T21:11:44.557Z] > git checkout -f 52b8227178c8b16fdaadcc1dc7177f9d18f5134d # timeout=10 [2023-05-09T21:11:48.150Z] Commit message: "refactor: Consume Provision Watcher changes for running multiple instances" [2023-05-09T21:11:48.195Z] > git --version # timeout=10 [2023-05-09T21:11:48.210Z] > git --version # 'git version 2.25.1' [2023-05-09T21:11:48.226Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T21:11:49.582Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T21:11:49.582Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:11:49.582Z] Dload Upload Total Spent Left Speed [2023-05-09T21:11:49.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-05-09T21:11:50.290Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T21:11:50.651Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T21:11:50.651Z] + sudo tee /etc/docker/daemon.new [2023-05-09T21:11:50.651Z] { [2023-05-09T21:11:50.651Z] "registry-mirrors": [ [2023-05-09T21:11:50.651Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T21:11:50.651Z] ], [2023-05-09T21:11:50.651Z] "bip": "10.250.0.254/24", [2023-05-09T21:11:50.651Z] "hosts": [ [2023-05-09T21:11:50.651Z] "tcp://0.0.0.0:5555", [2023-05-09T21:11:50.651Z] "unix:///var/run/docker.sock" [2023-05-09T21:11:50.651Z] ], [2023-05-09T21:11:50.651Z] "mtu": 1458, [2023-05-09T21:11:50.651Z] "selinux-enabled": true, [2023-05-09T21:11:50.651Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T21:11:50.651Z] } [Pipeline] sh [2023-05-09T21:11:50.996Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T21:11:51.342Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T21:12:09.705Z] provisioning config files... [2023-05-09T21:12:09.738Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config15070513117284779618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:12:10.135Z] ---> docker-login.sh [2023-05-09T21:12:10.135Z] nexus3.edgexfoundry.org:10001 [2023-05-09T21:12:10.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:12:10.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:12:10.731Z] Configure a credential helper to remove this warning. See [2023-05-09T21:12:10.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:12:10.731Z] [2023-05-09T21:12:10.731Z] Login Succeeded [2023-05-09T21:12:10.731Z] nexus3.edgexfoundry.org:10002 [2023-05-09T21:12:11.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:12:11.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:12:11.285Z] Configure a credential helper to remove this warning. See [2023-05-09T21:12:11.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:12:11.285Z] [2023-05-09T21:12:11.285Z] Login Succeeded [2023-05-09T21:12:11.285Z] nexus3.edgexfoundry.org:10003 [2023-05-09T21:12:11.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:12:11.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:12:11.558Z] Configure a credential helper to remove this warning. See [2023-05-09T21:12:11.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:12:11.558Z] [2023-05-09T21:12:11.558Z] Login Succeeded [2023-05-09T21:12:11.558Z] nexus3.edgexfoundry.org:10004 [2023-05-09T21:12:11.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:12:12.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:12:12.109Z] Configure a credential helper to remove this warning. See [2023-05-09T21:12:12.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:12:12.109Z] [2023-05-09T21:12:12.109Z] Login Succeeded [2023-05-09T21:12:12.109Z] docker.io [2023-05-09T21:12:12.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:12:12.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:12:12.654Z] Configure a credential helper to remove this warning. See [2023-05-09T21:12:12.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:12:12.654Z] [2023-05-09T21:12:12.654Z] Login Succeeded [2023-05-09T21:12:12.654Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T21:12:12.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T21:12:13.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:12:13.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:12:13.201Z] ========================================================= [2023-05-09T21:12:13.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T21:12:13.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:12:13.717Z] + 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-05-09T21:12:13.988Z] Sending build context to Docker daemon 1.288MB [2023-05-09T21:12:13.988Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:12:13.989Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-09T21:12:14.265Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T21:12:14.265Z] c41833b44d91: Pulling fs layer [2023-05-09T21:12:14.265Z] ed15518f5707: Pulling fs layer [2023-05-09T21:12:14.265Z] feae8fd75edb: Pulling fs layer [2023-05-09T21:12:14.265Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T21:12:14.265Z] 3cdef696dda3: Pulling fs layer [2023-05-09T21:12:14.265Z] 2ced38df9373: Pulling fs layer [2023-05-09T21:12:14.265Z] 58f1dce35555: Pulling fs layer [2023-05-09T21:12:14.265Z] 3cdef696dda3: Waiting [2023-05-09T21:12:14.265Z] 2ced38df9373: Waiting [2023-05-09T21:12:14.265Z] 58f1dce35555: Waiting [2023-05-09T21:12:14.265Z] 242c74f7c9fa: Waiting [2023-05-09T21:12:14.265Z] ed15518f5707: Verifying Checksum [2023-05-09T21:12:14.265Z] ed15518f5707: Download complete [2023-05-09T21:12:14.265Z] 242c74f7c9fa: Download complete [2023-05-09T21:12:14.542Z] 3cdef696dda3: Verifying Checksum [2023-05-09T21:12:14.542Z] 3cdef696dda3: Download complete [2023-05-09T21:12:14.542Z] c41833b44d91: Verifying Checksum [2023-05-09T21:12:14.542Z] c41833b44d91: Download complete [2023-05-09T21:12:15.531Z] c41833b44d91: Pull complete [2023-05-09T21:12:16.121Z] 58f1dce35555: Verifying Checksum [2023-05-09T21:12:16.121Z] 58f1dce35555: Download complete [2023-05-09T21:12:16.121Z] ed15518f5707: Pull complete [2023-05-09T21:12:17.098Z] feae8fd75edb: Verifying Checksum [2023-05-09T21:12:17.098Z] feae8fd75edb: Download complete [2023-05-09T21:12:17.367Z] 2ced38df9373: Verifying Checksum [2023-05-09T21:12:17.367Z] 2ced38df9373: Download complete [2023-05-09T21:12:29.738Z] feae8fd75edb: Pull complete [2023-05-09T21:12:29.738Z] 242c74f7c9fa: Pull complete [2023-05-09T21:12:29.738Z] 3cdef696dda3: Pull complete [2023-05-09T21:12:36.412Z] 2ced38df9373: Pull complete [2023-05-09T21:12:39.791Z] 58f1dce35555: Pull complete [2023-05-09T21:12:39.791Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T21:12:40.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T21:12:40.060Z] ---> fadd8f120f05 [2023-05-09T21:12:40.060Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-09T21:12:42.074Z] ---> Running in 2151abd23795 [2023-05-09T21:12:42.074Z] Removing intermediate container 2151abd23795 [2023-05-09T21:12:42.074Z] ---> a551578b7912 [2023-05-09T21:12:42.074Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T21:12:42.074Z] ---> Running in 86290fe34a90 [2023-05-09T21:12:42.659Z] Removing intermediate container 86290fe34a90 [2023-05-09T21:12:42.659Z] ---> 1dc2808da418 [2023-05-09T21:12:42.659Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-09T21:12:42.659Z] ---> Running in b07d6f994c8a [2023-05-09T21:12:42.935Z] Removing intermediate container b07d6f994c8a [2023-05-09T21:12:42.935Z] ---> 4c6f50a05e7b [2023-05-09T21:12:42.935Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-09T21:12:42.935Z] ---> Running in c8ad58f84098 [2023-05-09T21:12:43.208Z] Removing intermediate container c8ad58f84098 [2023-05-09T21:12:43.208Z] ---> 8398909293a1 [2023-05-09T21:12:43.208Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T21:12:43.476Z] ---> Running in 2a8397cfc627 [2023-05-09T21:12:44.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T21:12:45.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T21:12:46.138Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-09T21:12:46.138Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-09T21:12:46.138Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-09T21:12:46.138Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-09T21:12:46.138Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-09T21:12:46.411Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-09T21:12:46.411Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-09T21:12:46.411Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-09T21:12:46.411Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-09T21:12:46.411Z] (10/14) Installing kmod-libs (30-r1) [2023-05-09T21:12:46.411Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-09T21:12:46.411Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-09T21:12:46.411Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-09T21:12:46.411Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-09T21:12:46.411Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T21:12:46.411Z] Executing eudev-3.2.11-r4.trigger [2023-05-09T21:12:46.679Z] OK: 271 MiB in 67 packages [2023-05-09T21:12:48.106Z] Removing intermediate container 2a8397cfc627 [2023-05-09T21:12:48.106Z] ---> 7aa1c6a30ccd [2023-05-09T21:12:48.106Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-09T21:12:48.106Z] ---> Running in 462233b5d3a4 [2023-05-09T21:12:48.106Z] Removing intermediate container 462233b5d3a4 [2023-05-09T21:12:48.106Z] ---> 463582514149 [2023-05-09T21:12:48.106Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-09T21:12:48.697Z] ---> 98a3368e3e97 [2023-05-09T21:12:48.697Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:12:48.697Z] ---> Running in 60b28e7b76c9 [2023-05-09T21:13:56.605Z] Removing intermediate container 60b28e7b76c9 [2023-05-09T21:13:56.605Z] ---> 3bdb93e41e74 [2023-05-09T21:13:56.605Z] Step 11/13 : COPY . . [2023-05-09T21:13:56.605Z] ---> 33f4924059df [2023-05-09T21:13:56.605Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-09T21:13:56.605Z] ---> Running in 4b73efed6613 [2023-05-09T21:13:56.605Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:13:56.605Z] Dload Upload Total Spent Left Speed [2023-05-09T21:13:56.605Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2903 0 --:--:-- --:--:-- --:--:-- 2909 [2023-05-09T21:13:56.605Z] Removing intermediate container 4b73efed6613 [2023-05-09T21:13:56.605Z] ---> ab1d774f18e4 [2023-05-09T21:13:56.605Z] Step 13/13 : RUN ${MAKE} [2023-05-09T21:13:56.605Z] ---> Running in b79ce5e865fc [2023-05-09T21:13:56.605Z] noop [2023-05-09T21:13:56.605Z] Removing intermediate container b79ce5e865fc [2023-05-09T21:13:56.605Z] ---> 62b710c61b79 [2023-05-09T21:13:56.605Z] Successfully built 62b710c61b79 [2023-05-09T21:13:56.605Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:13:57.098Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T21:13:57.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:13:57.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-14766 does not seem to be running inside a container [2023-05-09T21:13:57.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T21:13:58.719Z] $ docker top a2b30fab07049051ab26bee191d8609770e3a58431853f4418b98b609cba8efd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:13:59.592Z] + go version [2023-05-09T21:13:59.593Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T21:13:59.653Z] $ docker stop --time=1 a2b30fab07049051ab26bee191d8609770e3a58431853f4418b98b609cba8efd [2023-05-09T21:14:01.333Z] $ docker rm -f --volumes a2b30fab07049051ab26bee191d8609770e3a58431853f4418b98b609cba8efd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:14:02.356Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T21:14:02.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:14:02.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-14766 does not seem to be running inside a container [2023-05-09T21:14:02.711Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T21:14:03.888Z] $ docker top 744b7a0a46d6438ad311746846541b651e6c08e6e58d159b7525e683bcb5f3e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:14:04.755Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-09T21:14:05.475Z] + make test [2023-05-09T21:14:05.475Z] go test ./... -coverprofile=coverage.out ./... [2023-05-09T21:14:37.754Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-09T21:16:59.493Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-09T21:16:59.493Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 2.0% of statements [2023-05-09T21:16:59.493Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T21:16:59.493Z] go vet ./... [2023-05-09T21:17:26.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T21:17:26.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T21:17:26.208Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T21:17:26.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T21:17:26.301Z] $ docker stop --time=1 744b7a0a46d6438ad311746846541b651e6c08e6e58d159b7525e683bcb5f3e8 [2023-05-09T21:17:28.134Z] $ docker rm -f --volumes 744b7a0a46d6438ad311746846541b651e6c08e6e58d159b7525e683bcb5f3e8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T21:17:30.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T21:17:30.640Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T21:17:31.234Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T21:17:31.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T21:17:32.311Z] + ls -al . [2023-05-09T21:17:32.311Z] total 188 [2023-05-09T21:17:32.311Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 21:14 . [2023-05-09T21:17:32.311Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:11 .. [2023-05-09T21:17:32.311Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:11 .git [2023-05-09T21:17:32.311Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:11 .github [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 414 May 9 21:11 .gitignore [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:11 .golangci.yml [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 77 May 9 21:11 .hadolint.yml [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 9 21:11 Attribution.txt [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 9 21:11 CHANGELOG.md [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 9 21:11 Dockerfile [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 678 May 9 21:11 GOVERNANCE.md [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 659 May 9 21:11 Jenkinsfile [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 9 21:11 LICENSE [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 9 21:11 Makefile [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 21:11 OWNERS.md [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 9 21:11 README.md [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:07 VERSION [2023-05-09T21:17:32.311Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:11 bin [2023-05-09T21:17:32.311Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:11 cmd [2023-05-09T21:17:32.311Z] -rw-r--r-- 1 jenkins jenkins 28693 May 9 21:16 coverage.out [2023-05-09T21:17:32.311Z] -rwxrwxr-x 1 jenkins jenkins 140 May 9 21:11 docker-entrypoint.sh [2023-05-09T21:17:32.311Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:11 docs [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 9 21:11 go.mod [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 9 21:11 go.sum [2023-05-09T21:17:32.311Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:11 internal [2023-05-09T21:17:32.311Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:11 snap [2023-05-09T21:17:32.311Z] -rw-rw-r-- 1 jenkins jenkins 231 May 9 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:17:32.787Z] + 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=52b8227178c8b16fdaadcc1dc7177f9d18f5134d --label arch=arm64 --label version=0.0.0 . [2023-05-09T21:17:33.055Z] Sending build context to Docker daemon 1.317MB [2023-05-09T21:17:33.055Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:17:33.055Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-09T21:17:33.055Z] ---> 62b710c61b79 [2023-05-09T21:17:33.055Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-09T21:17:33.324Z] ---> Running in 64b24aa8386b [2023-05-09T21:17:33.593Z] Removing intermediate container 64b24aa8386b [2023-05-09T21:17:33.593Z] ---> 68c5e0e09cda [2023-05-09T21:17:33.593Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T21:17:33.593Z] ---> Running in 3a4bad87dfa9 [2023-05-09T21:17:33.865Z] Removing intermediate container 3a4bad87dfa9 [2023-05-09T21:17:33.865Z] ---> 1f5013e9c47e [2023-05-09T21:17:33.865Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-09T21:17:33.865Z] ---> Running in badfd23a426f [2023-05-09T21:17:34.153Z] Removing intermediate container badfd23a426f [2023-05-09T21:17:34.153Z] ---> a18b824bb893 [2023-05-09T21:17:34.153Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-09T21:17:34.422Z] ---> Running in d5fd17b7d264 [2023-05-09T21:17:34.690Z] Removing intermediate container d5fd17b7d264 [2023-05-09T21:17:34.690Z] ---> 343f560294f4 [2023-05-09T21:17:34.690Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T21:17:34.690Z] ---> Running in d9ffec298b32 [2023-05-09T21:17:35.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T21:17:36.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T21:17:37.206Z] OK: 271 MiB in 67 packages [2023-05-09T21:17:38.171Z] Removing intermediate container d9ffec298b32 [2023-05-09T21:17:38.171Z] ---> daaa1f77ef28 [2023-05-09T21:17:38.171Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-09T21:17:38.171Z] ---> Running in af089c9bb272 [2023-05-09T21:17:38.440Z] Removing intermediate container af089c9bb272 [2023-05-09T21:17:38.440Z] ---> 9a8dc31a81e2 [2023-05-09T21:17:38.440Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-09T21:17:39.026Z] ---> 030ddc7258a2 [2023-05-09T21:17:39.026Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:17:39.026Z] ---> Running in aa1924ef7f35 [2023-05-09T21:17:43.294Z] Removing intermediate container aa1924ef7f35 [2023-05-09T21:17:43.294Z] ---> 183fd95a2e91 [2023-05-09T21:17:43.294Z] Step 11/35 : COPY . . [2023-05-09T21:17:43.880Z] ---> 9a8799e746f3 [2023-05-09T21:17:43.880Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-09T21:17:43.880Z] ---> Running in 9b6bacca1a75 [2023-05-09T21:17:44.839Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:17:44.839Z] Dload Upload Total Spent Left Speed [2023-05-09T21:17:45.106Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3601 0 --:--:-- --:--:-- --:--:-- 3612 [2023-05-09T21:17:46.069Z] Removing intermediate container 9b6bacca1a75 [2023-05-09T21:17:46.069Z] ---> b4f9acf09363 [2023-05-09T21:17:46.069Z] Step 13/35 : RUN ${MAKE} [2023-05-09T21:17:46.069Z] ---> Running in e339adac23e7 [2023-05-09T21:17:47.028Z] 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-05-09T21:20:23.810Z] Removing intermediate container e339adac23e7 [2023-05-09T21:20:23.810Z] ---> ecdbb550fa1b [2023-05-09T21:20:23.810Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-09T21:20:23.810Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-09T21:20:23.810Z] 8766b47fe142: Pulling fs layer [2023-05-09T21:20:23.810Z] 8766b47fe142: Verifying Checksum [2023-05-09T21:20:23.810Z] 8766b47fe142: Download complete [2023-05-09T21:20:23.810Z] 8766b47fe142: Pull complete [2023-05-09T21:20:23.810Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-09T21:20:23.810Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-09T21:20:23.810Z] ---> 69d40e2cb93c [2023-05-09T21:20:23.810Z] Step 15/35 : FROM alpine:3.17 [2023-05-09T21:20:23.810Z] 3.17: Pulling from library/alpine [2023-05-09T21:20:23.810Z] c41833b44d91: Already exists [2023-05-09T21:20:23.810Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T21:20:23.810Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T21:20:23.810Z] ---> 51e60588ff2c [2023-05-09T21:20:23.810Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-09T21:20:23.810Z] ---> Running in 12c75a6d523f [2023-05-09T21:20:23.810Z] Removing intermediate container 12c75a6d523f [2023-05-09T21:20:23.810Z] ---> da0ae2955718 [2023-05-09T21:20:23.810Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-09T21:20:23.810Z] ---> Running in 44b63e8ac708 [2023-05-09T21:20:23.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T21:20:23.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T21:20:24.779Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-09T21:20:24.779Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-09T21:20:24.779Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-09T21:20:24.779Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-09T21:20:24.779Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-09T21:20:24.779Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-09T21:20:24.779Z] (7/83) Installing libxcb (1.15-r0) [2023-05-09T21:20:24.779Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-09T21:20:25.050Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-09T21:20:25.050Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-09T21:20:25.319Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-09T21:20:25.319Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-09T21:20:25.319Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-09T21:20:25.319Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-09T21:20:25.319Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-09T21:20:25.319Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-09T21:20:25.319Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-09T21:20:25.319Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-09T21:20:25.319Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-09T21:20:25.319Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-09T21:20:25.319Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-09T21:20:25.591Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-09T21:20:25.591Z] (23/83) Installing glib (2.74.6-r0) [2023-05-09T21:20:25.591Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-09T21:20:25.591Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-09T21:20:25.591Z] (26/83) Installing libass (0.16.0-r1) [2023-05-09T21:20:25.591Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-09T21:20:25.591Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-09T21:20:25.591Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-09T21:20:25.861Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-09T21:20:25.861Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-09T21:20:25.861Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-09T21:20:25.861Z] (33/83) Installing libunistring (1.1-r0) [2023-05-09T21:20:25.861Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-09T21:20:25.861Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-09T21:20:25.861Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-09T21:20:25.861Z] (37/83) Installing lame (3.100-r2) [2023-05-09T21:20:25.861Z] (38/83) Installing opus (1.3.1-r1) [2023-05-09T21:20:25.861Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-09T21:20:25.861Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-09T21:20:26.131Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-09T21:20:26.132Z] (42/83) Installing orc (0.4.33-r0) [2023-05-09T21:20:26.132Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-09T21:20:26.132Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-09T21:20:26.132Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-09T21:20:26.132Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-09T21:20:26.132Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-09T21:20:26.132Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-09T21:20:26.132Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-09T21:20:26.132Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-09T21:20:26.132Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-09T21:20:26.132Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-09T21:20:26.132Z] (53/83) Installing libpulse (16.1-r6) [2023-05-09T21:20:26.132Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-09T21:20:26.132Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-09T21:20:26.402Z] (56/83) Installing librist (0.2.7-r0) [2023-05-09T21:20:26.402Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-09T21:20:26.402Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-09T21:20:26.402Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-09T21:20:26.402Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-09T21:20:26.402Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-09T21:20:26.402Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-09T21:20:26.402Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-09T21:20:26.402Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-09T21:20:26.402Z] (65/83) Installing libva (2.16.0-r0) [2023-05-09T21:20:26.402Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-09T21:20:26.402Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-09T21:20:26.402Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-09T21:20:26.672Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-09T21:20:26.672Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-09T21:20:26.672Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-09T21:20:26.672Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-09T21:20:26.672Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-09T21:20:26.944Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-09T21:20:26.944Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-09T21:20:26.944Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-09T21:20:27.215Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-09T21:20:27.215Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-09T21:20:27.215Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-09T21:20:27.215Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-09T21:20:27.215Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-09T21:20:27.215Z] (82/83) Installing kmod-libs (30-r1) [2023-05-09T21:20:27.484Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-09T21:20:27.484Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T21:20:27.484Z] Executing eudev-3.2.11-r4.trigger [2023-05-09T21:20:27.484Z] OK: 86 MiB in 98 packages [2023-05-09T21:20:30.836Z] Removing intermediate container 44b63e8ac708 [2023-05-09T21:20:30.836Z] ---> 4420537e92fb [2023-05-09T21:20:30.836Z] Step 18/35 : WORKDIR / [2023-05-09T21:20:30.836Z] ---> Running in b7eead1b9cc5 [2023-05-09T21:20:30.836Z] Removing intermediate container b7eead1b9cc5 [2023-05-09T21:20:30.836Z] ---> 776b26b42aee [2023-05-09T21:20:30.836Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-09T21:20:32.260Z] ---> 5808566ff210 [2023-05-09T21:20:32.260Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-09T21:20:32.845Z] ---> 8712993fc8e9 [2023-05-09T21:20:32.845Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-09T21:20:33.115Z] ---> 12f4fffa68ca [2023-05-09T21:20:33.115Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-09T21:20:33.701Z] ---> cbef67a60f33 [2023-05-09T21:20:33.701Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-09T21:20:34.287Z] ---> 06f6a6501a63 [2023-05-09T21:20:34.287Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-09T21:20:34.872Z] ---> 4822135f395e [2023-05-09T21:20:34.872Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-09T21:20:36.284Z] ---> 0955e3d0f2b3 [2023-05-09T21:20:36.284Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-09T21:20:36.554Z] ---> Running in c9e42f8f020e [2023-05-09T21:20:38.507Z] Removing intermediate container c9e42f8f020e [2023-05-09T21:20:38.507Z] ---> 59ee788552b4 [2023-05-09T21:20:38.507Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-09T21:20:38.507Z] ---> Running in 16f98ecde6c6 [2023-05-09T21:20:40.468Z] Removing intermediate container 16f98ecde6c6 [2023-05-09T21:20:40.468Z] ---> c7328f6898a2 [2023-05-09T21:20:40.468Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-09T21:20:40.468Z] ---> Running in 7ee2b1af0343 [2023-05-09T21:20:41.882Z] Removing intermediate container 7ee2b1af0343 [2023-05-09T21:20:41.882Z] ---> 97765ddab383 [2023-05-09T21:20:41.882Z] Step 29/35 : EXPOSE 59983 [2023-05-09T21:20:41.882Z] ---> Running in 6d962d145e7e [2023-05-09T21:20:42.151Z] Removing intermediate container 6d962d145e7e [2023-05-09T21:20:42.151Z] ---> 0e36b7bde0a6 [2023-05-09T21:20:42.151Z] Step 30/35 : EXPOSE 8554 [2023-05-09T21:20:42.151Z] ---> Running in fb8620fd872b [2023-05-09T21:20:42.419Z] Removing intermediate container fb8620fd872b [2023-05-09T21:20:42.419Z] ---> 15690b75ba82 [2023-05-09T21:20:42.419Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-09T21:20:42.690Z] ---> Running in cd013d5c5b0c [2023-05-09T21:20:42.958Z] Removing intermediate container cd013d5c5b0c [2023-05-09T21:20:42.958Z] ---> 91ccba2386e6 [2023-05-09T21:20:42.958Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-09T21:20:42.958Z] ---> Running in d89efe7456ab [2023-05-09T21:20:43.226Z] Removing intermediate container d89efe7456ab [2023-05-09T21:20:43.226Z] ---> a850709afec6 [2023-05-09T21:20:43.226Z] Step 33/35 : LABEL arch=arm64 [2023-05-09T21:20:43.226Z] ---> Running in ae50451e2bab [2023-05-09T21:20:43.818Z] Removing intermediate container ae50451e2bab [2023-05-09T21:20:43.818Z] ---> bc8e0a5633c7 [2023-05-09T21:20:43.818Z] Step 34/35 : LABEL git_sha=52b8227178c8b16fdaadcc1dc7177f9d18f5134d [2023-05-09T21:20:43.818Z] ---> Running in 0906dbba24b5 [2023-05-09T21:20:44.086Z] Removing intermediate container 0906dbba24b5 [2023-05-09T21:20:44.086Z] ---> c6b5046eb6a6 [2023-05-09T21:20:44.086Z] Step 35/35 : LABEL version=0.0.0 [2023-05-09T21:20:44.086Z] ---> Running in 29e0cdbf5756 [2023-05-09T21:20:44.354Z] Removing intermediate container 29e0cdbf5756 [2023-05-09T21:20:44.354Z] ---> d871766eab5d [2023-05-09T21:20:44.354Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T21:20:44.354Z] Successfully built d871766eab5d [2023-05-09T21:20:44.354Z] 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-05-09T21:20:45.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T21:20:45.183Z] [2023-05-09T21:20:45.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:20:45.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T21:20:45.601Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T21:20:45.601Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T21:20:45.601Z] 04944245beec: Pulling fs layer [2023-05-09T21:20:45.601Z] 699f458cf7ca: Pulling fs layer [2023-05-09T21:20:45.601Z] 765212b225bb: Pulling fs layer [2023-05-09T21:20:45.601Z] f23df028b6ca: Pulling fs layer [2023-05-09T21:20:45.601Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T21:20:45.601Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T21:20:45.601Z] 765212b225bb: Waiting [2023-05-09T21:20:45.601Z] d65c8cfc05b1: Waiting [2023-05-09T21:20:45.601Z] f23df028b6ca: Waiting [2023-05-09T21:20:45.601Z] 2437ff75d9bd: Waiting [2023-05-09T21:20:45.877Z] 04944245beec: Verifying Checksum [2023-05-09T21:20:45.877Z] 04944245beec: Download complete [2023-05-09T21:20:45.877Z] 765212b225bb: Verifying Checksum [2023-05-09T21:20:45.877Z] 765212b225bb: Download complete [2023-05-09T21:20:45.877Z] f23df028b6ca: Verifying Checksum [2023-05-09T21:20:45.877Z] f23df028b6ca: Download complete [2023-05-09T21:20:45.877Z] 699f458cf7ca: Verifying Checksum [2023-05-09T21:20:45.877Z] 699f458cf7ca: Download complete [2023-05-09T21:20:46.146Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T21:20:46.146Z] d65c8cfc05b1: Download complete [2023-05-09T21:20:46.413Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T21:20:46.413Z] 8998bd30e6a1: Download complete [2023-05-09T21:20:48.997Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T21:20:48.997Z] 2437ff75d9bd: Download complete [2023-05-09T21:20:50.413Z] 8998bd30e6a1: Pull complete [2023-05-09T21:20:50.679Z] 04944245beec: Pull complete [2023-05-09T21:20:52.109Z] 699f458cf7ca: Pull complete [2023-05-09T21:20:52.109Z] 765212b225bb: Pull complete [2023-05-09T21:20:53.074Z] f23df028b6ca: Pull complete [2023-05-09T21:20:53.074Z] d65c8cfc05b1: Pull complete [2023-05-09T21:21:08.092Z] 2437ff75d9bd: Pull complete [2023-05-09T21:21:08.092Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T21:21:08.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T21:21:08.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:21:08.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-14766 does not seem to be running inside a container [2023-05-09T21:21:08.501Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-09T21:21:11.116Z] $ docker top 24bad580b5896b908a64769bb9ed4c0e08dcbb36b6eda831e87fa255b8506037 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:11.999Z] ---> job-cost.sh [2023-05-09T21:21:11.999Z] lf-activate-venv: SKIPPING [2023-05-09T21:21:11.999Z] INFO: No Stack... [2023-05-09T21:21:12.586Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T21:21:13.550Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T21:21:14.219Z] + + cat /w/workspace/device-usb-camera/1/archives/cost.csvcut -d, -f6 [2023-05-09T21:21:14.219Z] [Pipeline] lock [2023-05-09T21:21:14.315Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] [2023-05-09T21:21:14.321Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] did not exist. Created. [2023-05-09T21:21:14.321Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T21:21:15.050Z] /w/workspace/device-usb-camera/1@tmp/durable-cfc318f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T21:21:15.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T21:21:15.762Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T21:21:15.830Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T21:21:15.844Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-242-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T21:21:15.950Z] $ docker stop --time=1 24bad580b5896b908a64769bb9ed4c0e08dcbb36b6eda831e87fa255b8506037 [2023-05-09T21:21:17.490Z] $ docker rm -f --volumes 24bad580b5896b908a64769bb9ed4c0e08dcbb36b6eda831e87fa255b8506037 [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-05-09T21:21:18.431Z] provisioning config files... [2023-05-09T21:21:18.441Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-242@tmp/config6592738873212100558tmp [Pipeline] { [Pipeline] sh [2023-05-09T21:21:18.775Z] + set +x [2023-05-09T21:21:18.776Z] + + bash -scurl -- -s [2023-05-09T21:21:18.776Z] https://codecov.io/bash [2023-05-09T21:21:18.776Z] [2023-05-09T21:21:18.776Z] _____ _ [2023-05-09T21:21:18.776Z] / ____| | | [2023-05-09T21:21:18.776Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T21:21:18.776Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T21:21:18.776Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T21:21:18.776Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T21:21:18.776Z] Bash-1.0.6 [2023-05-09T21:21:18.776Z] [2023-05-09T21:21:18.776Z] [2023-05-09T21:21:18.776Z] ==> git version 2.25.1 found [2023-05-09T21:21:18.776Z] ==> 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-05-09T21:21:18.776Z] Release-Date: 2020-01-08 [2023-05-09T21:21:18.776Z] 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-05-09T21:21:18.776Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T21:21:18.776Z] ==> Jenkins CI detected. [2023-05-09T21:21:18.776Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-242 [2023-05-09T21:21:18.776Z] project root: . [2023-05-09T21:21:18.776Z] --> token set from env [2023-05-09T21:21:18.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T21:21:18.776Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T21:21:18.776Z] ==> Python coveragepy not found [2023-05-09T21:21:18.776Z] ==> Searching for coverage reports in: [2023-05-09T21:21:18.776Z] + . [2023-05-09T21:21:18.776Z] -> Found 1 reports [2023-05-09T21:21:18.776Z] ==> Detecting git/mercurial file structure [2023-05-09T21:21:19.036Z] ==> Reading reports [2023-05-09T21:21:19.036Z] + ./coverage.out bytes=28693 [2023-05-09T21:21:19.036Z] ==> Appending adjustments [2023-05-09T21:21:19.036Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T21:21:19.036Z] + Found adjustments [2023-05-09T21:21:19.036Z] ==> Gzipping contents [2023-05-09T21:21:19.036Z] 4.0K /tmp/codecov.8WY7oC.gz [2023-05-09T21:21:19.036Z] ==> Uploading reports [2023-05-09T21:21:19.036Z] url: https://codecov.io [2023-05-09T21:21:19.036Z] query: branch=PR-242&commit=52b8227178c8b16fdaadcc1dc7177f9d18f5134d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=242&job=&cmd_args= [2023-05-09T21:21:19.036Z] -> Pinging Codecov [2023-05-09T21:21:19.036Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-242&commit=52b8227178c8b16fdaadcc1dc7177f9d18f5134d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=242&job=&cmd_args= [2023-05-09T21:21:19.296Z] -> Uploading to [2023-05-09T21:21:19.296Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/73D8F5FF140700D3E01443B452E23636/52b8227178c8b16fdaadcc1dc7177f9d18f5134d/153e087b-d0e5-4eb6-8f59-13a7a9fe4aaf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T212119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2b73b45fca1591eb1ac5d73f57cc34a41e18b96a1f6da47d41d8add9efa4148 [2023-05-09T21:21:19.296Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:21:19.296Z] Dload Upload Total Spent Left Speed [2023-05-09T21:21:19.296Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 19354 --:--:-- --:--:-- --:--:-- 19259 100 3929 0 0 100 3929 0 17940 --:--:-- --:--:-- --:--:-- 17859 [2023-05-09T21:21:19.296Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/52b8227178c8b16fdaadcc1dc7177f9d18f5134d [Pipeline] } [2023-05-09T21:21:19.322Z] 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-05-09T21:21:21.092Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-242/archives ] [2023-05-09T21:21:21.092Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-242/archives [2023-05-09T21:21:21.092Z] total 16 [2023-05-09T21:21:21.092Z] drwxr-xr-x 3 root root 4096 May 9 21:10 . [2023-05-09T21:21:21.092Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 21:10 .. [2023-05-09T21:21:21.092Z] drwxr-xr-x 2 root root 4096 May 9 21:10 cost [2023-05-09T21:21:21.092Z] -rw-r--r-- 1 root root 89 May 9 21:10 cost.csv [2023-05-09T21:21:21.092Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-242/archives [2023-05-09T21:21:21.092Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-242/archives [2023-05-09T21:21:21.092Z] total 16 [2023-05-09T21:21:21.092Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:10 . [2023-05-09T21:21:21.092Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 21:10 .. [2023-05-09T21:21:21.092Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 21:10 cost [2023-05-09T21:21:21.092Z] -rw-r--r-- 1 jenkins jenkins 89 May 9 21:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:21.425Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:22.320Z] ---> package-listing.sh [2023-05-09T21:21:22.320Z] ++ facter osfamily [2023-05-09T21:21:22.320Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T21:21:22.580Z] + OS_FAMILY=debian [2023-05-09T21:21:22.580Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-242 [2023-05-09T21:21:22.580Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T21:21:22.580Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T21:21:22.580Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T21:21:22.580Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T21:21:22.580Z] + '[' /w/workspace/foundry_device-usb-camera_PR-242 ']' [2023-05-09T21:21:22.580Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T21:21:22.580Z] + case "${OS_FAMILY}" in [2023-05-09T21:21:22.580Z] + dpkg -l [2023-05-09T21:21:22.580Z] + grep '^ii' [2023-05-09T21:21:22.580Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T21:21:22.580Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T21:21:22.580Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T21:21:22.581Z] + '[' /w/workspace/foundry_device-usb-camera_PR-242 ']' [2023-05-09T21:21:22.581Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-242/archives/ [2023-05-09T21:21:22.581Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-242/archives/ [Pipeline] echo [2023-05-09T21:21:22.617Z] 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-242/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T21:21:22.913Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:21:23.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:21:23.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:21:23.712Z] prd-ubuntu20.04-docker-8c-8g-14765 does not seem to be running inside a container [2023-05-09T21:21:23.750Z] $ 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-242/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-242 -v /w/workspace/foundry_device-usb-camera_PR-242:/w/workspace/foundry_device-usb-camera_PR-242:rw,z -v /w/workspace/foundry_device-usb-camera_PR-242@tmp:/w/workspace/foundry_device-usb-camera_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T21:21:23.953Z] $ docker top f29be1fb7214b4ad113e0db8909f7a46e149cc866a10830eb61ab651b70f14fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:21:24.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T21:21:24.645Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T21:21:24.961Z] + ls /var/log/sa-host [2023-05-09T21:21:24.961Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T21:21:25.107Z] provisioning config files... [2023-05-09T21:21:25.115Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-242@tmp/config6606049708161488739tmp [Pipeline] { [Pipeline] echo [2023-05-09T21:21:25.168Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:25.488Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T21:21:25.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:25.922Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T21:21:25.955Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:26.275Z] ---> sudo-logs.sh [2023-05-09T21:21:26.275Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T21:21:26.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:26.679Z] ---> job-cost.sh [2023-05-09T21:21:26.679Z] lf-activate-venv: SKIPPING [2023-05-09T21:21:26.679Z] DEBUG: total: 0.2199999988079071 [2023-05-09T21:21:26.679Z] INFO: Retrieving Stack Cost... [2023-05-09T21:21:27.247Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T21:21:27.506Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T21:21:27.544Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:21:27.862Z] ---> logs-deploy.sh [2023-05-09T21:21:27.862Z] lf-activate-venv: SKIPPING [2023-05-09T21:21:27.862Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-242/1 [2023-05-09T21:21:27.862Z] INFO: archiving workspace using pattern(s): [2023-05-09T21:21:28.801Z] Archives upload complete. [2023-05-09T21:21:29.061Z] INFO: archiving logs to Nexus