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 83e9707236a128b7f24f90fff0386f1429231f2e 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-ssh345985468060086639.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-ssh528114621184239231.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-ssh15735060266112588068.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-ssh5048052533655698844.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-ssh17516646673344167147.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 ‘prd-ubuntu20.04-docker-8c-8g-2076’ Running on prd-ubuntu20.04-docker-8c-8g-2078 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 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 83e9707236a128b7f24f90fff0386f1429231f2e Merge succeeded, producing 83e9707236a128b7f24f90fff0386f1429231f2e Checking out Revision 83e9707236a128b7f24f90fff0386f1429231f2e (PR-265) Commit message: "feat: change query parameter" > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 83e9707236a128b7f24f90fff0386f1429231f2e # 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 83e9707236a128b7f24f90fff0386f1429231f2e # timeout=10 > git rev-list --no-walk 21d34cd08e68bfd5c080f3dff31cb80ca1dae68b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-25T15:13:27.474Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-25T15:13:27.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-25T15:13:27.557Z] ========================================================= [2023-07-25T15:13:27.557Z] EdgeX Global Pipelines Version Info [2023-07-25T15:13:27.557Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:13:28.281Z] ------------------- [2023-07-25T15:13:28.282Z] stable info: [2023-07-25T15:13:28.282Z] ------------------- [2023-07-25T15:13:28.282Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-25T15:13:28.282Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-25T15:13:28.282Z] Message: update stable to v1.0.250 [2023-07-25T15:13:28.853Z] ------------------- [2023-07-25T15:13:28.853Z] experimental info: [2023-07-25T15:13:28.853Z] ------------------- [2023-07-25T15:13:28.853Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-25T15:13:28.853Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-25T15:13:28.853Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-25T15:13:29.011Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-25T15:13:29.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-25T15:13:29.045Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-25T15:13:29.063Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-25T15:13:29.076Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-25T15:13:29.094Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-25T15:13:29.111Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-25T15:13:29.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-25T15:13:29.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-25T15:13:29.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-25T15:13:29.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-25T15:13:29.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-25T15:13:29.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-25T15:13:29.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-25T15:13:29.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-25T15:13:29.285Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-25T15:13:29.307Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-25T15:13:29.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-25T15:13:29.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-25T15:13:29.364Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-25T15:13:29.376Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-25T15:13:29.387Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-25T15:13:29.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-25T15:13:29.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-25T15:13:29.417Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-25T15:13:29.426Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-25T15:13:29.448Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-25T15:13:29.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-25T15:13:29.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-25T15:13:29.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-25T15:13:29.519Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83e9707236a128b7f24f90fff0386f1429231f2e [Pipeline] echo [2023-07-25T15:13:29.541Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83e9707 [Pipeline] echo [2023-07-25T15:13:29.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T15:13:29.616Z] provisioning config files... [2023-07-25T15:13:29.632Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config4189831780865533626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:13:29.945Z] ---> docker-login.sh [2023-07-25T15:13:29.945Z] nexus3.edgexfoundry.org:10001 [2023-07-25T15:13:30.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:30.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:30.205Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:30.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:30.205Z] [2023-07-25T15:13:30.205Z] Login Succeeded [2023-07-25T15:13:30.205Z] nexus3.edgexfoundry.org:10002 [2023-07-25T15:13:30.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:30.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:30.464Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:30.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:30.464Z] [2023-07-25T15:13:30.464Z] Login Succeeded [2023-07-25T15:13:30.464Z] nexus3.edgexfoundry.org:10003 [2023-07-25T15:13:30.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:30.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:30.464Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:30.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:30.464Z] [2023-07-25T15:13:30.464Z] Login Succeeded [2023-07-25T15:13:30.464Z] nexus3.edgexfoundry.org:10004 [2023-07-25T15:13:30.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:30.724Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:30.724Z] [2023-07-25T15:13:30.724Z] Login Succeeded [2023-07-25T15:13:30.724Z] docker.io [2023-07-25T15:13:30.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:30.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:30.985Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:30.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:30.985Z] [2023-07-25T15:13:30.985Z] Login Succeeded [2023-07-25T15:13:30.985Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T15:13:30.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-25T15:13:31.362Z] + git rev-list -1 --merges 83e9707236a128b7f24f90fff0386f1429231f2e~1..83e9707236a128b7f24f90fff0386f1429231f2e [Pipeline] echo [2023-07-25T15:13:31.417Z] -----------> git rev-list -1 --merges 83e9707236a128b7f24f90fff0386f1429231f2e~1..83e9707236a128b7f24f90fff0386f1429231f2e 83e9707236a128b7f24f90fff0386f1429231f2e [false] [Pipeline] sh [2023-07-25T15:13:31.713Z] + git log --format=format:%s -1 83e9707236a128b7f24f90fff0386f1429231f2e [Pipeline] echo [2023-07-25T15:13:31.731Z] ========================================================= [2023-07-25T15:13:31.731Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-25T15:13:31.731Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T15:13:32.054Z] + git log --format=format:%s -1 83e9707236a128b7f24f90fff0386f1429231f2e [Pipeline] echo [2023-07-25T15:13:32.066Z] [semverPrep] GIT_COMMIT: 83e9707236a128b7f24f90fff0386f1429231f2e, Commit Message: feat: change query parameter [Pipeline] echo [2023-07-25T15:13:32.075Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-25T15:13:32.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-25T15:13:32.415Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-25T15:13:32.415Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-25T15:13:32.415Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-25T15:13:32.415Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-25T15:13:32.415Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-25T15:13:32.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:13:32.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T15:13:32.773Z] [2023-07-25T15:13:32.773Z] 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-25T15:13:33.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T15:13:33.076Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-25T15:13:33.076Z] b85a868b505f: Pulling fs layer [2023-07-25T15:13:33.076Z] e2be974225ed: Pulling fs layer [2023-07-25T15:13:33.076Z] 339a4e72a1f5: Pulling fs layer [2023-07-25T15:13:33.076Z] 988bab9f4d93: Pulling fs layer [2023-07-25T15:13:33.076Z] 1469e6f7b9e6: Pulling fs layer [2023-07-25T15:13:33.076Z] eaf3925da568: Pulling fs layer [2023-07-25T15:13:33.076Z] bab4dde63d76: Pulling fs layer [2023-07-25T15:13:33.076Z] bde34c3a00c8: Pulling fs layer [2023-07-25T15:13:33.076Z] b352a97aabf1: Pulling fs layer [2023-07-25T15:13:33.076Z] 4872d77fe225: Pulling fs layer [2023-07-25T15:13:33.076Z] 5851b861e8e6: Pulling fs layer [2023-07-25T15:13:33.076Z] 988bab9f4d93: Waiting [2023-07-25T15:13:33.076Z] bde34c3a00c8: Waiting [2023-07-25T15:13:33.076Z] bab4dde63d76: Waiting [2023-07-25T15:13:33.076Z] 1469e6f7b9e6: Waiting [2023-07-25T15:13:33.076Z] eaf3925da568: Waiting [2023-07-25T15:13:33.076Z] 4872d77fe225: Waiting [2023-07-25T15:13:33.076Z] 5851b861e8e6: Waiting [2023-07-25T15:13:33.076Z] b352a97aabf1: Waiting [2023-07-25T15:13:33.076Z] e2be974225ed: Verifying Checksum [2023-07-25T15:13:33.076Z] e2be974225ed: Download complete [2023-07-25T15:13:33.076Z] 988bab9f4d93: Verifying Checksum [2023-07-25T15:13:33.076Z] 988bab9f4d93: Download complete [2023-07-25T15:13:33.076Z] 1469e6f7b9e6: Verifying Checksum [2023-07-25T15:13:33.076Z] 1469e6f7b9e6: Download complete [2023-07-25T15:13:33.336Z] eaf3925da568: Verifying Checksum [2023-07-25T15:13:33.336Z] eaf3925da568: Download complete [2023-07-25T15:13:33.336Z] 339a4e72a1f5: Verifying Checksum [2023-07-25T15:13:33.336Z] 339a4e72a1f5: Download complete [2023-07-25T15:13:33.336Z] bde34c3a00c8: Download complete [2023-07-25T15:13:33.336Z] b352a97aabf1: Verifying Checksum [2023-07-25T15:13:33.336Z] b352a97aabf1: Download complete [2023-07-25T15:13:33.336Z] 4872d77fe225: Verifying Checksum [2023-07-25T15:13:33.336Z] 4872d77fe225: Download complete [2023-07-25T15:13:33.336Z] 5851b861e8e6: Verifying Checksum [2023-07-25T15:13:33.336Z] 5851b861e8e6: Download complete [2023-07-25T15:13:33.336Z] b85a868b505f: Verifying Checksum [2023-07-25T15:13:33.336Z] b85a868b505f: Download complete [2023-07-25T15:13:33.596Z] bab4dde63d76: Verifying Checksum [2023-07-25T15:13:33.596Z] bab4dde63d76: Download complete [2023-07-25T15:13:34.535Z] b85a868b505f: Pull complete [2023-07-25T15:13:34.535Z] e2be974225ed: Pull complete [2023-07-25T15:13:35.104Z] 339a4e72a1f5: Pull complete [2023-07-25T15:13:35.104Z] 988bab9f4d93: Pull complete [2023-07-25T15:13:35.363Z] 1469e6f7b9e6: Pull complete [2023-07-25T15:13:35.363Z] eaf3925da568: Pull complete [2023-07-25T15:13:37.267Z] bab4dde63d76: Pull complete [2023-07-25T15:13:37.267Z] bde34c3a00c8: Pull complete [2023-07-25T15:13:37.267Z] b352a97aabf1: Pull complete [2023-07-25T15:13:37.267Z] 4872d77fe225: Pull complete [2023-07-25T15:13:37.267Z] 5851b861e8e6: Pull complete [2023-07-25T15:13:37.267Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-25T15:13:37.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T15:13:37.267Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:13:37.373Z] prd-ubuntu20.04-docker-8c-8g-2078 does not seem to be running inside a container [2023-07-25T15:13:37.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-25T15:13:40.344Z] $ docker top 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd -eo pid,comm [2023-07-25T15:13:40.397Z] 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-25T15:13:40.397Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-25T15:13:40.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-25T15:13:40.442Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-25T15:13:40.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-25T15:13:40.564Z] $ docker exec 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd ssh-agent [2023-07-25T15:13:40.677Z] SSH_AUTH_SOCK=/tmp/ssh-9XiHh5ya2wWy/agent.31 [2023-07-25T15:13:40.677Z] SSH_AGENT_PID=37 [2023-07-25T15:13:40.683Z] Running ssh-add (command line suppressed) [2023-07-25T15:13:40.780Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_17754332512419197968.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_17754332512419197968.key) [2023-07-25T15:13:40.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-25T15:13:41.092Z] + git tag --points-at HEAD [Pipeline] } [2023-07-25T15:13:41.106Z] $ docker exec --env ******** --env ******** 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd ssh-agent -k [2023-07-25T15:13:41.194Z] unset SSH_AUTH_SOCK; [2023-07-25T15:13:41.194Z] unset SSH_AGENT_PID; [2023-07-25T15:13:41.195Z] echo Agent pid 37 killed; [2023-07-25T15:13:41.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-25T15:13:41.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-25T15:13:41.232Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-25T15:13:41.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-25T15:13:41.349Z] $ docker exec 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd ssh-agent [2023-07-25T15:13:41.446Z] SSH_AUTH_SOCK=/tmp/ssh-h1VT6J6v71L7/agent.69 [2023-07-25T15:13:41.446Z] SSH_AGENT_PID=75 [2023-07-25T15:13:41.451Z] Running ssh-add (command line suppressed) [2023-07-25T15:13:41.549Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_15009626859401821622.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_15009626859401821622.key) [2023-07-25T15:13:41.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-25T15:13:41.850Z] + git semver init [2023-07-25T15:13:42.109Z] 2023-07-25 15:13:42,017 [run_init] DEBUG init version:0.0.0 force:False [2023-07-25T15:13:42.110Z] 2023-07-25 15:13:42,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-25T15:13:42.110Z] 2023-07-25 15:13:42,018 [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-25T15:13:42.110Z] 2023-07-25 15:13:42,019 [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-25T15:13:43.115Z] 2023-07-25 15:13:42,874 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-25T15:13:43.115Z] 2023-07-25 15:13:42,874 [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-25T15:13:43.115Z] 2023-07-25 15:13:42,874 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-25T15:13:43.115Z] 2023-07-25 15:13:42,878 [execute] INFO git cat-file --batch-check [2023-07-25T15:13:43.115Z] 2023-07-25 15:13:42,879 [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-25T15:13:43.115Z] 2023-07-25 15:13:42,885 [execute] INFO git cat-file --batch [2023-07-25T15:13:43.115Z] 2023-07-25 15:13:42,885 [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-25T15:13:43.115Z] 2023-07-25 15:13:42,889 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-25T15:13:43.115Z] 0.0.0 [Pipeline] } [2023-07-25T15:13:43.126Z] $ docker exec --env ******** --env ******** 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd ssh-agent -k [2023-07-25T15:13:43.220Z] unset SSH_AUTH_SOCK; [2023-07-25T15:13:43.220Z] unset SSH_AGENT_PID; [2023-07-25T15:13:43.221Z] echo Agent pid 75 killed; [2023-07-25T15:13:43.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-25T15:13:43.540Z] + git semver [Pipeline] } [2023-07-25T15:13:43.815Z] $ docker stop --time=1 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd [2023-07-25T15:13:45.088Z] $ docker rm -f --volumes 01c31459cf429ad9b5a7b72bfe0cd6d5447168173f3f898cf5a973f7adb5badd [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T15:13:45.415Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-25T15:13:45.622Z] Stashed 1 file(s) [Pipeline] echo [2023-07-25T15:13:45.625Z] [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-25T15:13:45.790Z] provisioning config files... [2023-07-25T15:13:45.799Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9218334251816680275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:13:46.096Z] ---> docker-login.sh [2023-07-25T15:13:46.096Z] nexus3.edgexfoundry.org:10001 [2023-07-25T15:13:46.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:46.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:46.096Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:46.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:46.096Z] [2023-07-25T15:13:46.096Z] Login Succeeded [2023-07-25T15:13:46.096Z] nexus3.edgexfoundry.org:10002 [2023-07-25T15:13:46.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:46.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:46.096Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:46.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:46.096Z] [2023-07-25T15:13:46.096Z] Login Succeeded [2023-07-25T15:13:46.096Z] nexus3.edgexfoundry.org:10003 [2023-07-25T15:13:46.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:46.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:46.355Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:46.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:46.355Z] [2023-07-25T15:13:46.355Z] Login Succeeded [2023-07-25T15:13:46.355Z] nexus3.edgexfoundry.org:10004 [2023-07-25T15:13:46.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:46.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:46.356Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:46.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:46.356Z] [2023-07-25T15:13:46.356Z] Login Succeeded [2023-07-25T15:13:46.356Z] docker.io [2023-07-25T15:13:46.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:13:46.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:13:46.614Z] Configure a credential helper to remove this warning. See [2023-07-25T15:13:46.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:13:46.614Z] [2023-07-25T15:13:46.614Z] Login Succeeded [2023-07-25T15:13:46.614Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T15:13:46.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-25T15:13:46.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T15:13:46.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T15:13:46.722Z] ========================================================= [2023-07-25T15:13:46.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-25T15:13:46.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:13:47.030Z] + 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-25T15:13:47.030Z] Sending build context to Docker daemon 2.069MB [2023-07-25T15:13:47.030Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T15:13:47.030Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-25T15:13:47.030Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-25T15:13:47.030Z] 4db1b89c0bd1: Pulling fs layer [2023-07-25T15:13:47.030Z] 6911f1a30b25: Pulling fs layer [2023-07-25T15:13:47.030Z] e194b8c5c2a9: Pulling fs layer [2023-07-25T15:13:47.030Z] 6863d3e3a2b1: Pulling fs layer [2023-07-25T15:13:47.030Z] ec0bb842ea78: Pulling fs layer [2023-07-25T15:13:47.030Z] 40a00589a448: Pulling fs layer [2023-07-25T15:13:47.030Z] 6c08303d61cc: Pulling fs layer [2023-07-25T15:13:47.030Z] 798269fcf238: Pulling fs layer [2023-07-25T15:13:47.030Z] 6863d3e3a2b1: Waiting [2023-07-25T15:13:47.031Z] ec0bb842ea78: Waiting [2023-07-25T15:13:47.031Z] 40a00589a448: Waiting [2023-07-25T15:13:47.031Z] 6c08303d61cc: Waiting [2023-07-25T15:13:47.031Z] 798269fcf238: Waiting [2023-07-25T15:13:47.031Z] 6911f1a30b25: Download complete [2023-07-25T15:13:47.031Z] 6863d3e3a2b1: Download complete [2023-07-25T15:13:47.031Z] ec0bb842ea78: Verifying Checksum [2023-07-25T15:13:47.031Z] ec0bb842ea78: Download complete [2023-07-25T15:13:47.031Z] 4db1b89c0bd1: Verifying Checksum [2023-07-25T15:13:47.031Z] 4db1b89c0bd1: Download complete [2023-07-25T15:13:47.293Z] 40a00589a448: Verifying Checksum [2023-07-25T15:13:47.293Z] 4db1b89c0bd1: Pull complete [2023-07-25T15:13:47.560Z] 6911f1a30b25: Pull complete [2023-07-25T15:13:47.823Z] e194b8c5c2a9: Download complete [2023-07-25T15:13:47.823Z] 798269fcf238: Verifying Checksum [2023-07-25T15:13:47.823Z] 798269fcf238: Download complete [2023-07-25T15:13:48.082Z] 6c08303d61cc: Verifying Checksum [2023-07-25T15:13:48.082Z] 6c08303d61cc: Download complete [2023-07-25T15:13:51.369Z] e194b8c5c2a9: Pull complete [2023-07-25T15:13:51.369Z] 6863d3e3a2b1: Pull complete [2023-07-25T15:13:51.369Z] ec0bb842ea78: Pull complete [2023-07-25T15:13:51.369Z] 40a00589a448: Pull complete [2023-07-25T15:13:53.274Z] 6c08303d61cc: Pull complete [2023-07-25T15:13:54.213Z] 798269fcf238: Pull complete [2023-07-25T15:13:54.213Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-25T15:13:54.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-25T15:13:54.213Z] ---> ec979cd7f677 [2023-07-25T15:13:54.213Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-25T15:13:58.431Z] ---> Running in e7180ebb2a01 [2023-07-25T15:13:58.691Z] Removing intermediate container e7180ebb2a01 [2023-07-25T15:13:58.691Z] ---> 6dc6566b9a5c [2023-07-25T15:13:58.691Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T15:13:58.691Z] ---> Running in 7bba4f56848b [2023-07-25T15:13:58.691Z] Removing intermediate container 7bba4f56848b [2023-07-25T15:13:58.691Z] ---> d78b14ba55b2 [2023-07-25T15:13:58.691Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T15:13:58.691Z] ---> Running in ef9d5d0d50de [2023-07-25T15:13:58.949Z] Removing intermediate container ef9d5d0d50de [2023-07-25T15:13:58.949Z] ---> a4775f94ccce [2023-07-25T15:13:58.949Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T15:13:58.949Z] ---> Running in c6f84fc5ff1c [2023-07-25T15:13:58.949Z] Removing intermediate container c6f84fc5ff1c [2023-07-25T15:13:58.949Z] ---> 5fe255c87a12 [2023-07-25T15:13:58.949Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T15:13:58.949Z] ---> Running in e55b5e0932af [2023-07-25T15:13:59.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-25T15:13:59.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-25T15:13:59.729Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-25T15:13:59.729Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-25T15:13:59.729Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T15:13:59.729Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T15:13:59.729Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-25T15:13:59.729Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-25T15:13:59.729Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-25T15:13:59.729Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-25T15:13:59.729Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-25T15:13:59.729Z] (10/14) Installing kmod-libs (30-r1) [2023-07-25T15:13:59.729Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-25T15:13:59.729Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-25T15:13:59.729Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-25T15:13:59.729Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-25T15:13:59.729Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T15:13:59.729Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T15:13:59.729Z] OK: 272 MiB in 67 packages [2023-07-25T15:14:00.672Z] Removing intermediate container e55b5e0932af [2023-07-25T15:14:00.672Z] ---> 61b3479247d4 [2023-07-25T15:14:00.672Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-25T15:14:00.672Z] ---> Running in ca9ebce607ec [2023-07-25T15:14:00.672Z] Removing intermediate container ca9ebce607ec [2023-07-25T15:14:00.672Z] ---> 9f5ba7512bd4 [2023-07-25T15:14:00.672Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-25T15:14:00.672Z] ---> 25acb85a09d4 [2023-07-25T15:14:00.672Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T15:14:00.672Z] ---> Running in 3fc8ea59d4e2 [2023-07-25T15:14:00.757Z] Still waiting to schedule task [2023-07-25T15:14:00.757Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2077’ [2023-07-25T15:14:39.439Z] Removing intermediate container 3fc8ea59d4e2 [2023-07-25T15:14:39.439Z] ---> 225451ca1625 [2023-07-25T15:14:39.439Z] Step 11/13 : COPY . . [2023-07-25T15:14:39.699Z] ---> 1eeb99ff1354 [2023-07-25T15:14:39.699Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T15:14:39.958Z] ---> Running in 522e9e70e3a8 [2023-07-25T15:14:39.958Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T15:14:39.959Z] Dload Upload Total Spent Left Speed [2023-07-25T15:14:40.527Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3928 0 --:--:-- --:--:-- --:--:-- 3933 [2023-07-25T15:14:40.527Z] Removing intermediate container 522e9e70e3a8 [2023-07-25T15:14:40.527Z] ---> 5e9b45f5bb40 [2023-07-25T15:14:40.527Z] Step 13/13 : RUN ${MAKE} [2023-07-25T15:14:40.527Z] ---> Running in 6b71b0d14207 [2023-07-25T15:14:40.786Z] noop [2023-07-25T15:14:41.045Z] Removing intermediate container 6b71b0d14207 [2023-07-25T15:14:41.045Z] ---> cd32e9989afd [2023-07-25T15:14:41.045Z] Successfully built cd32e9989afd [2023-07-25T15:14:41.045Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:14:41.356Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-25T15:14:41.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:14:41.423Z] prd-ubuntu20.04-docker-8c-8g-2078 does not seem to be running inside a container [2023-07-25T15:14:41.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-25T15:14:41.769Z] $ docker top 12c3bc8d9d0e2c678c9d54808a288c69a02d11618fa8df46b42720f4f5c81c0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T15:14:42.106Z] + go version [2023-07-25T15:14:42.107Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-25T15:14:42.119Z] $ docker stop --time=1 12c3bc8d9d0e2c678c9d54808a288c69a02d11618fa8df46b42720f4f5c81c0e [2023-07-25T15:14:43.389Z] $ docker rm -f --volumes 12c3bc8d9d0e2c678c9d54808a288c69a02d11618fa8df46b42720f4f5c81c0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:14:43.813Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-25T15:14:43.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:14:43.878Z] prd-ubuntu20.04-docker-8c-8g-2078 does not seem to be running inside a container [2023-07-25T15:14:43.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-25T15:14:44.234Z] $ docker top fb311db6d2dbd985e42712784ea800545869f641a015956b6650f171046cdbbf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T15:14:44.568Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-25T15:14:44.869Z] + make test [2023-07-25T15:14:44.869Z] go test ./... -coverprofile=coverage.out ./... [2023-07-25T15:14:49.140Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-25T15:14:59.135Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-25T15:14:59.136Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 3.6% of statements [2023-07-25T15:15:05.697Z] go vet ./... [2023-07-25T15:15:08.225Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-25T15:15:08.225Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-25T15:15:08.225Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-25T15:15:08.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-25T15:15:08.260Z] $ docker stop --time=1 fb311db6d2dbd985e42712784ea800545869f641a015956b6650f171046cdbbf [2023-07-25T15:15:11.477Z] $ docker rm -f --volumes fb311db6d2dbd985e42712784ea800545869f641a015956b6650f171046cdbbf [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T15:15:11.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-25T15:15:11.989Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-25T15:15:12.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-25T15:15:12.841Z] + ls -al . [2023-07-25T15:15:12.841Z] total 204 [2023-07-25T15:15:12.841Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 15:14 . [2023-07-25T15:15:12.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 15:13 .. [2023-07-25T15:15:12.841Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 15:13 .git [2023-07-25T15:15:12.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 15:13 .github [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 25 15:13 .gitignore [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 25 15:13 .golangci.yml [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 25 15:13 .hadolint.yml [2023-07-25T15:15:12.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 15:13 .semver [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 25 15:13 Attribution.txt [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 25 15:13 CHANGELOG.md [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 25 15:13 Dockerfile [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 25 15:13 GOVERNANCE.md [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 25 15:13 Jenkinsfile [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 25 15:13 LICENSE [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 25 15:13 Makefile [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 15:13 OWNERS.md [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 25 15:13 README.md [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 15:13 VERSION [2023-07-25T15:15:12.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 15:13 bin [2023-07-25T15:15:12.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 15:13 cmd [2023-07-25T15:15:12.841Z] -rw-r--r-- 1 jenkins jenkins 42931 Jul 25 15:14 coverage.out [2023-07-25T15:15:12.841Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 25 15:13 docker-entrypoint.sh [2023-07-25T15:15:12.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 15:13 docs [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 25 15:13 go.mod [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 25 15:13 go.sum [2023-07-25T15:15:12.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 15:13 internal [2023-07-25T15:15:12.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 15:13 snap [2023-07-25T15:15:12.841Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 25 15:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:15:13.141Z] + 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=83e9707236a128b7f24f90fff0386f1429231f2e --label arch=amd64 --label version=0.0.0 . [2023-07-25T15:15:13.141Z] Sending build context to Docker daemon 2.113MB [2023-07-25T15:15:13.141Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T15:15:13.141Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-25T15:15:13.141Z] ---> cd32e9989afd [2023-07-25T15:15:13.141Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-25T15:15:13.141Z] ---> Running in 45866ff70e1f [2023-07-25T15:15:13.401Z] Removing intermediate container 45866ff70e1f [2023-07-25T15:15:13.401Z] ---> b2991a273f14 [2023-07-25T15:15:13.401Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T15:15:13.401Z] ---> Running in 5c605e5e748e [2023-07-25T15:15:13.401Z] Removing intermediate container 5c605e5e748e [2023-07-25T15:15:13.401Z] ---> 84b36ef19759 [2023-07-25T15:15:13.401Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T15:15:13.401Z] ---> Running in 164a82c4a1d5 [2023-07-25T15:15:13.401Z] Removing intermediate container 164a82c4a1d5 [2023-07-25T15:15:13.401Z] ---> 92053ef35320 [2023-07-25T15:15:13.401Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T15:15:13.661Z] ---> Running in e0ca8561f61b [2023-07-25T15:15:13.661Z] Removing intermediate container e0ca8561f61b [2023-07-25T15:15:13.661Z] ---> 928ac107627d [2023-07-25T15:15:13.661Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T15:15:13.661Z] ---> Running in 06ae12c6549f [2023-07-25T15:15:13.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-25T15:15:14.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-25T15:15:14.444Z] OK: 272 MiB in 67 packages [2023-07-25T15:15:14.702Z] Removing intermediate container 06ae12c6549f [2023-07-25T15:15:14.702Z] ---> eca686b6d573 [2023-07-25T15:15:14.702Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-25T15:15:14.702Z] ---> Running in 3b8e6281e3e0 [2023-07-25T15:15:14.702Z] Removing intermediate container 3b8e6281e3e0 [2023-07-25T15:15:14.702Z] ---> 96003fabc90e [2023-07-25T15:15:14.702Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-25T15:15:14.960Z] ---> fd0fae9656c6 [2023-07-25T15:15:14.960Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T15:15:14.960Z] ---> Running in 2c7d963f4f2d [2023-07-25T15:15:15.527Z] Removing intermediate container 2c7d963f4f2d [2023-07-25T15:15:15.527Z] ---> 663d0ec09caf [2023-07-25T15:15:15.527Z] Step 11/36 : COPY . . [2023-07-25T15:15:16.096Z] ---> 1ffa2fb32935 [2023-07-25T15:15:16.096Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T15:15:16.096Z] ---> Running in ccf6848ad99d [2023-07-25T15:15:16.355Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T15:15:16.355Z] Dload Upload Total Spent Left Speed [2023-07-25T15:15:16.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21457 0 --:--:-- --:--:-- --:--:-- 21673 [2023-07-25T15:15:16.614Z] Removing intermediate container ccf6848ad99d [2023-07-25T15:15:16.614Z] ---> 23f7d15ea208 [2023-07-25T15:15:16.614Z] Step 13/36 : RUN ${MAKE} [2023-07-25T15:15:16.614Z] ---> Running in f94c1fc6031c [2023-07-25T15:15:16.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-25T15:15:38.805Z] Removing intermediate container f94c1fc6031c [2023-07-25T15:15:38.805Z] ---> 34ef70f5a2c1 [2023-07-25T15:15:38.805Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-25T15:15:38.805Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-25T15:15:38.805Z] 4acc49c71d14: Pulling fs layer [2023-07-25T15:15:38.805Z] 4acc49c71d14: Verifying Checksum [2023-07-25T15:15:38.805Z] 4acc49c71d14: Download complete [2023-07-25T15:15:38.805Z] 4acc49c71d14: Pull complete [2023-07-25T15:15:38.805Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-25T15:15:38.805Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-25T15:15:38.805Z] ---> 01a2bd3e5fff [2023-07-25T15:15:38.805Z] Step 15/36 : FROM alpine:3.17 [2023-07-25T15:15:38.805Z] 3.17: Pulling from library/alpine [2023-07-25T15:15:38.805Z] 4db1b89c0bd1: Already exists [2023-07-25T15:15:38.805Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-25T15:15:38.805Z] Status: Downloaded newer image for alpine:3.17 [2023-07-25T15:15:38.805Z] ---> 1f73a9d63274 [2023-07-25T15:15:38.805Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-25T15:15:38.805Z] ---> Running in d6c917fd05db [2023-07-25T15:15:39.063Z] Removing intermediate container d6c917fd05db [2023-07-25T15:15:39.063Z] ---> 1adc776ac9e6 [2023-07-25T15:15:39.063Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-25T15:15:39.063Z] ---> Running in db18ed350c72 [2023-07-25T15:15:39.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-25T15:15:39.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-25T15:15:39.580Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-25T15:15:39.580Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-25T15:15:39.580Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-25T15:15:39.580Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-25T15:15:39.580Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-25T15:15:39.580Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-25T15:15:39.580Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-25T15:15:39.580Z] (8/86) Installing libxcb (1.15-r0) [2023-07-25T15:15:39.580Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-25T15:15:39.580Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-25T15:15:39.839Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-25T15:15:39.839Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-25T15:15:39.839Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-25T15:15:39.839Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-25T15:15:39.839Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-25T15:15:39.839Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-25T15:15:39.839Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-25T15:15:39.839Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-25T15:15:39.839Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-25T15:15:39.839Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-25T15:15:39.839Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-25T15:15:39.839Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-25T15:15:39.839Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-25T15:15:39.839Z] (24/86) Installing glib (2.74.7-r0) [2023-07-25T15:15:39.839Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-25T15:15:39.839Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-25T15:15:39.839Z] (27/86) Installing libass (0.16.0-r1) [2023-07-25T15:15:39.839Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-25T15:15:39.839Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-25T15:15:39.839Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-25T15:15:39.839Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-25T15:15:39.839Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-25T15:15:39.839Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-25T15:15:39.839Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-25T15:15:39.839Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-25T15:15:39.839Z] (36/86) Installing libunistring (1.1-r0) [2023-07-25T15:15:40.100Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-25T15:15:40.100Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-25T15:15:40.100Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-25T15:15:40.100Z] (40/86) Installing lame (3.100-r2) [2023-07-25T15:15:40.100Z] (41/86) Installing opus (1.3.1-r1) [2023-07-25T15:15:40.100Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-25T15:15:40.100Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-25T15:15:40.100Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-25T15:15:40.100Z] (45/86) Installing orc (0.4.33-r0) [2023-07-25T15:15:40.101Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-25T15:15:40.101Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-25T15:15:40.101Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-25T15:15:40.101Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-25T15:15:40.101Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-25T15:15:40.101Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-25T15:15:40.101Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-25T15:15:40.101Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-25T15:15:40.101Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-25T15:15:40.101Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-25T15:15:40.101Z] (56/86) Installing libpulse (16.1-r6) [2023-07-25T15:15:40.101Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-25T15:15:40.101Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-25T15:15:40.101Z] (59/86) Installing librist (0.2.7-r0) [2023-07-25T15:15:40.101Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-25T15:15:40.101Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-25T15:15:40.101Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-25T15:15:40.361Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T15:15:40.361Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T15:15:40.361Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-25T15:15:40.361Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-25T15:15:40.361Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-25T15:15:40.361Z] (68/86) Installing libva (2.16.0-r0) [2023-07-25T15:15:40.361Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-25T15:15:40.361Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-25T15:15:40.361Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-25T15:15:40.361Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-25T15:15:40.361Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-25T15:15:40.361Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-25T15:15:40.361Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-25T15:15:40.361Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-25T15:15:40.361Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-25T15:15:40.361Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-25T15:15:40.361Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-25T15:15:40.621Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-25T15:15:40.621Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-25T15:15:40.621Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-25T15:15:40.621Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-25T15:15:40.621Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-25T15:15:40.621Z] (85/86) Installing kmod-libs (30-r1) [2023-07-25T15:15:40.621Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-25T15:15:40.621Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T15:15:40.621Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T15:15:40.621Z] OK: 112 MiB in 101 packages [2023-07-25T15:15:43.303Z] Removing intermediate container db18ed350c72 [2023-07-25T15:15:43.303Z] ---> 6efd41bc45d3 [2023-07-25T15:15:43.303Z] Step 18/36 : WORKDIR / [2023-07-25T15:15:43.303Z] ---> Running in 1967fe6e343b [2023-07-25T15:15:43.568Z] Removing intermediate container 1967fe6e343b [2023-07-25T15:15:43.568Z] ---> 97b083152135 [2023-07-25T15:15:43.568Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-25T15:15:44.136Z] ---> b5d394d1a13c [2023-07-25T15:15:44.136Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-25T15:15:44.396Z] ---> a46627b1ba66 [2023-07-25T15:15:44.396Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-25T15:15:44.396Z] ---> 1f8394dd5fbd [2023-07-25T15:15:44.396Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-25T15:15:44.655Z] ---> 05ac19bf0c0e [2023-07-25T15:15:44.655Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-25T15:15:44.655Z] ---> c4727266d31c [2023-07-25T15:15:44.655Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-25T15:15:44.655Z] ---> 5eb26b6461ab [2023-07-25T15:15:44.655Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-25T15:15:45.589Z] ---> ef193af73a60 [2023-07-25T15:15:45.589Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-25T15:15:45.589Z] ---> Running in f6690496b7a8 [2023-07-25T15:15:45.847Z] Removing intermediate container f6690496b7a8 [2023-07-25T15:15:45.847Z] ---> 94c822dd1017 [2023-07-25T15:15:45.847Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-25T15:15:45.847Z] ---> Running in 94c996d5d5ef [2023-07-25T15:15:46.414Z] Removing intermediate container 94c996d5d5ef [2023-07-25T15:15:46.414Z] ---> 5ca62db32596 [2023-07-25T15:15:46.414Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-25T15:15:46.414Z] ---> Running in 142e90177a7b [2023-07-25T15:15:46.979Z] Removing intermediate container 142e90177a7b [2023-07-25T15:15:46.980Z] ---> 98bbbc972111 [2023-07-25T15:15:46.980Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-25T15:15:46.980Z] ---> Running in c91fe809719e [2023-07-25T15:15:47.550Z] Removing intermediate container c91fe809719e [2023-07-25T15:15:47.550Z] ---> bc66c2d3f08c [2023-07-25T15:15:47.550Z] Step 30/36 : EXPOSE 59983 [2023-07-25T15:15:47.550Z] ---> Running in d489a009349b [2023-07-25T15:15:47.550Z] Removing intermediate container d489a009349b [2023-07-25T15:15:47.550Z] ---> 7e36f86751a8 [2023-07-25T15:15:47.550Z] Step 31/36 : EXPOSE 8554 [2023-07-25T15:15:47.550Z] ---> Running in 32a488d13558 [2023-07-25T15:15:47.550Z] Removing intermediate container 32a488d13558 [2023-07-25T15:15:47.550Z] ---> a3980459dc9d [2023-07-25T15:15:47.550Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-25T15:15:47.550Z] ---> Running in 909724333feb [2023-07-25T15:15:47.809Z] Removing intermediate container 909724333feb [2023-07-25T15:15:47.809Z] ---> 4e01f356b37e [2023-07-25T15:15:47.809Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-25T15:15:47.809Z] ---> Running in c0ef0ffbf9e1 [2023-07-25T15:15:47.809Z] Removing intermediate container c0ef0ffbf9e1 [2023-07-25T15:15:47.809Z] ---> 40b140adecdd [2023-07-25T15:15:47.809Z] Step 34/36 : LABEL arch=amd64 [2023-07-25T15:15:47.809Z] ---> Running in 98871e51e4b5 [2023-07-25T15:15:47.809Z] Removing intermediate container 98871e51e4b5 [2023-07-25T15:15:47.809Z] ---> 14b845092ba6 [2023-07-25T15:15:47.809Z] Step 35/36 : LABEL git_sha=83e9707236a128b7f24f90fff0386f1429231f2e [2023-07-25T15:15:47.809Z] ---> Running in 42fb726d4262 [2023-07-25T15:15:48.069Z] Removing intermediate container 42fb726d4262 [2023-07-25T15:15:48.069Z] ---> 39fb8e3e1d9a [2023-07-25T15:15:48.069Z] Step 36/36 : LABEL version=0.0.0 [2023-07-25T15:15:48.069Z] ---> Running in 3899dc144b56 [2023-07-25T15:15:48.069Z] Removing intermediate container 3899dc144b56 [2023-07-25T15:15:48.069Z] ---> a6a68aec41ba [2023-07-25T15:15:48.069Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-25T15:15:48.069Z] Successfully built a6a68aec41ba [2023-07-25T15:15:48.069Z] 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-25T15:15:48.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T15:15:48.512Z] [2023-07-25T15:15:48.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:15:48.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T15:15:48.816Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-25T15:15:48.816Z] 5eb5b503b376: Pulling fs layer [2023-07-25T15:15:48.816Z] 5c69ac0246d0: Pulling fs layer [2023-07-25T15:15:48.816Z] ec43610c2a17: Pulling fs layer [2023-07-25T15:15:48.816Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-25T15:15:48.816Z] 33b1e0a273af: Pulling fs layer [2023-07-25T15:15:48.816Z] 5d3b04190fa2: Pulling fs layer [2023-07-25T15:15:48.816Z] 2f39f015ded8: Pulling fs layer [2023-07-25T15:15:48.816Z] 3a2ae6a8a46f: Waiting [2023-07-25T15:15:48.816Z] 5d3b04190fa2: Waiting [2023-07-25T15:15:48.816Z] 2f39f015ded8: Waiting [2023-07-25T15:15:48.816Z] 33b1e0a273af: Waiting [2023-07-25T15:15:48.816Z] 5c69ac0246d0: Download complete [2023-07-25T15:15:48.816Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-25T15:15:48.816Z] 3a2ae6a8a46f: Download complete [2023-07-25T15:15:48.816Z] ec43610c2a17: Verifying Checksum [2023-07-25T15:15:48.816Z] ec43610c2a17: Download complete [2023-07-25T15:15:48.816Z] 33b1e0a273af: Verifying Checksum [2023-07-25T15:15:48.816Z] 33b1e0a273af: Download complete [2023-07-25T15:15:48.816Z] 5d3b04190fa2: Verifying Checksum [2023-07-25T15:15:48.816Z] 5d3b04190fa2: Download complete [2023-07-25T15:15:49.075Z] 5eb5b503b376: Verifying Checksum [2023-07-25T15:15:49.075Z] 5eb5b503b376: Download complete [2023-07-25T15:15:49.639Z] 2f39f015ded8: Download complete [2023-07-25T15:15:50.207Z] 5eb5b503b376: Pull complete [2023-07-25T15:15:50.207Z] 5c69ac0246d0: Pull complete [2023-07-25T15:15:50.776Z] ec43610c2a17: Pull complete [2023-07-25T15:15:50.776Z] 3a2ae6a8a46f: Pull complete [2023-07-25T15:15:51.034Z] 33b1e0a273af: Pull complete [2023-07-25T15:15:51.034Z] 5d3b04190fa2: Pull complete [2023-07-25T15:15:55.216Z] 2f39f015ded8: Pull complete [2023-07-25T15:15:55.216Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-25T15:15:55.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T15:15:55.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:15:55.297Z] prd-ubuntu20.04-docker-8c-8g-2078 does not seem to be running inside a container [2023-07-25T15:15:55.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-25T15:15:58.605Z] $ docker top fade0c43d0ceb736f6e544e7232e7b8fa8c697452b98777c3ca5ff609f904a47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:15:58.981Z] ---> job-cost.sh [2023-07-25T15:15:58.981Z] lf-activate-venv: SKIPPING [2023-07-25T15:15:58.981Z] INFO: No Stack... [2023-07-25T15:15:59.240Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-25T15:15:59.499Z] INFO: Archiving Costs [Pipeline] sh [2023-07-25T15:15:59.789Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-25T15:15:59.789Z] + cut -d, -f6 [Pipeline] lock [2023-07-25T15:15:59.802Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] [2023-07-25T15:15:59.808Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] did not exist. Created. [2023-07-25T15:15:59.808Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-25T15:16:00.117Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-25T15:16:00.152Z] Stashed 1 file(s) [Pipeline] } [2023-07-25T15:16:00.159Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-25T15:16:00.186Z] $ docker stop --time=1 fade0c43d0ceb736f6e544e7232e7b8fa8c697452b98777c3ca5ff609f904a47 [2023-07-25T15:16:01.329Z] $ docker rm -f --volumes fade0c43d0ceb736f6e544e7232e7b8fa8c697452b98777c3ca5ff609f904a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-25T15:17:33.547Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2079 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-25T15:17:33.564Z] Running in /w/workspace/device-usb-camera/15 [Pipeline] { [Pipeline] checkout [2023-07-25T15:17:33.604Z] Selected Git installation does not exist. Using Default [2023-07-25T15:17:33.604Z] The recommended git tool is: NONE [2023-07-25T15:17:39.616Z] using credential edgex-jenkins-ssh [2023-07-25T15:17:39.634Z] Cloning the remote Git repository [2023-07-25T15:17:39.686Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-25T15:17:39.795Z] > git init /w/workspace/device-usb-camera/15 # timeout=10 [2023-07-25T15:17:39.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-25T15:17:39.965Z] > git --version # timeout=10 [2023-07-25T15:17:39.988Z] > git --version # 'git version 2.25.1' [2023-07-25T15:17:39.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T15:17:40.160Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-25T15:17:41.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-25T15:17:41.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-25T15:17:42.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-25T15:17:42.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-25T15:17:42.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T15:17:42.140Z] > 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-25T15:17:44.524Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 83e9707236a128b7f24f90fff0386f1429231f2e [2023-07-25T15:17:44.796Z] Merge succeeded, producing 83e9707236a128b7f24f90fff0386f1429231f2e [2023-07-25T15:17:44.797Z] Checking out Revision 83e9707236a128b7f24f90fff0386f1429231f2e (PR-265) [2023-07-25T15:17:45.176Z] Commit message: "feat: change query parameter" [2023-07-25T15:17:44.544Z] > git config core.sparsecheckout # timeout=10 [2023-07-25T15:17:44.628Z] > git checkout -f 83e9707236a128b7f24f90fff0386f1429231f2e # timeout=10 [2023-07-25T15:17:44.706Z] > git remote # timeout=10 [2023-07-25T15:17:44.724Z] > git config --get remote.origin.url # timeout=10 [2023-07-25T15:17:44.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T15:17:44.759Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-25T15:17:44.780Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-25T15:17:44.805Z] > git config core.sparsecheckout # timeout=10 [2023-07-25T15:17:44.817Z] > git checkout -f 83e9707236a128b7f24f90fff0386f1429231f2e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T15:17:46.010Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-25T15:17:46.010Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T15:17:46.010Z] Dload Upload Total Spent Left Speed [2023-07-25T15:17:46.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66759 0 --:--:-- --:--:-- --:--:-- 67110 [Pipeline] sh [2023-07-25T15:17:46.601Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-25T15:17:46.931Z] + sudo tee /etc/docker/daemon.new [2023-07-25T15:17:46.932Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-25T15:17:46.932Z] { [2023-07-25T15:17:46.932Z] "registry-mirrors": [ [2023-07-25T15:17:46.932Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-25T15:17:46.932Z] ], [2023-07-25T15:17:46.932Z] "bip": "10.250.0.254/24", [2023-07-25T15:17:46.932Z] "hosts": [ [2023-07-25T15:17:46.932Z] "tcp://0.0.0.0:5555", [2023-07-25T15:17:46.932Z] "unix:///var/run/docker.sock" [2023-07-25T15:17:46.932Z] ], [2023-07-25T15:17:46.932Z] "mtu": 1458, [2023-07-25T15:17:46.932Z] "selinux-enabled": true, [2023-07-25T15:17:46.932Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-25T15:17:46.932Z] } [Pipeline] sh [2023-07-25T15:17:47.254Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-25T15:17:47.594Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T15:18:05.860Z] provisioning config files... [2023-07-25T15:18:05.882Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/15@tmp/config10281931937411596912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:18:06.218Z] ---> docker-login.sh [2023-07-25T15:18:06.218Z] nexus3.edgexfoundry.org:10001 [2023-07-25T15:18:06.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:18:06.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:18:06.754Z] Configure a credential helper to remove this warning. See [2023-07-25T15:18:06.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:18:06.754Z] [2023-07-25T15:18:06.754Z] Login Succeeded [2023-07-25T15:18:06.754Z] nexus3.edgexfoundry.org:10002 [2023-07-25T15:18:07.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:18:07.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:18:07.025Z] Configure a credential helper to remove this warning. See [2023-07-25T15:18:07.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:18:07.025Z] [2023-07-25T15:18:07.025Z] Login Succeeded [2023-07-25T15:18:07.025Z] nexus3.edgexfoundry.org:10003 [2023-07-25T15:18:07.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:18:07.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:18:07.563Z] Configure a credential helper to remove this warning. See [2023-07-25T15:18:07.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:18:07.563Z] [2023-07-25T15:18:07.563Z] Login Succeeded [2023-07-25T15:18:07.563Z] nexus3.edgexfoundry.org:10004 [2023-07-25T15:18:07.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:18:07.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:18:07.832Z] Configure a credential helper to remove this warning. See [2023-07-25T15:18:07.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:18:07.832Z] [2023-07-25T15:18:07.832Z] Login Succeeded [2023-07-25T15:18:07.832Z] docker.io [2023-07-25T15:18:08.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T15:18:08.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T15:18:08.368Z] Configure a credential helper to remove this warning. See [2023-07-25T15:18:08.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T15:18:08.368Z] [2023-07-25T15:18:08.368Z] Login Succeeded [2023-07-25T15:18:08.368Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T15:18:08.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-25T15:18:08.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T15:18:08.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T15:18:08.701Z] ========================================================= [2023-07-25T15:18:08.701Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-25T15:18:08.701Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:18:09.052Z] + 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-25T15:18:09.321Z] Sending build context to Docker daemon 1.252MB [2023-07-25T15:18:09.321Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T15:18:09.321Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-25T15:18:12.700Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-25T15:18:12.700Z] edb6bdbacee9: Pulling fs layer [2023-07-25T15:18:12.700Z] 5f9638ab2659: Pulling fs layer [2023-07-25T15:18:12.700Z] 8d51d6327a98: Pulling fs layer [2023-07-25T15:18:12.700Z] 8b374f2dd631: Pulling fs layer [2023-07-25T15:18:12.700Z] ec14aa9079de: Pulling fs layer [2023-07-25T15:18:12.700Z] 2f466654f4bb: Pulling fs layer [2023-07-25T15:18:12.700Z] 554e91adad29: Pulling fs layer [2023-07-25T15:18:12.700Z] ec14aa9079de: Waiting [2023-07-25T15:18:12.700Z] 2f466654f4bb: Waiting [2023-07-25T15:18:12.700Z] 554e91adad29: Waiting [2023-07-25T15:18:12.700Z] 8b374f2dd631: Waiting [2023-07-25T15:18:12.700Z] 5f9638ab2659: Download complete [2023-07-25T15:18:12.700Z] 8b374f2dd631: Verifying Checksum [2023-07-25T15:18:12.700Z] 8b374f2dd631: Download complete [2023-07-25T15:18:12.700Z] ec14aa9079de: Download complete [2023-07-25T15:18:12.700Z] edb6bdbacee9: Verifying Checksum [2023-07-25T15:18:12.700Z] edb6bdbacee9: Download complete [2023-07-25T15:18:13.674Z] edb6bdbacee9: Pull complete [2023-07-25T15:18:13.945Z] 554e91adad29: Verifying Checksum [2023-07-25T15:18:13.945Z] 554e91adad29: Download complete [2023-07-25T15:18:14.536Z] 5f9638ab2659: Pull complete [2023-07-25T15:18:15.127Z] 8d51d6327a98: Verifying Checksum [2023-07-25T15:18:15.395Z] 2f466654f4bb: Verifying Checksum [2023-07-25T15:18:15.395Z] 2f466654f4bb: Download complete [2023-07-25T15:18:27.726Z] 8d51d6327a98: Pull complete [2023-07-25T15:18:27.726Z] 8b374f2dd631: Pull complete [2023-07-25T15:18:27.726Z] ec14aa9079de: Pull complete [2023-07-25T15:18:34.493Z] 2f466654f4bb: Pull complete [2023-07-25T15:18:36.441Z] 554e91adad29: Pull complete [2023-07-25T15:18:36.441Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-25T15:18:36.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-25T15:18:36.441Z] ---> 1e15ea492957 [2023-07-25T15:18:36.441Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-25T15:18:37.403Z] ---> Running in 1aa902673b4a [2023-07-25T15:18:37.403Z] Removing intermediate container 1aa902673b4a [2023-07-25T15:18:37.403Z] ---> 7ec3838baaf9 [2023-07-25T15:18:37.403Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T15:18:37.673Z] ---> Running in e18dde24632a [2023-07-25T15:18:37.942Z] Removing intermediate container e18dde24632a [2023-07-25T15:18:37.942Z] ---> 36fdbb70f694 [2023-07-25T15:18:37.942Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T15:18:37.942Z] ---> Running in 0ef848af5bc3 [2023-07-25T15:18:38.210Z] Removing intermediate container 0ef848af5bc3 [2023-07-25T15:18:38.210Z] ---> bd7f3f7c365a [2023-07-25T15:18:38.210Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T15:18:38.210Z] ---> Running in de080d2e2d46 [2023-07-25T15:18:38.796Z] Removing intermediate container de080d2e2d46 [2023-07-25T15:18:38.796Z] ---> c3594e22596f [2023-07-25T15:18:38.796Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T15:18:38.796Z] ---> Running in 299b64aad2c8 [2023-07-25T15:18:39.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-25T15:18:40.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-25T15:18:41.305Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-25T15:18:41.305Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-25T15:18:41.305Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T15:18:41.305Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T15:18:41.305Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-25T15:18:41.305Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-25T15:18:41.305Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-25T15:18:41.305Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-25T15:18:41.305Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-25T15:18:41.305Z] (10/14) Installing kmod-libs (30-r1) [2023-07-25T15:18:41.305Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-25T15:18:41.587Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-25T15:18:41.587Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-25T15:18:41.587Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-25T15:18:41.587Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T15:18:41.587Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T15:18:41.587Z] OK: 271 MiB in 67 packages [2023-07-25T15:18:43.000Z] Removing intermediate container 299b64aad2c8 [2023-07-25T15:18:43.000Z] ---> 3396fc6d3921 [2023-07-25T15:18:43.000Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-25T15:18:43.000Z] ---> Running in dcd7a96949a7 [2023-07-25T15:18:43.267Z] Removing intermediate container dcd7a96949a7 [2023-07-25T15:18:43.267Z] ---> 83a6a48a7758 [2023-07-25T15:18:43.267Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-25T15:18:43.534Z] ---> cb51ceaf3a06 [2023-07-25T15:18:43.534Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T15:18:43.802Z] ---> Running in dee58d70d6ae [2023-07-25T15:19:51.700Z] Removing intermediate container dee58d70d6ae [2023-07-25T15:19:51.700Z] ---> 9678a1d24aa7 [2023-07-25T15:19:51.700Z] Step 11/13 : COPY . . [2023-07-25T15:19:51.700Z] ---> f3f572571a63 [2023-07-25T15:19:51.700Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T15:19:51.700Z] ---> Running in 037c80bef54c [2023-07-25T15:19:51.700Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T15:19:51.700Z] Dload Upload Total Spent Left  Speed [2023-07-25T15:19:51.700Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3240 0 --:--:-- --:--:-- --:--:-- 3237 [2023-07-25T15:19:51.700Z] Removing intermediate container 037c80bef54c [2023-07-25T15:19:51.700Z] ---> d2f1f4d0cdaa [2023-07-25T15:19:51.700Z] Step 13/13 : RUN ${MAKE} [2023-07-25T15:19:51.700Z] ---> Running in 44a704f5a8bf [2023-07-25T15:19:51.700Z] noop [2023-07-25T15:19:51.701Z] Removing intermediate container 44a704f5a8bf [2023-07-25T15:19:51.701Z] ---> 1147ac4841e0 [2023-07-25T15:19:51.701Z] Successfully built 1147ac4841e0 [2023-07-25T15:19:51.701Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:19:52.040Z] + docker inspect -f . ci-base-image-arm64 [2023-07-25T15:19:52.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:19:52.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-2079 does not seem to be running inside a container [2023-07-25T15:19:52.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/15 -v /w/workspace/device-usb-camera/15:/w/workspace/device-usb-camera/15:rw,z -v /w/workspace/device-usb-camera/15@tmp:/w/workspace/device-usb-camera/15@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-25T15:19:53.358Z] $ docker top 206c67f21d523b50eb563b21a215a37f315c7f8f66ec71121ae1df37962a7b08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T15:19:54.166Z] + go version [2023-07-25T15:19:54.166Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-25T15:19:54.183Z] $ docker stop --time=1 206c67f21d523b50eb563b21a215a37f315c7f8f66ec71121ae1df37962a7b08 [2023-07-25T15:19:55.718Z] $ docker rm -f --volumes 206c67f21d523b50eb563b21a215a37f315c7f8f66ec71121ae1df37962a7b08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:19:56.234Z] + docker inspect -f . ci-base-image-arm64 [2023-07-25T15:19:56.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:19:56.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-2079 does not seem to be running inside a container [2023-07-25T15:19:56.453Z] $ 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/15 -v /w/workspace/device-usb-camera/15:/w/workspace/device-usb-camera/15:rw,z -v /w/workspace/device-usb-camera/15@tmp:/w/workspace/device-usb-camera/15@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-25T15:20:00.104Z] $ docker top 47f3061cfafe16967ab65d9c62e5b9a5aaaacc8a90a06cc721bb60b6a0656917 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T15:20:00.588Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/15 [Pipeline] fileExists [Pipeline] sh [2023-07-25T15:20:00.914Z] + make test [2023-07-25T15:20:00.914Z] go test ./... -coverprofile=coverage.out ./... [2023-07-25T15:20:33.181Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-25T15:22:24.812Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-25T15:22:34.882Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.090s coverage: 3.6% of statements [2023-07-25T15:22:35.463Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-25T15:22:35.463Z] go vet ./... [2023-07-25T15:23:14.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-25T15:23:14.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-25T15:23:14.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-25T15:23:14.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-25T15:23:14.406Z] $ docker stop --time=1 47f3061cfafe16967ab65d9c62e5b9a5aaaacc8a90a06cc721bb60b6a0656917 [2023-07-25T15:23:16.140Z] $ docker rm -f --volumes 47f3061cfafe16967ab65d9c62e5b9a5aaaacc8a90a06cc721bb60b6a0656917 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T15:23:17.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-25T15:23:17.260Z] Warning: overwriting stash ‘coverage-report’ [2023-07-25T15:23:17.687Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T15:23:18.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-25T15:23:18.392Z] + ls -al . [2023-07-25T15:23:18.392Z] total 200 [2023-07-25T15:23:18.392Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 15:20 . [2023-07-25T15:23:18.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 15:17 .. [2023-07-25T15:23:18.392Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 15:17 .git [2023-07-25T15:23:18.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 15:17 .github [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 25 15:17 .gitignore [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 25 15:17 .golangci.yml [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 25 15:17 .hadolint.yml [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 25 15:17 Attribution.txt [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 25 15:17 CHANGELOG.md [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 25 15:17 Dockerfile [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 25 15:17 GOVERNANCE.md [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 25 15:17 Jenkinsfile [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 25 15:17 LICENSE [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 25 15:17 Makefile [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 15:17 OWNERS.md [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 25 15:17 README.md [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 15:13 VERSION [2023-07-25T15:23:18.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 15:17 bin [2023-07-25T15:23:18.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 15:17 cmd [2023-07-25T15:23:18.392Z] -rw-r--r-- 1 jenkins jenkins 42931 Jul 25 15:22 coverage.out [2023-07-25T15:23:18.392Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 25 15:17 docker-entrypoint.sh [2023-07-25T15:23:18.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 15:17 docs [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 25 15:17 go.mod [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 25 15:17 go.sum [2023-07-25T15:23:18.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 15:17 internal [2023-07-25T15:23:18.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 15:17 snap [2023-07-25T15:23:18.392Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 25 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:23:18.744Z] + 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=83e9707236a128b7f24f90fff0386f1429231f2e --label arch=arm64 --label version=0.0.0 . [2023-07-25T15:23:19.011Z] Sending build context to Docker daemon 1.295MB [2023-07-25T15:23:19.011Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T15:23:19.011Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-25T15:23:19.011Z] ---> 1147ac4841e0 [2023-07-25T15:23:19.011Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-25T15:23:20.419Z] ---> Running in e342c3a99f75 [2023-07-25T15:23:20.419Z] Removing intermediate container e342c3a99f75 [2023-07-25T15:23:20.419Z] ---> e2a287520cf9 [2023-07-25T15:23:20.419Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T15:23:20.419Z] ---> Running in d27202c8890a [2023-07-25T15:23:20.690Z] Removing intermediate container d27202c8890a [2023-07-25T15:23:20.690Z] ---> ab31063ca0ad [2023-07-25T15:23:20.690Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T15:23:20.690Z] ---> Running in d2d6088f097a [2023-07-25T15:23:20.962Z] Removing intermediate container d2d6088f097a [2023-07-25T15:23:20.962Z] ---> cb537ffb20cb [2023-07-25T15:23:20.962Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T15:23:21.228Z] ---> Running in 2ce485a871ea [2023-07-25T15:23:21.496Z] Removing intermediate container 2ce485a871ea [2023-07-25T15:23:21.496Z] ---> 7b090f788e76 [2023-07-25T15:23:21.496Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T15:23:21.496Z] ---> Running in 2897dc74d72c [2023-07-25T15:23:22.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-25T15:23:25.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-25T15:23:26.372Z] OK: 271 MiB in 67 packages [2023-07-25T15:23:27.339Z] Removing intermediate container 2897dc74d72c [2023-07-25T15:23:27.339Z] ---> 81d4e67a8512 [2023-07-25T15:23:27.339Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-25T15:23:27.339Z] ---> Running in 3d4a2771f109 [2023-07-25T15:23:27.607Z] Removing intermediate container 3d4a2771f109 [2023-07-25T15:23:27.607Z] ---> a94fe5ac05dc [2023-07-25T15:23:27.607Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-25T15:23:28.196Z] ---> 97580a4e43b8 [2023-07-25T15:23:28.196Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T15:23:28.196Z] ---> Running in bb8eb695f140 [2023-07-25T15:23:30.777Z] Removing intermediate container bb8eb695f140 [2023-07-25T15:23:30.777Z] ---> a91f79e23dd4 [2023-07-25T15:23:30.777Z] Step 11/36 : COPY . . [2023-07-25T15:23:34.117Z] ---> 27bff7d55ec1 [2023-07-25T15:23:34.117Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T15:23:34.385Z] ---> Running in 76648a675f9f [2023-07-25T15:23:35.354Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T15:23:35.354Z] Dload Upload Total Spent Left Speed [2023-07-25T15:23:35.354Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 4411 0 --:--:-- --:--:-- --:--:-- 4425 [2023-07-25T15:23:35.937Z] Removing intermediate container 76648a675f9f [2023-07-25T15:23:35.937Z] ---> 0a4d9c296b88 [2023-07-25T15:23:35.937Z] Step 13/36 : RUN ${MAKE} [2023-07-25T15:23:36.209Z] ---> Running in 182c8f32c10e [2023-07-25T15:23:37.169Z] 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-25T15:25:58.849Z] Removing intermediate container 182c8f32c10e [2023-07-25T15:25:58.849Z] ---> 0b617965f0d0 [2023-07-25T15:25:58.849Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-25T15:25:58.849Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-25T15:25:58.849Z] 8766b47fe142: Pulling fs layer [2023-07-25T15:25:58.849Z] 8766b47fe142: Download complete [2023-07-25T15:25:58.849Z] 8766b47fe142: Pull complete [2023-07-25T15:25:58.849Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-25T15:25:58.849Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-25T15:25:58.849Z] ---> 69d40e2cb93c [2023-07-25T15:25:58.849Z] Step 15/36 : FROM alpine:3.17 [2023-07-25T15:25:58.849Z] 3.17: Pulling from library/alpine [2023-07-25T15:25:58.849Z] edb6bdbacee9: Already exists [2023-07-25T15:25:59.115Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-25T15:25:59.115Z] Status: Downloaded newer image for alpine:3.17 [2023-07-25T15:25:59.115Z] ---> 779605e5fbc0 [2023-07-25T15:25:59.115Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-25T15:25:59.115Z] ---> Running in 030a940dd1b3 [2023-07-25T15:25:59.390Z] Removing intermediate container 030a940dd1b3 [2023-07-25T15:25:59.390Z] ---> f11e7d4d0cf2 [2023-07-25T15:25:59.390Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-25T15:25:59.658Z] ---> Running in 6a0ab1e55a23 [2023-07-25T15:26:00.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-25T15:26:01.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-25T15:26:02.183Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-25T15:26:02.183Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-25T15:26:02.183Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-25T15:26:02.183Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-25T15:26:02.183Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-25T15:26:02.183Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-25T15:26:02.183Z] (7/83) Installing libxcb (1.15-r0) [2023-07-25T15:26:02.183Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-25T15:26:02.451Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-25T15:26:02.451Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-25T15:26:02.718Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-25T15:26:02.718Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-25T15:26:02.718Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-25T15:26:02.718Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-25T15:26:02.718Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-25T15:26:02.718Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-25T15:26:02.718Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-25T15:26:02.718Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-25T15:26:02.718Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-25T15:26:02.718Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-25T15:26:02.718Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-25T15:26:02.718Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-25T15:26:02.718Z] (23/83) Installing glib (2.74.7-r0) [2023-07-25T15:26:02.985Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-25T15:26:02.986Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-25T15:26:02.986Z] (26/83) Installing libass (0.16.0-r1) [2023-07-25T15:26:02.986Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-25T15:26:02.986Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-25T15:26:02.986Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-25T15:26:02.986Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-25T15:26:02.986Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-25T15:26:02.986Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-25T15:26:03.271Z] (33/83) Installing libunistring (1.1-r0) [2023-07-25T15:26:03.271Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-25T15:26:03.271Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-25T15:26:03.271Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-25T15:26:03.271Z] (37/83) Installing lame (3.100-r2) [2023-07-25T15:26:03.271Z] (38/83) Installing opus (1.3.1-r1) [2023-07-25T15:26:03.271Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-25T15:26:03.271Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-25T15:26:03.271Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-25T15:26:03.271Z] (42/83) Installing orc (0.4.33-r0) [2023-07-25T15:26:03.271Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-25T15:26:03.271Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-25T15:26:03.271Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-25T15:26:03.538Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-25T15:26:03.538Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-25T15:26:03.538Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-25T15:26:03.538Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-25T15:26:03.538Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-25T15:26:03.538Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-25T15:26:03.538Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-25T15:26:03.538Z] (53/83) Installing libpulse (16.1-r6) [2023-07-25T15:26:03.538Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-25T15:26:03.538Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-25T15:26:03.538Z] (56/83) Installing librist (0.2.7-r0) [2023-07-25T15:26:03.538Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-25T15:26:03.538Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-25T15:26:03.538Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-25T15:26:03.538Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T15:26:03.538Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T15:26:03.804Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-25T15:26:03.804Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-25T15:26:03.804Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-25T15:26:03.804Z] (65/83) Installing libva (2.16.0-r0) [2023-07-25T15:26:03.804Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-25T15:26:03.804Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-25T15:26:03.804Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-25T15:26:03.804Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-25T15:26:03.804Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-25T15:26:03.804Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-25T15:26:03.804Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-25T15:26:04.072Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-25T15:26:04.072Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-25T15:26:04.072Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-25T15:26:04.072Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-25T15:26:04.357Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-25T15:26:04.357Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-25T15:26:04.357Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-25T15:26:04.627Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-25T15:26:04.627Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-25T15:26:04.627Z] (82/83) Installing kmod-libs (30-r1) [2023-07-25T15:26:04.627Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-25T15:26:04.627Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T15:26:04.627Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T15:26:04.627Z] OK: 86 MiB in 98 packages [2023-07-25T15:26:07.984Z] Removing intermediate container 6a0ab1e55a23 [2023-07-25T15:26:07.984Z] ---> 478a06f4319e [2023-07-25T15:26:07.984Z] Step 18/36 : WORKDIR / [2023-07-25T15:26:07.984Z] ---> Running in 001ba7197ba6 [2023-07-25T15:26:07.984Z] Removing intermediate container 001ba7197ba6 [2023-07-25T15:26:07.984Z] ---> d98660a81e85 [2023-07-25T15:26:07.984Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-25T15:26:09.392Z] ---> c8e15b050b30 [2023-07-25T15:26:09.392Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-25T15:26:09.977Z] ---> 34756eac0743 [2023-07-25T15:26:09.977Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-25T15:26:10.246Z] ---> c255884bd677 [2023-07-25T15:26:10.247Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-25T15:26:10.924Z] ---> a5d702bde053 [2023-07-25T15:26:10.924Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-25T15:26:11.522Z] ---> a1fb4e3562ea [2023-07-25T15:26:11.522Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-25T15:26:11.792Z] ---> 9db2f08c450d [2023-07-25T15:26:11.792Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-25T15:26:13.284Z] ---> 3767b9853715 [2023-07-25T15:26:13.284Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-25T15:26:13.284Z] ---> Running in 2eacbae8475a [2023-07-25T15:26:15.279Z] Removing intermediate container 2eacbae8475a [2023-07-25T15:26:15.279Z] ---> 0ac9c9191e08 [2023-07-25T15:26:15.279Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-25T15:26:15.279Z] ---> Running in 932057f419d7 [2023-07-25T15:26:18.627Z] Removing intermediate container 932057f419d7 [2023-07-25T15:26:18.627Z] ---> f963aa4292f8 [2023-07-25T15:26:18.627Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-25T15:26:18.627Z] ---> Running in 755daea839e7 [2023-07-25T15:26:20.035Z] Removing intermediate container 755daea839e7 [2023-07-25T15:26:20.035Z] ---> a441c91559bd [2023-07-25T15:26:20.035Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-25T15:26:20.035Z] ---> Running in d74d47001bc9 [2023-07-25T15:26:21.975Z] Removing intermediate container d74d47001bc9 [2023-07-25T15:26:21.975Z] ---> 2f8c62b7eb82 [2023-07-25T15:26:21.975Z] Step 30/36 : EXPOSE 59983 [2023-07-25T15:26:21.975Z] ---> Running in f0aba04ed0f6 [2023-07-25T15:26:21.975Z] Removing intermediate container f0aba04ed0f6 [2023-07-25T15:26:21.975Z] ---> b491c29af0b8 [2023-07-25T15:26:21.975Z] Step 31/36 : EXPOSE 8554 [2023-07-25T15:26:21.975Z] ---> Running in 38472238a0e8 [2023-07-25T15:26:22.241Z] Removing intermediate container 38472238a0e8 [2023-07-25T15:26:22.242Z] ---> 6818986df99c [2023-07-25T15:26:22.242Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-25T15:26:22.242Z] ---> Running in 5f5278a7aaf0 [2023-07-25T15:26:22.522Z] Removing intermediate container 5f5278a7aaf0 [2023-07-25T15:26:22.522Z] ---> 3a90bca33402 [2023-07-25T15:26:22.522Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-25T15:26:22.790Z] ---> Running in 36691354ba9c [2023-07-25T15:26:23.061Z] Removing intermediate container 36691354ba9c [2023-07-25T15:26:23.061Z] ---> 1c0c5df27c53 [2023-07-25T15:26:23.061Z] Step 34/36 : LABEL arch=arm64 [2023-07-25T15:26:23.061Z] ---> Running in 1eafe9f23923 [2023-07-25T15:26:23.328Z] Removing intermediate container 1eafe9f23923 [2023-07-25T15:26:23.328Z] ---> e32b7d055959 [2023-07-25T15:26:23.328Z] Step 35/36 : LABEL git_sha=83e9707236a128b7f24f90fff0386f1429231f2e [2023-07-25T15:26:23.328Z] ---> Running in 86e99513f7a0 [2023-07-25T15:26:23.596Z] Removing intermediate container 86e99513f7a0 [2023-07-25T15:26:23.596Z] ---> c94c752507d9 [2023-07-25T15:26:23.596Z] Step 36/36 : LABEL version=0.0.0 [2023-07-25T15:26:23.868Z] ---> Running in e13e6e4346c2 [2023-07-25T15:26:24.134Z] Removing intermediate container e13e6e4346c2 [2023-07-25T15:26:24.134Z] ---> 222933c7911b [2023-07-25T15:26:24.134Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-25T15:26:24.134Z] Successfully built 222933c7911b [2023-07-25T15:26:24.134Z] 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-25T15:26:24.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T15:26:24.590Z] [2023-07-25T15:26:24.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:26:24.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T15:26:24.923Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-25T15:26:24.923Z] 8998bd30e6a1: Pulling fs layer [2023-07-25T15:26:24.923Z] 04944245beec: Pulling fs layer [2023-07-25T15:26:24.923Z] 699f458cf7ca: Pulling fs layer [2023-07-25T15:26:24.923Z] 765212b225bb: Pulling fs layer [2023-07-25T15:26:24.923Z] f23df028b6ca: Pulling fs layer [2023-07-25T15:26:24.923Z] d65c8cfc05b1: Pulling fs layer [2023-07-25T15:26:24.923Z] 2437ff75d9bd: Pulling fs layer [2023-07-25T15:26:24.923Z] f23df028b6ca: Waiting [2023-07-25T15:26:24.923Z] d65c8cfc05b1: Waiting [2023-07-25T15:26:24.923Z] 2437ff75d9bd: Waiting [2023-07-25T15:26:24.923Z] 765212b225bb: Waiting [2023-07-25T15:26:25.188Z] 04944245beec: Verifying Checksum [2023-07-25T15:26:25.188Z] 04944245beec: Download complete [2023-07-25T15:26:25.188Z] 765212b225bb: Verifying Checksum [2023-07-25T15:26:25.188Z] 765212b225bb: Download complete [2023-07-25T15:26:25.188Z] f23df028b6ca: Verifying Checksum [2023-07-25T15:26:25.188Z] f23df028b6ca: Download complete [2023-07-25T15:26:25.188Z] d65c8cfc05b1: Verifying Checksum [2023-07-25T15:26:25.188Z] d65c8cfc05b1: Download complete [2023-07-25T15:26:25.458Z] 699f458cf7ca: Verifying Checksum [2023-07-25T15:26:25.458Z] 699f458cf7ca: Download complete [2023-07-25T15:26:25.726Z] 8998bd30e6a1: Verifying Checksum [2023-07-25T15:26:25.726Z] 8998bd30e6a1: Download complete [2023-07-25T15:26:27.662Z] 2437ff75d9bd: Verifying Checksum [2023-07-25T15:26:27.662Z] 2437ff75d9bd: Download complete [2023-07-25T15:26:29.623Z] 8998bd30e6a1: Pull complete [2023-07-25T15:26:29.890Z] 04944245beec: Pull complete [2023-07-25T15:26:31.296Z] 699f458cf7ca: Pull complete [2023-07-25T15:26:31.296Z] 765212b225bb: Pull complete [2023-07-25T15:26:32.259Z] f23df028b6ca: Pull complete [2023-07-25T15:26:32.259Z] d65c8cfc05b1: Pull complete [2023-07-25T15:26:47.249Z] 2437ff75d9bd: Pull complete [2023-07-25T15:26:47.250Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-25T15:26:47.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T15:26:47.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:26:47.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-2079 does not seem to be running inside a container [2023-07-25T15:26:47.661Z] $ 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/15 -v /w/workspace/device-usb-camera/15:/w/workspace/device-usb-camera/15:rw,z -v /w/workspace/device-usb-camera/15@tmp:/w/workspace/device-usb-camera/15@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-25T15:26:50.009Z] $ docker top ad75b7d109f5f0b2d7ad592450643d79becf7dd821a0712b6ed4a7c080b2f2ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:26:50.823Z] ---> job-cost.sh [2023-07-25T15:26:50.823Z] lf-activate-venv: SKIPPING [2023-07-25T15:26:50.823Z] INFO: No Stack... [2023-07-25T15:26:51.087Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-25T15:26:52.040Z] INFO: Archiving Costs [Pipeline] sh [2023-07-25T15:26:52.679Z] + cat /w/workspace/device-usb-camera/15/archives/cost.csv [2023-07-25T15:26:52.679Z] + cut -d, -f6 [Pipeline] lock [2023-07-25T15:26:52.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] [2023-07-25T15:26:52.750Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] did not exist. Created. [2023-07-25T15:26:52.750Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-25T15:26:53.126Z] /w/workspace/device-usb-camera/15@tmp/durable-a8894590/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-25T15:26:53.457Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-25T15:26:53.486Z] Warning: overwriting stash ‘stack-cost’ [2023-07-25T15:26:53.535Z] Stashed 1 file(s) [Pipeline] } [2023-07-25T15:26:53.542Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-25T15:26:53.565Z] $ docker stop --time=1 ad75b7d109f5f0b2d7ad592450643d79becf7dd821a0712b6ed4a7c080b2f2ac [2023-07-25T15:26:55.062Z] $ docker rm -f --volumes ad75b7d109f5f0b2d7ad592450643d79becf7dd821a0712b6ed4a7c080b2f2ac [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-25T15:26:55.481Z] provisioning config files... [2023-07-25T15:26:55.488Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13874104477301348001tmp [Pipeline] { [Pipeline] sh [2023-07-25T15:26:55.788Z] + set +x [2023-07-25T15:26:55.788Z] + bash -s -- [2023-07-25T15:26:55.788Z] + curl -s https://codecov.io/bash [2023-07-25T15:26:55.788Z] [2023-07-25T15:26:55.788Z] _____ _ [2023-07-25T15:26:55.788Z] / ____| | | [2023-07-25T15:26:55.788Z] | | ___ __| | ___ ___ _____ __ [2023-07-25T15:26:55.788Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-25T15:26:55.788Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-25T15:26:55.788Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-25T15:26:55.788Z] Bash-1.0.6 [2023-07-25T15:26:55.788Z] [2023-07-25T15:26:55.788Z] [2023-07-25T15:26:55.788Z] ==> git version 2.25.1 found [2023-07-25T15:26:55.788Z] ==> 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-25T15:26:55.788Z] Release-Date: 2020-01-08 [2023-07-25T15:26:55.788Z] 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-25T15:26:55.788Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-25T15:26:55.788Z] ==> Jenkins CI detected. [2023-07-25T15:26:55.788Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-25T15:26:55.788Z] project root: . [2023-07-25T15:26:55.788Z] --> token set from env [2023-07-25T15:26:55.788Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-25T15:26:56.048Z] ==> Running gcov in . (disable via -X gcov) [2023-07-25T15:26:56.048Z] ==> Python coveragepy not found [2023-07-25T15:26:56.048Z] ==> Searching for coverage reports in: [2023-07-25T15:26:56.048Z] + . [2023-07-25T15:26:56.048Z] -> Found 1 reports [2023-07-25T15:26:56.048Z] ==> Detecting git/mercurial file structure [2023-07-25T15:26:56.048Z] ==> Reading reports [2023-07-25T15:26:56.048Z] + ./coverage.out bytes=42931 [2023-07-25T15:26:56.048Z] ==> Appending adjustments [2023-07-25T15:26:56.048Z] https://docs.codecov.io/docs/fixing-reports [2023-07-25T15:26:56.048Z] + Found adjustments [2023-07-25T15:26:56.048Z] ==> Gzipping contents [2023-07-25T15:26:56.048Z] 8.0K /tmp/codecov.YHNQDb.gz [2023-07-25T15:26:56.048Z] ==> Uploading reports [2023-07-25T15:26:56.048Z] url: https://codecov.io [2023-07-25T15:26:56.048Z] query: branch=PR-265&commit=83e9707236a128b7f24f90fff0386f1429231f2e&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-25T15:26:56.048Z] -> Pinging Codecov [2023-07-25T15:26:56.048Z] 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=83e9707236a128b7f24f90fff0386f1429231f2e&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-25T15:26:56.308Z] -> Uploading to [2023-07-25T15:26:56.308Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-25/73D8F5FF140700D3E01443B452E23636/83e9707236a128b7f24f90fff0386f1429231f2e/8ef29e3a-98f9-4bde-9479-803c039f052d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230725%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230725T152656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6ea84b7b27741ab92e8fad130132481e41442bcb993dfd0d88344d477835eb2 [2023-07-25T15:26:56.308Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T15:26:56.308Z] Dload Upload Total Spent Left Speed [2023-07-25T15:26:56.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5671 0 0 100 5671 0 32780 --:--:-- --:--:-- --:--:-- 32780 [2023-07-25T15:26:56.568Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/83e9707236a128b7f24f90fff0386f1429231f2e [Pipeline] } [2023-07-25T15:26:56.579Z] 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-25T15:26:57.286Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-25T15:26:57.286Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-25T15:26:57.286Z] total 16 [2023-07-25T15:26:57.286Z] drwxr-xr-x 3 root root 4096 Jul 25 15:15 . [2023-07-25T15:26:57.286Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 15:15 .. [2023-07-25T15:26:57.286Z] drwxr-xr-x 2 root root 4096 Jul 25 15:15 cost [2023-07-25T15:26:57.286Z] -rw-r--r-- 1 root root 90 Jul 25 15:15 cost.csv [2023-07-25T15:26:57.286Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-25T15:26:57.286Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-25T15:26:57.286Z] total 16 [2023-07-25T15:26:57.286Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 15:15 . [2023-07-25T15:26:57.286Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 15:15 .. [2023-07-25T15:26:57.286Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 15:15 cost [2023-07-25T15:26:57.286Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 25 15:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:26:57.575Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:26:58.433Z] ---> package-listing.sh [2023-07-25T15:26:58.433Z] ++ facter osfamily [2023-07-25T15:26:58.433Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-25T15:26:58.692Z] + OS_FAMILY=debian [2023-07-25T15:26:58.692Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-25T15:26:58.692Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-25T15:26:58.692Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-25T15:26:58.692Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-25T15:26:58.692Z] + PACKAGES=/tmp/packages_start.txt [2023-07-25T15:26:58.692Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-25T15:26:58.692Z] + PACKAGES=/tmp/packages_end.txt [2023-07-25T15:26:58.692Z] + case "${OS_FAMILY}" in [2023-07-25T15:26:58.692Z] + dpkg -l [2023-07-25T15:26:58.692Z] + grep '^ii' [2023-07-25T15:26:58.692Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-25T15:26:58.692Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-25T15:26:58.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-25T15:26:58.692Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-25T15:26:58.692Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-25T15:26:58.692Z] + 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-25T15:26:58.702Z] 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-25T15:26:58.978Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T15:26:59.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T15:26:59.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T15:26:59.611Z] prd-ubuntu20.04-docker-8c-8g-2078 does not seem to be running inside a container [2023-07-25T15:26:59.643Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-25T15:26:59.893Z] $ docker top a960c30840b6aecca107a6059ec50eaaad4c4ae73e054939024f115d0b0da7a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T15:27:00.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-25T15:27:00.527Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-25T15:27:00.814Z] + ls /var/log/sa-host [2023-07-25T15:27:00.814Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T15:27:00.880Z] provisioning config files... [2023-07-25T15:27:00.890Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config5148477397716517753tmp [Pipeline] { [Pipeline] echo [2023-07-25T15:27:00.900Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:27:01.179Z] ---> create-netrc.sh [Pipeline] } [2023-07-25T15:27:01.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:27:01.544Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-25T15:27:01.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:27:01.835Z] ---> sudo-logs.sh [2023-07-25T15:27:01.835Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-25T15:27:01.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:27:02.146Z] ---> job-cost.sh [2023-07-25T15:27:02.146Z] lf-activate-venv: SKIPPING [2023-07-25T15:27:02.146Z] DEBUG: total: 0.2199999988079071 [2023-07-25T15:27:02.146Z] INFO: Retrieving Stack Cost... [2023-07-25T15:27:02.715Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-25T15:27:02.975Z] INFO: Archiving Costs [Pipeline] echo [2023-07-25T15:27:02.987Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T15:27:03.268Z] ---> logs-deploy.sh [2023-07-25T15:27:03.269Z] lf-activate-venv: SKIPPING [2023-07-25T15:27:03.269Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/15 [2023-07-25T15:27:03.269Z] INFO: archiving workspace using pattern(s): [2023-07-25T15:27:04.206Z] Archives upload complete. [2023-07-25T15:27:04.466Z] INFO: archiving logs to Nexus