Pull request #265 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than dfd140bd3e583d8e942a3dd9b22e48316727da76 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh12554798744754738047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18395538867280251725.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4280552359263090983.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6961950336110538741.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-265/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-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16267705005678073714.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-1675’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1677 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit dfd140bd3e583d8e942a3dd9b22e48316727da76 Merge succeeded, producing dfd140bd3e583d8e942a3dd9b22e48316727da76 Checking out Revision dfd140bd3e583d8e942a3dd9b22e48316727da76 (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 Commit message: "feat: allow path index query parameter" > git rev-list --no-walk 8b42b1cc484a170a7998b8f5af12bda4b252664c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-20T19:42:49.303Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-20T19:42:49.365Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-20T19:42:49.378Z] ========================================================= [2023-07-20T19:42:49.379Z] EdgeX Global Pipelines Version Info [2023-07-20T19:42:49.379Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:42:50.101Z] ------------------- [2023-07-20T19:42:50.101Z] stable info: [2023-07-20T19:42:50.101Z] ------------------- [2023-07-20T19:42:50.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-20T19:42:50.101Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T19:42:50.101Z] Message: update stable to v1.0.250 [2023-07-20T19:42:50.672Z] ------------------- [2023-07-20T19:42:50.672Z] experimental info: [2023-07-20T19:42:50.672Z] ------------------- [2023-07-20T19:42:50.672Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-20T19:42:50.672Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T19:42:50.672Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-20T19:42:50.827Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-20T19:42:50.842Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-20T19:42:50.862Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-20T19:42:50.879Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-20T19:42:50.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-20T19:42:50.918Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-20T19:42:50.937Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-20T19:42:50.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-20T19:42:50.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-20T19:42:50.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-20T19:42:51.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-20T19:42:51.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-20T19:42:51.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-20T19:42:51.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-20T19:42:51.072Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T19:42:51.091Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T19:42:51.112Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T19:42:51.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T19:42:51.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-20T19:42:51.152Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-20T19:42:51.172Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-20T19:42:51.188Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-20T19:42:51.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-20T19:42:51.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-20T19:42:51.240Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-20T19:42:51.256Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-20T19:42:51.272Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-20T19:42:51.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-20T19:42:51.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-20T19:42:51.331Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-20T19:42:51.347Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo [2023-07-20T19:42:51.362Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfd140b [Pipeline] echo [2023-07-20T19:42:51.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T19:42:51.424Z] provisioning config files... [2023-07-20T19:42:51.438Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config6584637453987453920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:42:51.739Z] ---> docker-login.sh [2023-07-20T19:42:51.739Z] nexus3.edgexfoundry.org:10001 [2023-07-20T19:42:52.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:42:52.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:42:52.260Z] Configure a credential helper to remove this warning. See [2023-07-20T19:42:52.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:42:52.260Z] [2023-07-20T19:42:52.260Z] Login Succeeded [2023-07-20T19:42:52.260Z] nexus3.edgexfoundry.org:10002 [2023-07-20T19:42:52.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:42:52.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:42:52.260Z] Configure a credential helper to remove this warning. See [2023-07-20T19:42:52.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:42:52.260Z] [2023-07-20T19:42:52.260Z] Login Succeeded [2023-07-20T19:42:52.260Z] nexus3.edgexfoundry.org:10003 [2023-07-20T19:42:52.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:42:52.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:42:52.521Z] Configure a credential helper to remove this warning. See [2023-07-20T19:42:52.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:42:52.521Z] [2023-07-20T19:42:52.521Z] Login Succeeded [2023-07-20T19:42:52.521Z] nexus3.edgexfoundry.org:10004 [2023-07-20T19:42:52.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:42:52.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:42:52.521Z] Configure a credential helper to remove this warning. See [2023-07-20T19:42:52.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:42:52.521Z] [2023-07-20T19:42:52.521Z] Login Succeeded [2023-07-20T19:42:52.521Z] docker.io [2023-07-20T19:42:52.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:42:52.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:42:52.781Z] Configure a credential helper to remove this warning. See [2023-07-20T19:42:52.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:42:52.781Z] [2023-07-20T19:42:52.781Z] Login Succeeded [2023-07-20T19:42:52.781Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T19:42:52.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-20T19:42:53.180Z] + git rev-list -1 --merges dfd140bd3e583d8e942a3dd9b22e48316727da76~1..dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo [2023-07-20T19:42:53.228Z] -----------> git rev-list -1 --merges dfd140bd3e583d8e942a3dd9b22e48316727da76~1..dfd140bd3e583d8e942a3dd9b22e48316727da76 dfd140bd3e583d8e942a3dd9b22e48316727da76 [false] [Pipeline] sh [2023-07-20T19:42:53.514Z] + git log --format=format:%s -1 dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo [2023-07-20T19:42:53.528Z] ========================================================= [2023-07-20T19:42:53.528Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T19:42:53.528Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T19:42:53.845Z] + git log --format=format:%s -1 dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] echo [2023-07-20T19:42:53.854Z] [semverPrep] GIT_COMMIT: dfd140bd3e583d8e942a3dd9b22e48316727da76, Commit Message: feat: allow path index query parameter [Pipeline] echo [2023-07-20T19:42:53.867Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-20T19:42:54.213Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T19:42:54.213Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-20T19:42:54.213Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-20T19:42:54.213Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-20T19:42:54.213Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-20T19:42:54.213Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-20T19:42:54.213Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:42:54.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T19:42:54.564Z] [2023-07-20T19:42:54.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:42:54.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T19:42:55.126Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-20T19:42:55.126Z] b85a868b505f: Pulling fs layer [2023-07-20T19:42:55.126Z] e2be974225ed: Pulling fs layer [2023-07-20T19:42:55.126Z] 339a4e72a1f5: Pulling fs layer [2023-07-20T19:42:55.126Z] 988bab9f4d93: Pulling fs layer [2023-07-20T19:42:55.126Z] 1469e6f7b9e6: Pulling fs layer [2023-07-20T19:42:55.126Z] eaf3925da568: Pulling fs layer [2023-07-20T19:42:55.126Z] bab4dde63d76: Pulling fs layer [2023-07-20T19:42:55.126Z] bde34c3a00c8: Pulling fs layer [2023-07-20T19:42:55.126Z] b352a97aabf1: Pulling fs layer [2023-07-20T19:42:55.126Z] 4872d77fe225: Pulling fs layer [2023-07-20T19:42:55.126Z] 5851b861e8e6: Pulling fs layer [2023-07-20T19:42:55.126Z] 988bab9f4d93: Waiting [2023-07-20T19:42:55.126Z] 1469e6f7b9e6: Waiting [2023-07-20T19:42:55.126Z] eaf3925da568: Waiting [2023-07-20T19:42:55.126Z] bab4dde63d76: Waiting [2023-07-20T19:42:55.126Z] bde34c3a00c8: Waiting [2023-07-20T19:42:55.126Z] b352a97aabf1: Waiting [2023-07-20T19:42:55.126Z] 4872d77fe225: Waiting [2023-07-20T19:42:55.126Z] 5851b861e8e6: Waiting [2023-07-20T19:42:55.386Z] e2be974225ed: Verifying Checksum [2023-07-20T19:42:55.386Z] e2be974225ed: Download complete [2023-07-20T19:42:55.386Z] 988bab9f4d93: Verifying Checksum [2023-07-20T19:42:55.386Z] 988bab9f4d93: Download complete [2023-07-20T19:42:55.386Z] 1469e6f7b9e6: Verifying Checksum [2023-07-20T19:42:55.386Z] 1469e6f7b9e6: Download complete [2023-07-20T19:42:55.386Z] 339a4e72a1f5: Verifying Checksum [2023-07-20T19:42:55.386Z] 339a4e72a1f5: Download complete [2023-07-20T19:42:55.386Z] eaf3925da568: Verifying Checksum [2023-07-20T19:42:55.386Z] eaf3925da568: Download complete [2023-07-20T19:42:55.386Z] bde34c3a00c8: Verifying Checksum [2023-07-20T19:42:55.386Z] bde34c3a00c8: Download complete [2023-07-20T19:42:55.386Z] b352a97aabf1: Download complete [2023-07-20T19:42:55.386Z] 4872d77fe225: Verifying Checksum [2023-07-20T19:42:55.386Z] 4872d77fe225: Download complete [2023-07-20T19:42:55.386Z] 5851b861e8e6: Verifying Checksum [2023-07-20T19:42:55.386Z] 5851b861e8e6: Download complete [2023-07-20T19:42:55.645Z] b85a868b505f: Verifying Checksum [2023-07-20T19:42:55.645Z] b85a868b505f: Download complete [2023-07-20T19:42:55.905Z] bab4dde63d76: Verifying Checksum [2023-07-20T19:42:55.905Z] bab4dde63d76: Download complete [2023-07-20T19:42:56.840Z] b85a868b505f: Pull complete [2023-07-20T19:42:56.840Z] e2be974225ed: Pull complete [2023-07-20T19:42:57.407Z] 339a4e72a1f5: Pull complete [2023-07-20T19:42:57.407Z] 988bab9f4d93: Pull complete [2023-07-20T19:42:57.666Z] 1469e6f7b9e6: Pull complete [2023-07-20T19:42:57.925Z] eaf3925da568: Pull complete [2023-07-20T19:42:59.828Z] bab4dde63d76: Pull complete [2023-07-20T19:42:59.828Z] bde34c3a00c8: Pull complete [2023-07-20T19:42:59.828Z] b352a97aabf1: Pull complete [2023-07-20T19:42:59.828Z] 4872d77fe225: Pull complete [2023-07-20T19:42:59.828Z] 5851b861e8e6: Pull complete [2023-07-20T19:42:59.828Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-20T19:42:59.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T19:42:59.828Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:42:59.926Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-07-20T19:42:59.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T19:43:02.791Z] $ docker top 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 -eo pid,comm [2023-07-20T19:43:02.837Z] 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-07-20T19:43:02.837Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T19:43:02.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T19:43:02.879Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T19:43:03.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T19:43:03.023Z] $ docker exec 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent [2023-07-20T19:43:03.125Z] SSH_AUTH_SOCK=/tmp/ssh-zJDwnh10B0ig/agent.32 [2023-07-20T19:43:03.125Z] SSH_AGENT_PID=38 [2023-07-20T19:43:03.130Z] Running ssh-add (command line suppressed) [2023-07-20T19:43:03.225Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_12553641128723440420.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_12553641128723440420.key) [2023-07-20T19:43:03.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T19:43:03.521Z] + git tag --points-at HEAD [Pipeline] } [2023-07-20T19:43:03.536Z] $ docker exec --env ******** --env ******** 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent -k [2023-07-20T19:43:03.641Z] unset SSH_AUTH_SOCK; [2023-07-20T19:43:03.641Z] unset SSH_AGENT_PID; [2023-07-20T19:43:03.641Z] echo Agent pid 38 killed; [2023-07-20T19:43:03.648Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-20T19:43:03.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T19:43:03.673Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T19:43:03.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T19:43:03.802Z] $ docker exec 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent [2023-07-20T19:43:03.929Z] SSH_AUTH_SOCK=/tmp/ssh-FOehT9cdSwiw/agent.70 [2023-07-20T19:43:03.929Z] SSH_AGENT_PID=75 [2023-07-20T19:43:03.934Z] Running ssh-add (command line suppressed) [2023-07-20T19:43:04.060Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_421814983854117714.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_421814983854117714.key) [2023-07-20T19:43:04.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T19:43:04.363Z] + git semver init [2023-07-20T19:43:04.626Z] 2023-07-20 19:43:04,528 [run_init] DEBUG init version:0.0.0 force:False [2023-07-20T19:43:04.626Z] 2023-07-20 19:43:04,528 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-20T19:43:04.626Z] 2023-07-20 19:43:04,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-20T19:43:04.626Z] 2023-07-20 19:43:04,529 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) [2023-07-20T19:43:05.561Z] 2023-07-20 19:43:05,246 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-20T19:43:05.561Z] 2023-07-20 19:43:05,246 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False [2023-07-20T19:43:05.561Z] 2023-07-20 19:43:05,247 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-20T19:43:05.561Z] 2023-07-20 19:43:05,251 [execute] INFO git cat-file --batch-check [2023-07-20T19:43:05.561Z] 2023-07-20 19:43:05,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T19:43:05.562Z] 2023-07-20 19:43:05,258 [execute] INFO git cat-file --batch [2023-07-20T19:43:05.562Z] 2023-07-20 19:43:05,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T19:43:05.562Z] 2023-07-20 19:43:05,263 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-20T19:43:05.562Z] 0.0.0 [Pipeline] } [2023-07-20T19:43:05.579Z] $ docker exec --env ******** --env ******** 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 ssh-agent -k [2023-07-20T19:43:05.677Z] unset SSH_AUTH_SOCK; [2023-07-20T19:43:05.677Z] unset SSH_AGENT_PID; [2023-07-20T19:43:05.677Z] echo Agent pid 75 killed; [2023-07-20T19:43:05.683Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T19:43:05.994Z] + git semver [Pipeline] } [2023-07-20T19:43:06.269Z] $ docker stop --time=1 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 [2023-07-20T19:43:07.610Z] $ docker rm -f --volumes 9b4d266f8b57f6fc23f2b2688f941845232b9ac6b10a9182543a54dfaf01e399 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T19:43:07.947Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-20T19:43:08.161Z] Stashed 1 file(s) [Pipeline] echo [2023-07-20T19:43:08.164Z] [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-07-20T19:43:08.323Z] provisioning config files... [2023-07-20T19:43:08.330Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config1225744314919253084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:43:08.621Z] ---> docker-login.sh [2023-07-20T19:43:08.621Z] nexus3.edgexfoundry.org:10001 [2023-07-20T19:43:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:43:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:43:08.621Z] Configure a credential helper to remove this warning. See [2023-07-20T19:43:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:43:08.621Z] [2023-07-20T19:43:08.621Z] Login Succeeded [2023-07-20T19:43:08.621Z] nexus3.edgexfoundry.org:10002 [2023-07-20T19:43:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:43:08.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:43:08.881Z] Configure a credential helper to remove this warning. See [2023-07-20T19:43:08.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:43:08.881Z] [2023-07-20T19:43:08.881Z] Login Succeeded [2023-07-20T19:43:08.881Z] nexus3.edgexfoundry.org:10003 [2023-07-20T19:43:08.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:43:08.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:43:08.881Z] Configure a credential helper to remove this warning. See [2023-07-20T19:43:08.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:43:08.881Z] [2023-07-20T19:43:08.881Z] Login Succeeded [2023-07-20T19:43:08.881Z] nexus3.edgexfoundry.org:10004 [2023-07-20T19:43:08.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:43:08.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:43:08.881Z] Configure a credential helper to remove this warning. See [2023-07-20T19:43:08.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:43:08.881Z] [2023-07-20T19:43:08.881Z] Login Succeeded [2023-07-20T19:43:08.881Z] docker.io [2023-07-20T19:43:09.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:43:09.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:43:09.140Z] Configure a credential helper to remove this warning. See [2023-07-20T19:43:09.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:43:09.140Z] [2023-07-20T19:43:09.140Z] Login Succeeded [2023-07-20T19:43:09.140Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T19:43:09.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T19:43:09.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:43:09.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:43:09.250Z] ========================================================= [2023-07-20T19:43:09.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-20T19:43:09.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:43:09.574Z] + 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-07-20T19:43:09.574Z] Sending build context to Docker daemon 2.233MB [2023-07-20T19:43:09.574Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:43:09.574Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-20T19:43:09.574Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-20T19:43:09.574Z] 4db1b89c0bd1: Pulling fs layer [2023-07-20T19:43:09.574Z] 6911f1a30b25: Pulling fs layer [2023-07-20T19:43:09.574Z] e194b8c5c2a9: Pulling fs layer [2023-07-20T19:43:09.574Z] 6863d3e3a2b1: Pulling fs layer [2023-07-20T19:43:09.574Z] ec0bb842ea78: Pulling fs layer [2023-07-20T19:43:09.574Z] 40a00589a448: Pulling fs layer [2023-07-20T19:43:09.574Z] 6c08303d61cc: Pulling fs layer [2023-07-20T19:43:09.574Z] 798269fcf238: Pulling fs layer [2023-07-20T19:43:09.574Z] ec0bb842ea78: Waiting [2023-07-20T19:43:09.574Z] 40a00589a448: Waiting [2023-07-20T19:43:09.574Z] 6c08303d61cc: Waiting [2023-07-20T19:43:09.574Z] 798269fcf238: Waiting [2023-07-20T19:43:09.574Z] 6863d3e3a2b1: Waiting [2023-07-20T19:43:09.574Z] 6911f1a30b25: Download complete [2023-07-20T19:43:09.840Z] 6863d3e3a2b1: Verifying Checksum [2023-07-20T19:43:09.840Z] 6863d3e3a2b1: Download complete [2023-07-20T19:43:09.840Z] ec0bb842ea78: Download complete [2023-07-20T19:43:09.840Z] 4db1b89c0bd1: Verifying Checksum [2023-07-20T19:43:09.840Z] 4db1b89c0bd1: Download complete [2023-07-20T19:43:09.840Z] 40a00589a448: Verifying Checksum [2023-07-20T19:43:09.840Z] 40a00589a448: Download complete [2023-07-20T19:43:09.840Z] 4db1b89c0bd1: Pull complete [2023-07-20T19:43:10.100Z] 6911f1a30b25: Pull complete [2023-07-20T19:43:10.362Z] 798269fcf238: Verifying Checksum [2023-07-20T19:43:10.362Z] 798269fcf238: Download complete [2023-07-20T19:43:10.621Z] e194b8c5c2a9: Verifying Checksum [2023-07-20T19:43:10.621Z] e194b8c5c2a9: Download complete [2023-07-20T19:43:10.879Z] 6c08303d61cc: Verifying Checksum [2023-07-20T19:43:10.879Z] 6c08303d61cc: Download complete [2023-07-20T19:43:14.174Z] e194b8c5c2a9: Pull complete [2023-07-20T19:43:14.744Z] 6863d3e3a2b1: Pull complete [2023-07-20T19:43:15.002Z] ec0bb842ea78: Pull complete [2023-07-20T19:43:15.569Z] 40a00589a448: Pull complete [2023-07-20T19:43:18.156Z] 6c08303d61cc: Pull complete [2023-07-20T19:43:18.723Z] 798269fcf238: Pull complete [2023-07-20T19:43:18.723Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-20T19:43:18.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-20T19:43:18.723Z] ---> ec979cd7f677 [2023-07-20T19:43:18.723Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:43:23.268Z] Still waiting to schedule task [2023-07-20T19:43:23.268Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1676’ [2023-07-20T19:43:26.855Z] ---> Running in e2b197cac5bd [2023-07-20T19:43:26.856Z] Removing intermediate container e2b197cac5bd [2023-07-20T19:43:26.856Z] ---> 4419f22bfa01 [2023-07-20T19:43:26.856Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:43:26.856Z] ---> Running in 98f2a4b6c01c [2023-07-20T19:43:26.856Z] Removing intermediate container 98f2a4b6c01c [2023-07-20T19:43:26.856Z] ---> 98f228f28040 [2023-07-20T19:43:26.856Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-20T19:43:26.856Z] ---> Running in b269b17aadf1 [2023-07-20T19:43:27.117Z] Removing intermediate container b269b17aadf1 [2023-07-20T19:43:27.117Z] ---> e193fde6bb37 [2023-07-20T19:43:27.117Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-20T19:43:27.375Z] ---> Running in 14cba512ee1c [2023-07-20T19:43:27.375Z] Removing intermediate container 14cba512ee1c [2023-07-20T19:43:27.375Z] ---> 03f31264aba5 [2023-07-20T19:43:27.375Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:43:27.375Z] ---> Running in 328b4c284e16 [2023-07-20T19:43:27.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-20T19:43:27.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-20T19:43:28.164Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-20T19:43:28.164Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-20T19:43:28.164Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-20T19:43:28.164Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-20T19:43:28.164Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-20T19:43:28.164Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-20T19:43:28.164Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-20T19:43:28.423Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-20T19:43:28.423Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-20T19:43:28.423Z] (10/14) Installing kmod-libs (30-r1) [2023-07-20T19:43:28.423Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-20T19:43:28.423Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-20T19:43:28.423Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-20T19:43:28.423Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-20T19:43:28.423Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:43:28.423Z] Executing eudev-3.2.11-r4.trigger [2023-07-20T19:43:28.423Z] OK: 272 MiB in 67 packages [2023-07-20T19:43:29.007Z] Removing intermediate container 328b4c284e16 [2023-07-20T19:43:29.007Z] ---> 1f0a57995696 [2023-07-20T19:43:29.007Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-20T19:43:29.007Z] ---> Running in db7b107961ce [2023-07-20T19:43:29.007Z] Removing intermediate container db7b107961ce [2023-07-20T19:43:29.007Z] ---> 7d7736f91672 [2023-07-20T19:43:29.007Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-20T19:43:29.265Z] ---> 38eeafb1cde6 [2023-07-20T19:43:29.265Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:43:29.265Z] ---> Running in 253b4c85d100 [2023-07-20T19:44:01.393Z] Removing intermediate container 253b4c85d100 [2023-07-20T19:44:01.393Z] ---> cbadee017a16 [2023-07-20T19:44:01.393Z] Step 11/13 : COPY . . [2023-07-20T19:44:01.393Z] ---> c2ae8ffda2e3 [2023-07-20T19:44:01.393Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-20T19:44:01.658Z] ---> Running in c5b2b76a685a [2023-07-20T19:44:02.226Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:44:02.226Z] Dload Upload Total Spent Left Speed [2023-07-20T19:44:02.226Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5489 0 --:--:-- --:--:-- --:--:-- 5474 [2023-07-20T19:44:03.171Z] Removing intermediate container c5b2b76a685a [2023-07-20T19:44:03.171Z] ---> a46ce4e1f92a [2023-07-20T19:44:03.171Z] Step 13/13 : RUN ${MAKE} [2023-07-20T19:44:03.171Z] ---> Running in b1849cffbb11 [2023-07-20T19:44:03.737Z] noop [2023-07-20T19:44:04.306Z] Removing intermediate container b1849cffbb11 [2023-07-20T19:44:04.306Z] ---> 7f25ce048752 [2023-07-20T19:44:04.306Z] Successfully built 7f25ce048752 [2023-07-20T19:44:04.306Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:44:04.626Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T19:44:04.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:44:04.725Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-07-20T19:44:04.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-20T19:44:05.747Z] $ docker top af7c8bcc0a970c0c624e0db8406d5494cc138f93b4831af739ac66411c28f688 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:44:06.201Z] + go version [2023-07-20T19:44:06.201Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-20T19:44:06.227Z] $ docker stop --time=1 af7c8bcc0a970c0c624e0db8406d5494cc138f93b4831af739ac66411c28f688 [2023-07-20T19:44:07.469Z] $ docker rm -f --volumes af7c8bcc0a970c0c624e0db8406d5494cc138f93b4831af739ac66411c28f688 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:44:07.864Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T19:44:07.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:44:07.943Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-07-20T19:44:07.981Z] $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-20T19:44:08.358Z] $ docker top a4be5e572b594dda1180c194ccbd7b732fb27c4922679487390a12991aacf163 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:44:08.696Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-20T19:44:08.989Z] + make test [2023-07-20T19:44:08.990Z] go test ./... -coverprofile=coverage.out ./... [2023-07-20T19:44:14.307Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-20T19:44:26.509Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-20T19:44:26.509Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.6% of statements [2023-07-20T19:44:31.770Z] go vet ./... [2023-07-20T19:44:35.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-20T19:44:35.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-20T19:44:35.069Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-20T19:44:35.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-20T19:44:35.094Z] $ docker stop --time=1 a4be5e572b594dda1180c194ccbd7b732fb27c4922679487390a12991aacf163 [2023-07-20T19:44:44.541Z] $ docker rm -f --volumes a4be5e572b594dda1180c194ccbd7b732fb27c4922679487390a12991aacf163 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T19:44:45.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-20T19:44:45.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-20T19:44:45.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T19:44:45.891Z] + ls -al . [2023-07-20T19:44:45.891Z] total 204 [2023-07-20T19:44:45.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 19:44 . [2023-07-20T19:44:45.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:42 .. [2023-07-20T19:44:45.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 19:43 .git [2023-07-20T19:44:45.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:42 .github [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 19:42 .gitignore [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 20 19:42 .golangci.yml [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 19:42 .hadolint.yml [2023-07-20T19:44:45.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 19:43 .semver [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 20 19:42 Attribution.txt [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 20 19:42 CHANGELOG.md [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 20 19:42 Dockerfile [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 19:42 GOVERNANCE.md [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 19:42 Jenkinsfile [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 19:42 LICENSE [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 20 19:42 Makefile [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 19:42 OWNERS.md [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 20 19:42 README.md [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 19:43 VERSION [2023-07-20T19:44:45.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:42 bin [2023-07-20T19:44:45.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:42 cmd [2023-07-20T19:44:45.891Z] -rw-r--r-- 1 jenkins jenkins 42249 Jul 20 19:44 coverage.out [2023-07-20T19:44:45.891Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 20 19:42 docker-entrypoint.sh [2023-07-20T19:44:45.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:42 docs [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 20 19:42 go.mod [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 20 19:42 go.sum [2023-07-20T19:44:45.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:42 internal [2023-07-20T19:44:45.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:42 snap [2023-07-20T19:44:45.891Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 19:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:44:46.195Z] + 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=dfd140bd3e583d8e942a3dd9b22e48316727da76 --label arch=amd64 --label version=0.0.0 . [2023-07-20T19:44:46.195Z] Sending build context to Docker daemon 2.276MB [2023-07-20T19:44:46.195Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:44:46.195Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-20T19:44:46.195Z] ---> 7f25ce048752 [2023-07-20T19:44:46.195Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:44:46.764Z] ---> Running in 31152b686886 [2023-07-20T19:44:47.336Z] Removing intermediate container 31152b686886 [2023-07-20T19:44:47.336Z] ---> c97391ab50d0 [2023-07-20T19:44:47.336Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:44:47.593Z] ---> Running in 008351a502bc [2023-07-20T19:44:48.159Z] Removing intermediate container 008351a502bc [2023-07-20T19:44:48.159Z] ---> 0c994ab29c34 [2023-07-20T19:44:48.159Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-20T19:44:48.426Z] ---> Running in 12b6051ea62f [2023-07-20T19:44:49.365Z] Removing intermediate container 12b6051ea62f [2023-07-20T19:44:49.365Z] ---> e4453b4c23a2 [2023-07-20T19:44:49.365Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-20T19:44:49.934Z] ---> Running in 0d4017741dde [2023-07-20T19:44:51.313Z] Removing intermediate container 0d4017741dde [2023-07-20T19:44:51.313Z] ---> ecebaec9664c [2023-07-20T19:44:51.313Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:44:51.881Z] ---> Running in 3c0f49b5f7d2 [2023-07-20T19:44:52.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-20T19:44:52.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-20T19:44:53.386Z] OK: 272 MiB in 67 packages [2023-07-20T19:44:55.291Z] Removing intermediate container 3c0f49b5f7d2 [2023-07-20T19:44:55.291Z] ---> c5e362635a31 [2023-07-20T19:44:55.291Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-20T19:44:55.861Z] ---> Running in d7ca9cc001ce [2023-07-20T19:44:56.796Z] Removing intermediate container d7ca9cc001ce [2023-07-20T19:44:56.796Z] ---> 05837635654f [2023-07-20T19:44:56.796Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-20T19:44:57.054Z] ---> 38fa844cef9c [2023-07-20T19:44:57.054Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:44:57.054Z] ---> Running in aa6eb7168832 [2023-07-20T19:44:58.961Z] Removing intermediate container aa6eb7168832 [2023-07-20T19:44:58.961Z] ---> df96a0f6bc51 [2023-07-20T19:44:58.961Z] Step 11/36 : COPY . . [2023-07-20T19:44:59.897Z] ---> 4d54bf4524c6 [2023-07-20T19:44:59.897Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-20T19:45:00.156Z] ---> Running in 612cf49b804a [2023-07-20T19:45:00.723Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:45:00.982Z] Dload Upload Total Spent  Left Speed [2023-07-20T19:45:00.982Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20548 0 --:--:-- --:--:-- --:--:-- 20823 [2023-07-20T19:45:03.519Z] Removing intermediate container 612cf49b804a [2023-07-20T19:45:03.519Z] ---> 6b72085530f5 [2023-07-20T19:45:03.519Z] Step 13/36 : RUN ${MAKE} [2023-07-20T19:45:04.905Z] ---> Running in bc18d262c6fb [2023-07-20T19:45:05.852Z] 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-07-20T19:45:32.733Z] Removing intermediate container bc18d262c6fb [2023-07-20T19:45:32.733Z] ---> b80facf1b0fb [2023-07-20T19:45:32.733Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-20T19:45:32.733Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-20T19:45:32.733Z] 4acc49c71d14: Pulling fs layer [2023-07-20T19:45:32.733Z] 4acc49c71d14: Verifying Checksum [2023-07-20T19:45:32.733Z] 4acc49c71d14: Download complete [2023-07-20T19:45:32.733Z] 4acc49c71d14: Pull complete [2023-07-20T19:45:32.733Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-20T19:45:32.733Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-20T19:45:32.733Z] ---> 01a2bd3e5fff [2023-07-20T19:45:32.733Z] Step 15/36 : FROM alpine:3.17 [2023-07-20T19:45:32.733Z] 3.17: Pulling from library/alpine [2023-07-20T19:45:32.733Z] 4db1b89c0bd1: Already exists [2023-07-20T19:45:32.733Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-20T19:45:32.733Z] Status: Downloaded newer image for alpine:3.17 [2023-07-20T19:45:32.733Z] ---> 1f73a9d63274 [2023-07-20T19:45:32.733Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-20T19:45:32.733Z] ---> Running in 435979f71960 [2023-07-20T19:45:32.733Z] Removing intermediate container 435979f71960 [2023-07-20T19:45:32.733Z] ---> c518b6490452 [2023-07-20T19:45:32.733Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-20T19:45:32.733Z] ---> Running in 91d13de63ed6 [2023-07-20T19:45:32.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-20T19:45:32.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-20T19:45:32.991Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-20T19:45:32.991Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-20T19:45:32.991Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-20T19:45:32.991Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-20T19:45:32.991Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-20T19:45:32.991Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-20T19:45:32.991Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-20T19:45:32.991Z] (8/86) Installing libxcb (1.15-r0) [2023-07-20T19:45:32.991Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-20T19:45:32.991Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-20T19:45:32.991Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-20T19:45:32.991Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-20T19:45:33.249Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-20T19:45:33.249Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-20T19:45:33.249Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-20T19:45:33.249Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-20T19:45:33.249Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-20T19:45:33.249Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-20T19:45:33.249Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-20T19:45:33.249Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-20T19:45:33.249Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-20T19:45:33.249Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-20T19:45:33.249Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-20T19:45:33.249Z] (24/86) Installing glib (2.74.7-r0) [2023-07-20T19:45:33.249Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-20T19:45:33.249Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-20T19:45:33.249Z] (27/86) Installing libass (0.16.0-r1) [2023-07-20T19:45:33.249Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-20T19:45:33.249Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-20T19:45:33.249Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-20T19:45:33.249Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-20T19:45:33.249Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-20T19:45:33.249Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-20T19:45:33.249Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-20T19:45:33.249Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-20T19:45:33.249Z] (36/86) Installing libunistring (1.1-r0) [2023-07-20T19:45:33.508Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-20T19:45:33.508Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-20T19:45:33.508Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-20T19:45:33.508Z] (40/86) Installing lame (3.100-r2) [2023-07-20T19:45:33.508Z] (41/86) Installing opus (1.3.1-r1) [2023-07-20T19:45:33.508Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-20T19:45:33.508Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-20T19:45:33.508Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-20T19:45:33.508Z] (45/86) Installing orc (0.4.33-r0) [2023-07-20T19:45:33.508Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-20T19:45:33.508Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-20T19:45:33.508Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-20T19:45:33.508Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-20T19:45:33.508Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-20T19:45:33.508Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-20T19:45:33.508Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-20T19:45:33.508Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-20T19:45:33.508Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-20T19:45:33.508Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-20T19:45:33.508Z] (56/86) Installing libpulse (16.1-r6) [2023-07-20T19:45:33.508Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-20T19:45:33.508Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-20T19:45:33.508Z] (59/86) Installing librist (0.2.7-r0) [2023-07-20T19:45:33.508Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-20T19:45:33.508Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-20T19:45:33.508Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-20T19:45:33.508Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-20T19:45:33.508Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-20T19:45:33.508Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-20T19:45:33.767Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-20T19:45:33.767Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-20T19:45:33.767Z] (68/86) Installing libva (2.16.0-r0) [2023-07-20T19:45:33.767Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-20T19:45:33.767Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-20T19:45:33.767Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-20T19:45:33.767Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-20T19:45:33.767Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-20T19:45:33.767Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-20T19:45:33.767Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-20T19:45:33.767Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-20T19:45:33.767Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-20T19:45:33.767Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-20T19:45:33.767Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-20T19:45:34.026Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-20T19:45:34.026Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-20T19:45:34.026Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-20T19:45:34.026Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-20T19:45:34.026Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-20T19:45:34.026Z] (85/86) Installing kmod-libs (30-r1) [2023-07-20T19:45:34.026Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-20T19:45:34.026Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:45:34.026Z] Executing eudev-3.2.11-r4.trigger [2023-07-20T19:45:34.026Z] OK: 112 MiB in 101 packages [2023-07-20T19:45:37.309Z] Removing intermediate container 91d13de63ed6 [2023-07-20T19:45:37.309Z] ---> 5abf2c52099b [2023-07-20T19:45:37.309Z] Step 18/36 : WORKDIR / [2023-07-20T19:45:37.309Z] ---> Running in fabc4a1635ff [2023-07-20T19:45:37.567Z] Removing intermediate container fabc4a1635ff [2023-07-20T19:45:37.567Z] ---> 0559bb58d796 [2023-07-20T19:45:37.567Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-20T19:45:38.502Z] ---> d8916d580a0f [2023-07-20T19:45:38.502Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-20T19:45:38.759Z] ---> 63496aba22d3 [2023-07-20T19:45:38.759Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-20T19:45:39.017Z] ---> fbac3360c67b [2023-07-20T19:45:39.017Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-20T19:45:39.275Z] ---> 9c67b00d107d [2023-07-20T19:45:39.275Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-20T19:45:39.533Z] ---> 8b9e43e78451 [2023-07-20T19:45:39.533Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-20T19:45:39.792Z] ---> 6606598d72df [2023-07-20T19:45:39.792Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-20T19:45:40.725Z] ---> 1a38d6ed14e8 [2023-07-20T19:45:40.725Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-20T19:45:40.725Z] ---> Running in 156349ac3886 [2023-07-20T19:45:41.657Z] Removing intermediate container 156349ac3886 [2023-07-20T19:45:41.657Z] ---> 8236f529f758 [2023-07-20T19:45:41.657Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-20T19:45:41.657Z] ---> Running in b49f51705382 [2023-07-20T19:45:42.594Z] Removing intermediate container b49f51705382 [2023-07-20T19:45:42.594Z] ---> 5c346b6cd9a3 [2023-07-20T19:45:42.594Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-20T19:45:42.594Z] ---> Running in 864ebead4907 [2023-07-20T19:45:43.528Z] Removing intermediate container 864ebead4907 [2023-07-20T19:45:43.528Z] ---> a6838f7c592b [2023-07-20T19:45:43.528Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-20T19:45:43.528Z] ---> Running in a0e61a947342 [2023-07-20T19:45:44.095Z] Removing intermediate container a0e61a947342 [2023-07-20T19:45:44.095Z] ---> c5c5a0937892 [2023-07-20T19:45:44.095Z] Step 30/36 : EXPOSE 59983 [2023-07-20T19:45:44.354Z] ---> Running in 93dd6a111698 [2023-07-20T19:45:45.727Z] Removing intermediate container 93dd6a111698 [2023-07-20T19:45:45.727Z] ---> 1c0c41a6db10 [2023-07-20T19:45:45.727Z] Step 31/36 : EXPOSE 8554 [2023-07-20T19:45:46.293Z] ---> Running in b79f2a2d83ff [2023-07-20T19:45:47.227Z] Removing intermediate container b79f2a2d83ff [2023-07-20T19:45:47.227Z] ---> d15260203174 [2023-07-20T19:45:47.227Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-20T19:45:47.793Z] ---> Running in a9899c11490c [2023-07-20T19:45:48.727Z] Removing intermediate container a9899c11490c [2023-07-20T19:45:48.727Z] ---> ca2e6e262f95 [2023-07-20T19:45:48.727Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-20T19:45:49.293Z] ---> Running in 419fe2c04c75 [2023-07-20T19:45:49.858Z] Removing intermediate container 419fe2c04c75 [2023-07-20T19:45:49.858Z] ---> 67a9d292b818 [2023-07-20T19:45:49.858Z] Step 34/36 : LABEL arch=amd64 [2023-07-20T19:45:50.425Z] ---> Running in 5258e11f2578 [2023-07-20T19:45:50.991Z] Removing intermediate container 5258e11f2578 [2023-07-20T19:45:50.991Z] ---> 4d730432af55 [2023-07-20T19:45:50.991Z] Step 35/36 : LABEL git_sha=dfd140bd3e583d8e942a3dd9b22e48316727da76 [2023-07-20T19:45:51.558Z] ---> Running in 1f1a89cd13dd [2023-07-20T19:45:52.492Z] Removing intermediate container 1f1a89cd13dd [2023-07-20T19:45:52.492Z] ---> 1144ce85e78b [2023-07-20T19:45:52.492Z] Step 36/36 : LABEL version=0.0.0 [2023-07-20T19:45:53.058Z] ---> Running in f5bc38cf02b1 [2023-07-20T19:45:53.992Z] Removing intermediate container f5bc38cf02b1 [2023-07-20T19:45:53.992Z] ---> 9312e11d9def [2023-07-20T19:45:53.992Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-20T19:45:53.992Z] Successfully built 9312e11d9def [2023-07-20T19:45:54.251Z] 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-07-20T19:45:54.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:45:54.706Z] [2023-07-20T19:45:54.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:45:55.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:45:55.268Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-20T19:45:55.268Z] 5eb5b503b376: Pulling fs layer [2023-07-20T19:45:55.268Z] 5c69ac0246d0: Pulling fs layer [2023-07-20T19:45:55.268Z] ec43610c2a17: Pulling fs layer [2023-07-20T19:45:55.268Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-20T19:45:55.268Z] 33b1e0a273af: Pulling fs layer [2023-07-20T19:45:55.268Z] 5d3b04190fa2: Pulling fs layer [2023-07-20T19:45:55.268Z] 2f39f015ded8: Pulling fs layer [2023-07-20T19:45:55.268Z] 3a2ae6a8a46f: Waiting [2023-07-20T19:45:55.268Z] 33b1e0a273af: Waiting [2023-07-20T19:45:55.268Z] 5d3b04190fa2: Waiting [2023-07-20T19:45:55.268Z] 2f39f015ded8: Waiting [2023-07-20T19:45:55.268Z] 5c69ac0246d0: Verifying Checksum [2023-07-20T19:45:55.268Z] 5c69ac0246d0: Download complete [2023-07-20T19:45:55.268Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-20T19:45:55.268Z] 3a2ae6a8a46f: Download complete [2023-07-20T19:45:55.526Z] 33b1e0a273af: Verifying Checksum [2023-07-20T19:45:55.526Z] 33b1e0a273af: Download complete [2023-07-20T19:45:55.526Z] 5d3b04190fa2: Download complete [2023-07-20T19:45:55.526Z] ec43610c2a17: Verifying Checksum [2023-07-20T19:45:55.526Z] ec43610c2a17: Download complete [2023-07-20T19:45:55.526Z] 5eb5b503b376: Download complete [2023-07-20T19:45:56.092Z] 2f39f015ded8: Verifying Checksum [2023-07-20T19:45:56.092Z] 2f39f015ded8: Download complete [2023-07-20T19:45:56.657Z] 5eb5b503b376: Pull complete [2023-07-20T19:45:56.843Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1678 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-20T19:45:56.856Z] Running in /w/workspace/device-usb-camera/7 [Pipeline] { [Pipeline] checkout [2023-07-20T19:45:56.891Z] Selected Git installation does not exist. Using Default [2023-07-20T19:45:56.891Z] The recommended git tool is: NONE [2023-07-20T19:45:56.915Z] 5c69ac0246d0: Pull complete [2023-07-20T19:45:57.172Z] ec43610c2a17: Pull complete [2023-07-20T19:45:57.430Z] 3a2ae6a8a46f: Pull complete [2023-07-20T19:45:57.430Z] 33b1e0a273af: Pull complete [2023-07-20T19:45:57.687Z] 5d3b04190fa2: Pull complete [2023-07-20T19:46:01.868Z] 2f39f015ded8: Pull complete [2023-07-20T19:46:01.868Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-20T19:46:01.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:46:01.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:46:01.940Z] using credential edgex-jenkins-ssh [2023-07-20T19:46:01.956Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-07-20T19:46:01.969Z] Cloning the remote Git repository [2023-07-20T19:46:01.992Z] $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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-07-20T19:46:02.036Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-20T19:46:02.121Z] > git init /w/workspace/device-usb-camera/7 # timeout=10 [2023-07-20T19:46:02.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-20T19:46:02.266Z] > git --version # timeout=10 [2023-07-20T19:46:02.288Z] > git --version # 'git version 2.25.1' [2023-07-20T19:46:02.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T19:46:02.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T19:46:03.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-20T19:46:03.282Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T19:46:04.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-20T19:46:04.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-20T19:46:04.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T19:46:04.892Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit dfd140bd3e583d8e942a3dd9b22e48316727da76 [2023-07-20T19:46:05.175Z] Merge succeeded, producing dfd140bd3e583d8e942a3dd9b22e48316727da76 [2023-07-20T19:46:05.176Z] Checking out Revision dfd140bd3e583d8e942a3dd9b22e48316727da76 (PR-265) [2023-07-20T19:46:04.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-20T19:46:04.911Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T19:46:04.988Z] > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 [2023-07-20T19:46:05.074Z] > git remote # timeout=10 [2023-07-20T19:46:05.092Z] > git config --get remote.origin.url # timeout=10 [2023-07-20T19:46:05.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T19:46:05.122Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-20T19:46:05.152Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-20T19:46:05.184Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T19:46:05.202Z] > git checkout -f dfd140bd3e583d8e942a3dd9b22e48316727da76 # timeout=10 [2023-07-20T19:46:08.671Z] Commit message: "feat: allow path index query parameter" [2023-07-20T19:46:09.157Z] [2023-07-20T19:46:09.157Z] GitHub has been notified of this commit’s build result [2023-07-20T19:46:09.157Z] [2023-07-20T19:46:10.081Z] $ docker top 0c5a3b995fbfbefdc0d375db1daf663c9fa318428c871b4991d163c91ec6eff4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T19:46:10.526Z] ---> job-cost.sh [2023-07-20T19:46:10.526Z] lf-activate-venv: SKIPPING [2023-07-20T19:46:10.526Z] INFO: No Stack... [2023-07-20T19:46:10.730Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-20T19:46:10.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:46:10.730Z] Dload Upload Total Spent Left Speed [2023-07-20T19:46:10.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 155k [2023-07-20T19:46:10.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T19:46:11.042Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-07-20T19:46:11.329Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-20T19:46:11.329Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T19:46:11.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [2023-07-20T19:46:11.349Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] did not exist. Created. [2023-07-20T19:46:11.349Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T19:46:11.462Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-20T19:46:11.662Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-20T19:46:11.690Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T19:46:11.696Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T19:46:11.714Z] $ docker stop --time=1 0c5a3b995fbfbefdc0d375db1daf663c9fa318428c871b4991d163c91ec6eff4 [2023-07-20T19:46:11.787Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-20T19:46:11.787Z] + sudo tee /etc/docker/daemon.new [2023-07-20T19:46:11.787Z] { [2023-07-20T19:46:11.787Z] "registry-mirrors": [ [2023-07-20T19:46:11.787Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-20T19:46:11.787Z] ], [2023-07-20T19:46:11.787Z] "bip": "10.250.0.254/24", [2023-07-20T19:46:11.787Z] "hosts": [ [2023-07-20T19:46:11.787Z] "tcp://0.0.0.0:5555", [2023-07-20T19:46:11.787Z] "unix:///var/run/docker.sock" [2023-07-20T19:46:11.787Z] ], [2023-07-20T19:46:11.787Z] "mtu": 1458, [2023-07-20T19:46:11.787Z] "selinux-enabled": true, [2023-07-20T19:46:11.787Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-20T19:46:11.787Z] } [2023-07-20T19:46:13.181Z] $ docker rm -f --volumes 0c5a3b995fbfbefdc0d375db1daf663c9fa318428c871b4991d163c91ec6eff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-20T19:46:13.557Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-20T19:46:13.878Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T19:46:32.110Z] provisioning config files... [2023-07-20T19:46:32.134Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/7@tmp/config7806422452412433864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:46:32.473Z] ---> docker-login.sh [2023-07-20T19:46:32.473Z] nexus3.edgexfoundry.org:10001 [2023-07-20T19:46:32.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:46:33.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:46:33.325Z] Configure a credential helper to remove this warning. See [2023-07-20T19:46:33.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:46:33.325Z] [2023-07-20T19:46:33.325Z] Login Succeeded [2023-07-20T19:46:33.325Z] nexus3.edgexfoundry.org:10002 [2023-07-20T19:46:33.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:46:33.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:46:33.595Z] Configure a credential helper to remove this warning. See [2023-07-20T19:46:33.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:46:33.595Z] [2023-07-20T19:46:33.595Z] Login Succeeded [2023-07-20T19:46:33.595Z] nexus3.edgexfoundry.org:10003 [2023-07-20T19:46:33.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:46:33.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:46:33.862Z] Configure a credential helper to remove this warning. See [2023-07-20T19:46:33.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:46:33.862Z] [2023-07-20T19:46:33.862Z] Login Succeeded [2023-07-20T19:46:33.862Z] nexus3.edgexfoundry.org:10004 [2023-07-20T19:46:34.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:46:34.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:46:34.129Z] Configure a credential helper to remove this warning. See [2023-07-20T19:46:34.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:46:34.129Z] [2023-07-20T19:46:34.129Z] Login Succeeded [2023-07-20T19:46:34.129Z] docker.io [2023-07-20T19:46:34.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T19:46:34.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T19:46:34.665Z] Configure a credential helper to remove this warning. See [2023-07-20T19:46:34.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T19:46:34.665Z] [2023-07-20T19:46:34.665Z] Login Succeeded [2023-07-20T19:46:34.665Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T19:46:34.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T19:46:34.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:46:34.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T19:46:34.951Z] ========================================================= [2023-07-20T19:46:34.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-20T19:46:34.951Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:46:35.287Z] + 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-07-20T19:46:35.556Z] Sending build context to Docker daemon 1.411MB [2023-07-20T19:46:35.556Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:46:35.556Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-20T19:46:35.826Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-20T19:46:35.826Z] edb6bdbacee9: Pulling fs layer [2023-07-20T19:46:35.826Z] 5f9638ab2659: Pulling fs layer [2023-07-20T19:46:35.826Z] 8d51d6327a98: Pulling fs layer [2023-07-20T19:46:35.826Z] 8b374f2dd631: Pulling fs layer [2023-07-20T19:46:35.826Z] ec14aa9079de: Pulling fs layer [2023-07-20T19:46:35.826Z] 2f466654f4bb: Pulling fs layer [2023-07-20T19:46:35.826Z] 554e91adad29: Pulling fs layer [2023-07-20T19:46:35.826Z] ec14aa9079de: Waiting [2023-07-20T19:46:35.826Z] 2f466654f4bb: Waiting [2023-07-20T19:46:35.826Z] 554e91adad29: Waiting [2023-07-20T19:46:35.826Z] 8b374f2dd631: Waiting [2023-07-20T19:46:35.826Z] 5f9638ab2659: Verifying Checksum [2023-07-20T19:46:35.826Z] 5f9638ab2659: Download complete [2023-07-20T19:46:35.826Z] 8b374f2dd631: Verifying Checksum [2023-07-20T19:46:35.826Z] 8b374f2dd631: Download complete [2023-07-20T19:46:35.826Z] ec14aa9079de: Verifying Checksum [2023-07-20T19:46:35.826Z] ec14aa9079de: Download complete [2023-07-20T19:46:35.826Z] edb6bdbacee9: Verifying Checksum [2023-07-20T19:46:37.251Z] 554e91adad29: Verifying Checksum [2023-07-20T19:46:37.251Z] 554e91adad29: Download complete [2023-07-20T19:46:38.215Z] 8d51d6327a98: Verifying Checksum [2023-07-20T19:46:38.215Z] 8d51d6327a98: Download complete [2023-07-20T19:46:38.215Z] 2f466654f4bb: Verifying Checksum [2023-07-20T19:46:38.215Z] 2f466654f4bb: Download complete [2023-07-20T19:46:39.174Z] edb6bdbacee9: Pull complete [2023-07-20T19:46:39.441Z] 5f9638ab2659: Pull complete [2023-07-20T19:46:49.508Z] 8d51d6327a98: Pull complete [2023-07-20T19:46:49.508Z] 8b374f2dd631: Pull complete [2023-07-20T19:46:49.508Z] ec14aa9079de: Pull complete [2023-07-20T19:46:56.177Z] 2f466654f4bb: Pull complete [2023-07-20T19:46:58.777Z] 554e91adad29: Pull complete [2023-07-20T19:46:58.777Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-20T19:46:58.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-20T19:46:58.777Z] ---> 1e15ea492957 [2023-07-20T19:46:58.777Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:47:00.200Z] ---> Running in d560a3e4d863 [2023-07-20T19:47:00.469Z] Removing intermediate container d560a3e4d863 [2023-07-20T19:47:00.469Z] ---> 290ae04fffe9 [2023-07-20T19:47:00.469Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:47:00.469Z] ---> Running in 7f67df110244 [2023-07-20T19:47:00.739Z] Removing intermediate container 7f67df110244 [2023-07-20T19:47:00.739Z] ---> a298c6b595e3 [2023-07-20T19:47:00.739Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-20T19:47:01.008Z] ---> Running in 4c7ff200971e [2023-07-20T19:47:01.277Z] Removing intermediate container 4c7ff200971e [2023-07-20T19:47:01.277Z] ---> 0c6bb48ac635 [2023-07-20T19:47:01.277Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-20T19:47:01.277Z] ---> Running in 71faeaee9444 [2023-07-20T19:47:01.546Z] Removing intermediate container 71faeaee9444 [2023-07-20T19:47:01.546Z] ---> e09c2914d424 [2023-07-20T19:47:01.546Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:47:01.815Z] ---> Running in 69cdea30bce6 [2023-07-20T19:47:02.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-20T19:47:03.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-20T19:47:04.327Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-20T19:47:04.327Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-20T19:47:04.327Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-20T19:47:04.327Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-20T19:47:04.327Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-20T19:47:04.597Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-20T19:47:04.598Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-20T19:47:04.598Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-20T19:47:04.598Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-20T19:47:04.598Z] (10/14) Installing kmod-libs (30-r1) [2023-07-20T19:47:04.598Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-20T19:47:04.598Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-20T19:47:04.598Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-20T19:47:04.598Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-20T19:47:04.598Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:47:04.598Z] Executing eudev-3.2.11-r4.trigger [2023-07-20T19:47:04.598Z] OK: 271 MiB in 67 packages [2023-07-20T19:47:07.184Z] Removing intermediate container 69cdea30bce6 [2023-07-20T19:47:07.184Z] ---> 1add3d0c238c [2023-07-20T19:47:07.184Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-20T19:47:07.184Z] ---> Running in 420d93337188 [2023-07-20T19:47:07.454Z] Removing intermediate container 420d93337188 [2023-07-20T19:47:07.454Z] ---> 72ba002c6659 [2023-07-20T19:47:07.454Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-20T19:47:08.047Z] ---> 1daf9de170d3 [2023-07-20T19:47:08.047Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:47:08.047Z] ---> Running in 7bdf3231bd04 [2023-07-20T19:48:15.925Z] Removing intermediate container 7bdf3231bd04 [2023-07-20T19:48:15.925Z] ---> 8dc7a8a00013 [2023-07-20T19:48:15.925Z] Step 11/13 : COPY . . [2023-07-20T19:48:15.925Z] ---> 1def3c4821c2 [2023-07-20T19:48:15.925Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-20T19:48:15.925Z] ---> Running in b8881f9ae52d [2023-07-20T19:48:15.925Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:48:15.925Z]  Dload Upload Total Spent Left Speed [2023-07-20T19:48:15.925Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4292 0 --:--:-- --:--:-- --:--:-- 4317 [2023-07-20T19:48:15.925Z] Removing intermediate container b8881f9ae52d [2023-07-20T19:48:15.925Z] ---> 8a5450528736 [2023-07-20T19:48:15.925Z] Step 13/13 : RUN ${MAKE} [2023-07-20T19:48:15.925Z] ---> Running in 3cd7ba787346 [2023-07-20T19:48:16.518Z] noop [2023-07-20T19:48:17.100Z] Removing intermediate container 3cd7ba787346 [2023-07-20T19:48:17.100Z] ---> 593226d3af80 [2023-07-20T19:48:17.100Z] Successfully built 593226d3af80 [2023-07-20T19:48:17.100Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:48:17.436Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T19:48:17.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:48:17.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-1678 does not seem to be running inside a container [2023-07-20T19:48:17.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-20T19:48:18.864Z] $ docker top 61d3e369eb71718d47d898734dcc08d61c587f9e667f9ba36f4e89940a1e95d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:48:19.673Z] + go version [2023-07-20T19:48:19.673Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-20T19:48:19.693Z] $ docker stop --time=1 61d3e369eb71718d47d898734dcc08d61c587f9e667f9ba36f4e89940a1e95d0 [2023-07-20T19:48:21.303Z] $ docker rm -f --volumes 61d3e369eb71718d47d898734dcc08d61c587f9e667f9ba36f4e89940a1e95d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:48:21.858Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T19:48:21.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:48:22.041Z] prd-ubuntu20.04-docker-arm64-4c-16g-1678 does not seem to be running inside a container [2023-07-20T19:48:22.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-20T19:48:23.261Z] $ docker top b2f0150f473928d0aba70f2352888a5b538edf9501f64c48c130b057ff60f705 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:48:23.749Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/7 [Pipeline] fileExists [Pipeline] sh [2023-07-20T19:48:24.349Z] + make test [2023-07-20T19:48:24.349Z] go test ./... -coverprofile=coverage.out ./... [2023-07-20T19:48:56.572Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-20T19:51:03.243Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-20T19:51:09.909Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.095s coverage: 3.6% of statements [2023-07-20T19:51:09.909Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-20T19:51:09.909Z] go vet ./... [2023-07-20T19:51:48.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-20T19:51:48.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-20T19:51:48.798Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-20T19:51:48.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-20T19:51:48.837Z] $ docker stop --time=1 b2f0150f473928d0aba70f2352888a5b538edf9501f64c48c130b057ff60f705 [2023-07-20T19:51:50.629Z] $ docker rm -f --volumes b2f0150f473928d0aba70f2352888a5b538edf9501f64c48c130b057ff60f705 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T19:51:51.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-20T19:51:51.713Z] Warning: overwriting stash ‘coverage-report’ [2023-07-20T19:51:52.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T19:51:52.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T19:51:52.990Z] + ls -al . [2023-07-20T19:51:52.990Z] total 200 [2023-07-20T19:51:52.990Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 19:48 . [2023-07-20T19:51:52.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:46 .. [2023-07-20T19:51:52.990Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 19:46 .git [2023-07-20T19:51:52.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:46 .github [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 19:46 .gitignore [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 20 19:46 .golangci.yml [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 19:46 .hadolint.yml [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 20 19:46 Attribution.txt [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 20 19:46 CHANGELOG.md [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 20 19:46 Dockerfile [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 19:46 GOVERNANCE.md [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 19:46 Jenkinsfile [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 19:46 LICENSE [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 20 19:46 Makefile [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 19:46 OWNERS.md [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 20 19:46 README.md [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 19:43 VERSION [2023-07-20T19:51:52.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:46 bin [2023-07-20T19:51:52.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:46 cmd [2023-07-20T19:51:52.990Z] -rw-r--r-- 1 jenkins jenkins 42249 Jul 20 19:51 coverage.out [2023-07-20T19:51:52.990Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 20 19:46 docker-entrypoint.sh [2023-07-20T19:51:52.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 19:46 docs [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 20 19:46 go.mod [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 20 19:46 go.sum [2023-07-20T19:51:52.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 19:46 internal [2023-07-20T19:51:52.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 19:46 snap [2023-07-20T19:51:52.990Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 19:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:51:53.343Z] + 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=dfd140bd3e583d8e942a3dd9b22e48316727da76 --label arch=arm64 --label version=0.0.0 . [2023-07-20T19:51:53.950Z] Sending build context to Docker daemon 1.454MB [2023-07-20T19:51:53.950Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-20T19:51:53.950Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-20T19:51:53.950Z] ---> 593226d3af80 [2023-07-20T19:51:53.950Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-20T19:51:53.950Z] ---> Running in ab60682a0abb [2023-07-20T19:51:54.233Z] Removing intermediate container ab60682a0abb [2023-07-20T19:51:54.233Z] ---> db646c4920a1 [2023-07-20T19:51:54.233Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-20T19:51:54.233Z] ---> Running in 0571b3f96f7a [2023-07-20T19:51:54.510Z] Removing intermediate container 0571b3f96f7a [2023-07-20T19:51:54.510Z] ---> 4f2fb82bdf82 [2023-07-20T19:51:54.510Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-20T19:51:54.782Z] ---> Running in d88a8d6c687c [2023-07-20T19:51:55.051Z] Removing intermediate container d88a8d6c687c [2023-07-20T19:51:55.051Z] ---> 626acaffddc7 [2023-07-20T19:51:55.051Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-20T19:51:55.051Z] ---> Running in 823a02ae6073 [2023-07-20T19:51:55.320Z] Removing intermediate container 823a02ae6073 [2023-07-20T19:51:55.320Z] ---> 295eed638c4b [2023-07-20T19:51:55.320Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-20T19:51:55.320Z] ---> Running in 2b1309ae35f1 [2023-07-20T19:51:56.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-20T19:51:57.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-20T19:51:58.430Z] OK: 271 MiB in 67 packages [2023-07-20T19:51:59.020Z] Removing intermediate container 2b1309ae35f1 [2023-07-20T19:51:59.020Z] ---> da0aedcaef97 [2023-07-20T19:51:59.021Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-20T19:51:59.289Z] ---> Running in 8bb10637c50e [2023-07-20T19:51:59.558Z] Removing intermediate container 8bb10637c50e [2023-07-20T19:51:59.558Z] ---> f1ad47aee039 [2023-07-20T19:51:59.558Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-20T19:52:00.145Z] ---> 93a0bea95d33 [2023-07-20T19:52:00.145Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-20T19:52:00.145Z] ---> Running in ffb42be7c598 [2023-07-20T19:52:02.743Z] Removing intermediate container ffb42be7c598 [2023-07-20T19:52:02.743Z] ---> 20f7d83ec2ed [2023-07-20T19:52:02.743Z] Step 11/36 : COPY . . [2023-07-20T19:52:03.709Z] ---> f9b89a342d5c [2023-07-20T19:52:03.709Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-20T19:52:03.979Z] ---> Running in 0a3e48443fa3 [2023-07-20T19:52:04.939Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:52:04.939Z] Dload Upload Total Spent Left Speed [2023-07-20T19:52:05.205Z]  0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3247 0 --:--:-- --:--:-- --:--:-- 3247 [2023-07-20T19:52:05.789Z] Removing intermediate container 0a3e48443fa3 [2023-07-20T19:52:05.789Z] ---> b465793fbfe7 [2023-07-20T19:52:05.789Z] Step 13/36 : RUN ${MAKE} [2023-07-20T19:52:05.789Z] ---> Running in 0fd3ee268240 [2023-07-20T19:52:06.748Z] 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-07-20T19:54:43.455Z] Removing intermediate container 0fd3ee268240 [2023-07-20T19:54:43.455Z] ---> f6e9334d7273 [2023-07-20T19:54:43.455Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-20T19:54:43.455Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-20T19:54:43.455Z] 8766b47fe142: Pulling fs layer [2023-07-20T19:54:43.455Z] 8766b47fe142: Verifying Checksum [2023-07-20T19:54:43.455Z] 8766b47fe142: Download complete [2023-07-20T19:54:43.455Z] 8766b47fe142: Pull complete [2023-07-20T19:54:43.455Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-20T19:54:43.455Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-20T19:54:43.455Z] ---> 69d40e2cb93c [2023-07-20T19:54:43.455Z] Step 15/36 : FROM alpine:3.17 [2023-07-20T19:54:43.455Z] 3.17: Pulling from library/alpine [2023-07-20T19:54:43.455Z] edb6bdbacee9: Already exists [2023-07-20T19:54:43.455Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-20T19:54:43.455Z] Status: Downloaded newer image for alpine:3.17 [2023-07-20T19:54:43.455Z] ---> 779605e5fbc0 [2023-07-20T19:54:43.455Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-20T19:54:43.455Z] ---> Running in 2437d08cedd6 [2023-07-20T19:54:43.455Z] Removing intermediate container 2437d08cedd6 [2023-07-20T19:54:43.455Z] ---> a41026466482 [2023-07-20T19:54:43.455Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-20T19:54:43.455Z] ---> Running in 4bd13a9bf2c4 [2023-07-20T19:54:43.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-20T19:54:43.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-20T19:54:43.455Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-20T19:54:43.455Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-20T19:54:43.455Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-20T19:54:43.455Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-20T19:54:43.455Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-20T19:54:43.455Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-20T19:54:43.455Z] (7/83) Installing libxcb (1.15-r0) [2023-07-20T19:54:43.455Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-20T19:54:43.455Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-20T19:54:43.455Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-20T19:54:43.455Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-20T19:54:43.455Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-20T19:54:43.455Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-20T19:54:43.455Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-20T19:54:43.455Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-20T19:54:43.455Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-20T19:54:43.455Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-20T19:54:43.455Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-20T19:54:43.455Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-20T19:54:43.455Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-20T19:54:43.455Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-20T19:54:43.455Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-20T19:54:43.455Z] (23/83) Installing glib (2.74.7-r0) [2023-07-20T19:54:43.455Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-20T19:54:43.455Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-20T19:54:43.455Z] (26/83) Installing libass (0.16.0-r1) [2023-07-20T19:54:43.455Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-20T19:54:43.455Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-20T19:54:43.455Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-20T19:54:43.455Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-20T19:54:43.455Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-20T19:54:43.455Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-20T19:54:43.455Z] (33/83) Installing libunistring (1.1-r0) [2023-07-20T19:54:43.455Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-20T19:54:43.720Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-20T19:54:43.721Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-20T19:54:43.721Z] (37/83) Installing lame (3.100-r2) [2023-07-20T19:54:43.721Z] (38/83) Installing opus (1.3.1-r1) [2023-07-20T19:54:43.721Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-20T19:54:43.721Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-20T19:54:43.721Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-20T19:54:43.721Z] (42/83) Installing orc (0.4.33-r0) [2023-07-20T19:54:43.721Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-20T19:54:43.721Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-20T19:54:43.721Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-20T19:54:43.721Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-20T19:54:43.721Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-20T19:54:43.986Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-20T19:54:43.986Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-20T19:54:43.986Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-20T19:54:43.986Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-20T19:54:43.986Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-20T19:54:43.986Z] (53/83) Installing libpulse (16.1-r6) [2023-07-20T19:54:43.986Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-20T19:54:43.986Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-20T19:54:43.986Z] (56/83) Installing librist (0.2.7-r0) [2023-07-20T19:54:43.986Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-20T19:54:43.986Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-20T19:54:43.986Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-20T19:54:43.986Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-20T19:54:44.251Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-20T19:54:44.251Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-20T19:54:44.251Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-20T19:54:44.251Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-20T19:54:44.251Z] (65/83) Installing libva (2.16.0-r0) [2023-07-20T19:54:44.251Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-20T19:54:44.251Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-20T19:54:44.251Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-20T19:54:44.251Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-20T19:54:44.251Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-20T19:54:44.251Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-20T19:54:44.251Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-20T19:54:44.517Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-20T19:54:44.517Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-20T19:54:44.517Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-20T19:54:44.517Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-20T19:54:45.098Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-20T19:54:45.098Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-20T19:54:45.098Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-20T19:54:45.098Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-20T19:54:45.098Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-20T19:54:45.098Z] (82/83) Installing kmod-libs (30-r1) [2023-07-20T19:54:45.098Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-20T19:54:45.098Z] Executing busybox-1.35.0-r29.trigger [2023-07-20T19:54:45.098Z] Executing eudev-3.2.11-r4.trigger [2023-07-20T19:54:45.098Z] OK: 86 MiB in 98 packages [2023-07-20T19:54:48.431Z] Removing intermediate container 4bd13a9bf2c4 [2023-07-20T19:54:48.431Z] ---> 2f08d6e9050d [2023-07-20T19:54:48.431Z] Step 18/36 : WORKDIR / [2023-07-20T19:54:48.431Z] ---> Running in 6ca88947f9cd [2023-07-20T19:54:48.431Z] Removing intermediate container 6ca88947f9cd [2023-07-20T19:54:48.431Z] ---> ac7d4e22f366 [2023-07-20T19:54:48.431Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-20T19:54:51.000Z] ---> 0f7f18540eca [2023-07-20T19:54:51.000Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-20T19:54:51.580Z] ---> d7d360324700 [2023-07-20T19:54:51.580Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-20T19:54:52.163Z] ---> 553e2a7211ae [2023-07-20T19:54:52.163Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-20T19:54:52.430Z] ---> aafd85fcec05 [2023-07-20T19:54:52.430Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-20T19:54:53.010Z] ---> 74fb1b0573bc [2023-07-20T19:54:53.010Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-20T19:54:53.592Z] ---> 5b3af8e4e6b2 [2023-07-20T19:54:53.592Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-20T19:54:54.995Z] ---> dc26478c6fb7 [2023-07-20T19:54:54.995Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-20T19:54:54.995Z] ---> Running in bf6a53529988 [2023-07-20T19:54:56.408Z] Removing intermediate container bf6a53529988 [2023-07-20T19:54:56.408Z] ---> 2385e37e4b9c [2023-07-20T19:54:56.408Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-20T19:54:56.408Z] ---> Running in 358a309b4b71 [2023-07-20T19:54:58.351Z] Removing intermediate container 358a309b4b71 [2023-07-20T19:54:58.351Z] ---> 7566960c13a6 [2023-07-20T19:54:58.351Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-20T19:54:58.351Z] ---> Running in 658b57b429a8 [2023-07-20T19:54:59.761Z] Removing intermediate container 658b57b429a8 [2023-07-20T19:54:59.761Z] ---> a432a073448e [2023-07-20T19:54:59.762Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-20T19:54:59.762Z] ---> Running in 22682b97fc7f [2023-07-20T19:55:01.169Z] Removing intermediate container 22682b97fc7f [2023-07-20T19:55:01.169Z] ---> 4797fea78e1c [2023-07-20T19:55:01.169Z] Step 30/36 : EXPOSE 59983 [2023-07-20T19:55:01.169Z] ---> Running in f356ab24e445 [2023-07-20T19:55:01.438Z] Removing intermediate container f356ab24e445 [2023-07-20T19:55:01.438Z] ---> 7e87a624ee84 [2023-07-20T19:55:01.438Z] Step 31/36 : EXPOSE 8554 [2023-07-20T19:55:01.438Z] ---> Running in f5f0017c23b7 [2023-07-20T19:55:02.031Z] Removing intermediate container f5f0017c23b7 [2023-07-20T19:55:02.031Z] ---> 2be4cbd9c2ad [2023-07-20T19:55:02.031Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-20T19:55:02.031Z] ---> Running in 8173fb19f1b4 [2023-07-20T19:55:02.299Z] Removing intermediate container 8173fb19f1b4 [2023-07-20T19:55:02.299Z] ---> 7c779cbaa519 [2023-07-20T19:55:02.299Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-20T19:55:02.299Z] ---> Running in ae8aa604af5f [2023-07-20T19:55:02.565Z] Removing intermediate container ae8aa604af5f [2023-07-20T19:55:02.565Z] ---> 5d518d7c0dee [2023-07-20T19:55:02.565Z] Step 34/36 : LABEL arch=arm64 [2023-07-20T19:55:02.565Z] ---> Running in cbb9e8213d86 [2023-07-20T19:55:02.833Z] Removing intermediate container cbb9e8213d86 [2023-07-20T19:55:02.833Z] ---> 181787b0af2c [2023-07-20T19:55:02.833Z] Step 35/36 : LABEL git_sha=dfd140bd3e583d8e942a3dd9b22e48316727da76 [2023-07-20T19:55:03.100Z] ---> Running in e08822660d6c [2023-07-20T19:55:03.366Z] Removing intermediate container e08822660d6c [2023-07-20T19:55:03.366Z] ---> 0d32c9b74aca [2023-07-20T19:55:03.366Z] Step 36/36 : LABEL version=0.0.0 [2023-07-20T19:55:03.366Z] ---> Running in bf4604e4cfbe [2023-07-20T19:55:03.631Z] Removing intermediate container bf4604e4cfbe [2023-07-20T19:55:03.631Z] ---> 3c1ad6d47e2f [2023-07-20T19:55:03.631Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-20T19:55:03.631Z] Successfully built 3c1ad6d47e2f [2023-07-20T19:55:03.631Z] 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-07-20T19:55:04.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T19:55:04.091Z] [2023-07-20T19:55:04.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:55:04.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T19:55:04.423Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-20T19:55:04.423Z] 8998bd30e6a1: Pulling fs layer [2023-07-20T19:55:04.423Z] 04944245beec: Pulling fs layer [2023-07-20T19:55:04.423Z] 699f458cf7ca: Pulling fs layer [2023-07-20T19:55:04.423Z] 765212b225bb: Pulling fs layer [2023-07-20T19:55:04.423Z] f23df028b6ca: Pulling fs layer [2023-07-20T19:55:04.423Z] d65c8cfc05b1: Pulling fs layer [2023-07-20T19:55:04.423Z] 2437ff75d9bd: Pulling fs layer [2023-07-20T19:55:04.423Z] 765212b225bb: Waiting [2023-07-20T19:55:04.423Z] f23df028b6ca: Waiting [2023-07-20T19:55:04.423Z] d65c8cfc05b1: Waiting [2023-07-20T19:55:04.423Z] 2437ff75d9bd: Waiting [2023-07-20T19:55:04.691Z] 04944245beec: Verifying Checksum [2023-07-20T19:55:04.691Z] 04944245beec: Download complete [2023-07-20T19:55:04.691Z] 765212b225bb: Download complete [2023-07-20T19:55:04.691Z] f23df028b6ca: Verifying Checksum [2023-07-20T19:55:04.691Z] f23df028b6ca: Download complete [2023-07-20T19:55:04.691Z] d65c8cfc05b1: Download complete [2023-07-20T19:55:04.691Z] 699f458cf7ca: Verifying Checksum [2023-07-20T19:55:04.691Z] 699f458cf7ca: Download complete [2023-07-20T19:55:05.274Z] 8998bd30e6a1: Download complete [2023-07-20T19:55:07.214Z] 2437ff75d9bd: Verifying Checksum [2023-07-20T19:55:07.214Z] 2437ff75d9bd: Download complete [2023-07-20T19:55:09.178Z] 8998bd30e6a1: Pull complete [2023-07-20T19:55:09.445Z] 04944245beec: Pull complete [2023-07-20T19:55:10.857Z] 699f458cf7ca: Pull complete [2023-07-20T19:55:11.126Z] 765212b225bb: Pull complete [2023-07-20T19:55:11.713Z] f23df028b6ca: Pull complete [2023-07-20T19:55:11.980Z] d65c8cfc05b1: Pull complete [2023-07-20T19:55:26.979Z] 2437ff75d9bd: Pull complete [2023-07-20T19:55:26.979Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-20T19:55:26.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T19:55:26.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:55:27.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-1678 does not seem to be running inside a container [2023-07-20T19:55:27.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-20T19:55:33.209Z] $ docker top 2af489296acc00f87a145c4beec17b340061826cbc973f68e0f1abb4925ff33f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:34.029Z] ---> job-cost.sh [2023-07-20T19:55:34.029Z] lf-activate-venv: SKIPPING [2023-07-20T19:55:34.029Z] INFO: No Stack... [2023-07-20T19:55:35.433Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-20T19:55:36.013Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T19:55:36.333Z] + cut -d, -f6+ [2023-07-20T19:55:36.333Z] cat /w/workspace/device-usb-camera/7/archives/cost.csv [Pipeline] lock [2023-07-20T19:55:36.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [2023-07-20T19:55:36.405Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] did not exist. Created. [2023-07-20T19:55:36.405Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T19:55:37.053Z] /w/workspace/device-usb-camera/7@tmp/durable-159fd658/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-20T19:55:37.377Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-20T19:55:37.398Z] Warning: overwriting stash ‘stack-cost’ [2023-07-20T19:55:37.444Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T19:55:37.450Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T19:55:37.474Z] $ docker stop --time=1 2af489296acc00f87a145c4beec17b340061826cbc973f68e0f1abb4925ff33f [2023-07-20T19:55:38.931Z] $ docker rm -f --volumes 2af489296acc00f87a145c4beec17b340061826cbc973f68e0f1abb4925ff33f [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-07-20T19:55:39.384Z] provisioning config files... [2023-07-20T19:55:39.390Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config2793562258335420760tmp [Pipeline] { [Pipeline] sh [2023-07-20T19:55:39.679Z] + set +x [2023-07-20T19:55:39.679Z] + curl -s https://codecov.io/bash [2023-07-20T19:55:39.679Z] + bash -s -- [2023-07-20T19:55:39.679Z] [2023-07-20T19:55:39.679Z] _____ _ [2023-07-20T19:55:39.679Z] / ____| | | [2023-07-20T19:55:39.679Z] | | ___ __| | ___ ___ _____ __ [2023-07-20T19:55:39.679Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-20T19:55:39.679Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-20T19:55:39.679Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-20T19:55:39.679Z] Bash-1.0.6 [2023-07-20T19:55:39.679Z] [2023-07-20T19:55:39.679Z] [2023-07-20T19:55:39.679Z] ==> git version 2.25.1 found [2023-07-20T19:55:39.679Z] ==> 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-07-20T19:55:39.679Z] Release-Date: 2020-01-08 [2023-07-20T19:55:39.679Z] 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-07-20T19:55:39.679Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-20T19:55:39.679Z] ==> Jenkins CI detected. [2023-07-20T19:55:39.679Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-20T19:55:39.679Z] project root: . [2023-07-20T19:55:39.679Z] --> token set from env [2023-07-20T19:55:39.679Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-20T19:55:39.679Z] ==> Running gcov in . (disable via -X gcov) [2023-07-20T19:55:39.679Z] ==> Python coveragepy not found [2023-07-20T19:55:39.679Z] ==> Searching for coverage reports in: [2023-07-20T19:55:39.679Z] + . [2023-07-20T19:55:39.679Z] -> Found 1 reports [2023-07-20T19:55:39.679Z] ==> Detecting git/mercurial file structure [2023-07-20T19:55:39.679Z] ==> Reading reports [2023-07-20T19:55:39.938Z] + ./coverage.out bytes=42249 [2023-07-20T19:55:39.938Z] ==> Appending adjustments [2023-07-20T19:55:39.938Z] https://docs.codecov.io/docs/fixing-reports [2023-07-20T19:55:39.938Z] + Found adjustments [2023-07-20T19:55:39.938Z] ==> Gzipping contents [2023-07-20T19:55:39.938Z] 8.0K /tmp/codecov.MXCmcG.gz [2023-07-20T19:55:39.938Z] ==> Uploading reports [2023-07-20T19:55:39.938Z] url: https://codecov.io [2023-07-20T19:55:39.938Z] query: branch=PR-265&commit=dfd140bd3e583d8e942a3dd9b22e48316727da76&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-20T19:55:39.938Z] -> Pinging Codecov [2023-07-20T19:55:39.938Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=dfd140bd3e583d8e942a3dd9b22e48316727da76&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-20T19:55:40.198Z] -> Uploading to [2023-07-20T19:55:40.198Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-20/73D8F5FF140700D3E01443B452E23636/dfd140bd3e583d8e942a3dd9b22e48316727da76/58f9a3e5-e78d-461e-9ba5-f64a2169c582.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230720T195539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfe6c34c7a5ca9368c38c8c6f2f713ce412c14640c27ce383463e4343dbb6b93 [2023-07-20T19:55:40.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T19:55:40.198Z] Dload Upload Total Spent Left Speed [2023-07-20T19:55:40.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5604 0 0 100 5604 0 26942 --:--:-- --:--:-- --:--:-- 26813 100 5604 0 0 100 5604 0 26813 --:--:-- --:--:-- --:--:-- 26813 [2023-07-20T19:55:40.198Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/dfd140bd3e583d8e942a3dd9b22e48316727da76 [Pipeline] } [2023-07-20T19:55:40.205Z] 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-07-20T19:55:40.967Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-20T19:55:40.967Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-20T19:55:40.967Z] total 16 [2023-07-20T19:55:40.967Z] drwxr-xr-x 3 root root 4096 Jul 20 19:46 . [2023-07-20T19:55:40.967Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 19:46 .. [2023-07-20T19:55:40.967Z] drwxr-xr-x 2 root root 4096 Jul 20 19:46 cost [2023-07-20T19:55:40.967Z] -rw-r--r-- 1 root root 89 Jul 20 19:46 cost.csv [2023-07-20T19:55:40.967Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-20T19:55:40.967Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-20T19:55:40.967Z] total 16 [2023-07-20T19:55:40.967Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 19:46 . [2023-07-20T19:55:40.967Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 19:46 .. [2023-07-20T19:55:40.967Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 19:46 cost [2023-07-20T19:55:40.967Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 20 19:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:41.259Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:42.114Z] ---> package-listing.sh [2023-07-20T19:55:42.114Z] ++ facter osfamily [2023-07-20T19:55:42.114Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-20T19:55:42.375Z] + OS_FAMILY=debian [2023-07-20T19:55:42.375Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-20T19:55:42.375Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-20T19:55:42.375Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-20T19:55:42.375Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-20T19:55:42.375Z] + PACKAGES=/tmp/packages_start.txt [2023-07-20T19:55:42.375Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-20T19:55:42.375Z] + PACKAGES=/tmp/packages_end.txt [2023-07-20T19:55:42.375Z] + case "${OS_FAMILY}" in [2023-07-20T19:55:42.375Z] + dpkg -l [2023-07-20T19:55:42.375Z] + grep '^ii' [2023-07-20T19:55:42.375Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-20T19:55:42.375Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-20T19:55:42.375Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-20T19:55:42.375Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-20T19:55:42.375Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-20T19:55:42.375Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo [2023-07-20T19:55:42.385Z] 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-20T19:55:42.662Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T19:55:43.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T19:55:43.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T19:55:43.345Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-07-20T19:55:43.376Z] $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-20T19:55:43.634Z] $ docker top 4b51cdeaf3cae5fa36d20092ac17b5198041cdf94a91369ef69b190a247a4cb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T19:55:43.972Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-20T19:55:44.256Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-20T19:55:44.542Z] + ls /var/log/sa-host [2023-07-20T19:55:44.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T19:55:44.690Z] provisioning config files... [2023-07-20T19:55:44.698Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config14204861317826611872tmp [Pipeline] { [Pipeline] echo [2023-07-20T19:55:44.714Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:44.998Z] ---> create-netrc.sh [Pipeline] } [2023-07-20T19:55:45.006Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:45.345Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-20T19:55:45.354Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:45.640Z] ---> sudo-logs.sh [2023-07-20T19:55:45.640Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-20T19:55:45.662Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:45.945Z] ---> job-cost.sh [2023-07-20T19:55:45.945Z] lf-activate-venv: SKIPPING [2023-07-20T19:55:45.945Z] DEBUG: total: 0.2199999988079071 [2023-07-20T19:55:45.945Z] INFO: Retrieving Stack Cost... [2023-07-20T19:55:46.204Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T19:55:46.770Z] INFO: Archiving Costs [Pipeline] echo [2023-07-20T19:55:46.780Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T19:55:47.062Z] ---> logs-deploy.sh [2023-07-20T19:55:47.062Z] lf-activate-venv: SKIPPING [2023-07-20T19:55:47.062Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/7 [2023-07-20T19:55:47.062Z] INFO: archiving workspace using pattern(s): [2023-07-20T19:55:48.000Z] Archives upload complete. [2023-07-20T19:55:48.000Z] INFO: archiving logs to Nexus