Pull request #254 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at faedb975756ffdd1f5d612842f042894232ce807 rather than a7aa7f027762502ccab20492bb8d27a332565d02 Obtained Jenkinsfile from faedb975756ffdd1f5d612842f042894232ce807 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-ssh5626788466959327270.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-ssh1212674463422775889.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8103038157042833207.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 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-ssh13265813328314540403.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16724132704192230750.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16160’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16161 in /w/workspace/foundry_device-usb-camera_PR-254 [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-254 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 Merge succeeded, producing a7aa7f027762502ccab20492bb8d27a332565d02 Checking out Revision a7aa7f027762502ccab20492bb8d27a332565d02 (PR-254) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 Commit message: "fix: remove G204 warning from ffmpeg call" > git rev-list --no-walk ef9f42283f305e50e736a234c58fc345ccf8cd39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-20T01:48:26.937Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-20T01:48:27.007Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-20T01:48:27.026Z] ========================================================= [2023-05-20T01:48:27.026Z] EdgeX Global Pipelines Version Info [2023-05-20T01:48:27.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:48:27.781Z] ------------------- [2023-05-20T01:48:27.781Z] stable info: [2023-05-20T01:48:27.781Z] ------------------- [2023-05-20T01:48:27.781Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-20T01:48:27.781Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-20T01:48:27.781Z] Message: update stable to v1.0.249 [2023-05-20T01:48:28.352Z] ------------------- [2023-05-20T01:48:28.352Z] experimental info: [2023-05-20T01:48:28.352Z] ------------------- [2023-05-20T01:48:28.352Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-20T01:48:28.352Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-20T01:48:28.352Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-20T01:48:28.542Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-20T01:48:28.558Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-20T01:48:28.570Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-20T01:48:28.583Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-20T01:48:28.595Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-20T01:48:28.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-20T01:48:28.612Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-20T01:48:28.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-20T01:48:28.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-20T01:48:28.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-20T01:48:28.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-20T01:48:28.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-20T01:48:28.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-20T01:48:28.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-20T01:48:28.712Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-20T01:48:28.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-20T01:48:28.741Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-20T01:48:28.757Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-20T01:48:28.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-20T01:48:28.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-20T01:48:28.793Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-20T01:48:28.806Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-20T01:48:28.818Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-20T01:48:28.830Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-20T01:48:28.842Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-20T01:48:28.854Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-20T01:48:28.867Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-20T01:48:28.879Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo [2023-05-20T01:48:28.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo [2023-05-20T01:48:28.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo [2023-05-20T01:48:28.924Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo [2023-05-20T01:48:28.941Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7aa7f0 [Pipeline] echo [2023-05-20T01:48:28.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T01:48:29.011Z] provisioning config files... [2023-05-20T01:48:29.036Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config10521551422188125579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:48:29.352Z] ---> docker-login.sh [2023-05-20T01:48:29.352Z] nexus3.edgexfoundry.org:10001 [2023-05-20T01:48:29.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:29.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:29.873Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:29.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:29.873Z] [2023-05-20T01:48:29.873Z] Login Succeeded [2023-05-20T01:48:29.873Z] nexus3.edgexfoundry.org:10002 [2023-05-20T01:48:29.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:29.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:29.873Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:29.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:29.873Z] [2023-05-20T01:48:29.873Z] Login Succeeded [2023-05-20T01:48:29.873Z] nexus3.edgexfoundry.org:10003 [2023-05-20T01:48:29.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:30.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:30.134Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:30.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:30.134Z] [2023-05-20T01:48:30.134Z] Login Succeeded [2023-05-20T01:48:30.134Z] nexus3.edgexfoundry.org:10004 [2023-05-20T01:48:30.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:30.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:30.134Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:30.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:30.134Z] [2023-05-20T01:48:30.134Z] Login Succeeded [2023-05-20T01:48:30.134Z] docker.io [2023-05-20T01:48:30.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:30.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:30.394Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:30.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:30.394Z] [2023-05-20T01:48:30.394Z] Login Succeeded [2023-05-20T01:48:30.394Z] ---> docker-login.sh ends [Pipeline] } [2023-05-20T01:48:30.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-20T01:48:30.804Z] + git rev-list -1 --merges a7aa7f027762502ccab20492bb8d27a332565d02~1..a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo [2023-05-20T01:48:30.860Z] -----------> git rev-list -1 --merges a7aa7f027762502ccab20492bb8d27a332565d02~1..a7aa7f027762502ccab20492bb8d27a332565d02 a7aa7f027762502ccab20492bb8d27a332565d02 [false] [Pipeline] sh [2023-05-20T01:48:31.152Z] + git log --format=format:%s -1 a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo [2023-05-20T01:48:31.167Z] ========================================================= [2023-05-20T01:48:31.167Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-20T01:48:31.167Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-20T01:48:31.492Z] + git log --format=format:%s -1 a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo [2023-05-20T01:48:31.556Z] [semverPrep] GIT_COMMIT: a7aa7f027762502ccab20492bb8d27a332565d02, Commit Message: fix: remove G204 warning from ffmpeg call [Pipeline] echo [2023-05-20T01:48:31.565Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-20T01:48:31.929Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-20T01:48:31.929Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-20T01:48:31.929Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-20T01:48:31.929Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-20T01:48:31.929Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-20T01:48:31.929Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-20T01:48:31.929Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:48:32.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-20T01:48:32.364Z] [2023-05-20T01:48:32.364Z] 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-20T01:48:32.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-20T01:48:32.665Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-20T01:48:32.665Z] b85a868b505f: Pulling fs layer [2023-05-20T01:48:32.665Z] e2be974225ed: Pulling fs layer [2023-05-20T01:48:32.665Z] 339a4e72a1f5: Pulling fs layer [2023-05-20T01:48:32.665Z] 988bab9f4d93: Pulling fs layer [2023-05-20T01:48:32.665Z] 1469e6f7b9e6: Pulling fs layer [2023-05-20T01:48:32.665Z] eaf3925da568: Pulling fs layer [2023-05-20T01:48:32.665Z] bab4dde63d76: Pulling fs layer [2023-05-20T01:48:32.665Z] bde34c3a00c8: Pulling fs layer [2023-05-20T01:48:32.665Z] b352a97aabf1: Pulling fs layer [2023-05-20T01:48:32.665Z] 4872d77fe225: Pulling fs layer [2023-05-20T01:48:32.665Z] 5851b861e8e6: Pulling fs layer [2023-05-20T01:48:32.665Z] 988bab9f4d93: Waiting [2023-05-20T01:48:32.665Z] 1469e6f7b9e6: Waiting [2023-05-20T01:48:32.665Z] eaf3925da568: Waiting [2023-05-20T01:48:32.665Z] bab4dde63d76: Waiting [2023-05-20T01:48:32.665Z] bde34c3a00c8: Waiting [2023-05-20T01:48:32.665Z] b352a97aabf1: Waiting [2023-05-20T01:48:32.665Z] 4872d77fe225: Waiting [2023-05-20T01:48:32.665Z] e2be974225ed: Download complete [2023-05-20T01:48:32.665Z] 988bab9f4d93: Download complete [2023-05-20T01:48:32.665Z] 1469e6f7b9e6: Verifying Checksum [2023-05-20T01:48:32.665Z] 1469e6f7b9e6: Download complete [2023-05-20T01:48:32.930Z] 339a4e72a1f5: Verifying Checksum [2023-05-20T01:48:32.930Z] 339a4e72a1f5: Download complete [2023-05-20T01:48:32.930Z] eaf3925da568: Verifying Checksum [2023-05-20T01:48:32.930Z] eaf3925da568: Download complete [2023-05-20T01:48:32.930Z] bde34c3a00c8: Verifying Checksum [2023-05-20T01:48:32.930Z] bde34c3a00c8: Download complete [2023-05-20T01:48:32.930Z] b352a97aabf1: Download complete [2023-05-20T01:48:32.930Z] 4872d77fe225: Download complete [2023-05-20T01:48:32.930Z] 5851b861e8e6: Verifying Checksum [2023-05-20T01:48:32.930Z] 5851b861e8e6: Download complete [2023-05-20T01:48:32.930Z] b85a868b505f: Verifying Checksum [2023-05-20T01:48:32.930Z] b85a868b505f: Download complete [2023-05-20T01:48:33.191Z] bab4dde63d76: Verifying Checksum [2023-05-20T01:48:33.191Z] bab4dde63d76: Download complete [2023-05-20T01:48:34.133Z] b85a868b505f: Pull complete [2023-05-20T01:48:34.393Z] e2be974225ed: Pull complete [2023-05-20T01:48:34.963Z] 339a4e72a1f5: Pull complete [2023-05-20T01:48:34.963Z] 988bab9f4d93: Pull complete [2023-05-20T01:48:35.224Z] 1469e6f7b9e6: Pull complete [2023-05-20T01:48:35.485Z] eaf3925da568: Pull complete [2023-05-20T01:48:37.425Z] bab4dde63d76: Pull complete [2023-05-20T01:48:37.425Z] bde34c3a00c8: Pull complete [2023-05-20T01:48:37.425Z] b352a97aabf1: Pull complete [2023-05-20T01:48:37.425Z] 4872d77fe225: Pull complete [2023-05-20T01:48:37.687Z] 5851b861e8e6: Pull complete [2023-05-20T01:48:37.687Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-20T01:48:37.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-20T01:48:37.687Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:48:37.821Z] prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container [2023-05-20T01:48:37.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@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-devops/py-git-semver:0.1.4 cat [2023-05-20T01:48:41.972Z] $ docker top 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 -eo pid,comm [2023-05-20T01:48:42.023Z] 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-20T01:48:42.023Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-20T01:48:42.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-20T01:48:42.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-20T01:48:42.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-20T01:48:42.178Z] $ docker exec 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent [2023-05-20T01:48:42.280Z] SSH_AUTH_SOCK=/tmp/ssh-ePdI8Z91iNyA/agent.32 [2023-05-20T01:48:42.280Z] SSH_AGENT_PID=38 [2023-05-20T01:48:42.287Z] Running ssh-add (command line suppressed) [2023-05-20T01:48:42.380Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_4749265289491942165.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_4749265289491942165.key) [2023-05-20T01:48:42.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-20T01:48:42.682Z] + git tag --points-at HEAD [Pipeline] } [2023-05-20T01:48:42.696Z] $ docker exec --env ******** --env ******** 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent -k [2023-05-20T01:48:42.809Z] unset SSH_AUTH_SOCK; [2023-05-20T01:48:42.809Z] unset SSH_AGENT_PID; [2023-05-20T01:48:42.809Z] echo Agent pid 38 killed; [2023-05-20T01:48:42.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-20T01:48:42.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-20T01:48:42.844Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-20T01:48:42.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-20T01:48:42.966Z] $ docker exec 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent [2023-05-20T01:48:43.076Z] SSH_AUTH_SOCK=/tmp/ssh-QmYemSHq99Mx/agent.70 [2023-05-20T01:48:43.076Z] SSH_AGENT_PID=76 [2023-05-20T01:48:43.081Z] Running ssh-add (command line suppressed) [2023-05-20T01:48:43.182Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_866778802230488704.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_866778802230488704.key) [2023-05-20T01:48:43.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-20T01:48:43.481Z] + git semver init [2023-05-20T01:48:43.742Z] 2023-05-20 01:48:43,668 [run_init] DEBUG init version:0.0.0 force:False [2023-05-20T01:48:43.742Z] 2023-05-20 01:48:43,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-254/.semver [2023-05-20T01:48:43.742Z] 2023-05-20 01:48:43,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-254/.semver [2023-05-20T01:48:43.742Z] 2023-05-20 01:48:43,669 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-254/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-254, universal_newlines=False, shell=None, istream=None) [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,366 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-254/.git/info/exclude [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,367 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 with force:False [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,367 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,372 [execute] INFO git cat-file --batch-check [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,379 [execute] INFO git cat-file --batch [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-05-20T01:48:44.682Z] 2023-05-20 01:48:44,385 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 [2023-05-20T01:48:44.682Z] 0.0.0 [Pipeline] } [2023-05-20T01:48:44.695Z] $ docker exec --env ******** --env ******** 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent -k [2023-05-20T01:48:44.790Z] unset SSH_AUTH_SOCK; [2023-05-20T01:48:44.791Z] unset SSH_AGENT_PID; [2023-05-20T01:48:44.791Z] echo Agent pid 76 killed; [2023-05-20T01:48:44.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-20T01:48:45.107Z] + git semver [Pipeline] } [2023-05-20T01:48:45.385Z] $ docker stop --time=1 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 [2023-05-20T01:48:46.703Z] $ docker rm -f --volumes 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-20T01:48:47.039Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-20T01:48:47.259Z] Stashed 1 file(s) [Pipeline] echo [2023-05-20T01:48:47.262Z] [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-20T01:48:47.413Z] provisioning config files... [2023-05-20T01:48:47.423Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config3448547995505561441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:48:47.718Z] ---> docker-login.sh [2023-05-20T01:48:47.718Z] nexus3.edgexfoundry.org:10001 [2023-05-20T01:48:47.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:47.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:47.718Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:47.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:47.718Z] [2023-05-20T01:48:47.718Z] Login Succeeded [2023-05-20T01:48:47.718Z] nexus3.edgexfoundry.org:10002 [2023-05-20T01:48:47.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:47.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:47.718Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:47.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:47.718Z] [2023-05-20T01:48:47.718Z] Login Succeeded [2023-05-20T01:48:47.718Z] nexus3.edgexfoundry.org:10003 [2023-05-20T01:48:47.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:47.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:47.979Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:47.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:47.979Z] [2023-05-20T01:48:47.979Z] Login Succeeded [2023-05-20T01:48:47.979Z] nexus3.edgexfoundry.org:10004 [2023-05-20T01:48:47.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:47.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:47.979Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:47.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:47.979Z] [2023-05-20T01:48:47.979Z] Login Succeeded [2023-05-20T01:48:47.979Z] docker.io [2023-05-20T01:48:47.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:48:48.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:48:48.239Z] Configure a credential helper to remove this warning. See [2023-05-20T01:48:48.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:48:48.239Z] [2023-05-20T01:48:48.239Z] Login Succeeded [2023-05-20T01:48:48.239Z] ---> docker-login.sh ends [Pipeline] } [2023-05-20T01:48:48.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-20T01:48:48.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:48:48.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:48:48.332Z] ========================================================= [2023-05-20T01:48:48.332Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-20T01:48:48.332Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:48:48.653Z] + 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-20T01:48:48.653Z] Sending build context to Docker daemon 1.953MB [2023-05-20T01:48:48.653Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:48:48.653Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-20T01:48:48.653Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-20T01:48:48.653Z] f56be85fc22e: Pulling fs layer [2023-05-20T01:48:48.653Z] 85791d961cd3: Pulling fs layer [2023-05-20T01:48:48.653Z] d694b5ae8c79: Pulling fs layer [2023-05-20T01:48:48.653Z] 9f32a84ed3da: Pulling fs layer [2023-05-20T01:48:48.653Z] 4d19c01a9841: Pulling fs layer [2023-05-20T01:48:48.653Z] 9325e15d5711: Pulling fs layer [2023-05-20T01:48:48.653Z] 556b6ee489ea: Pulling fs layer [2023-05-20T01:48:48.653Z] c5a4b2cf53e6: Pulling fs layer [2023-05-20T01:48:48.653Z] 9f32a84ed3da: Waiting [2023-05-20T01:48:48.653Z] 4d19c01a9841: Waiting [2023-05-20T01:48:48.653Z] 9325e15d5711: Waiting [2023-05-20T01:48:48.653Z] 556b6ee489ea: Waiting [2023-05-20T01:48:48.653Z] c5a4b2cf53e6: Waiting [2023-05-20T01:48:48.913Z] 85791d961cd3: Verifying Checksum [2023-05-20T01:48:48.913Z] 85791d961cd3: Download complete [2023-05-20T01:48:48.913Z] 9f32a84ed3da: Download complete [2023-05-20T01:48:48.913Z] 4d19c01a9841: Verifying Checksum [2023-05-20T01:48:48.913Z] 4d19c01a9841: Download complete [2023-05-20T01:48:48.913Z] f56be85fc22e: Download complete [2023-05-20T01:48:48.913Z] 9325e15d5711: Verifying Checksum [2023-05-20T01:48:48.913Z] 9325e15d5711: Download complete [2023-05-20T01:48:49.180Z] f56be85fc22e: Pull complete [2023-05-20T01:48:49.180Z] 85791d961cd3: Pull complete [2023-05-20T01:48:50.575Z] c5a4b2cf53e6: Verifying Checksum [2023-05-20T01:48:50.575Z] c5a4b2cf53e6: Download complete [2023-05-20T01:48:50.575Z] d694b5ae8c79: Verifying Checksum [2023-05-20T01:48:50.575Z] d694b5ae8c79: Download complete [2023-05-20T01:48:50.575Z] 556b6ee489ea: Verifying Checksum [2023-05-20T01:48:50.575Z] 556b6ee489ea: Download complete [2023-05-20T01:48:53.870Z] d694b5ae8c79: Pull complete [2023-05-20T01:48:54.130Z] 9f32a84ed3da: Pull complete [2023-05-20T01:48:54.130Z] 4d19c01a9841: Pull complete [2023-05-20T01:48:54.389Z] 9325e15d5711: Pull complete [2023-05-20T01:48:56.925Z] 556b6ee489ea: Pull complete [2023-05-20T01:48:58.299Z] c5a4b2cf53e6: Pull complete [2023-05-20T01:48:58.558Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-20T01:48:58.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-20T01:48:58.818Z] ---> c4be618373d6 [2023-05-20T01:48:58.818Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:49:02.372Z] Still waiting to schedule task [2023-05-20T01:49:02.373Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16158’ [2023-05-20T01:49:16.969Z] ---> Running in eca247b530da [2023-05-20T01:49:16.970Z] Removing intermediate container eca247b530da [2023-05-20T01:49:16.970Z] ---> 8eba812e0e49 [2023-05-20T01:49:16.970Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:49:16.970Z] ---> Running in 3f18e38ffccd [2023-05-20T01:49:16.970Z] Removing intermediate container 3f18e38ffccd [2023-05-20T01:49:16.970Z] ---> c735e294a98c [2023-05-20T01:49:16.970Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:49:16.970Z] ---> Running in 3631e72b85e3 [2023-05-20T01:49:16.970Z] Removing intermediate container 3631e72b85e3 [2023-05-20T01:49:16.970Z] ---> c328e10c8ece [2023-05-20T01:49:16.970Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:49:16.970Z] ---> Running in a22abe301d54 [2023-05-20T01:49:16.970Z] Removing intermediate container a22abe301d54 [2023-05-20T01:49:16.970Z] ---> eb5c12996aa5 [2023-05-20T01:49:16.970Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:49:16.970Z] ---> Running in 5bda0d240770 [2023-05-20T01:49:16.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-20T01:49:16.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-20T01:49:16.970Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-20T01:49:16.970Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-20T01:49:16.970Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T01:49:16.970Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T01:49:16.970Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-20T01:49:16.970Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-20T01:49:16.970Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-20T01:49:16.970Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-20T01:49:16.970Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-20T01:49:16.970Z] (10/14) Installing kmod-libs (30-r1) [2023-05-20T01:49:16.970Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-20T01:49:16.970Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-20T01:49:16.970Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-20T01:49:16.970Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-20T01:49:16.970Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T01:49:16.970Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T01:49:16.970Z] OK: 272 MiB in 67 packages [2023-05-20T01:49:16.970Z] Removing intermediate container 5bda0d240770 [2023-05-20T01:49:16.970Z] ---> 247e56d6043e [2023-05-20T01:49:16.970Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-20T01:49:16.970Z] ---> Running in d31d8b0c22e1 [2023-05-20T01:49:16.970Z] Removing intermediate container d31d8b0c22e1 [2023-05-20T01:49:16.970Z] ---> bbddc86214fc [2023-05-20T01:49:16.970Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-20T01:49:17.229Z] ---> 53a00af0decf [2023-05-20T01:49:17.229Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:49:17.229Z] ---> Running in e45988669a4b [2023-05-20T01:50:13.506Z] Removing intermediate container e45988669a4b [2023-05-20T01:50:13.506Z] ---> b913bff0e9ee [2023-05-20T01:50:13.506Z] Step 11/13 : COPY . . [2023-05-20T01:50:13.506Z] ---> 58415ce3868c [2023-05-20T01:50:13.506Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:50:13.506Z] ---> Running in c4bc9edec362 [2023-05-20T01:50:13.506Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-20T01:50:13.506Z]    Dload Upload Total Spent Left Speed [2023-05-20T01:50:13.506Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6436 0 --:--:-- --:--:-- --:--:-- 6475 [2023-05-20T01:50:13.506Z] Removing intermediate container c4bc9edec362 [2023-05-20T01:50:13.506Z] ---> 9a8754eb9cb8 [2023-05-20T01:50:13.506Z] Step 13/13 : RUN ${MAKE} [2023-05-20T01:50:13.506Z] ---> Running in 3143535c5038 [2023-05-20T01:50:13.506Z] noop [2023-05-20T01:50:13.506Z] Removing intermediate container 3143535c5038 [2023-05-20T01:50:13.506Z] ---> 9481e6be220b [2023-05-20T01:50:13.506Z] Successfully built 9481e6be220b [2023-05-20T01:50:13.506Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:50:13.826Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-20T01:50:13.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:50:13.903Z] prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container [2023-05-20T01:50:13.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-20T01:50:14.334Z] $ docker top e05976b70ad4e5d5d54dec083b591593bd9d45aa3925833ab1887ed6443404ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:50:14.668Z] + go version [2023-05-20T01:50:14.669Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-20T01:50:14.685Z] $ docker stop --time=1 e05976b70ad4e5d5d54dec083b591593bd9d45aa3925833ab1887ed6443404ff [2023-05-20T01:50:15.985Z] $ docker rm -f --volumes e05976b70ad4e5d5d54dec083b591593bd9d45aa3925833ab1887ed6443404ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:50:16.370Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-20T01:50:16.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:50:16.446Z] prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container [2023-05-20T01:50:16.480Z] $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-20T01:50:16.817Z] $ docker top 3fcefb452f80da73058b3eded4b65af1aff82517c33bba67325035ae0cc74fc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:50:17.150Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] fileExists [Pipeline] sh [2023-05-20T01:50:17.447Z] + make test [2023-05-20T01:50:17.447Z] go test ./... -coverprofile=coverage.out ./... [2023-05-20T01:50:22.724Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-20T01:50:32.713Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-20T01:50:32.713Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.6% of statements [2023-05-20T01:50:37.974Z] go vet ./... [2023-05-20T01:50:42.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-20T01:50:42.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-20T01:50:42.155Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-20T01:50:42.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-20T01:50:42.184Z] $ docker stop --time=1 3fcefb452f80da73058b3eded4b65af1aff82517c33bba67325035ae0cc74fc4 [2023-05-20T01:50:48.597Z] $ docker rm -f --volumes 3fcefb452f80da73058b3eded4b65af1aff82517c33bba67325035ae0cc74fc4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-20T01:50:49.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-20T01:50:49.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-20T01:50:49.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-20T01:50:49.844Z] + ls -al . [2023-05-20T01:50:49.844Z] total 192 [2023-05-20T01:50:49.844Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 01:50 . [2023-05-20T01:50:49.844Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:48 .. [2023-05-20T01:50:49.844Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 01:48 .git [2023-05-20T01:50:49.844Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:48 .github [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 414 May 20 01:48 .gitignore [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 45 May 20 01:48 .golangci.yml [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 77 May 20 01:48 .hadolint.yml [2023-05-20T01:50:49.844Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 01:48 .semver [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 20 01:48 Attribution.txt [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 20 01:48 CHANGELOG.md [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 20 01:48 Dockerfile [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 678 May 20 01:48 GOVERNANCE.md [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 659 May 20 01:48 Jenkinsfile [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 20 01:48 LICENSE [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 20 01:48 Makefile [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 622 May 20 01:48 OWNERS.md [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 20 01:48 README.md [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 01:48 VERSION [2023-05-20T01:50:49.844Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:48 bin [2023-05-20T01:50:49.844Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:48 cmd [2023-05-20T01:50:49.844Z] -rw-r--r-- 1 jenkins jenkins 35308 May 20 01:50 coverage.out [2023-05-20T01:50:49.844Z] -rwxrwxr-x 1 jenkins jenkins 140 May 20 01:48 docker-entrypoint.sh [2023-05-20T01:50:49.844Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:48 docs [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 20 01:48 go.mod [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 20 01:48 go.sum [2023-05-20T01:50:49.844Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:48 internal [2023-05-20T01:50:49.844Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:48 snap [2023-05-20T01:50:49.844Z] -rw-rw-r-- 1 jenkins jenkins 231 May 20 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:50:50.161Z] + 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=a7aa7f027762502ccab20492bb8d27a332565d02 --label arch=amd64 --label version=0.0.0 . [2023-05-20T01:50:50.161Z] Sending build context to Docker daemon 1.989MB [2023-05-20T01:50:50.161Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:50:50.161Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-20T01:50:50.162Z] ---> 9481e6be220b [2023-05-20T01:50:50.162Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:50:50.424Z] ---> Running in a5de61353131 [2023-05-20T01:50:50.424Z] Removing intermediate container a5de61353131 [2023-05-20T01:50:50.424Z] ---> 10e69885a566 [2023-05-20T01:50:50.424Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:50:50.424Z] ---> Running in 113a8bafe094 [2023-05-20T01:50:50.684Z] Removing intermediate container 113a8bafe094 [2023-05-20T01:50:50.684Z] ---> d7bb54359ef4 [2023-05-20T01:50:50.684Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:50:50.684Z] ---> Running in dc67c78a3566 [2023-05-20T01:50:50.684Z] Removing intermediate container dc67c78a3566 [2023-05-20T01:50:50.684Z] ---> cc3320ccca9a [2023-05-20T01:50:50.684Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:50:50.684Z] ---> Running in d0d3c427e01d [2023-05-20T01:50:50.684Z] Removing intermediate container d0d3c427e01d [2023-05-20T01:50:50.684Z] ---> a77dc3d0338d [2023-05-20T01:50:50.684Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:50:50.684Z] ---> Running in 68d429e6aa9e [2023-05-20T01:50:50.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-20T01:50:51.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-20T01:50:51.461Z] OK: 272 MiB in 67 packages [2023-05-20T01:50:51.720Z] Removing intermediate container 68d429e6aa9e [2023-05-20T01:50:51.720Z] ---> c32e3bd8feb7 [2023-05-20T01:50:51.720Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-20T01:50:51.720Z] ---> Running in b0622aa7ab70 [2023-05-20T01:50:51.720Z] Removing intermediate container b0622aa7ab70 [2023-05-20T01:50:51.720Z] ---> a3d989b844f0 [2023-05-20T01:50:51.720Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-20T01:50:51.979Z] ---> 6e195d676c8a [2023-05-20T01:50:51.979Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:50:51.979Z] ---> Running in a5ea7d2d18e1 [2023-05-20T01:50:52.917Z] Removing intermediate container a5ea7d2d18e1 [2023-05-20T01:50:52.917Z] ---> e59c3d2d79ae [2023-05-20T01:50:52.917Z] Step 11/36 : COPY . . [2023-05-20T01:50:53.177Z] ---> dc981db7db55 [2023-05-20T01:50:53.177Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:50:53.177Z] ---> Running in 7a1cb6141462 [2023-05-20T01:50:53.443Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-05-20T01:50:53.444Z] Dload Upload Total  Spent Left Speed [2023-05-20T01:50:53.444Z] 0 0  0 0 0  0 0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 21846 0 --:--:-- --:--:-- --:--:-- 22125 [2023-05-20T01:50:53.702Z] Removing intermediate container 7a1cb6141462 [2023-05-20T01:50:53.702Z] ---> a54d6da9c388 [2023-05-20T01:50:53.702Z] Step 13/36 : RUN ${MAKE} [2023-05-20T01:50:53.702Z] ---> Running in 26c0bee419a2 [2023-05-20T01:50:53.961Z] 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-20T01:51:20.560Z] Removing intermediate container 26c0bee419a2 [2023-05-20T01:51:20.560Z] ---> 87566f0507a7 [2023-05-20T01:51:20.560Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-20T01:51:20.560Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-20T01:51:20.560Z] 4acc49c71d14: Pulling fs layer [2023-05-20T01:51:20.560Z] 4acc49c71d14: Verifying Checksum [2023-05-20T01:51:20.560Z] 4acc49c71d14: Download complete [2023-05-20T01:51:20.560Z] 4acc49c71d14: Pull complete [2023-05-20T01:51:20.560Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-20T01:51:20.560Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-20T01:51:20.560Z] ---> 01a2bd3e5fff [2023-05-20T01:51:20.560Z] Step 15/36 : FROM alpine:3.17 [2023-05-20T01:51:20.560Z] 3.17: Pulling from library/alpine [2023-05-20T01:51:20.560Z] f56be85fc22e: Already exists [2023-05-20T01:51:20.560Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-20T01:51:20.560Z] Status: Downloaded newer image for alpine:3.17 [2023-05-20T01:51:20.560Z] ---> 9ed4aefc74f6 [2023-05-20T01:51:20.560Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-20T01:51:20.560Z] ---> Running in 3e5fc88a14d7 [2023-05-20T01:51:20.560Z] Removing intermediate container 3e5fc88a14d7 [2023-05-20T01:51:20.560Z] ---> 2dd2e92a9183 [2023-05-20T01:51:20.560Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-20T01:51:20.560Z] ---> Running in f4c1336f1fb5 [2023-05-20T01:51:20.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-20T01:51:20.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-20T01:51:20.560Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-20T01:51:20.560Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-20T01:51:20.560Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-20T01:51:20.560Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-20T01:51:20.560Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-20T01:51:20.560Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-20T01:51:20.560Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-20T01:51:20.560Z] (8/86) Installing libxcb (1.15-r0) [2023-05-20T01:51:20.560Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-20T01:51:20.560Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-20T01:51:20.560Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-20T01:51:20.560Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-20T01:51:20.560Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-20T01:51:20.560Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-20T01:51:20.560Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-20T01:51:20.560Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-20T01:51:20.560Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-20T01:51:20.560Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-20T01:51:20.560Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-20T01:51:20.560Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-20T01:51:20.560Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-20T01:51:20.560Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-20T01:51:20.560Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-20T01:51:20.821Z] (24/86) Installing glib (2.74.6-r0) [2023-05-20T01:51:20.821Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-20T01:51:20.821Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-20T01:51:20.821Z] (27/86) Installing libass (0.16.0-r1) [2023-05-20T01:51:20.821Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-20T01:51:20.821Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-20T01:51:21.079Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-20T01:51:21.079Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-20T01:51:21.079Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-20T01:51:21.079Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-20T01:51:21.079Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-20T01:51:21.079Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-20T01:51:21.079Z] (36/86) Installing libunistring (1.1-r0) [2023-05-20T01:51:21.079Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-20T01:51:21.079Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-20T01:51:21.079Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-20T01:51:21.079Z] (40/86) Installing lame (3.100-r2) [2023-05-20T01:51:21.079Z] (41/86) Installing opus (1.3.1-r1) [2023-05-20T01:51:21.079Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-20T01:51:21.079Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-20T01:51:21.079Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-20T01:51:21.079Z] (45/86) Installing orc (0.4.33-r0) [2023-05-20T01:51:21.079Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-20T01:51:21.079Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-20T01:51:21.079Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-20T01:51:21.337Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-20T01:51:21.337Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-20T01:51:21.337Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-20T01:51:21.337Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-20T01:51:21.337Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-20T01:51:21.337Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-20T01:51:21.337Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-20T01:51:21.337Z] (56/86) Installing libpulse (16.1-r6) [2023-05-20T01:51:21.337Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-20T01:51:21.337Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-20T01:51:21.337Z] (59/86) Installing librist (0.2.7-r0) [2023-05-20T01:51:21.337Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-20T01:51:21.337Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-20T01:51:21.337Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-20T01:51:21.337Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T01:51:21.337Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T01:51:21.337Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-20T01:51:21.337Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-20T01:51:21.337Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-20T01:51:21.596Z] (68/86) Installing libva (2.16.0-r0) [2023-05-20T01:51:21.596Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-20T01:51:21.596Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-20T01:51:21.596Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-20T01:51:21.596Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-20T01:51:21.596Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-20T01:51:21.596Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-20T01:51:21.596Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-20T01:51:21.596Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-20T01:51:21.596Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-20T01:51:21.596Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-20T01:51:21.596Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-20T01:51:21.856Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-20T01:51:21.856Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-20T01:51:21.856Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-20T01:51:21.856Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-20T01:51:21.856Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-20T01:51:22.114Z] (85/86) Installing kmod-libs (30-r1) [2023-05-20T01:51:22.114Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-20T01:51:22.114Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T01:51:22.114Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T01:51:22.114Z] OK: 112 MiB in 101 packages [2023-05-20T01:51:25.541Z] Removing intermediate container f4c1336f1fb5 [2023-05-20T01:51:25.541Z] ---> f7ed407c776e [2023-05-20T01:51:25.541Z] Step 18/36 : WORKDIR / [2023-05-20T01:51:25.541Z] ---> Running in 5d5bbab90155 [2023-05-20T01:51:25.541Z] Removing intermediate container 5d5bbab90155 [2023-05-20T01:51:25.541Z] ---> d0c8f6e3654b [2023-05-20T01:51:25.541Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-20T01:51:26.478Z] ---> 40ca883b5d85 [2023-05-20T01:51:26.478Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-20T01:51:26.736Z] ---> 44392bb18acd [2023-05-20T01:51:26.736Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-20T01:51:26.736Z] ---> af348c7e9513 [2023-05-20T01:51:26.736Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-20T01:51:26.995Z] ---> 802d1751b6de [2023-05-20T01:51:26.995Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-20T01:51:26.995Z] ---> 05714bedfd2a [2023-05-20T01:51:26.995Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-20T01:51:26.995Z] ---> e56db3080b6f [2023-05-20T01:51:26.995Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-20T01:51:27.929Z] ---> cda424887175 [2023-05-20T01:51:27.929Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-20T01:51:27.929Z] ---> Running in 0397daa60e07 [2023-05-20T01:51:28.496Z] Removing intermediate container 0397daa60e07 [2023-05-20T01:51:28.496Z] ---> f8e77893b7de [2023-05-20T01:51:28.496Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-20T01:51:28.757Z] ---> Running in 2a070ef9dea9 [2023-05-20T01:51:29.327Z] Removing intermediate container 2a070ef9dea9 [2023-05-20T01:51:29.327Z] ---> 73a345b5c895 [2023-05-20T01:51:29.327Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-20T01:51:29.327Z] ---> Running in d097a1d5826e [2023-05-20T01:51:29.893Z] Removing intermediate container d097a1d5826e [2023-05-20T01:51:29.893Z] ---> 4326ef663791 [2023-05-20T01:51:29.893Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-20T01:51:29.893Z] ---> Running in 60dcbbfa03b4 [2023-05-20T01:51:30.460Z] Removing intermediate container 60dcbbfa03b4 [2023-05-20T01:51:30.460Z] ---> 8b2fdca95768 [2023-05-20T01:51:30.460Z] Step 30/36 : EXPOSE 59983 [2023-05-20T01:51:30.460Z] ---> Running in f3ac52263ca9 [2023-05-20T01:51:30.460Z] Removing intermediate container f3ac52263ca9 [2023-05-20T01:51:30.460Z] ---> c28c9a0f5765 [2023-05-20T01:51:30.460Z] Step 31/36 : EXPOSE 8554 [2023-05-20T01:51:30.460Z] ---> Running in 1297d42aacbb [2023-05-20T01:51:30.460Z] Removing intermediate container 1297d42aacbb [2023-05-20T01:51:30.460Z] ---> f8b246780a0a [2023-05-20T01:51:30.460Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-20T01:51:30.460Z] ---> Running in edfb6af3f38c [2023-05-20T01:51:30.720Z] Removing intermediate container edfb6af3f38c [2023-05-20T01:51:30.720Z] ---> c50460a9f501 [2023-05-20T01:51:30.720Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-20T01:51:30.720Z] ---> Running in f384da2ff8ff [2023-05-20T01:51:30.721Z] Removing intermediate container f384da2ff8ff [2023-05-20T01:51:30.721Z] ---> 56b3fd06800a [2023-05-20T01:51:30.721Z] Step 34/36 : LABEL arch=amd64 [2023-05-20T01:51:30.721Z] ---> Running in da3afb4c1b01 [2023-05-20T01:51:30.978Z] Removing intermediate container da3afb4c1b01 [2023-05-20T01:51:30.978Z] ---> fc384680e5a0 [2023-05-20T01:51:30.978Z] Step 35/36 : LABEL git_sha=a7aa7f027762502ccab20492bb8d27a332565d02 [2023-05-20T01:51:30.978Z] ---> Running in d3cc9f01a3da [2023-05-20T01:51:30.978Z] Removing intermediate container d3cc9f01a3da [2023-05-20T01:51:30.978Z] ---> 9a5434ba7c6e [2023-05-20T01:51:30.978Z] Step 36/36 : LABEL version=0.0.0 [2023-05-20T01:51:30.978Z] ---> Running in 023e7a91ac40 [2023-05-20T01:51:30.978Z] Removing intermediate container 023e7a91ac40 [2023-05-20T01:51:30.978Z] ---> 46bad4f4488f [2023-05-20T01:51:30.978Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-20T01:51:30.978Z] Successfully built 46bad4f4488f [2023-05-20T01:51:30.978Z] 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-20T01:51:31.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:51:31.443Z] [2023-05-20T01:51:31.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:51:31.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:51:31.767Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-20T01:51:31.767Z] 5eb5b503b376: Pulling fs layer [2023-05-20T01:51:31.767Z] 5c69ac0246d0: Pulling fs layer [2023-05-20T01:51:31.767Z] ec43610c2a17: Pulling fs layer [2023-05-20T01:51:31.767Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-20T01:51:31.767Z] 33b1e0a273af: Pulling fs layer [2023-05-20T01:51:31.767Z] 5d3b04190fa2: Pulling fs layer [2023-05-20T01:51:31.767Z] 2f39f015ded8: Pulling fs layer [2023-05-20T01:51:31.767Z] 3a2ae6a8a46f: Waiting [2023-05-20T01:51:31.767Z] 33b1e0a273af: Waiting [2023-05-20T01:51:31.767Z] 5d3b04190fa2: Waiting [2023-05-20T01:51:31.767Z] 2f39f015ded8: Waiting [2023-05-20T01:51:31.767Z] 5c69ac0246d0: Download complete [2023-05-20T01:51:31.767Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-20T01:51:31.767Z] 3a2ae6a8a46f: Download complete [2023-05-20T01:51:32.027Z] 33b1e0a273af: Verifying Checksum [2023-05-20T01:51:32.027Z] 5d3b04190fa2: Download complete [2023-05-20T01:51:32.027Z] ec43610c2a17: Verifying Checksum [2023-05-20T01:51:32.027Z] ec43610c2a17: Download complete [2023-05-20T01:51:32.027Z] 5eb5b503b376: Verifying Checksum [2023-05-20T01:51:32.027Z] 5eb5b503b376: Download complete [2023-05-20T01:51:33.400Z] 5eb5b503b376: Pull complete [2023-05-20T01:51:33.400Z] 5c69ac0246d0: Pull complete [2023-05-20T01:51:33.659Z] ec43610c2a17: Pull complete [2023-05-20T01:51:33.659Z] 3a2ae6a8a46f: Pull complete [2023-05-20T01:51:33.918Z] 33b1e0a273af: Pull complete [2023-05-20T01:51:33.918Z] 5d3b04190fa2: Pull complete [2023-05-20T01:51:38.098Z] 2f39f015ded8: Pull complete [2023-05-20T01:51:38.098Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-20T01:51:38.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:51:38.098Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:51:38.189Z] prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container [2023-05-20T01:51:38.226Z] $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-20T01:51:45.489Z] $ docker top 1a37a5521ec43d02dc2bcfb1fd05af97b531c2096c7d1d7bd801d95732c9cd71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:51:45.881Z] ---> job-cost.sh [2023-05-20T01:51:45.881Z] lf-activate-venv: SKIPPING [2023-05-20T01:51:45.881Z] INFO: No Stack... [2023-05-20T01:51:46.141Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-20T01:51:46.715Z] INFO: Archiving Costs [Pipeline] sh [2023-05-20T01:51:47.005Z] + cat /w/workspace/foundry_device-usb-camera_PR-254/archives/cost.csv [2023-05-20T01:51:47.005Z] + cut -d, -f6 [Pipeline] lock [2023-05-20T01:51:47.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [2023-05-20T01:51:47.025Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] did not exist. Created. [2023-05-20T01:51:47.025Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-20T01:51:47.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-20T01:51:47.361Z] Stashed 1 file(s) [Pipeline] } [2023-05-20T01:51:47.368Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-20T01:51:47.393Z] $ docker stop --time=1 1a37a5521ec43d02dc2bcfb1fd05af97b531c2096c7d1d7bd801d95732c9cd71 [2023-05-20T01:51:48.706Z] $ docker rm -f --volumes 1a37a5521ec43d02dc2bcfb1fd05af97b531c2096c7d1d7bd801d95732c9cd71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-20T01:52:42.532Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16162 in /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] { [Pipeline] ws [2023-05-20T01:52:42.548Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-05-20T01:52:42.617Z] Selected Git installation does not exist. Using Default [2023-05-20T01:52:42.618Z] The recommended git tool is: NONE [2023-05-20T01:52:49.043Z] using credential edgex-jenkins-ssh [2023-05-20T01:52:49.066Z] Cloning the remote Git repository [2023-05-20T01:52:49.122Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-20T01:52:49.242Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-05-20T01:52:49.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-20T01:52:49.438Z] > git --version # timeout=10 [2023-05-20T01:52:49.467Z] > git --version # 'git version 2.25.1' [2023-05-20T01:52:49.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-20T01:52:49.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-20T01:52:50.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-20T01:52:50.496Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-20T01:52:52.329Z] Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 [2023-05-20T01:52:52.664Z] Merge succeeded, producing a7aa7f027762502ccab20492bb8d27a332565d02 [2023-05-20T01:52:52.665Z] Checking out Revision a7aa7f027762502ccab20492bb8d27a332565d02 (PR-254) [2023-05-20T01:52:51.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-20T01:52:51.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-20T01:52:51.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-20T01:52:51.694Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-20T01:52:52.353Z] > git config core.sparsecheckout # timeout=10 [2023-05-20T01:52:52.451Z] > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [2023-05-20T01:52:52.552Z] > git remote # timeout=10 [2023-05-20T01:52:52.572Z] > git config --get remote.origin.url # timeout=10 [2023-05-20T01:52:52.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-20T01:52:52.612Z] > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 [2023-05-20T01:52:52.642Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-20T01:52:52.673Z] > git config core.sparsecheckout # timeout=10 [2023-05-20T01:52:52.690Z] > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [2023-05-20T01:52:56.872Z] Commit message: "fix: remove G204 warning from ffmpeg call" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-20T01:52:57.940Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-20T01:52:57.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-20T01:52:57.941Z] Dload Upload Total Spent Left Speed [2023-05-20T01:52:57.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh [2023-05-20T01:52:58.570Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-20T01:52:58.917Z] + sudo tee /etc/docker/daemon.new [2023-05-20T01:52:58.917Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-20T01:52:58.917Z] { [2023-05-20T01:52:58.917Z] "registry-mirrors": [ [2023-05-20T01:52:58.917Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-20T01:52:58.917Z] ], [2023-05-20T01:52:58.917Z] "bip": "10.250.0.254/24", [2023-05-20T01:52:58.917Z] "hosts": [ [2023-05-20T01:52:58.917Z] "tcp://0.0.0.0:5555", [2023-05-20T01:52:58.917Z] "unix:///var/run/docker.sock" [2023-05-20T01:52:58.917Z] ], [2023-05-20T01:52:58.917Z] "mtu": 1458, [2023-05-20T01:52:58.917Z] "selinux-enabled": true, [2023-05-20T01:52:58.917Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-20T01:52:58.917Z] } [Pipeline] sh [2023-05-20T01:52:59.269Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-20T01:52:59.707Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T01:53:18.038Z] provisioning config files... [2023-05-20T01:53:18.066Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config15968180564911083416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:53:18.429Z] ---> docker-login.sh [2023-05-20T01:53:18.429Z] nexus3.edgexfoundry.org:10001 [2023-05-20T01:53:19.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:53:19.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:53:19.028Z] Configure a credential helper to remove this warning. See [2023-05-20T01:53:19.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:53:19.028Z] [2023-05-20T01:53:19.028Z] Login Succeeded [2023-05-20T01:53:19.028Z] nexus3.edgexfoundry.org:10002 [2023-05-20T01:53:19.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:53:19.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:53:19.624Z] Configure a credential helper to remove this warning. See [2023-05-20T01:53:19.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:53:19.624Z] [2023-05-20T01:53:19.624Z] Login Succeeded [2023-05-20T01:53:19.624Z] nexus3.edgexfoundry.org:10003 [2023-05-20T01:53:19.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:53:19.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:53:19.901Z] Configure a credential helper to remove this warning. See [2023-05-20T01:53:19.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:53:19.901Z] [2023-05-20T01:53:19.901Z] Login Succeeded [2023-05-20T01:53:19.901Z] nexus3.edgexfoundry.org:10004 [2023-05-20T01:53:20.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:53:20.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:53:20.449Z] Configure a credential helper to remove this warning. See [2023-05-20T01:53:20.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:53:20.449Z] [2023-05-20T01:53:20.449Z] Login Succeeded [2023-05-20T01:53:20.449Z] docker.io [2023-05-20T01:53:20.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:53:20.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:53:20.994Z] Configure a credential helper to remove this warning. See [2023-05-20T01:53:20.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:53:20.994Z] [2023-05-20T01:53:20.994Z] Login Succeeded [2023-05-20T01:53:20.994Z] ---> docker-login.sh ends [Pipeline] } [2023-05-20T01:53:21.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-20T01:53:21.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:53:21.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:53:21.335Z] ========================================================= [2023-05-20T01:53:21.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-20T01:53:21.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:53:21.713Z] + 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-20T01:53:23.146Z] Sending build context to Docker daemon 1.177MB [2023-05-20T01:53:23.146Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:53:23.146Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-20T01:53:23.425Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-20T01:53:23.425Z] c41833b44d91: Pulling fs layer [2023-05-20T01:53:23.425Z] ed15518f5707: Pulling fs layer [2023-05-20T01:53:23.425Z] feae8fd75edb: Pulling fs layer [2023-05-20T01:53:23.425Z] 242c74f7c9fa: Pulling fs layer [2023-05-20T01:53:23.425Z] 3cdef696dda3: Pulling fs layer [2023-05-20T01:53:23.425Z] 2ced38df9373: Pulling fs layer [2023-05-20T01:53:23.425Z] 58f1dce35555: Pulling fs layer [2023-05-20T01:53:23.425Z] 3cdef696dda3: Waiting [2023-05-20T01:53:23.425Z] 242c74f7c9fa: Waiting [2023-05-20T01:53:23.425Z] 58f1dce35555: Waiting [2023-05-20T01:53:23.425Z] ed15518f5707: Verifying Checksum [2023-05-20T01:53:23.425Z] ed15518f5707: Download complete [2023-05-20T01:53:23.425Z] 242c74f7c9fa: Verifying Checksum [2023-05-20T01:53:23.425Z] 242c74f7c9fa: Download complete [2023-05-20T01:53:23.425Z] 3cdef696dda3: Verifying Checksum [2023-05-20T01:53:23.425Z] 3cdef696dda3: Download complete [2023-05-20T01:53:23.701Z] c41833b44d91: Download complete [2023-05-20T01:53:24.683Z] c41833b44d91: Pull complete [2023-05-20T01:53:24.955Z] 58f1dce35555: Verifying Checksum [2023-05-20T01:53:24.955Z] 58f1dce35555: Download complete [2023-05-20T01:53:25.234Z] ed15518f5707: Pull complete [2023-05-20T01:53:26.219Z] feae8fd75edb: Download complete [2023-05-20T01:53:26.219Z] 2ced38df9373: Verifying Checksum [2023-05-20T01:53:26.219Z] 2ced38df9373: Download complete [2023-05-20T01:53:41.241Z] feae8fd75edb: Pull complete [2023-05-20T01:53:41.241Z] 242c74f7c9fa: Pull complete [2023-05-20T01:53:41.241Z] 3cdef696dda3: Pull complete [2023-05-20T01:53:46.602Z] 2ced38df9373: Pull complete [2023-05-20T01:53:48.019Z] 58f1dce35555: Pull complete [2023-05-20T01:53:48.287Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-20T01:53:48.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-20T01:53:48.288Z] ---> fadd8f120f05 [2023-05-20T01:53:48.288Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:53:50.243Z] ---> Running in 367c84af8561 [2023-05-20T01:53:50.511Z] Removing intermediate container 367c84af8561 [2023-05-20T01:53:50.511Z] ---> abaa0e02e633 [2023-05-20T01:53:50.511Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:53:50.511Z] ---> Running in be2db1b31a6f [2023-05-20T01:53:50.780Z] Removing intermediate container be2db1b31a6f [2023-05-20T01:53:50.780Z] ---> efc783fed692 [2023-05-20T01:53:50.780Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:53:50.780Z] ---> Running in dc2b6e202c1c [2023-05-20T01:53:51.380Z] Removing intermediate container dc2b6e202c1c [2023-05-20T01:53:51.380Z] ---> c391ecbdd288 [2023-05-20T01:53:51.380Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:53:51.380Z] ---> Running in 3c34b72008a1 [2023-05-20T01:53:51.650Z] Removing intermediate container 3c34b72008a1 [2023-05-20T01:53:51.650Z] ---> 9e2e80f4961e [2023-05-20T01:53:51.650Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:53:51.650Z] ---> Running in 6083df29bc17 [2023-05-20T01:53:53.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-20T01:53:53.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-20T01:53:54.630Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-20T01:53:54.630Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-20T01:53:54.630Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T01:53:54.630Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T01:53:54.630Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-20T01:53:54.899Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-20T01:53:54.899Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-20T01:53:54.899Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-20T01:53:54.899Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-20T01:53:54.899Z] (10/14) Installing kmod-libs (30-r1) [2023-05-20T01:53:54.899Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-20T01:53:54.899Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-20T01:53:54.899Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-20T01:53:54.899Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-20T01:53:55.167Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T01:53:55.167Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T01:53:55.167Z] OK: 271 MiB in 67 packages [2023-05-20T01:53:56.583Z] Removing intermediate container 6083df29bc17 [2023-05-20T01:53:56.583Z] ---> 5591e1e45f14 [2023-05-20T01:53:56.583Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-20T01:53:56.583Z] ---> Running in 3eb44a1f2c8f [2023-05-20T01:53:56.583Z] Removing intermediate container 3eb44a1f2c8f [2023-05-20T01:53:56.583Z] ---> c053d5a95b46 [2023-05-20T01:53:56.583Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-20T01:53:57.167Z] ---> 86fafbab798e [2023-05-20T01:53:57.167Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:53:57.437Z] ---> Running in 9ee7197554e8 [2023-05-20T01:55:05.345Z] Removing intermediate container 9ee7197554e8 [2023-05-20T01:55:05.345Z] ---> 0ac5d2602f8a [2023-05-20T01:55:05.345Z] Step 11/13 : COPY . . [2023-05-20T01:55:05.345Z] ---> 840bad8c7019 [2023-05-20T01:55:05.345Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:55:05.345Z] ---> Running in 5ac1bf419327 [2023-05-20T01:55:05.345Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-05-20T01:55:05.345Z] Dload Upload Total Spent Left Speed [2023-05-20T01:55:05.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3679 0 --:--:-- --:--:-- --:--:-- 3687 [2023-05-20T01:55:05.345Z] Removing intermediate container 5ac1bf419327 [2023-05-20T01:55:05.345Z] ---> cd54d863d880 [2023-05-20T01:55:05.345Z] Step 13/13 : RUN ${MAKE} [2023-05-20T01:55:05.345Z] ---> Running in fc61ef434809 [2023-05-20T01:55:05.345Z] noop [2023-05-20T01:55:05.345Z] Removing intermediate container fc61ef434809 [2023-05-20T01:55:05.345Z] ---> de95dea4db3a [2023-05-20T01:55:05.345Z] Successfully built de95dea4db3a [2023-05-20T01:55:05.345Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:55:05.705Z] + docker inspect -f . ci-base-image-arm64 [2023-05-20T01:55:05.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:55:05.937Z] prd-ubuntu20.04-docker-arm64-4c-16g-16162 does not seem to be running inside a container [2023-05-20T01:55:06.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-20T01:55:07.316Z] $ docker top 639202176ee2233bc97ae2611c1eaa19078c71fa8e0ff4dfab840b9c0e95434f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:55:08.161Z] + go version [2023-05-20T01:55:08.161Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-20T01:55:08.192Z] $ docker stop --time=1 639202176ee2233bc97ae2611c1eaa19078c71fa8e0ff4dfab840b9c0e95434f [2023-05-20T01:55:09.871Z] $ docker rm -f --volumes 639202176ee2233bc97ae2611c1eaa19078c71fa8e0ff4dfab840b9c0e95434f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:55:10.452Z] + docker inspect -f . ci-base-image-arm64 [2023-05-20T01:55:10.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:55:10.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-16162 does not seem to be running inside a container [2023-05-20T01:55:10.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-20T01:55:14.541Z] $ docker top bff474d906b79945e71d81111965543c82c1eae15c775ed9c076dd5f88fff6fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:55:15.379Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-05-20T01:55:16.031Z] + make test [2023-05-20T01:55:16.031Z] go test ./... -coverprofile=coverage.out ./... [2023-05-20T01:55:54.920Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-20T01:58:31.665Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-20T01:58:31.665Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 1.6% of statements [2023-05-20T01:58:31.665Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-20T01:58:31.665Z] go vet ./... [2023-05-20T01:58:58.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-20T01:58:58.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-20T01:58:58.384Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-20T01:58:58.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-20T01:58:58.434Z] $ docker stop --time=1 bff474d906b79945e71d81111965543c82c1eae15c775ed9c076dd5f88fff6fd [2023-05-20T01:59:02.685Z] $ docker rm -f --volumes bff474d906b79945e71d81111965543c82c1eae15c775ed9c076dd5f88fff6fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-20T01:59:03.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-20T01:59:03.840Z] Warning: overwriting stash ‘coverage-report’ [2023-05-20T01:59:04.337Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-20T01:59:04.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-20T01:59:05.019Z] + ls -al . [2023-05-20T01:59:05.020Z] total 188 [2023-05-20T01:59:05.020Z] drwxrwxr-x 9 jenkins jenkins 4096 May 20 01:55 . [2023-05-20T01:59:05.020Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:52 .. [2023-05-20T01:59:05.020Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 01:52 .git [2023-05-20T01:59:05.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:52 .github [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 414 May 20 01:52 .gitignore [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 45 May 20 01:52 .golangci.yml [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 77 May 20 01:52 .hadolint.yml [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 20 01:52 Attribution.txt [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 20 01:52 CHANGELOG.md [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 20 01:52 Dockerfile [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 678 May 20 01:52 GOVERNANCE.md [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 659 May 20 01:52 Jenkinsfile [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 20 01:52 LICENSE [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 20 01:52 Makefile [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 622 May 20 01:52 OWNERS.md [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 20 01:52 README.md [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 01:48 VERSION [2023-05-20T01:59:05.020Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:52 bin [2023-05-20T01:59:05.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:52 cmd [2023-05-20T01:59:05.020Z] -rw-r--r-- 1 jenkins jenkins 35308 May 20 01:58 coverage.out [2023-05-20T01:59:05.020Z] -rwxrwxr-x 1 jenkins jenkins 140 May 20 01:52 docker-entrypoint.sh [2023-05-20T01:59:05.020Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:52 docs [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 20 01:52 go.mod [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 20 01:52 go.sum [2023-05-20T01:59:05.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:52 internal [2023-05-20T01:59:05.020Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:52 snap [2023-05-20T01:59:05.020Z] -rw-rw-r-- 1 jenkins jenkins 231 May 20 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:59:05.351Z] + 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=a7aa7f027762502ccab20492bb8d27a332565d02 --label arch=arm64 --label version=0.0.0 . [2023-05-20T01:59:05.618Z] Sending build context to Docker daemon 1.212MB [2023-05-20T01:59:05.618Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:59:05.618Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-20T01:59:05.618Z] ---> de95dea4db3a [2023-05-20T01:59:05.618Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:59:05.888Z] ---> Running in 1eed5faabc20 [2023-05-20T01:59:06.156Z] Removing intermediate container 1eed5faabc20 [2023-05-20T01:59:06.156Z] ---> 96c6aa263739 [2023-05-20T01:59:06.156Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:59:06.156Z] ---> Running in 6ef962443d11 [2023-05-20T01:59:06.422Z] Removing intermediate container 6ef962443d11 [2023-05-20T01:59:06.422Z] ---> c5423282ee2a [2023-05-20T01:59:06.422Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:59:06.422Z] ---> Running in 940bbc89494b [2023-05-20T01:59:06.694Z] Removing intermediate container 940bbc89494b [2023-05-20T01:59:06.694Z] ---> c12d92b3b005 [2023-05-20T01:59:06.694Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:59:06.961Z] ---> Running in a93d1c818a25 [2023-05-20T01:59:07.229Z] Removing intermediate container a93d1c818a25 [2023-05-20T01:59:07.229Z] ---> 5be170913045 [2023-05-20T01:59:07.229Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:59:07.229Z] ---> Running in fcc322cb6255 [2023-05-20T01:59:08.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-20T01:59:08.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-20T01:59:10.176Z] OK: 271 MiB in 67 packages [2023-05-20T01:59:10.761Z] Removing intermediate container fcc322cb6255 [2023-05-20T01:59:10.761Z] ---> 1965603489d7 [2023-05-20T01:59:10.761Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-20T01:59:10.761Z] ---> Running in 5150bb9bdee7 [2023-05-20T01:59:11.028Z] Removing intermediate container 5150bb9bdee7 [2023-05-20T01:59:11.028Z] ---> 785e98f9a040 [2023-05-20T01:59:11.028Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-20T01:59:11.609Z] ---> 354384433642 [2023-05-20T01:59:11.610Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:59:11.610Z] ---> Running in 35af66b7db7d [2023-05-20T01:59:14.952Z] Removing intermediate container 35af66b7db7d [2023-05-20T01:59:14.953Z] ---> 3e9e781f39e0 [2023-05-20T01:59:14.953Z] Step 11/36 : COPY . . [2023-05-20T01:59:15.912Z] ---> 6df6563f2542 [2023-05-20T01:59:15.912Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:59:15.912Z] ---> Running in 35a41a83f839 [2023-05-20T01:59:16.873Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-05-20T01:59:16.873Z]   Dload Upload Total Spent Left Speed [2023-05-20T01:59:17.142Z] 0 0 0 0 0 0  0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3109 0 --:--:-- --:--:-- --:--:-- 3114 [2023-05-20T01:59:17.725Z] Removing intermediate container 35a41a83f839 [2023-05-20T01:59:17.725Z] ---> 2105d34ce65a [2023-05-20T01:59:17.725Z] Step 13/36 : RUN ${MAKE} [2023-05-20T01:59:17.726Z] ---> Running in 82c01fa3fde9 [2023-05-20T01:59:18.687Z] 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-20T02:02:10.580Z] Removing intermediate container 82c01fa3fde9 [2023-05-20T02:02:10.581Z] ---> 0582264d5840 [2023-05-20T02:02:10.581Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-20T02:02:10.581Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-20T02:02:10.581Z] 8766b47fe142: Pulling fs layer [2023-05-20T02:02:10.581Z] 8766b47fe142: Verifying Checksum [2023-05-20T02:02:10.581Z] 8766b47fe142: Download complete [2023-05-20T02:02:10.581Z] 8766b47fe142: Pull complete [2023-05-20T02:02:10.581Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-20T02:02:10.581Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-20T02:02:10.581Z] ---> 69d40e2cb93c [2023-05-20T02:02:10.581Z] Step 15/36 : FROM alpine:3.17 [2023-05-20T02:02:10.581Z] 3.17: Pulling from library/alpine [2023-05-20T02:02:10.581Z] c41833b44d91: Already exists [2023-05-20T02:02:10.581Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-20T02:02:10.581Z] Status: Downloaded newer image for alpine:3.17 [2023-05-20T02:02:10.581Z] ---> 51e60588ff2c [2023-05-20T02:02:10.581Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-20T02:02:10.581Z] ---> Running in e18a0b2e7f30 [2023-05-20T02:02:10.581Z] Removing intermediate container e18a0b2e7f30 [2023-05-20T02:02:10.581Z] ---> 1579ac0266e2 [2023-05-20T02:02:10.581Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-20T02:02:10.581Z] ---> Running in a5508681f3a7 [2023-05-20T02:02:10.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-20T02:02:10.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-20T02:02:10.581Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-20T02:02:10.581Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-20T02:02:10.581Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-20T02:02:10.581Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-20T02:02:10.581Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-20T02:02:10.581Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-20T02:02:10.581Z] (7/83) Installing libxcb (1.15-r0) [2023-05-20T02:02:10.581Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-20T02:02:10.581Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-20T02:02:10.581Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-20T02:02:10.581Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-20T02:02:10.581Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-20T02:02:10.581Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-20T02:02:10.581Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-20T02:02:10.581Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-20T02:02:10.581Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-20T02:02:10.581Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-20T02:02:10.581Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-20T02:02:10.581Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-20T02:02:10.581Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-20T02:02:10.581Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-20T02:02:10.581Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-20T02:02:10.581Z] (23/83) Installing glib (2.74.6-r0) [2023-05-20T02:02:10.581Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-20T02:02:10.581Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-20T02:02:10.581Z] (26/83) Installing libass (0.16.0-r1) [2023-05-20T02:02:10.581Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-20T02:02:10.581Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-20T02:02:10.581Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-20T02:02:10.581Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-20T02:02:10.581Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-20T02:02:10.581Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-20T02:02:10.581Z] (33/83) Installing libunistring (1.1-r0) [2023-05-20T02:02:10.581Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-20T02:02:10.581Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-20T02:02:10.581Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-20T02:02:10.581Z] (37/83) Installing lame (3.100-r2) [2023-05-20T02:02:10.581Z] (38/83) Installing opus (1.3.1-r1) [2023-05-20T02:02:10.581Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-20T02:02:10.581Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-20T02:02:10.581Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-20T02:02:10.581Z] (42/83) Installing orc (0.4.33-r0) [2023-05-20T02:02:10.581Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-20T02:02:10.581Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-20T02:02:10.581Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-20T02:02:10.581Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-20T02:02:10.581Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-20T02:02:10.581Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-20T02:02:10.581Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-20T02:02:10.581Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-20T02:02:10.581Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-20T02:02:10.581Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-20T02:02:10.581Z] (53/83) Installing libpulse (16.1-r6) [2023-05-20T02:02:10.581Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-20T02:02:10.581Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-20T02:02:10.581Z] (56/83) Installing librist (0.2.7-r0) [2023-05-20T02:02:10.581Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-20T02:02:10.581Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-20T02:02:10.581Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-20T02:02:10.581Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T02:02:10.581Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T02:02:10.581Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-20T02:02:10.581Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-20T02:02:10.581Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-20T02:02:10.581Z] (65/83) Installing libva (2.16.0-r0) [2023-05-20T02:02:10.581Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-20T02:02:10.581Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-20T02:02:10.581Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-20T02:02:10.581Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-20T02:02:10.581Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-20T02:02:10.581Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-20T02:02:10.581Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-20T02:02:10.581Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-20T02:02:10.581Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-20T02:02:10.581Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-20T02:02:10.581Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-20T02:02:10.581Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-20T02:02:10.581Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-20T02:02:10.581Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-20T02:02:10.581Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-20T02:02:10.581Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-20T02:02:10.581Z] (82/83) Installing kmod-libs (30-r1) [2023-05-20T02:02:10.581Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-20T02:02:10.581Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T02:02:10.581Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T02:02:10.581Z] OK: 86 MiB in 98 packages [2023-05-20T02:02:13.189Z] Removing intermediate container a5508681f3a7 [2023-05-20T02:02:13.189Z] ---> da36212100bd [2023-05-20T02:02:13.189Z] Step 18/36 : WORKDIR / [2023-05-20T02:02:13.189Z] ---> Running in 1f8a177e2236 [2023-05-20T02:02:13.190Z] Removing intermediate container 1f8a177e2236 [2023-05-20T02:02:13.190Z] ---> cfabe676d40d [2023-05-20T02:02:13.190Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-20T02:02:14.606Z] ---> 68156ce57ec6 [2023-05-20T02:02:14.606Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-20T02:02:15.192Z] ---> dac5d8857f4b [2023-05-20T02:02:15.192Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-20T02:02:15.780Z] ---> aa6902bd6237 [2023-05-20T02:02:15.780Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-20T02:02:16.365Z] ---> e3acacaf85d1 [2023-05-20T02:02:16.365Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-20T02:02:16.951Z] ---> b56743c5f230 [2023-05-20T02:02:16.951Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-20T02:02:17.537Z] ---> 6e5303a32410 [2023-05-20T02:02:17.537Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-20T02:02:18.962Z] ---> 4487fc856bc9 [2023-05-20T02:02:18.962Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-20T02:02:18.962Z] ---> Running in a2678dafb028 [2023-05-20T02:02:20.377Z] Removing intermediate container a2678dafb028 [2023-05-20T02:02:20.377Z] ---> eb412ff5756b [2023-05-20T02:02:20.377Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-20T02:02:20.646Z] ---> Running in 4900e7b3fa8d [2023-05-20T02:02:22.598Z] Removing intermediate container 4900e7b3fa8d [2023-05-20T02:02:22.598Z] ---> 48ccda5ca9a9 [2023-05-20T02:02:22.598Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-20T02:02:22.598Z] ---> Running in 559c211f6173 [2023-05-20T02:02:24.069Z] Removing intermediate container 559c211f6173 [2023-05-20T02:02:24.069Z] ---> ed6c100442fd [2023-05-20T02:02:24.069Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-20T02:02:24.069Z] ---> Running in 6122965ae987 [2023-05-20T02:02:26.027Z] Removing intermediate container 6122965ae987 [2023-05-20T02:02:26.027Z] ---> 07d8341115c1 [2023-05-20T02:02:26.027Z] Step 30/36 : EXPOSE 59983 [2023-05-20T02:02:26.027Z] ---> Running in 3d1ad5f1d7a9 [2023-05-20T02:02:26.027Z] Removing intermediate container 3d1ad5f1d7a9 [2023-05-20T02:02:26.027Z] ---> 335963bc2e48 [2023-05-20T02:02:26.027Z] Step 31/36 : EXPOSE 8554 [2023-05-20T02:02:26.295Z] ---> Running in 37e56e758989 [2023-05-20T02:02:26.563Z] Removing intermediate container 37e56e758989 [2023-05-20T02:02:26.563Z] ---> b39721893e61 [2023-05-20T02:02:26.563Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-20T02:02:26.563Z] ---> Running in d77866299f8b [2023-05-20T02:02:26.833Z] Removing intermediate container d77866299f8b [2023-05-20T02:02:26.833Z] ---> 65b561b12df0 [2023-05-20T02:02:26.833Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-20T02:02:27.102Z] ---> Running in b9f7214e7133 [2023-05-20T02:02:27.369Z] Removing intermediate container b9f7214e7133 [2023-05-20T02:02:27.369Z] ---> bcc9ca9f77f7 [2023-05-20T02:02:27.369Z] Step 34/36 : LABEL arch=arm64 [2023-05-20T02:02:27.369Z] ---> Running in 2c549f049b04 [2023-05-20T02:02:27.638Z] Removing intermediate container 2c549f049b04 [2023-05-20T02:02:27.638Z] ---> 628419239683 [2023-05-20T02:02:27.638Z] Step 35/36 : LABEL git_sha=a7aa7f027762502ccab20492bb8d27a332565d02 [2023-05-20T02:02:27.638Z] ---> Running in b87d032a889f [2023-05-20T02:02:28.224Z] Removing intermediate container b87d032a889f [2023-05-20T02:02:28.224Z] ---> 84e17e1e8e69 [2023-05-20T02:02:28.224Z] Step 36/36 : LABEL version=0.0.0 [2023-05-20T02:02:28.224Z] ---> Running in f19d2372fc99 [2023-05-20T02:02:28.491Z] Removing intermediate container f19d2372fc99 [2023-05-20T02:02:28.491Z] ---> e3fadf771324 [2023-05-20T02:02:28.491Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-20T02:02:28.491Z] Successfully built e3fadf771324 [2023-05-20T02:02:28.491Z] 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-20T02:02:28.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-20T02:02:28.923Z] [2023-05-20T02:02:28.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T02:02:29.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-20T02:02:29.255Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-20T02:02:29.255Z] 8998bd30e6a1: Pulling fs layer [2023-05-20T02:02:29.255Z] 04944245beec: Pulling fs layer [2023-05-20T02:02:29.255Z] 699f458cf7ca: Pulling fs layer [2023-05-20T02:02:29.255Z] 765212b225bb: Pulling fs layer [2023-05-20T02:02:29.255Z] f23df028b6ca: Pulling fs layer [2023-05-20T02:02:29.255Z] d65c8cfc05b1: Pulling fs layer [2023-05-20T02:02:29.255Z] 2437ff75d9bd: Pulling fs layer [2023-05-20T02:02:29.255Z] 765212b225bb: Waiting [2023-05-20T02:02:29.255Z] f23df028b6ca: Waiting [2023-05-20T02:02:29.255Z] d65c8cfc05b1: Waiting [2023-05-20T02:02:29.255Z] 2437ff75d9bd: Waiting [2023-05-20T02:02:29.526Z] 04944245beec: Verifying Checksum [2023-05-20T02:02:29.526Z] 04944245beec: Download complete [2023-05-20T02:02:29.526Z] 765212b225bb: Verifying Checksum [2023-05-20T02:02:29.526Z] 765212b225bb: Download complete [2023-05-20T02:02:29.526Z] f23df028b6ca: Download complete [2023-05-20T02:02:29.526Z] d65c8cfc05b1: Download complete [2023-05-20T02:02:29.526Z] 699f458cf7ca: Verifying Checksum [2023-05-20T02:02:29.526Z] 699f458cf7ca: Download complete [2023-05-20T02:02:30.111Z] 8998bd30e6a1: Verifying Checksum [2023-05-20T02:02:30.111Z] 8998bd30e6a1: Download complete [2023-05-20T02:02:32.060Z] 2437ff75d9bd: Verifying Checksum [2023-05-20T02:02:32.060Z] 2437ff75d9bd: Download complete [2023-05-20T02:02:34.004Z] 8998bd30e6a1: Pull complete [2023-05-20T02:02:34.272Z] 04944245beec: Pull complete [2023-05-20T02:02:35.681Z] 699f458cf7ca: Pull complete [2023-05-20T02:02:37.094Z] 765212b225bb: Pull complete [2023-05-20T02:02:38.057Z] f23df028b6ca: Pull complete [2023-05-20T02:02:38.057Z] d65c8cfc05b1: Pull complete [2023-05-20T02:02:53.064Z] 2437ff75d9bd: Pull complete [2023-05-20T02:02:53.064Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-20T02:02:53.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-20T02:02:53.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T02:02:53.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-16162 does not seem to be running inside a container [2023-05-20T02:02:53.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-20T02:02:56.110Z] $ docker top 465e0bc6b638e62b8c023aec67c82d2b10271d9ef256506b26d17adcda3d6e8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:02:56.951Z] ---> job-cost.sh [2023-05-20T02:02:56.952Z] lf-activate-venv: SKIPPING [2023-05-20T02:02:56.952Z] INFO: No Stack... [2023-05-20T02:02:57.535Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-20T02:02:58.119Z] INFO: Archiving Costs [Pipeline] sh [2023-05-20T02:02:58.768Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [2023-05-20T02:02:58.768Z] + cut -d, -f6 [Pipeline] lock [2023-05-20T02:02:58.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [2023-05-20T02:02:58.842Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] did not exist. Created. [2023-05-20T02:02:58.842Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-20T02:02:59.512Z] /w/workspace/device-usb-camera/3@tmp/durable-9ffb1c31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-20T02:03:00.197Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-20T02:03:00.223Z] Warning: overwriting stash ‘stack-cost’ [2023-05-20T02:03:00.275Z] Stashed 1 file(s) [Pipeline] } [2023-05-20T02:03:00.281Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-20T02:03:00.315Z] $ docker stop --time=1 465e0bc6b638e62b8c023aec67c82d2b10271d9ef256506b26d17adcda3d6e8f [2023-05-20T02:03:01.892Z] $ docker rm -f --volumes 465e0bc6b638e62b8c023aec67c82d2b10271d9ef256506b26d17adcda3d6e8f [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-20T02:03:02.325Z] provisioning config files... [2023-05-20T02:03:02.335Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config2978389509907012496tmp [Pipeline] { [Pipeline] sh [2023-05-20T02:03:02.627Z] + set +x [2023-05-20T02:03:02.627Z] + bash -s -- [2023-05-20T02:03:02.627Z] + curl -s https://codecov.io/bash [2023-05-20T02:03:02.627Z] [2023-05-20T02:03:02.627Z] _____ _ [2023-05-20T02:03:02.627Z] / ____| | | [2023-05-20T02:03:02.627Z] | | ___ __| | ___ ___ _____ __ [2023-05-20T02:03:02.627Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-20T02:03:02.627Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-20T02:03:02.627Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-20T02:03:02.627Z] Bash-1.0.6 [2023-05-20T02:03:02.627Z] [2023-05-20T02:03:02.627Z] [2023-05-20T02:03:02.627Z] ==> git version 2.25.1 found [2023-05-20T02:03:02.627Z] ==> 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-20T02:03:02.627Z] Release-Date: 2020-01-08 [2023-05-20T02:03:02.627Z] 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-20T02:03:02.627Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-20T02:03:02.627Z] ==> Jenkins CI detected. [2023-05-20T02:03:02.627Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-254 [2023-05-20T02:03:02.627Z] project root: . [2023-05-20T02:03:02.627Z] --> token set from env [2023-05-20T02:03:02.627Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-20T02:03:02.627Z] ==> Running gcov in . (disable via -X gcov) [2023-05-20T02:03:02.627Z] ==> Python coveragepy not found [2023-05-20T02:03:02.627Z] ==> Searching for coverage reports in: [2023-05-20T02:03:02.627Z] + . [2023-05-20T02:03:02.627Z] -> Found 1 reports [2023-05-20T02:03:02.886Z] ==> Detecting git/mercurial file structure [2023-05-20T02:03:02.886Z] ==> Reading reports [2023-05-20T02:03:02.886Z] + ./coverage.out bytes=35308 [2023-05-20T02:03:02.886Z] ==> Appending adjustments [2023-05-20T02:03:02.886Z] https://docs.codecov.io/docs/fixing-reports [2023-05-20T02:03:02.886Z] + Found adjustments [2023-05-20T02:03:02.886Z] ==> Gzipping contents [2023-05-20T02:03:02.886Z] 8.0K /tmp/codecov.Oeu9EE.gz [2023-05-20T02:03:02.886Z] ==> Uploading reports [2023-05-20T02:03:02.886Z] url: https://codecov.io [2023-05-20T02:03:02.886Z] query: branch=PR-254&commit=a7aa7f027762502ccab20492bb8d27a332565d02&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-05-20T02:03:02.886Z] -> Pinging Codecov [2023-05-20T02:03:02.886Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-254&commit=a7aa7f027762502ccab20492bb8d27a332565d02&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= [2023-05-20T02:03:03.146Z] -> Uploading to [2023-05-20T02:03:03.146Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-20/73D8F5FF140700D3E01443B452E23636/a7aa7f027762502ccab20492bb8d27a332565d02/4290ce28-d750-4f88-aac2-0e7317f57ded.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230520T020302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81d4468b643ef140bb0f79a8b6004f74bcd999fdf21a5a014072faf7a9361bf8 [2023-05-20T02:03:03.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-20T02:03:03.146Z] Dload Upload Total Spent Left Speed [2023-05-20T02:03:03.407Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4798 0 0 100 4798 0 22525 --:--:-- --:--:-- --:--:-- 22632 [2023-05-20T02:03:03.407Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] } [2023-05-20T02:03:03.455Z] 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-20T02:03:04.160Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-254/archives ] [2023-05-20T02:03:04.160Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-20T02:03:04.160Z] total 16 [2023-05-20T02:03:04.160Z] drwxr-xr-x 3 root root 4096 May 20 01:51 . [2023-05-20T02:03:04.160Z] drwxrwxr-x 11 jenkins jenkins 4096 May 20 01:51 .. [2023-05-20T02:03:04.160Z] drwxr-xr-x 2 root root 4096 May 20 01:51 cost [2023-05-20T02:03:04.160Z] -rw-r--r-- 1 root root 89 May 20 01:51 cost.csv [2023-05-20T02:03:04.160Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-20T02:03:04.160Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-20T02:03:04.160Z] total 16 [2023-05-20T02:03:04.160Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 01:51 . [2023-05-20T02:03:04.160Z] drwxrwxr-x 11 jenkins jenkins 4096 May 20 01:51 .. [2023-05-20T02:03:04.160Z] drwxr-xr-x 2 jenkins jenkins 4096 May 20 01:51 cost [2023-05-20T02:03:04.160Z] -rw-r--r-- 1 jenkins jenkins 89 May 20 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:04.450Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:05.310Z] ---> package-listing.sh [2023-05-20T02:03:05.310Z] ++ facter osfamily [2023-05-20T02:03:05.310Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-20T02:03:05.569Z] + OS_FAMILY=debian [2023-05-20T02:03:05.569Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-254 [2023-05-20T02:03:05.569Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-20T02:03:05.569Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-20T02:03:05.569Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-20T02:03:05.569Z] + PACKAGES=/tmp/packages_start.txt [2023-05-20T02:03:05.569Z] + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' [2023-05-20T02:03:05.569Z] + PACKAGES=/tmp/packages_end.txt [2023-05-20T02:03:05.569Z] + case "${OS_FAMILY}" in [2023-05-20T02:03:05.569Z] + dpkg -l [2023-05-20T02:03:05.569Z] + grep '^ii' [2023-05-20T02:03:05.569Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-20T02:03:05.569Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-20T02:03:05.569Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-20T02:03:05.569Z] + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' [2023-05-20T02:03:05.569Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-254/archives/ [2023-05-20T02:03:05.569Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-254/archives/ [Pipeline] echo [2023-05-20T02:03:05.581Z] 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-20T02:03:05.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T02:03:06.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T02:03:06.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T02:03:06.501Z] prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container [2023-05-20T02:03:06.542Z] $ 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-254/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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-20T02:03:09.585Z] $ docker top c9cce1d69430b0046e3c4ae5fd06e7d49093dc44ccc9fbde7c933ece50bc22db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T02:03:09.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-20T02:03:10.204Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-20T02:03:10.491Z] + ls /var/log/sa-host [2023-05-20T02:03:10.491Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T02:03:10.667Z] provisioning config files... [2023-05-20T02:03:10.678Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config15577582190686189861tmp [Pipeline] { [Pipeline] echo [2023-05-20T02:03:10.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:10.981Z] ---> create-netrc.sh [Pipeline] } [2023-05-20T02:03:10.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:11.322Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-20T02:03:11.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:11.616Z] ---> sudo-logs.sh [2023-05-20T02:03:11.616Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-20T02:03:11.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:11.918Z] ---> job-cost.sh [2023-05-20T02:03:11.918Z] lf-activate-venv: SKIPPING [2023-05-20T02:03:11.918Z] DEBUG: total: 0.2199999988079071 [2023-05-20T02:03:11.918Z] INFO: Retrieving Stack Cost... [2023-05-20T02:03:12.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-20T02:03:12.745Z] INFO: Archiving Costs [Pipeline] echo [2023-05-20T02:03:12.757Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T02:03:13.041Z] ---> logs-deploy.sh [2023-05-20T02:03:13.042Z] lf-activate-venv: SKIPPING [2023-05-20T02:03:13.042Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-254/3 [2023-05-20T02:03:13.042Z] INFO: archiving workspace using pattern(s): [2023-05-20T02:03:13.981Z] Archives upload complete. [2023-05-20T02:03:13.981Z] INFO: archiving logs to Nexus