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 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 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-ssh10154054490435357725.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-ssh16177307324790291377.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-ssh14935462015951804517.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-ssh18306687961000646649.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-ssh5599251649070780079.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2309 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 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 Merge succeeded, producing cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 Checking out Revision cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 (PR-265) Commit message: "fix: name of deviceCommands" > git config core.sparsecheckout # timeout=10 > git checkout -f cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # 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 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # timeout=10 > git rev-list --no-walk db557b0a756cf7809e4a4d52a94fd34abc317e6f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-27T00:29:12.604Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-27T00:29:12.657Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-27T00:29:12.673Z] ========================================================= [2023-07-27T00:29:12.673Z] EdgeX Global Pipelines Version Info [2023-07-27T00:29:12.673Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:29:13.375Z] ------------------- [2023-07-27T00:29:13.375Z] stable info: [2023-07-27T00:29:13.375Z] ------------------- [2023-07-27T00:29:13.375Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-27T00:29:13.375Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-27T00:29:13.375Z] Message: update stable to v1.0.250 [2023-07-27T00:29:13.946Z] ------------------- [2023-07-27T00:29:13.946Z] experimental info: [2023-07-27T00:29:13.946Z] ------------------- [2023-07-27T00:29:13.946Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-27T00:29:13.946Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-27T00:29:13.946Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-27T00:29:14.161Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-27T00:29:14.172Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-27T00:29:14.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-27T00:29:14.191Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-27T00:29:14.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-27T00:29:14.222Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-27T00:29:14.234Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-27T00:29:14.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-27T00:29:14.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-27T00:29:14.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-27T00:29:14.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-27T00:29:14.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-27T00:29:14.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-27T00:29:14.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-27T00:29:14.323Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-27T00:29:14.331Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-27T00:29:14.340Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-27T00:29:14.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-27T00:29:14.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-27T00:29:14.378Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-27T00:29:14.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-27T00:29:14.397Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-27T00:29:14.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-27T00:29:14.415Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-27T00:29:14.424Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-27T00:29:14.434Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-27T00:29:14.452Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-27T00:29:14.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-27T00:29:14.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-27T00:29:14.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-27T00:29:14.515Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo [2023-07-27T00:29:14.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf72471 [Pipeline] echo [2023-07-27T00:29:14.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-27T00:29:14.601Z] provisioning config files... [2023-07-27T00:29:14.613Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13603786912165135463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:29:14.911Z] ---> docker-login.sh [2023-07-27T00:29:14.911Z] nexus3.edgexfoundry.org:10001 [2023-07-27T00:29:15.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:15.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:15.171Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:15.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:15.171Z] [2023-07-27T00:29:15.171Z] Login Succeeded [2023-07-27T00:29:15.171Z] nexus3.edgexfoundry.org:10002 [2023-07-27T00:29:15.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:15.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:15.431Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:15.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:15.431Z] [2023-07-27T00:29:15.431Z] Login Succeeded [2023-07-27T00:29:15.431Z] nexus3.edgexfoundry.org:10003 [2023-07-27T00:29:15.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:15.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:15.431Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:15.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:15.431Z] [2023-07-27T00:29:15.431Z] Login Succeeded [2023-07-27T00:29:15.431Z] nexus3.edgexfoundry.org:10004 [2023-07-27T00:29:15.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:15.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:15.431Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:15.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:15.431Z] [2023-07-27T00:29:15.431Z] Login Succeeded [2023-07-27T00:29:15.431Z] docker.io [2023-07-27T00:29:15.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:15.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:15.952Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:15.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:15.952Z] [2023-07-27T00:29:15.952Z] Login Succeeded [2023-07-27T00:29:15.952Z] ---> docker-login.sh ends [Pipeline] } [2023-07-27T00:29:15.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-27T00:29:16.355Z] + git rev-list -1 --merges cf72471dfa73fdfbc6e89d16bce2d6c491b80f72~1..cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo [2023-07-27T00:29:16.404Z] -----------> git rev-list -1 --merges cf72471dfa73fdfbc6e89d16bce2d6c491b80f72~1..cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [false] [Pipeline] sh [2023-07-27T00:29:16.691Z] + git log --format=format:%s -1 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo [2023-07-27T00:29:16.709Z] ========================================================= [2023-07-27T00:29:16.709Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-27T00:29:16.709Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-27T00:29:17.029Z] + git log --format=format:%s -1 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo [2023-07-27T00:29:17.041Z] [semverPrep] GIT_COMMIT: cf72471dfa73fdfbc6e89d16bce2d6c491b80f72, Commit Message: fix: name of deviceCommands [Pipeline] echo [2023-07-27T00:29:17.049Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-27T00:29:17.416Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-27T00:29:17.416Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-27T00:29:17.416Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-27T00:29:17.416Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-27T00:29:17.416Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-27T00:29:17.416Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-27T00:29:17.416Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:29:17.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-27T00:29:17.842Z] [2023-07-27T00:29:17.842Z] 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-27T00:29:18.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-27T00:29:18.139Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-27T00:29:18.139Z] b85a868b505f: Pulling fs layer [2023-07-27T00:29:18.139Z] e2be974225ed: Pulling fs layer [2023-07-27T00:29:18.139Z] 339a4e72a1f5: Pulling fs layer [2023-07-27T00:29:18.139Z] 988bab9f4d93: Pulling fs layer [2023-07-27T00:29:18.139Z] 1469e6f7b9e6: Pulling fs layer [2023-07-27T00:29:18.139Z] eaf3925da568: Pulling fs layer [2023-07-27T00:29:18.139Z] bab4dde63d76: Pulling fs layer [2023-07-27T00:29:18.139Z] bde34c3a00c8: Pulling fs layer [2023-07-27T00:29:18.139Z] b352a97aabf1: Pulling fs layer [2023-07-27T00:29:18.139Z] 4872d77fe225: Pulling fs layer [2023-07-27T00:29:18.139Z] 5851b861e8e6: Pulling fs layer [2023-07-27T00:29:18.139Z] 988bab9f4d93: Waiting [2023-07-27T00:29:18.139Z] eaf3925da568: Waiting [2023-07-27T00:29:18.139Z] 1469e6f7b9e6: Waiting [2023-07-27T00:29:18.139Z] bab4dde63d76: Waiting [2023-07-27T00:29:18.139Z] bde34c3a00c8: Waiting [2023-07-27T00:29:18.139Z] b352a97aabf1: Waiting [2023-07-27T00:29:18.139Z] 4872d77fe225: Waiting [2023-07-27T00:29:18.139Z] 5851b861e8e6: Waiting [2023-07-27T00:29:18.139Z] e2be974225ed: Verifying Checksum [2023-07-27T00:29:18.139Z] e2be974225ed: Download complete [2023-07-27T00:29:18.139Z] 988bab9f4d93: Download complete [2023-07-27T00:29:18.139Z] 1469e6f7b9e6: Verifying Checksum [2023-07-27T00:29:18.139Z] 1469e6f7b9e6: Download complete [2023-07-27T00:29:18.139Z] eaf3925da568: Verifying Checksum [2023-07-27T00:29:18.139Z] eaf3925da568: Download complete [2023-07-27T00:29:18.139Z] 339a4e72a1f5: Verifying Checksum [2023-07-27T00:29:18.139Z] 339a4e72a1f5: Download complete [2023-07-27T00:29:18.399Z] bde34c3a00c8: Download complete [2023-07-27T00:29:18.399Z] b352a97aabf1: Verifying Checksum [2023-07-27T00:29:18.399Z] b352a97aabf1: Download complete [2023-07-27T00:29:18.399Z] 4872d77fe225: Verifying Checksum [2023-07-27T00:29:18.399Z] 4872d77fe225: Download complete [2023-07-27T00:29:18.399Z] 5851b861e8e6: Verifying Checksum [2023-07-27T00:29:18.399Z] 5851b861e8e6: Download complete [2023-07-27T00:29:18.399Z] b85a868b505f: Verifying Checksum [2023-07-27T00:29:18.399Z] b85a868b505f: Download complete [2023-07-27T00:29:18.658Z] bab4dde63d76: Verifying Checksum [2023-07-27T00:29:18.658Z] bab4dde63d76: Download complete [2023-07-27T00:29:19.597Z] b85a868b505f: Pull complete [2023-07-27T00:29:19.857Z] e2be974225ed: Pull complete [2023-07-27T00:29:20.427Z] 339a4e72a1f5: Pull complete [2023-07-27T00:29:20.427Z] 988bab9f4d93: Pull complete [2023-07-27T00:29:20.687Z] 1469e6f7b9e6: Pull complete [2023-07-27T00:29:20.687Z] eaf3925da568: Pull complete [2023-07-27T00:29:22.591Z] bab4dde63d76: Pull complete [2023-07-27T00:29:22.591Z] bde34c3a00c8: Pull complete [2023-07-27T00:29:22.591Z] b352a97aabf1: Pull complete [2023-07-27T00:29:22.591Z] 4872d77fe225: Pull complete [2023-07-27T00:29:22.852Z] 5851b861e8e6: Pull complete [2023-07-27T00:29:22.852Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-27T00:29:22.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-27T00:29:22.852Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:29:22.963Z] prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container [2023-07-27T00:29:22.992Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-27T00:29:25.851Z] $ docker top c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 -eo pid,comm [2023-07-27T00:29:25.911Z] 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-27T00:29:25.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-27T00:29:25.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-27T00:29:25.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-27T00:29:26.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-27T00:29:26.084Z] $ docker exec c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent [2023-07-27T00:29:26.198Z] SSH_AUTH_SOCK=/tmp/ssh-SOHhBtihflno/agent.32 [2023-07-27T00:29:26.198Z] SSH_AGENT_PID=38 [2023-07-27T00:29:26.205Z] Running ssh-add (command line suppressed) [2023-07-27T00:29:26.295Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_2753811126051301428.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_2753811126051301428.key) [2023-07-27T00:29:26.309Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-27T00:29:26.600Z] + git tag --points-at HEAD [Pipeline] } [2023-07-27T00:29:26.609Z] $ docker exec --env ******** --env ******** c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent -k [2023-07-27T00:29:26.713Z] unset SSH_AUTH_SOCK; [2023-07-27T00:29:26.713Z] unset SSH_AGENT_PID; [2023-07-27T00:29:26.713Z] echo Agent pid 38 killed; [2023-07-27T00:29:26.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-27T00:29:26.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-27T00:29:26.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-27T00:29:26.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-27T00:29:26.843Z] $ docker exec c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent [2023-07-27T00:29:26.944Z] SSH_AUTH_SOCK=/tmp/ssh-UX2P3mIPUENu/agent.70 [2023-07-27T00:29:26.944Z] SSH_AGENT_PID=76 [2023-07-27T00:29:26.949Z] Running ssh-add (command line suppressed) [2023-07-27T00:29:27.041Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6420108354017635374.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6420108354017635374.key) [2023-07-27T00:29:27.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-27T00:29:27.343Z] + git semver init [2023-07-27T00:29:27.602Z] 2023-07-27 00:29:27,528 [run_init] DEBUG init version:0.0.0 force:False [2023-07-27T00:29:27.602Z] 2023-07-27 00:29:27,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-27T00:29:27.602Z] 2023-07-27 00:29:27,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-27T00:29:27.602Z] 2023-07-27 00:29:27,530 [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-27T00:29:28.544Z] 2023-07-27 00:29:28,302 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-27T00:29:28.544Z] 2023-07-27 00:29:28,303 [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-27T00:29:28.544Z] 2023-07-27 00:29:28,303 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-27T00:29:28.544Z] 2023-07-27 00:29:28,307 [execute] INFO git cat-file --batch-check [2023-07-27T00:29:28.544Z] 2023-07-27 00:29:28,308 [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-27T00:29:28.544Z] 2023-07-27 00:29:28,315 [execute] INFO git cat-file --batch [2023-07-27T00:29:28.544Z] 2023-07-27 00:29:28,315 [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-27T00:29:28.544Z] 2023-07-27 00:29:28,320 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-27T00:29:28.544Z] 0.0.0 [Pipeline] } [2023-07-27T00:29:28.552Z] $ docker exec --env ******** --env ******** c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent -k [2023-07-27T00:29:28.646Z] unset SSH_AUTH_SOCK; [2023-07-27T00:29:28.646Z] unset SSH_AGENT_PID; [2023-07-27T00:29:28.647Z] echo Agent pid 76 killed; [2023-07-27T00:29:28.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-27T00:29:28.976Z] + git semver [Pipeline] } [2023-07-27T00:29:29.248Z] $ docker stop --time=1 c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 [2023-07-27T00:29:30.586Z] $ docker rm -f --volumes c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-27T00:29:30.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-27T00:29:31.134Z] Stashed 1 file(s) [Pipeline] echo [2023-07-27T00:29:31.137Z] [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-27T00:29:31.308Z] provisioning config files... [2023-07-27T00:29:31.319Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config6718154975911973258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:29:31.614Z] ---> docker-login.sh [2023-07-27T00:29:31.615Z] nexus3.edgexfoundry.org:10001 [2023-07-27T00:29:31.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:31.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:31.615Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:31.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:31.615Z] [2023-07-27T00:29:31.615Z] Login Succeeded [2023-07-27T00:29:31.615Z] nexus3.edgexfoundry.org:10002 [2023-07-27T00:29:31.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:31.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:31.615Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:31.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:31.615Z] [2023-07-27T00:29:31.615Z] Login Succeeded [2023-07-27T00:29:31.615Z] nexus3.edgexfoundry.org:10003 [2023-07-27T00:29:31.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:31.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:31.873Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:31.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:31.873Z] [2023-07-27T00:29:31.873Z] Login Succeeded [2023-07-27T00:29:31.873Z] nexus3.edgexfoundry.org:10004 [2023-07-27T00:29:31.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:31.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:31.873Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:31.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:31.873Z] [2023-07-27T00:29:31.873Z] Login Succeeded [2023-07-27T00:29:31.873Z] docker.io [2023-07-27T00:29:32.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:29:32.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:29:32.393Z] Configure a credential helper to remove this warning. See [2023-07-27T00:29:32.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:29:32.393Z] [2023-07-27T00:29:32.393Z] Login Succeeded [2023-07-27T00:29:32.393Z] ---> docker-login.sh ends [Pipeline] } [2023-07-27T00:29:32.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-27T00:29:32.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-27T00:29:32.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-27T00:29:32.470Z] ========================================================= [2023-07-27T00:29:32.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-27T00:29:32.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:29:32.781Z] + 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-27T00:29:32.781Z] Sending build context to Docker daemon 2.042MB [2023-07-27T00:29:32.781Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-27T00:29:32.781Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-27T00:29:32.781Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-27T00:29:32.781Z] 4db1b89c0bd1: Pulling fs layer [2023-07-27T00:29:32.781Z] 6911f1a30b25: Pulling fs layer [2023-07-27T00:29:32.781Z] e194b8c5c2a9: Pulling fs layer [2023-07-27T00:29:32.781Z] 6863d3e3a2b1: Pulling fs layer [2023-07-27T00:29:32.781Z] ec0bb842ea78: Pulling fs layer [2023-07-27T00:29:32.781Z] 40a00589a448: Pulling fs layer [2023-07-27T00:29:32.781Z] 6c08303d61cc: Pulling fs layer [2023-07-27T00:29:32.781Z] 798269fcf238: Pulling fs layer [2023-07-27T00:29:32.781Z] 40a00589a448: Waiting [2023-07-27T00:29:32.781Z] 6c08303d61cc: Waiting [2023-07-27T00:29:32.781Z] ec0bb842ea78: Waiting [2023-07-27T00:29:32.781Z] 798269fcf238: Waiting [2023-07-27T00:29:32.781Z] 6863d3e3a2b1: Waiting [2023-07-27T00:29:32.781Z] 6911f1a30b25: Verifying Checksum [2023-07-27T00:29:32.781Z] 6911f1a30b25: Download complete [2023-07-27T00:29:32.781Z] 6863d3e3a2b1: Download complete [2023-07-27T00:29:32.781Z] ec0bb842ea78: Verifying Checksum [2023-07-27T00:29:32.781Z] ec0bb842ea78: Download complete [2023-07-27T00:29:33.040Z] 4db1b89c0bd1: Download complete [2023-07-27T00:29:33.040Z] 40a00589a448: Verifying Checksum [2023-07-27T00:29:33.040Z] 40a00589a448: Download complete [2023-07-27T00:29:33.040Z] 4db1b89c0bd1: Pull complete [2023-07-27T00:29:33.300Z] 6911f1a30b25: Pull complete [2023-07-27T00:29:33.560Z] 798269fcf238: Verifying Checksum [2023-07-27T00:29:33.560Z] 798269fcf238: Download complete [2023-07-27T00:29:33.560Z] e194b8c5c2a9: Verifying Checksum [2023-07-27T00:29:33.560Z] e194b8c5c2a9: Download complete [2023-07-27T00:29:33.819Z] 6c08303d61cc: Verifying Checksum [2023-07-27T00:29:33.819Z] 6c08303d61cc: Download complete [2023-07-27T00:29:37.101Z] e194b8c5c2a9: Pull complete [2023-07-27T00:29:37.101Z] 6863d3e3a2b1: Pull complete [2023-07-27T00:29:37.101Z] ec0bb842ea78: Pull complete [2023-07-27T00:29:37.101Z] 40a00589a448: Pull complete [2023-07-27T00:29:39.633Z] 6c08303d61cc: Pull complete [2023-07-27T00:29:40.201Z] 798269fcf238: Pull complete [2023-07-27T00:29:40.201Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-27T00:29:40.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-27T00:29:40.201Z] ---> ec979cd7f677 [2023-07-27T00:29:40.201Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-27T00:29:44.391Z] ---> Running in 2ac52183a9ff [2023-07-27T00:29:44.391Z] Removing intermediate container 2ac52183a9ff [2023-07-27T00:29:44.391Z] ---> 3333b3318f13 [2023-07-27T00:29:44.391Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-27T00:29:44.650Z] ---> Running in a6a2db0325ae [2023-07-27T00:29:44.650Z] Removing intermediate container a6a2db0325ae [2023-07-27T00:29:44.650Z] ---> f4d7bd13db34 [2023-07-27T00:29:44.650Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-27T00:29:44.650Z] ---> Running in 90c233701379 [2023-07-27T00:29:44.650Z] Removing intermediate container 90c233701379 [2023-07-27T00:29:44.650Z] ---> 9a2529038103 [2023-07-27T00:29:44.650Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-27T00:29:44.650Z] ---> Running in 73591ff4a179 [2023-07-27T00:29:44.908Z] Removing intermediate container 73591ff4a179 [2023-07-27T00:29:44.908Z] ---> 6a7804b00267 [2023-07-27T00:29:44.908Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-27T00:29:44.908Z] ---> Running in 8801516c1d3e [2023-07-27T00:29:45.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-27T00:29:45.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-27T00:29:45.736Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-27T00:29:45.736Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-27T00:29:45.736Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-27T00:29:45.736Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-27T00:29:45.736Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-27T00:29:45.736Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-27T00:29:45.736Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-27T00:29:45.736Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-27T00:29:45.736Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-27T00:29:45.736Z] (10/14) Installing kmod-libs (30-r1) [2023-07-27T00:29:45.736Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-27T00:29:45.736Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-27T00:29:45.736Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-27T00:29:45.736Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-27T00:29:45.736Z] Executing busybox-1.35.0-r29.trigger [2023-07-27T00:29:45.736Z] Executing eudev-3.2.11-r4.trigger [2023-07-27T00:29:45.736Z] OK: 272 MiB in 67 packages [2023-07-27T00:29:46.259Z] Still waiting to schedule task [2023-07-27T00:29:46.259Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2308’ [2023-07-27T00:29:46.303Z] Removing intermediate container 8801516c1d3e [2023-07-27T00:29:46.303Z] ---> a88fa830d4bf [2023-07-27T00:29:46.303Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-27T00:29:46.303Z] ---> Running in 1b5b4077bf44 [2023-07-27T00:29:46.303Z] Removing intermediate container 1b5b4077bf44 [2023-07-27T00:29:46.303Z] ---> 29318d7f1b80 [2023-07-27T00:29:46.303Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-27T00:29:46.562Z] ---> 8bb5deff9140 [2023-07-27T00:29:46.562Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-27T00:29:46.562Z] ---> Running in 214ed85102b9 [2023-07-27T00:30:54.956Z] Removing intermediate container 214ed85102b9 [2023-07-27T00:30:54.956Z] ---> 1db33807bce9 [2023-07-27T00:30:54.956Z] Step 11/13 : COPY . . [2023-07-27T00:30:54.956Z] ---> 7339371a2ce4 [2023-07-27T00:30:54.956Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-27T00:30:54.956Z] ---> Running in a2270abfc801 [2023-07-27T00:30:54.956Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-27T00:30:54.956Z] Dload Upload Total Spent Left Speed [2023-07-27T00:30:54.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7820 0 --:--:-- --:--:-- --:--:-- 7808 100 1062 100 1062 0 0 7814 0 --:--:-- --:--:-- --:--:-- 7808 [2023-07-27T00:30:54.956Z] Removing intermediate container a2270abfc801 [2023-07-27T00:30:54.956Z] ---> f0aee2e0f327 [2023-07-27T00:30:54.956Z] Step 13/13 : RUN ${MAKE} [2023-07-27T00:30:54.956Z] ---> Running in aaf93aaacf73 [2023-07-27T00:30:54.956Z] noop [2023-07-27T00:30:54.956Z] Removing intermediate container aaf93aaacf73 [2023-07-27T00:30:54.956Z] ---> e68700d60ae2 [2023-07-27T00:30:54.956Z] Successfully built e68700d60ae2 [2023-07-27T00:30:54.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:30:55.270Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-27T00:30:55.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:30:55.343Z] prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container [2023-07-27T00:30:55.376Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-27T00:30:55.696Z] $ docker top 14874aa117217d0b623df2f7e6221be84d6258ce989d5d164261fc33d6216ebc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-27T00:30:56.039Z] + go version [2023-07-27T00:30:56.039Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-27T00:30:56.049Z] $ docker stop --time=1 14874aa117217d0b623df2f7e6221be84d6258ce989d5d164261fc33d6216ebc [2023-07-27T00:30:57.303Z] $ docker rm -f --volumes 14874aa117217d0b623df2f7e6221be84d6258ce989d5d164261fc33d6216ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:30:57.716Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-27T00:30:57.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:30:57.795Z] prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container [2023-07-27T00:30:57.828Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-27T00:30:58.148Z] $ docker top a1209ffc8d7ddd6eff8eef9b773d03d9a347b39dfd8779c9bf3c3ec04a1682bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-27T00:30:58.498Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-27T00:30:58.801Z] + make test [2023-07-27T00:30:58.801Z] go test ./... -coverprofile=coverage.out ./... [2023-07-27T00:31:02.987Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-27T00:31:15.179Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-27T00:31:15.179Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 3.5% of statements [2023-07-27T00:31:20.454Z] go vet ./... [2023-07-27T00:31:24.639Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-27T00:31:24.639Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-27T00:31:24.639Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-27T00:31:24.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-27T00:31:24.673Z] $ docker stop --time=1 a1209ffc8d7ddd6eff8eef9b773d03d9a347b39dfd8779c9bf3c3ec04a1682bf [2023-07-27T00:31:28.082Z] $ docker rm -f --volumes a1209ffc8d7ddd6eff8eef9b773d03d9a347b39dfd8779c9bf3c3ec04a1682bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-27T00:31:28.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-27T00:31:28.650Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-27T00:31:29.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-27T00:31:29.684Z] + ls -al . [2023-07-27T00:31:29.684Z] total 204 [2023-07-27T00:31:29.684Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 00:30 . [2023-07-27T00:31:29.684Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:29 .. [2023-07-27T00:31:29.684Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:29 .git [2023-07-27T00:31:29.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:29 .github [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 00:29 .gitignore [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 27 00:29 .golangci.yml [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 00:29 .hadolint.yml [2023-07-27T00:31:29.684Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:29 .semver [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 27 00:29 Attribution.txt [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 27 00:29 CHANGELOG.md [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 27 00:29 Dockerfile [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 00:29 GOVERNANCE.md [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 00:29 Jenkinsfile [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 00:29 LICENSE [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 27 00:29 Makefile [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 00:29 OWNERS.md [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 27 00:29 README.md [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:29 VERSION [2023-07-27T00:31:29.684Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:29 bin [2023-07-27T00:31:29.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:29 cmd [2023-07-27T00:31:29.684Z] -rw-r--r-- 1 jenkins jenkins 43708 Jul 27 00:31 coverage.out [2023-07-27T00:31:29.684Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 00:29 docker-entrypoint.sh [2023-07-27T00:31:29.684Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:29 docs [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 27 00:29 go.mod [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 27 00:29 go.sum [2023-07-27T00:31:29.684Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:29 internal [2023-07-27T00:31:29.684Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:29 snap [2023-07-27T00:31:29.684Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 00:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:31:29.991Z] + 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=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 --label arch=amd64 --label version=0.0.0 . [2023-07-27T00:31:29.991Z] Sending build context to Docker daemon 2.086MB [2023-07-27T00:31:29.991Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-27T00:31:29.991Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-27T00:31:29.991Z] ---> e68700d60ae2 [2023-07-27T00:31:29.991Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-27T00:31:30.251Z] ---> Running in 347173030f91 [2023-07-27T00:31:30.251Z] Removing intermediate container 347173030f91 [2023-07-27T00:31:30.251Z] ---> 843235ef5ea3 [2023-07-27T00:31:30.251Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-27T00:31:30.251Z] ---> Running in 84986f839025 [2023-07-27T00:31:30.251Z] Removing intermediate container 84986f839025 [2023-07-27T00:31:30.251Z] ---> 52110d4ae91b [2023-07-27T00:31:30.251Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-27T00:31:30.251Z] ---> Running in 1038e77daa4a [2023-07-27T00:31:30.251Z] Removing intermediate container 1038e77daa4a [2023-07-27T00:31:30.251Z] ---> 790500357a89 [2023-07-27T00:31:30.251Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-27T00:31:30.511Z] ---> Running in 0672e1268632 [2023-07-27T00:31:30.511Z] Removing intermediate container 0672e1268632 [2023-07-27T00:31:30.511Z] ---> 8ae6066415fb [2023-07-27T00:31:30.511Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-27T00:31:30.511Z] ---> Running in 378bd40071b6 [2023-07-27T00:31:30.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-27T00:31:31.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-27T00:31:31.290Z] OK: 272 MiB in 67 packages [2023-07-27T00:31:31.549Z] Removing intermediate container 378bd40071b6 [2023-07-27T00:31:31.549Z] ---> 1e8ded16f449 [2023-07-27T00:31:31.549Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-27T00:31:31.549Z] ---> Running in a9fbb60e619c [2023-07-27T00:31:31.807Z] Removing intermediate container a9fbb60e619c [2023-07-27T00:31:31.807Z] ---> 5bed83abff57 [2023-07-27T00:31:31.807Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-27T00:31:31.807Z] ---> 6f59b1d757d2 [2023-07-27T00:31:31.807Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-27T00:31:31.807Z] ---> Running in 14b677be50ee [2023-07-27T00:31:32.835Z] Removing intermediate container 14b677be50ee [2023-07-27T00:31:32.835Z] ---> c09df5e26cae [2023-07-27T00:31:32.835Z] Step 11/36 : COPY . . [2023-07-27T00:31:33.097Z] ---> d4a567ed31f2 [2023-07-27T00:31:33.097Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-27T00:31:33.097Z] ---> Running in ce21b8cf4f86 [2023-07-27T00:31:33.356Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-27T00:31:33.356Z] Dload Upload Total Spent Left Speed [2023-07-27T00:31:33.356Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20337 0 --:--:-- --:--:-- --:--:-- 20823 [2023-07-27T00:31:33.614Z] Removing intermediate container ce21b8cf4f86 [2023-07-27T00:31:33.614Z] ---> 780c175c237f [2023-07-27T00:31:33.614Z] Step 13/36 : RUN ${MAKE} [2023-07-27T00:31:33.614Z] ---> Running in 465276d10a4a [2023-07-27T00:31:33.872Z] 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-27T00:31:55.840Z] Removing intermediate container 465276d10a4a [2023-07-27T00:31:55.840Z] ---> 6582dca7faf4 [2023-07-27T00:31:55.840Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-27T00:31:55.840Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-27T00:31:56.099Z] 4acc49c71d14: Pulling fs layer [2023-07-27T00:31:56.667Z] 4acc49c71d14: Verifying Checksum [2023-07-27T00:31:56.667Z] 4acc49c71d14: Download complete [2023-07-27T00:31:56.667Z] 4acc49c71d14: Pull complete [2023-07-27T00:31:56.667Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-27T00:31:56.667Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-27T00:31:56.667Z] ---> 01a2bd3e5fff [2023-07-27T00:31:56.667Z] Step 15/36 : FROM alpine:3.17 [2023-07-27T00:31:57.234Z] 3.17: Pulling from library/alpine [2023-07-27T00:31:57.234Z] 4db1b89c0bd1: Already exists [2023-07-27T00:31:57.607Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-27T00:31:57.607Z] Status: Downloaded newer image for alpine:3.17 [2023-07-27T00:31:57.607Z] ---> 1f73a9d63274 [2023-07-27T00:31:57.607Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-27T00:31:57.865Z] ---> Running in d865f638edcd [2023-07-27T00:31:57.865Z] Removing intermediate container d865f638edcd [2023-07-27T00:31:57.865Z] ---> 253c6a1c064e [2023-07-27T00:31:57.865Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-27T00:31:57.865Z] ---> Running in 38960b9cc57f [2023-07-27T00:31:58.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-27T00:31:58.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-27T00:31:58.641Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-27T00:31:58.641Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-27T00:31:58.641Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-27T00:31:58.641Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-27T00:31:58.641Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-27T00:31:58.641Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-27T00:31:58.641Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-27T00:31:58.641Z] (8/86) Installing libxcb (1.15-r0) [2023-07-27T00:31:58.641Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-27T00:31:58.641Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-27T00:31:58.900Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-27T00:31:58.900Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-27T00:31:58.900Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-27T00:31:58.900Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-27T00:31:58.900Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-27T00:31:58.900Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-27T00:31:58.900Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-27T00:31:58.900Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-27T00:31:58.900Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-27T00:31:58.900Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-27T00:31:58.900Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-27T00:31:58.900Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-27T00:31:58.900Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-27T00:31:58.900Z] (24/86) Installing glib (2.74.7-r0) [2023-07-27T00:31:58.900Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-27T00:31:58.900Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-27T00:31:58.900Z] (27/86) Installing libass (0.16.0-r1) [2023-07-27T00:31:58.900Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-27T00:31:58.900Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-27T00:31:58.900Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-27T00:31:58.900Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-27T00:31:58.900Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-27T00:31:59.159Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-27T00:31:59.159Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-27T00:31:59.159Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-27T00:31:59.159Z] (36/86) Installing libunistring (1.1-r0) [2023-07-27T00:31:59.159Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-27T00:31:59.159Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-27T00:31:59.159Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-27T00:31:59.159Z] (40/86) Installing lame (3.100-r2) [2023-07-27T00:31:59.159Z] (41/86) Installing opus (1.3.1-r1) [2023-07-27T00:31:59.159Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-27T00:31:59.160Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-27T00:31:59.160Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-27T00:31:59.160Z] (45/86) Installing orc (0.4.33-r0) [2023-07-27T00:31:59.160Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-27T00:31:59.160Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-27T00:31:59.160Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-27T00:31:59.160Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-27T00:31:59.160Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-27T00:31:59.160Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-27T00:31:59.160Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-27T00:31:59.160Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-27T00:31:59.160Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-27T00:31:59.418Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-27T00:31:59.418Z] (56/86) Installing libpulse (16.1-r6) [2023-07-27T00:31:59.418Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-27T00:31:59.418Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-27T00:31:59.418Z] (59/86) Installing librist (0.2.7-r0) [2023-07-27T00:31:59.418Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-27T00:31:59.418Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-27T00:31:59.418Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-27T00:31:59.418Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-27T00:31:59.418Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-27T00:31:59.418Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-27T00:31:59.418Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-27T00:31:59.418Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-27T00:31:59.418Z] (68/86) Installing libva (2.16.0-r0) [2023-07-27T00:31:59.418Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-27T00:31:59.418Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-27T00:31:59.418Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-27T00:31:59.418Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-27T00:31:59.418Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-27T00:31:59.418Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-27T00:31:59.418Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-27T00:31:59.677Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-27T00:31:59.677Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-27T00:31:59.677Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-27T00:31:59.677Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-27T00:31:59.677Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-27T00:31:59.677Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-27T00:31:59.677Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-27T00:31:59.677Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-27T00:31:59.677Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-27T00:31:59.677Z] (85/86) Installing kmod-libs (30-r1) [2023-07-27T00:31:59.677Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-27T00:31:59.677Z] Executing busybox-1.35.0-r29.trigger [2023-07-27T00:31:59.677Z] Executing eudev-3.2.11-r4.trigger [2023-07-27T00:31:59.677Z] OK: 112 MiB in 101 packages [2023-07-27T00:32:02.210Z] Removing intermediate container 38960b9cc57f [2023-07-27T00:32:02.210Z] ---> cc2957c5afba [2023-07-27T00:32:02.210Z] Step 18/36 : WORKDIR / [2023-07-27T00:32:02.210Z] ---> Running in b6da665f3419 [2023-07-27T00:32:02.210Z] Removing intermediate container b6da665f3419 [2023-07-27T00:32:02.210Z] ---> da2d6e2a6335 [2023-07-27T00:32:02.210Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-27T00:32:03.154Z] ---> ce6acdfab32d [2023-07-27T00:32:03.154Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-27T00:32:03.154Z] ---> e86bf7719577 [2023-07-27T00:32:03.154Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-27T00:32:03.154Z] ---> 58ec26b35800 [2023-07-27T00:32:03.154Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-27T00:32:03.413Z] ---> c6933c125e20 [2023-07-27T00:32:03.413Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-27T00:32:03.413Z] ---> 46887eeaa6de [2023-07-27T00:32:03.413Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-27T00:32:03.413Z] ---> 7a8f451a1d75 [2023-07-27T00:32:03.413Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-27T00:32:03.980Z] ---> e89c7e918583 [2023-07-27T00:32:03.980Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-27T00:32:04.239Z] ---> Running in 4a75038b9ef0 [2023-07-27T00:32:04.806Z] Removing intermediate container 4a75038b9ef0 [2023-07-27T00:32:04.806Z] ---> bff8fcea3afe [2023-07-27T00:32:04.806Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-27T00:32:04.806Z] ---> Running in 050fa4848dba [2023-07-27T00:32:05.740Z] Removing intermediate container 050fa4848dba [2023-07-27T00:32:05.740Z] ---> cbb0d31e6749 [2023-07-27T00:32:05.740Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-27T00:32:05.740Z] ---> Running in bff026958eb1 [2023-07-27T00:32:05.997Z] Removing intermediate container bff026958eb1 [2023-07-27T00:32:05.997Z] ---> 6b6f7670d272 [2023-07-27T00:32:05.997Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-27T00:32:06.256Z] ---> Running in 0092510de853 [2023-07-27T00:32:06.823Z] Removing intermediate container 0092510de853 [2023-07-27T00:32:06.823Z] ---> 96a97d0b31d8 [2023-07-27T00:32:06.823Z] Step 30/36 : EXPOSE 59983 [2023-07-27T00:32:06.823Z] ---> Running in 3d62889f2eba [2023-07-27T00:32:06.823Z] Removing intermediate container 3d62889f2eba [2023-07-27T00:32:06.823Z] ---> fbb7b9f3a06c [2023-07-27T00:32:06.823Z] Step 31/36 : EXPOSE 8554 [2023-07-27T00:32:06.823Z] ---> Running in df8461f2505f [2023-07-27T00:32:06.823Z] Removing intermediate container df8461f2505f [2023-07-27T00:32:06.823Z] ---> 5697728017f1 [2023-07-27T00:32:06.823Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-27T00:32:06.823Z] ---> Running in ae3970ddac02 [2023-07-27T00:32:06.823Z] Removing intermediate container ae3970ddac02 [2023-07-27T00:32:06.823Z] ---> c063c89ac3a2 [2023-07-27T00:32:06.823Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-27T00:32:06.823Z] ---> Running in f8fe601470db [2023-07-27T00:32:07.084Z] Removing intermediate container f8fe601470db [2023-07-27T00:32:07.084Z] ---> 521d96622115 [2023-07-27T00:32:07.084Z] Step 34/36 : LABEL arch=amd64 [2023-07-27T00:32:07.084Z] ---> Running in c65ce713aa49 [2023-07-27T00:32:07.084Z] Removing intermediate container c65ce713aa49 [2023-07-27T00:32:07.084Z] ---> 19e06dcc5c7e [2023-07-27T00:32:07.084Z] Step 35/36 : LABEL git_sha=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [2023-07-27T00:32:07.084Z] ---> Running in 4f44db2a66ad [2023-07-27T00:32:07.084Z] Removing intermediate container 4f44db2a66ad [2023-07-27T00:32:07.084Z] ---> f8c3355de92b [2023-07-27T00:32:07.084Z] Step 36/36 : LABEL version=0.0.0 [2023-07-27T00:32:07.084Z] ---> Running in 171d7a8e55ef [2023-07-27T00:32:07.342Z] Removing intermediate container 171d7a8e55ef [2023-07-27T00:32:07.342Z] ---> 4dbd2fb9f610 [2023-07-27T00:32:07.342Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-27T00:32:07.342Z] Successfully built 4dbd2fb9f610 [2023-07-27T00:32:07.342Z] 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-27T00:32:07.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-27T00:32:07.774Z] [2023-07-27T00:32:07.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:32:08.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-27T00:32:08.069Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-27T00:32:08.069Z] 5eb5b503b376: Pulling fs layer [2023-07-27T00:32:08.069Z] 5c69ac0246d0: Pulling fs layer [2023-07-27T00:32:08.069Z] ec43610c2a17: Pulling fs layer [2023-07-27T00:32:08.069Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-27T00:32:08.069Z] 33b1e0a273af: Pulling fs layer [2023-07-27T00:32:08.069Z] 5d3b04190fa2: Pulling fs layer [2023-07-27T00:32:08.069Z] 2f39f015ded8: Pulling fs layer [2023-07-27T00:32:08.069Z] 33b1e0a273af: Waiting [2023-07-27T00:32:08.069Z] 5d3b04190fa2: Waiting [2023-07-27T00:32:08.069Z] 2f39f015ded8: Waiting [2023-07-27T00:32:08.069Z] 5c69ac0246d0: Download complete [2023-07-27T00:32:08.069Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-27T00:32:08.069Z] 3a2ae6a8a46f: Download complete [2023-07-27T00:32:08.069Z] 33b1e0a273af: Verifying Checksum [2023-07-27T00:32:08.069Z] 33b1e0a273af: Download complete [2023-07-27T00:32:08.069Z] 5d3b04190fa2: Verifying Checksum [2023-07-27T00:32:08.069Z] 5d3b04190fa2: Download complete [2023-07-27T00:32:08.069Z] ec43610c2a17: Verifying Checksum [2023-07-27T00:32:08.069Z] ec43610c2a17: Download complete [2023-07-27T00:32:08.328Z] 5eb5b503b376: Verifying Checksum [2023-07-27T00:32:08.328Z] 5eb5b503b376: Download complete [2023-07-27T00:32:08.892Z] 2f39f015ded8: Download complete [2023-07-27T00:32:09.457Z] 5eb5b503b376: Pull complete [2023-07-27T00:32:09.457Z] 5c69ac0246d0: Pull complete [2023-07-27T00:32:10.023Z] ec43610c2a17: Pull complete [2023-07-27T00:32:10.023Z] 3a2ae6a8a46f: Pull complete [2023-07-27T00:32:10.280Z] 33b1e0a273af: Pull complete [2023-07-27T00:32:10.280Z] 5d3b04190fa2: Pull complete [2023-07-27T00:32:14.465Z] 2f39f015ded8: Pull complete [2023-07-27T00:32:14.465Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-27T00:32:14.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-27T00:32:14.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:32:14.556Z] prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container [2023-07-27T00:32:14.589Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-27T00:32:18.741Z] $ docker top f3c2d09c4449a6828cb4df256fffac529e99da673635e48e3b6aefeb514ff61e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:32:19.149Z] ---> job-cost.sh [2023-07-27T00:32:19.149Z] lf-activate-venv: SKIPPING [2023-07-27T00:32:19.149Z] INFO: No Stack... [2023-07-27T00:32:19.407Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-27T00:32:19.973Z] INFO: Archiving Costs [Pipeline] sh [2023-07-27T00:32:20.260Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-27T00:32:20.261Z] + cut -d, -f6 [Pipeline] lock [2023-07-27T00:32:20.275Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [2023-07-27T00:32:20.280Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] did not exist. Created. [2023-07-27T00:32:20.280Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-27T00:32:20.582Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-27T00:32:20.616Z] Stashed 1 file(s) [Pipeline] } [2023-07-27T00:32:20.623Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-27T00:32:20.637Z] $ docker stop --time=1 f3c2d09c4449a6828cb4df256fffac529e99da673635e48e3b6aefeb514ff61e [2023-07-27T00:32:21.786Z] $ docker rm -f --volumes f3c2d09c4449a6828cb4df256fffac529e99da673635e48e3b6aefeb514ff61e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-27T00:33:13.299Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2310 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-27T00:33:13.312Z] Running in /w/workspace/device-usb-camera/30 [Pipeline] { [Pipeline] checkout [2023-07-27T00:33:13.344Z] Selected Git installation does not exist. Using Default [2023-07-27T00:33:13.344Z] The recommended git tool is: NONE [2023-07-27T00:33:18.115Z] using credential edgex-jenkins-ssh [2023-07-27T00:33:18.189Z] Cloning the remote Git repository [2023-07-27T00:33:18.235Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-27T00:33:18.322Z] > git init /w/workspace/device-usb-camera/30 # timeout=10 [2023-07-27T00:33:18.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-27T00:33:18.468Z] > git --version # timeout=10 [2023-07-27T00:33:18.492Z] > git --version # 'git version 2.25.1' [2023-07-27T00:33:18.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-27T00:33:18.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-27T00:33:19.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-27T00:33:19.543Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-27T00:33:20.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-27T00:33:20.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-27T00:33:20.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-27T00:33:20.425Z] > 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-27T00:33:21.135Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [2023-07-27T00:33:21.380Z] Merge succeeded, producing cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [2023-07-27T00:33:21.381Z] Checking out Revision cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 (PR-265) [2023-07-27T00:33:21.827Z] Commit message: "fix: name of deviceCommands" [2023-07-27T00:33:21.158Z] > git config core.sparsecheckout # timeout=10 [2023-07-27T00:33:21.228Z] > git checkout -f cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # timeout=10 [2023-07-27T00:33:21.302Z] > git remote # timeout=10 [2023-07-27T00:33:21.318Z] > git config --get remote.origin.url # timeout=10 [2023-07-27T00:33:21.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-27T00:33:21.349Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-27T00:33:21.371Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-27T00:33:21.391Z] > git config core.sparsecheckout # timeout=10 [2023-07-27T00:33:21.405Z] > git checkout -f cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-27T00:33:22.760Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-27T00:33:22.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-27T00:33:22.760Z] Dload Upload Total Spent Left Speed [2023-07-27T00:33:22.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-07-27T00:33:23.370Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-27T00:33:23.701Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-27T00:33:23.701Z] + sudo tee /etc/docker/daemon.new [2023-07-27T00:33:23.701Z] { [2023-07-27T00:33:23.701Z] "registry-mirrors": [ [2023-07-27T00:33:23.701Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-27T00:33:23.701Z] ], [2023-07-27T00:33:23.701Z] "bip": "10.250.0.254/24", [2023-07-27T00:33:23.701Z] "hosts": [ [2023-07-27T00:33:23.701Z] "tcp://0.0.0.0:5555", [2023-07-27T00:33:23.701Z] "unix:///var/run/docker.sock" [2023-07-27T00:33:23.701Z] ], [2023-07-27T00:33:23.701Z] "mtu": 1458, [2023-07-27T00:33:23.701Z] "selinux-enabled": true, [2023-07-27T00:33:23.701Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-27T00:33:23.701Z] } [Pipeline] sh [2023-07-27T00:33:24.027Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-27T00:33:24.357Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-27T00:33:42.618Z] provisioning config files... [2023-07-27T00:33:42.643Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/30@tmp/config16283381350586575126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:33:42.994Z] ---> docker-login.sh [2023-07-27T00:33:42.994Z] nexus3.edgexfoundry.org:10001 [2023-07-27T00:33:43.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:33:43.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:33:43.585Z] Configure a credential helper to remove this warning. See [2023-07-27T00:33:43.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:33:43.585Z] [2023-07-27T00:33:43.585Z] Login Succeeded [2023-07-27T00:33:43.585Z] nexus3.edgexfoundry.org:10002 [2023-07-27T00:33:43.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:33:43.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:33:43.854Z] Configure a credential helper to remove this warning. See [2023-07-27T00:33:43.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:33:43.854Z] [2023-07-27T00:33:43.854Z] Login Succeeded [2023-07-27T00:33:43.854Z] nexus3.edgexfoundry.org:10003 [2023-07-27T00:33:44.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:33:44.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:33:44.121Z] Configure a credential helper to remove this warning. See [2023-07-27T00:33:44.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:33:44.121Z] [2023-07-27T00:33:44.121Z] Login Succeeded [2023-07-27T00:33:44.390Z] nexus3.edgexfoundry.org:10004 [2023-07-27T00:33:44.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:33:44.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:33:44.660Z] Configure a credential helper to remove this warning. See [2023-07-27T00:33:44.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:33:44.660Z] [2023-07-27T00:33:44.660Z] Login Succeeded [2023-07-27T00:33:44.660Z] docker.io [2023-07-27T00:33:44.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-27T00:33:45.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-27T00:33:45.198Z] Configure a credential helper to remove this warning. See [2023-07-27T00:33:45.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-27T00:33:45.198Z] [2023-07-27T00:33:45.198Z] Login Succeeded [2023-07-27T00:33:45.198Z] ---> docker-login.sh ends [Pipeline] } [2023-07-27T00:33:45.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-27T00:33:45.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-27T00:33:45.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-27T00:33:45.491Z] ========================================================= [2023-07-27T00:33:45.491Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-27T00:33:45.491Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:33:45.919Z] + 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-27T00:33:46.195Z] Sending build context to Docker daemon 1.239MB [2023-07-27T00:33:46.195Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-27T00:33:46.195Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-27T00:33:46.473Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-27T00:33:46.473Z] edb6bdbacee9: Pulling fs layer [2023-07-27T00:33:46.473Z] 5f9638ab2659: Pulling fs layer [2023-07-27T00:33:46.473Z] 8d51d6327a98: Pulling fs layer [2023-07-27T00:33:46.473Z] 8b374f2dd631: Pulling fs layer [2023-07-27T00:33:46.473Z] ec14aa9079de: Pulling fs layer [2023-07-27T00:33:46.473Z] 2f466654f4bb: Pulling fs layer [2023-07-27T00:33:46.473Z] 554e91adad29: Pulling fs layer [2023-07-27T00:33:46.473Z] 8b374f2dd631: Waiting [2023-07-27T00:33:46.473Z] ec14aa9079de: Waiting [2023-07-27T00:33:46.473Z] 2f466654f4bb: Waiting [2023-07-27T00:33:46.473Z] 554e91adad29: Waiting [2023-07-27T00:33:46.473Z] 5f9638ab2659: Download complete [2023-07-27T00:33:46.473Z] 8b374f2dd631: Verifying Checksum [2023-07-27T00:33:46.473Z] 8b374f2dd631: Download complete [2023-07-27T00:33:46.473Z] ec14aa9079de: Verifying Checksum [2023-07-27T00:33:46.473Z] ec14aa9079de: Download complete [2023-07-27T00:33:46.473Z] edb6bdbacee9: Verifying Checksum [2023-07-27T00:33:46.473Z] edb6bdbacee9: Download complete [2023-07-27T00:33:47.454Z] edb6bdbacee9: Pull complete [2023-07-27T00:33:48.054Z] 554e91adad29: Verifying Checksum [2023-07-27T00:33:48.054Z] 554e91adad29: Download complete [2023-07-27T00:33:48.054Z] 5f9638ab2659: Pull complete [2023-07-27T00:33:49.028Z] 8d51d6327a98: Verifying Checksum [2023-07-27T00:33:49.028Z] 2f466654f4bb: Verifying Checksum [2023-07-27T00:33:49.028Z] 2f466654f4bb: Download complete [2023-07-27T00:34:01.364Z] 8d51d6327a98: Pull complete [2023-07-27T00:34:01.364Z] 8b374f2dd631: Pull complete [2023-07-27T00:34:01.364Z] ec14aa9079de: Pull complete [2023-07-27T00:34:06.710Z] 2f466654f4bb: Pull complete [2023-07-27T00:34:08.678Z] 554e91adad29: Pull complete [2023-07-27T00:34:08.946Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-27T00:34:08.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-27T00:34:08.946Z] ---> 1e15ea492957 [2023-07-27T00:34:08.946Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-27T00:34:10.900Z] ---> Running in 1bd1f08df43b [2023-07-27T00:34:10.900Z] Removing intermediate container 1bd1f08df43b [2023-07-27T00:34:10.900Z] ---> c8fb9d2df7f2 [2023-07-27T00:34:10.900Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-27T00:34:10.900Z] ---> Running in 9b131c5b6d47 [2023-07-27T00:34:11.168Z] Removing intermediate container 9b131c5b6d47 [2023-07-27T00:34:11.168Z] ---> 7056a996a865 [2023-07-27T00:34:11.168Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-27T00:34:11.168Z] ---> Running in e872bd0ea96c [2023-07-27T00:34:11.752Z] Removing intermediate container e872bd0ea96c [2023-07-27T00:34:11.752Z] ---> 882535197f4a [2023-07-27T00:34:11.752Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-27T00:34:11.752Z] ---> Running in 7876035d151e [2023-07-27T00:34:12.020Z] Removing intermediate container 7876035d151e [2023-07-27T00:34:12.020Z] ---> e0451d6066b3 [2023-07-27T00:34:12.020Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-27T00:34:12.020Z] ---> Running in d9ec1fd0445e [2023-07-27T00:34:12.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-27T00:34:13.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-27T00:34:14.534Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-27T00:34:14.534Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-27T00:34:14.534Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-27T00:34:14.534Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-27T00:34:14.534Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-27T00:34:14.534Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-27T00:34:14.534Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-27T00:34:14.534Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-27T00:34:14.534Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-27T00:34:14.807Z] (10/14) Installing kmod-libs (30-r1) [2023-07-27T00:34:14.807Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-27T00:34:14.807Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-27T00:34:14.807Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-27T00:34:14.807Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-27T00:34:14.807Z] Executing busybox-1.35.0-r29.trigger [2023-07-27T00:34:14.807Z] Executing eudev-3.2.11-r4.trigger [2023-07-27T00:34:14.807Z] OK: 271 MiB in 67 packages [2023-07-27T00:34:16.224Z] Removing intermediate container d9ec1fd0445e [2023-07-27T00:34:16.224Z] ---> 290ea2f8748d [2023-07-27T00:34:16.224Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-27T00:34:16.224Z] ---> Running in 33d48941acd2 [2023-07-27T00:34:16.224Z] Removing intermediate container 33d48941acd2 [2023-07-27T00:34:16.224Z] ---> 836cb02965b4 [2023-07-27T00:34:16.224Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-27T00:34:20.475Z] ---> e0221494eb87 [2023-07-27T00:34:20.475Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-27T00:34:20.475Z] ---> Running in 8350e1c270d4 [2023-07-27T00:35:16.872Z] Removing intermediate container 8350e1c270d4 [2023-07-27T00:35:16.872Z] ---> 866cad443312 [2023-07-27T00:35:16.872Z] Step 11/13 : COPY . . [2023-07-27T00:35:16.872Z] ---> aff10212b8ea [2023-07-27T00:35:16.872Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-27T00:35:16.872Z] ---> Running in 669404c1169d [2023-07-27T00:35:17.467Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-27T00:35:17.467Z] Dload Upload Total Spent Left Speed [2023-07-27T00:35:17.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4292 0 --:--:-- --:--:-- --:--:-- 4317 [2023-07-27T00:35:18.335Z] Removing intermediate container 669404c1169d [2023-07-27T00:35:18.335Z] ---> 358626e57413 [2023-07-27T00:35:18.335Z] Step 13/13 : RUN ${MAKE} [2023-07-27T00:35:18.335Z] ---> Running in 5015e93d6bf8 [2023-07-27T00:35:19.303Z] noop [2023-07-27T00:35:19.887Z] Removing intermediate container 5015e93d6bf8 [2023-07-27T00:35:19.887Z] ---> 2ceef80b806c [2023-07-27T00:35:19.887Z] Successfully built 2ceef80b806c [2023-07-27T00:35:20.154Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:35:20.506Z] + docker inspect -f . ci-base-image-arm64 [2023-07-27T00:35:20.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:35:20.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-2310 does not seem to be running inside a container [2023-07-27T00:35:20.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/30 -v /w/workspace/device-usb-camera/30:/w/workspace/device-usb-camera/30:rw,z -v /w/workspace/device-usb-camera/30@tmp:/w/workspace/device-usb-camera/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-27T00:35:21.897Z] $ docker top 1e4d9a21dc7ec52a634e8f7cd1d99d7fe6041003ed584b80a2a36699642bbc9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-27T00:35:22.722Z] + go version [2023-07-27T00:35:22.722Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-27T00:35:22.743Z] $ docker stop --time=1 1e4d9a21dc7ec52a634e8f7cd1d99d7fe6041003ed584b80a2a36699642bbc9f [2023-07-27T00:35:24.335Z] $ docker rm -f --volumes 1e4d9a21dc7ec52a634e8f7cd1d99d7fe6041003ed584b80a2a36699642bbc9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:35:24.893Z] + docker inspect -f . ci-base-image-arm64 [2023-07-27T00:35:24.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:35:25.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-2310 does not seem to be running inside a container [2023-07-27T00:35:25.139Z] $ 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/30 -v /w/workspace/device-usb-camera/30:/w/workspace/device-usb-camera/30:rw,z -v /w/workspace/device-usb-camera/30@tmp:/w/workspace/device-usb-camera/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-27T00:35:28.118Z] $ docker top 788755f1ac6f02b103f1d0022b688ef071aa6619050c3583fc2645d5e017ba8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-27T00:35:28.631Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/30 [Pipeline] fileExists [Pipeline] sh [2023-07-27T00:35:29.230Z] + make test [2023-07-27T00:35:29.498Z] go test ./... -coverprofile=coverage.out ./... [2023-07-27T00:36:01.725Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-27T00:37:53.409Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-27T00:38:03.520Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.087s coverage: 3.5% of statements [2023-07-27T00:38:03.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-27T00:38:03.788Z] go vet ./... [2023-07-27T00:38:36.015Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-27T00:38:36.015Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-27T00:38:36.284Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-27T00:38:36.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-27T00:38:36.586Z] $ docker stop --time=1 788755f1ac6f02b103f1d0022b688ef071aa6619050c3583fc2645d5e017ba8d [2023-07-27T00:38:41.286Z] $ docker rm -f --volumes 788755f1ac6f02b103f1d0022b688ef071aa6619050c3583fc2645d5e017ba8d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-27T00:38:42.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-27T00:38:42.622Z] Warning: overwriting stash ‘coverage-report’ [2023-07-27T00:38:43.323Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-27T00:38:43.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-27T00:38:44.036Z] + ls -al . [2023-07-27T00:38:44.036Z] total 200 [2023-07-27T00:38:44.036Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:35 . [2023-07-27T00:38:44.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:33 .. [2023-07-27T00:38:44.036Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:33 .git [2023-07-27T00:38:44.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:33 .github [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 00:33 .gitignore [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 27 00:33 .golangci.yml [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 00:33 .hadolint.yml [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 27 00:33 Attribution.txt [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 27 00:33 CHANGELOG.md [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 27 00:33 Dockerfile [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 00:33 GOVERNANCE.md [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 00:33 Jenkinsfile [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 00:33 LICENSE [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 27 00:33 Makefile [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 00:33 OWNERS.md [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 27 00:33 README.md [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:29 VERSION [2023-07-27T00:38:44.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:33 bin [2023-07-27T00:38:44.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:33 cmd [2023-07-27T00:38:44.037Z] -rw-r--r-- 1 jenkins jenkins 43708 Jul 27 00:38 coverage.out [2023-07-27T00:38:44.037Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 00:33 docker-entrypoint.sh [2023-07-27T00:38:44.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:33 docs [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 27 00:33 go.mod [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 27 00:33 go.sum [2023-07-27T00:38:44.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:33 internal [2023-07-27T00:38:44.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:33 snap [2023-07-27T00:38:44.037Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 00:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:38:44.377Z] + 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=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 --label arch=arm64 --label version=0.0.0 . [2023-07-27T00:38:45.789Z] Sending build context to Docker daemon 1.284MB [2023-07-27T00:38:45.789Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-27T00:38:45.789Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-27T00:38:45.789Z] ---> 2ceef80b806c [2023-07-27T00:38:45.789Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-27T00:38:46.057Z] ---> Running in d08583557a79 [2023-07-27T00:38:46.325Z] Removing intermediate container d08583557a79 [2023-07-27T00:38:46.325Z] ---> 1f9ae9083ec8 [2023-07-27T00:38:46.325Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-27T00:38:46.325Z] ---> Running in e4a3c20e1610 [2023-07-27T00:38:47.727Z] Removing intermediate container e4a3c20e1610 [2023-07-27T00:38:47.727Z] ---> 73f5b0f69967 [2023-07-27T00:38:47.727Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-27T00:38:47.727Z] ---> Running in 7558595e9e22 [2023-07-27T00:38:47.993Z] Removing intermediate container 7558595e9e22 [2023-07-27T00:38:47.993Z] ---> 0ca61607c467 [2023-07-27T00:38:47.993Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-27T00:38:48.260Z] ---> Running in eeffa830df56 [2023-07-27T00:38:48.537Z] Removing intermediate container eeffa830df56 [2023-07-27T00:38:48.537Z] ---> 7902df56f7a3 [2023-07-27T00:38:48.537Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-27T00:38:48.537Z] ---> Running in c0331528cad2 [2023-07-27T00:38:49.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-27T00:38:50.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-27T00:38:51.198Z] OK: 271 MiB in 67 packages [2023-07-27T00:38:53.774Z] Removing intermediate container c0331528cad2 [2023-07-27T00:38:53.774Z] ---> 8090c5a4c28d [2023-07-27T00:38:53.774Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-27T00:38:54.040Z] ---> Running in 3f28949aec9d [2023-07-27T00:38:54.307Z] Removing intermediate container 3f28949aec9d [2023-07-27T00:38:54.307Z] ---> 94f25cbb00b2 [2023-07-27T00:38:54.307Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-27T00:38:54.887Z] ---> 90d09fc2a3f5 [2023-07-27T00:38:54.887Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-27T00:38:54.887Z] ---> Running in 7a2b4df072a1 [2023-07-27T00:38:57.471Z] Removing intermediate container 7a2b4df072a1 [2023-07-27T00:38:57.471Z] ---> d7abb1bc1494 [2023-07-27T00:38:57.471Z] Step 11/36 : COPY . . [2023-07-27T00:38:58.054Z] ---> 8ffa8f569144 [2023-07-27T00:38:58.054Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-27T00:38:58.322Z] ---> Running in 0bb4f9cc17f8 [2023-07-27T00:38:59.281Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-27T00:38:59.281Z] Dload Upload Total Spent Left Speed [2023-07-27T00:38:59.281Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3315 0 --:--:-- --:--:-- --:--:-- 3329 [2023-07-27T00:39:00.249Z] Removing intermediate container 0bb4f9cc17f8 [2023-07-27T00:39:00.249Z] ---> b041c4b16fbb [2023-07-27T00:39:00.249Z] Step 13/36 : RUN ${MAKE} [2023-07-27T00:39:00.249Z] ---> Running in 341e098d77db [2023-07-27T00:39:01.211Z] 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-27T00:41:39.518Z] Removing intermediate container 341e098d77db [2023-07-27T00:41:39.518Z] ---> 68392208d2ba [2023-07-27T00:41:39.518Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-27T00:41:39.518Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-27T00:41:39.518Z] 8766b47fe142: Pulling fs layer [2023-07-27T00:41:39.518Z] 8766b47fe142: Verifying Checksum [2023-07-27T00:41:39.518Z] 8766b47fe142: Download complete [2023-07-27T00:41:39.518Z] 8766b47fe142: Pull complete [2023-07-27T00:41:39.518Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-27T00:41:39.518Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-27T00:41:39.518Z] ---> 69d40e2cb93c [2023-07-27T00:41:39.518Z] Step 15/36 : FROM alpine:3.17 [2023-07-27T00:41:39.518Z] 3.17: Pulling from library/alpine [2023-07-27T00:41:39.518Z] edb6bdbacee9: Already exists [2023-07-27T00:41:39.518Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-27T00:41:39.518Z] Status: Downloaded newer image for alpine:3.17 [2023-07-27T00:41:39.518Z] ---> 779605e5fbc0 [2023-07-27T00:41:39.518Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-27T00:41:39.518Z] ---> Running in eb360a006728 [2023-07-27T00:41:39.518Z] Removing intermediate container eb360a006728 [2023-07-27T00:41:39.518Z] ---> 10ae1117c11c [2023-07-27T00:41:39.518Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-27T00:41:39.518Z] ---> Running in 0213deb7ddb7 [2023-07-27T00:41:39.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-27T00:41:39.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-27T00:41:39.518Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-27T00:41:39.518Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-27T00:41:39.518Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-27T00:41:39.518Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-27T00:41:39.518Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-27T00:41:39.518Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-27T00:41:39.518Z] (7/83) Installing libxcb (1.15-r0) [2023-07-27T00:41:39.518Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-27T00:41:39.518Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-27T00:41:39.518Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-27T00:41:39.518Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-27T00:41:39.518Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-27T00:41:39.518Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-27T00:41:39.518Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-27T00:41:39.518Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-27T00:41:39.518Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-27T00:41:39.518Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-27T00:41:39.518Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-27T00:41:39.518Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-27T00:41:39.518Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-27T00:41:39.518Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-27T00:41:39.518Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-27T00:41:39.518Z] (23/83) Installing glib (2.74.7-r0) [2023-07-27T00:41:39.519Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-27T00:41:39.519Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-27T00:41:39.519Z] (26/83) Installing libass (0.16.0-r1) [2023-07-27T00:41:39.519Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-27T00:41:39.519Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-27T00:41:39.519Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-27T00:41:39.519Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-27T00:41:39.519Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-27T00:41:39.519Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-27T00:41:39.519Z] (33/83) Installing libunistring (1.1-r0) [2023-07-27T00:41:39.519Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-27T00:41:39.519Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-27T00:41:39.519Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-27T00:41:39.519Z] (37/83) Installing lame (3.100-r2) [2023-07-27T00:41:39.519Z] (38/83) Installing opus (1.3.1-r1) [2023-07-27T00:41:39.519Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-27T00:41:39.519Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-27T00:41:39.519Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-27T00:41:39.519Z] (42/83) Installing orc (0.4.33-r0) [2023-07-27T00:41:39.519Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-27T00:41:39.519Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-27T00:41:39.519Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-27T00:41:39.519Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-27T00:41:39.519Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-27T00:41:39.519Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-27T00:41:39.519Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-27T00:41:39.519Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-27T00:41:39.519Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-27T00:41:39.519Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-27T00:41:39.519Z] (53/83) Installing libpulse (16.1-r6) [2023-07-27T00:41:39.519Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-27T00:41:39.519Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-27T00:41:39.519Z] (56/83) Installing librist (0.2.7-r0) [2023-07-27T00:41:39.519Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-27T00:41:39.519Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-27T00:41:39.519Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-27T00:41:39.519Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-27T00:41:39.519Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-27T00:41:39.519Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-27T00:41:39.519Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-27T00:41:39.519Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-27T00:41:39.519Z] (65/83) Installing libva (2.16.0-r0) [2023-07-27T00:41:39.519Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-27T00:41:39.519Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-27T00:41:39.519Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-27T00:41:39.519Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-27T00:41:39.519Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-27T00:41:39.519Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-27T00:41:39.519Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-27T00:41:39.519Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-27T00:41:39.519Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-27T00:41:39.519Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-27T00:41:39.519Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-27T00:41:39.519Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-27T00:41:39.519Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-27T00:41:39.519Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-27T00:41:39.519Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-27T00:41:39.519Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-27T00:41:39.519Z] (82/83) Installing kmod-libs (30-r1) [2023-07-27T00:41:39.519Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-27T00:41:39.519Z] Executing busybox-1.35.0-r29.trigger [2023-07-27T00:41:39.519Z] Executing eudev-3.2.11-r4.trigger [2023-07-27T00:41:39.519Z] OK: 86 MiB in 98 packages [2023-07-27T00:41:42.097Z] Removing intermediate container 0213deb7ddb7 [2023-07-27T00:41:42.097Z] ---> 1103be01a162 [2023-07-27T00:41:42.097Z] Step 18/36 : WORKDIR / [2023-07-27T00:41:42.097Z] ---> Running in ad3de79e2bcf [2023-07-27T00:41:42.097Z] Removing intermediate container ad3de79e2bcf [2023-07-27T00:41:42.097Z] ---> 7b02f84b930f [2023-07-27T00:41:42.097Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-27T00:41:43.506Z] ---> acd0a385e235 [2023-07-27T00:41:43.506Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-27T00:41:44.093Z] ---> 418163a7753c [2023-07-27T00:41:44.093Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-27T00:41:44.361Z] ---> a3e3340bc7d2 [2023-07-27T00:41:44.361Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-27T00:41:44.945Z] ---> 5af3beaebca3 [2023-07-27T00:41:44.945Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-27T00:41:45.528Z] ---> b23a194d5f49 [2023-07-27T00:41:45.528Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-27T00:41:46.120Z] ---> 42a121c11182 [2023-07-27T00:41:46.120Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-27T00:41:47.535Z] ---> e5742cfccd83 [2023-07-27T00:41:47.535Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-27T00:41:47.535Z] ---> Running in b3e46a15feae [2023-07-27T00:41:49.488Z] Removing intermediate container b3e46a15feae [2023-07-27T00:41:49.488Z] ---> eae3ac01dfd2 [2023-07-27T00:41:49.488Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-27T00:41:49.488Z] ---> Running in b11da770fb38 [2023-07-27T00:41:51.438Z] Removing intermediate container b11da770fb38 [2023-07-27T00:41:51.438Z] ---> 7a625d53a8dc [2023-07-27T00:41:51.438Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-27T00:41:51.438Z] ---> Running in ce3e713d1dea [2023-07-27T00:41:52.850Z] Removing intermediate container ce3e713d1dea [2023-07-27T00:41:52.850Z] ---> 3858a5b49050 [2023-07-27T00:41:52.850Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-27T00:41:52.850Z] ---> Running in c040dec48b30 [2023-07-27T00:41:54.259Z] Removing intermediate container c040dec48b30 [2023-07-27T00:41:54.259Z] ---> 167799dcb168 [2023-07-27T00:41:54.259Z] Step 30/36 : EXPOSE 59983 [2023-07-27T00:41:54.529Z] ---> Running in a51b52e6e2c7 [2023-07-27T00:41:54.795Z] Removing intermediate container a51b52e6e2c7 [2023-07-27T00:41:54.795Z] ---> c7296e87cb87 [2023-07-27T00:41:54.795Z] Step 31/36 : EXPOSE 8554 [2023-07-27T00:41:54.795Z] ---> Running in 06bb2aaac523 [2023-07-27T00:41:55.061Z] Removing intermediate container 06bb2aaac523 [2023-07-27T00:41:55.061Z] ---> f7a2a7e87f5f [2023-07-27T00:41:55.062Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-27T00:41:55.062Z] ---> Running in d950c8d96cd7 [2023-07-27T00:41:55.333Z] Removing intermediate container d950c8d96cd7 [2023-07-27T00:41:55.333Z] ---> 280fd3586e9d [2023-07-27T00:41:55.333Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-27T00:41:55.601Z] ---> Running in cdc71e761af1 [2023-07-27T00:41:55.870Z] Removing intermediate container cdc71e761af1 [2023-07-27T00:41:55.870Z] ---> 515a8264e2ad [2023-07-27T00:41:55.870Z] Step 34/36 : LABEL arch=arm64 [2023-07-27T00:41:55.870Z] ---> Running in 3554ac8cf795 [2023-07-27T00:41:56.137Z] Removing intermediate container 3554ac8cf795 [2023-07-27T00:41:56.137Z] ---> 8d69b7e04909 [2023-07-27T00:41:56.137Z] Step 35/36 : LABEL git_sha=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [2023-07-27T00:41:56.137Z] ---> Running in 69d402deec1e [2023-07-27T00:41:56.404Z] Removing intermediate container 69d402deec1e [2023-07-27T00:41:56.404Z] ---> 5e7ee312280d [2023-07-27T00:41:56.404Z] Step 36/36 : LABEL version=0.0.0 [2023-07-27T00:41:56.404Z] ---> Running in b59ce07102b6 [2023-07-27T00:41:56.670Z] Removing intermediate container b59ce07102b6 [2023-07-27T00:41:56.670Z] ---> 1dfff791bbf9 [2023-07-27T00:41:56.670Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-27T00:41:56.670Z] Successfully built 1dfff791bbf9 [2023-07-27T00:41:56.670Z] 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-27T00:41:57.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-27T00:41:57.129Z] [2023-07-27T00:41:57.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:41:57.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-27T00:41:57.455Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-27T00:41:57.455Z] 8998bd30e6a1: Pulling fs layer [2023-07-27T00:41:57.455Z] 04944245beec: Pulling fs layer [2023-07-27T00:41:57.455Z] 699f458cf7ca: Pulling fs layer [2023-07-27T00:41:57.455Z] 765212b225bb: Pulling fs layer [2023-07-27T00:41:57.455Z] f23df028b6ca: Pulling fs layer [2023-07-27T00:41:57.455Z] d65c8cfc05b1: Pulling fs layer [2023-07-27T00:41:57.455Z] 2437ff75d9bd: Pulling fs layer [2023-07-27T00:41:57.455Z] f23df028b6ca: Waiting [2023-07-27T00:41:57.455Z] d65c8cfc05b1: Waiting [2023-07-27T00:41:57.455Z] 2437ff75d9bd: Waiting [2023-07-27T00:41:57.455Z] 765212b225bb: Waiting [2023-07-27T00:41:57.723Z] 04944245beec: Verifying Checksum [2023-07-27T00:41:57.723Z] 04944245beec: Download complete [2023-07-27T00:41:57.723Z] 765212b225bb: Verifying Checksum [2023-07-27T00:41:57.723Z] 765212b225bb: Download complete [2023-07-27T00:41:57.723Z] f23df028b6ca: Verifying Checksum [2023-07-27T00:41:57.723Z] f23df028b6ca: Download complete [2023-07-27T00:41:57.723Z] d65c8cfc05b1: Verifying Checksum [2023-07-27T00:41:57.723Z] d65c8cfc05b1: Download complete [2023-07-27T00:41:57.990Z] 699f458cf7ca: Verifying Checksum [2023-07-27T00:41:57.990Z] 699f458cf7ca: Download complete [2023-07-27T00:41:58.258Z] 8998bd30e6a1: Verifying Checksum [2023-07-27T00:41:58.258Z] 8998bd30e6a1: Download complete [2023-07-27T00:42:00.842Z] 2437ff75d9bd: Verifying Checksum [2023-07-27T00:42:00.842Z] 2437ff75d9bd: Download complete [2023-07-27T00:42:02.250Z] 8998bd30e6a1: Pull complete [2023-07-27T00:42:02.518Z] 04944245beec: Pull complete [2023-07-27T00:42:04.459Z] 699f458cf7ca: Pull complete [2023-07-27T00:42:04.459Z] 765212b225bb: Pull complete [2023-07-27T00:42:05.418Z] f23df028b6ca: Pull complete [2023-07-27T00:42:05.418Z] d65c8cfc05b1: Pull complete [2023-07-27T00:42:20.404Z] 2437ff75d9bd: Pull complete [2023-07-27T00:42:20.405Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-27T00:42:20.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-27T00:42:20.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:42:20.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-2310 does not seem to be running inside a container [2023-07-27T00:42:20.674Z] $ 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/30 -v /w/workspace/device-usb-camera/30:/w/workspace/device-usb-camera/30:rw,z -v /w/workspace/device-usb-camera/30@tmp:/w/workspace/device-usb-camera/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-27T00:42:23.223Z] $ docker top b40f0e550fec4ad6d3290d200abb02006c1e5126e167d4054eaf96e7cfab9cbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:24.061Z] ---> job-cost.sh [2023-07-27T00:42:24.062Z] lf-activate-venv: SKIPPING [2023-07-27T00:42:24.062Z] INFO: No Stack... [2023-07-27T00:42:24.328Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-27T00:42:25.286Z] INFO: Archiving Costs [Pipeline] sh [2023-07-27T00:42:25.922Z] + cat /w/workspace/device-usb-camera/30/archives/cost.csv [2023-07-27T00:42:25.923Z] + cut -d, -f6 [Pipeline] lock [2023-07-27T00:42:25.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [2023-07-27T00:42:25.966Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] did not exist. Created. [2023-07-27T00:42:25.966Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-27T00:42:26.307Z] /w/workspace/device-usb-camera/30@tmp/durable-b78777d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-27T00:42:26.643Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-27T00:42:26.932Z] Warning: overwriting stash ‘stack-cost’ [2023-07-27T00:42:26.992Z] Stashed 1 file(s) [Pipeline] } [2023-07-27T00:42:27.002Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-27T00:42:27.021Z] $ docker stop --time=1 b40f0e550fec4ad6d3290d200abb02006c1e5126e167d4054eaf96e7cfab9cbc [2023-07-27T00:42:28.513Z] $ docker rm -f --volumes b40f0e550fec4ad6d3290d200abb02006c1e5126e167d4054eaf96e7cfab9cbc [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-27T00:42:30.683Z] provisioning config files... [2023-07-27T00:42:30.690Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config1245148511918503405tmp [Pipeline] { [Pipeline] sh [2023-07-27T00:42:30.983Z] + set +x [2023-07-27T00:42:30.984Z] + bash -s -- [2023-07-27T00:42:30.984Z] + curl -s https://codecov.io/bash [2023-07-27T00:42:30.984Z] [2023-07-27T00:42:30.984Z] _____ _ [2023-07-27T00:42:30.984Z] / ____| | | [2023-07-27T00:42:30.984Z] | | ___ __| | ___ ___ _____ __ [2023-07-27T00:42:30.984Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-27T00:42:30.984Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-27T00:42:30.984Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-27T00:42:30.984Z] Bash-1.0.6 [2023-07-27T00:42:30.984Z] [2023-07-27T00:42:30.984Z] [2023-07-27T00:42:30.984Z] ==> git version 2.25.1 found [2023-07-27T00:42:30.984Z] ==> 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-27T00:42:30.984Z] Release-Date: 2020-01-08 [2023-07-27T00:42:30.984Z] 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-27T00:42:30.984Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-27T00:42:30.984Z] ==> Jenkins CI detected. [2023-07-27T00:42:30.984Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-27T00:42:30.984Z] project root: . [2023-07-27T00:42:30.984Z] --> token set from env [2023-07-27T00:42:30.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-27T00:42:30.984Z] ==> Running gcov in . (disable via -X gcov) [2023-07-27T00:42:30.984Z] ==> Python coveragepy not found [2023-07-27T00:42:30.984Z] ==> Searching for coverage reports in: [2023-07-27T00:42:30.984Z] + . [2023-07-27T00:42:30.984Z] -> Found 1 reports [2023-07-27T00:42:30.984Z] ==> Detecting git/mercurial file structure [2023-07-27T00:42:30.984Z] ==> Reading reports [2023-07-27T00:42:30.984Z] + ./coverage.out bytes=43708 [2023-07-27T00:42:30.984Z] ==> Appending adjustments [2023-07-27T00:42:30.984Z] https://docs.codecov.io/docs/fixing-reports [2023-07-27T00:42:31.243Z] + Found adjustments [2023-07-27T00:42:31.243Z] ==> Gzipping contents [2023-07-27T00:42:31.243Z] 8.0K /tmp/codecov.oMmi5U.gz [2023-07-27T00:42:31.243Z] ==> Uploading reports [2023-07-27T00:42:31.243Z] url: https://codecov.io [2023-07-27T00:42:31.243Z] query: branch=PR-265&commit=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-27T00:42:31.243Z] -> Pinging Codecov [2023-07-27T00:42:31.243Z] 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=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-27T00:42:31.243Z] -> Uploading to [2023-07-27T00:42:31.243Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-27/73D8F5FF140700D3E01443B452E23636/cf72471dfa73fdfbc6e89d16bce2d6c491b80f72/24691b9b-e6a0-454c-a694-fbabcd61fbe4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230727T004231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f04715f746f9abd4b2e125e2d69e32fae5162e1b2d99839edfbd872df3b2197b [2023-07-27T00:42:31.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-27T00:42:31.500Z] Dload Upload Total Spent Left Speed [2023-07-27T00:42:31.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5766 0 0 100 5766 0 29269 --:--:-- --:--:-- --:--:-- 29269 [2023-07-27T00:42:31.500Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] } [2023-07-27T00:42:31.505Z] 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-27T00:42:32.147Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-27T00:42:32.147Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-27T00:42:32.147Z] total 16 [2023-07-27T00:42:32.147Z] drwxr-xr-x 3 root root 4096 Jul 27 00:32 . [2023-07-27T00:42:32.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 00:32 .. [2023-07-27T00:42:32.147Z] drwxr-xr-x 2 root root 4096 Jul 27 00:32 cost [2023-07-27T00:42:32.147Z] -rw-r--r-- 1 root root 90 Jul 27 00:32 cost.csv [2023-07-27T00:42:32.147Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-27T00:42:32.147Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-27T00:42:32.147Z] total 16 [2023-07-27T00:42:32.147Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:32 . [2023-07-27T00:42:32.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 00:32 .. [2023-07-27T00:42:32.147Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 00:32 cost [2023-07-27T00:42:32.147Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 27 00:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:32.434Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:33.295Z] ---> package-listing.sh [2023-07-27T00:42:33.295Z] ++ facter osfamily [2023-07-27T00:42:33.295Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-27T00:42:33.554Z] + OS_FAMILY=debian [2023-07-27T00:42:33.554Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-27T00:42:33.554Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-27T00:42:33.554Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-27T00:42:33.554Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-27T00:42:33.554Z] + PACKAGES=/tmp/packages_start.txt [2023-07-27T00:42:33.554Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-27T00:42:33.554Z] + PACKAGES=/tmp/packages_end.txt [2023-07-27T00:42:33.554Z] + case "${OS_FAMILY}" in [2023-07-27T00:42:33.554Z] + dpkg -l [2023-07-27T00:42:33.554Z] + grep '^ii' [2023-07-27T00:42:33.554Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-27T00:42:33.554Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-27T00:42:33.554Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-27T00:42:33.554Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-27T00:42:33.554Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-27T00:42:33.554Z] + 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-27T00:42:33.563Z] 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-27T00:42:33.839Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-27T00:42:34.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-27T00:42:34.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-27T00:42:34.477Z] prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container [2023-07-27T00:42:34.504Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-27T00:42:35.257Z] $ docker top 074fe2b653619b280c0a2fa8604891b1795f7d2839a521aa57264113a24e479a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-27T00:42:35.586Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-27T00:42:35.868Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-27T00:42:36.152Z] + ls /var/log/sa-host [2023-07-27T00:42:36.152Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-27T00:42:36.332Z] provisioning config files... [2023-07-27T00:42:36.341Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config828946921385350285tmp [Pipeline] { [Pipeline] echo [2023-07-27T00:42:36.354Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:36.637Z] ---> create-netrc.sh [Pipeline] } [2023-07-27T00:42:36.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:36.986Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-27T00:42:36.996Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:37.282Z] ---> sudo-logs.sh [2023-07-27T00:42:37.282Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-27T00:42:37.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:37.585Z] ---> job-cost.sh [2023-07-27T00:42:37.585Z] lf-activate-venv: SKIPPING [2023-07-27T00:42:37.585Z] DEBUG: total: 0.2199999988079071 [2023-07-27T00:42:37.585Z] INFO: Retrieving Stack Cost... [2023-07-27T00:42:37.843Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-27T00:42:38.413Z] INFO: Archiving Costs [Pipeline] echo [2023-07-27T00:42:38.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-27T00:42:38.711Z] ---> logs-deploy.sh [2023-07-27T00:42:38.711Z] lf-activate-venv: SKIPPING [2023-07-27T00:42:38.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/30 [2023-07-27T00:42:38.711Z] INFO: archiving workspace using pattern(s): [2023-07-27T00:42:39.652Z] Archives upload complete. [2023-07-27T00:42:39.652Z] INFO: archiving logs to Nexus