Pull request #247 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 8bb3237301cd1e7ba1226b3bd0aaf265b839229f rather than 9d6744e79c6bcd2820e5132938f7e9314878e0da Obtained Jenkinsfile from 8bb3237301cd1e7ba1226b3bd0aaf265b839229f 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-ssh11773212473436843507.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12931763024075778995.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-247/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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18314706838951496215.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6939291028700120638.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-247/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-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6720069593769410944.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-15751’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15753 in /w/workspace/foundry_device-usb-camera_PR-247 [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-247 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8bb3237301cd1e7ba1226b3bd0aaf265b839229f into PR head commit 9d6744e79c6bcd2820e5132938f7e9314878e0da Merge succeeded, producing 814d1f9b6aeaea366100a5a2af9d932d74f88426 Checking out Revision 814d1f9b6aeaea366100a5a2af9d932d74f88426 (PR-247) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d6744e79c6bcd2820e5132938f7e9314878e0da # 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 8bb3237301cd1e7ba1226b3bd0aaf265b839229f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 814d1f9b6aeaea366100a5a2af9d932d74f88426 # timeout=10 Commit message: "Merge commit '8bb3237301cd1e7ba1226b3bd0aaf265b839229f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk cde1b6eb591ca961143ac652ea415fa610e89372 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T17:32:45.450Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T17:32:45.532Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T17:32:45.557Z] ========================================================= [2023-05-16T17:32:45.558Z] EdgeX Global Pipelines Version Info [2023-05-16T17:32:45.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:32:46.293Z] ------------------- [2023-05-16T17:32:46.293Z] stable info: [2023-05-16T17:32:46.293Z] ------------------- [2023-05-16T17:32:46.293Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T17:32:46.293Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T17:32:46.293Z] Message: update stable to v1.0.249 [2023-05-16T17:32:46.862Z] ------------------- [2023-05-16T17:32:46.862Z] experimental info: [2023-05-16T17:32:46.862Z] ------------------- [2023-05-16T17:32:46.862Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T17:32:46.862Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T17:32:46.862Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T17:32:47.069Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-16T17:32:47.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-16T17:32:47.111Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T17:32:47.129Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T17:32:47.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T17:32:47.165Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T17:32:47.183Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T17:32:47.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T17:32:47.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T17:32:47.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T17:32:47.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T17:32:47.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-16T17:32:47.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T17:32:47.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T17:32:47.326Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T17:32:47.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T17:32:47.363Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T17:32:47.383Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T17:32:47.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T17:32:47.419Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T17:32:47.445Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T17:32:47.463Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T17:32:47.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T17:32:47.500Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T17:32:47.519Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T17:32:47.541Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T17:32:47.562Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T17:32:47.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo [2023-05-16T17:32:47.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo [2023-05-16T17:32:47.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo [2023-05-16T17:32:47.633Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 814d1f9b6aeaea366100a5a2af9d932d74f88426 [Pipeline] echo [2023-05-16T17:32:47.649Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 814d1f9 [Pipeline] echo [2023-05-16T17:32:47.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T17:32:47.732Z] provisioning config files... [2023-05-16T17:32:47.747Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config9379202574863265938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:32:48.055Z] ---> docker-login.sh [2023-05-16T17:32:48.055Z] nexus3.edgexfoundry.org:10001 [2023-05-16T17:32:48.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:32:48.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:32:48.316Z] Configure a credential helper to remove this warning. See [2023-05-16T17:32:48.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:32:48.316Z] [2023-05-16T17:32:48.316Z] Login Succeeded [2023-05-16T17:32:48.316Z] nexus3.edgexfoundry.org:10002 [2023-05-16T17:32:48.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:32:48.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:32:48.576Z] Configure a credential helper to remove this warning. See [2023-05-16T17:32:48.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:32:48.576Z] [2023-05-16T17:32:48.576Z] Login Succeeded [2023-05-16T17:32:48.576Z] nexus3.edgexfoundry.org:10003 [2023-05-16T17:32:48.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:32:48.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:32:48.576Z] Configure a credential helper to remove this warning. See [2023-05-16T17:32:48.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:32:48.576Z] [2023-05-16T17:32:48.576Z] Login Succeeded [2023-05-16T17:32:48.576Z] nexus3.edgexfoundry.org:10004 [2023-05-16T17:32:48.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:32:48.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:32:48.576Z] Configure a credential helper to remove this warning. See [2023-05-16T17:32:48.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:32:48.576Z] [2023-05-16T17:32:48.576Z] Login Succeeded [2023-05-16T17:32:48.576Z] docker.io [2023-05-16T17:32:48.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:32:48.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:32:48.840Z] Configure a credential helper to remove this warning. See [2023-05-16T17:32:48.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:32:48.840Z] [2023-05-16T17:32:48.840Z] Login Succeeded [2023-05-16T17:32:48.840Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T17:32:48.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T17:32:49.230Z] + git rev-list -1 --merges 814d1f9b6aeaea366100a5a2af9d932d74f88426~1..814d1f9b6aeaea366100a5a2af9d932d74f88426 [Pipeline] echo [2023-05-16T17:32:49.270Z] -----------> git rev-list -1 --merges 814d1f9b6aeaea366100a5a2af9d932d74f88426~1..814d1f9b6aeaea366100a5a2af9d932d74f88426 814d1f9b6aeaea366100a5a2af9d932d74f88426 [2023-05-16T17:32:49.270Z] 814d1f9b6aeaea366100a5a2af9d932d74f88426 [false] [Pipeline] sh [2023-05-16T17:32:49.558Z] + git log --format=format:%s -1 814d1f9b6aeaea366100a5a2af9d932d74f88426 [Pipeline] echo [2023-05-16T17:32:49.572Z] ========================================================= [2023-05-16T17:32:49.572Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T17:32:49.572Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T17:32:49.921Z] + git log --format=format:%s -1 814d1f9b6aeaea366100a5a2af9d932d74f88426 [Pipeline] echo [2023-05-16T17:32:49.933Z] [semverPrep] GIT_COMMIT: 814d1f9b6aeaea366100a5a2af9d932d74f88426, Commit Message: Merge commit '8bb3237301cd1e7ba1226b3bd0aaf265b839229f' into HEAD [Pipeline] echo [2023-05-16T17:32:49.943Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T17:32:50.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T17:32:50.342Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T17:32:50.342Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T17:32:50.342Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T17:32:50.342Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T17:32:50.342Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T17:32:50.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:32:50.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T17:32:50.806Z] [2023-05-16T17:32:50.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:32:51.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T17:32:51.113Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T17:32:51.113Z] b85a868b505f: Pulling fs layer [2023-05-16T17:32:51.113Z] e2be974225ed: Pulling fs layer [2023-05-16T17:32:51.113Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T17:32:51.113Z] 988bab9f4d93: Pulling fs layer [2023-05-16T17:32:51.113Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T17:32:51.113Z] eaf3925da568: Pulling fs layer [2023-05-16T17:32:51.113Z] bab4dde63d76: Pulling fs layer [2023-05-16T17:32:51.113Z] bde34c3a00c8: Pulling fs layer [2023-05-16T17:32:51.113Z] b352a97aabf1: Pulling fs layer [2023-05-16T17:32:51.113Z] 4872d77fe225: Pulling fs layer [2023-05-16T17:32:51.113Z] 5851b861e8e6: Pulling fs layer [2023-05-16T17:32:51.113Z] 4872d77fe225: Waiting [2023-05-16T17:32:51.113Z] bab4dde63d76: Waiting [2023-05-16T17:32:51.113Z] b352a97aabf1: Waiting [2023-05-16T17:32:51.113Z] 5851b861e8e6: Waiting [2023-05-16T17:32:51.113Z] 988bab9f4d93: Waiting [2023-05-16T17:32:51.113Z] eaf3925da568: Waiting [2023-05-16T17:32:51.113Z] 1469e6f7b9e6: Waiting [2023-05-16T17:32:51.113Z] e2be974225ed: Download complete [2023-05-16T17:32:51.113Z] 988bab9f4d93: Verifying Checksum [2023-05-16T17:32:51.113Z] 988bab9f4d93: Download complete [2023-05-16T17:32:51.113Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T17:32:51.113Z] 339a4e72a1f5: Download complete [2023-05-16T17:32:51.371Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T17:32:51.371Z] 1469e6f7b9e6: Download complete [2023-05-16T17:32:51.371Z] eaf3925da568: Verifying Checksum [2023-05-16T17:32:51.371Z] eaf3925da568: Download complete [2023-05-16T17:32:51.371Z] bde34c3a00c8: Download complete [2023-05-16T17:32:51.371Z] b352a97aabf1: Verifying Checksum [2023-05-16T17:32:51.371Z] b352a97aabf1: Download complete [2023-05-16T17:32:51.371Z] 4872d77fe225: Download complete [2023-05-16T17:32:51.371Z] 5851b861e8e6: Download complete [2023-05-16T17:32:51.371Z] b85a868b505f: Verifying Checksum [2023-05-16T17:32:51.371Z] b85a868b505f: Download complete [2023-05-16T17:32:51.941Z] bab4dde63d76: Verifying Checksum [2023-05-16T17:32:51.941Z] bab4dde63d76: Download complete [2023-05-16T17:32:52.512Z] b85a868b505f: Pull complete [2023-05-16T17:32:52.512Z] e2be974225ed: Pull complete [2023-05-16T17:32:53.078Z] 339a4e72a1f5: Pull complete [2023-05-16T17:32:53.078Z] 988bab9f4d93: Pull complete [2023-05-16T17:32:53.337Z] 1469e6f7b9e6: Pull complete [2023-05-16T17:32:53.337Z] eaf3925da568: Pull complete [2023-05-16T17:32:55.246Z] bab4dde63d76: Pull complete [2023-05-16T17:32:55.246Z] bde34c3a00c8: Pull complete [2023-05-16T17:32:55.246Z] b352a97aabf1: Pull complete [2023-05-16T17:32:55.246Z] 4872d77fe225: Pull complete [2023-05-16T17:32:55.246Z] 5851b861e8e6: Pull complete [2023-05-16T17:32:55.246Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T17:32:55.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T17:32:55.246Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:32:55.401Z] prd-ubuntu20.04-docker-8c-8g-15753 does not seem to be running inside a container [2023-05-16T17:32:55.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@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-devops/py-git-semver:0.1.4 cat [2023-05-16T17:32:58.097Z] $ docker top 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e -eo pid,comm [2023-05-16T17:32:58.147Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-16T17:32:58.147Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T17:32:58.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T17:32:58.187Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T17:32:58.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T17:32:58.304Z] $ docker exec 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e ssh-agent [2023-05-16T17:32:58.398Z] SSH_AUTH_SOCK=/tmp/ssh-EfDtz2cxiapw/agent.32 [2023-05-16T17:32:58.398Z] SSH_AGENT_PID=38 [2023-05-16T17:32:58.407Z] Running ssh-add (command line suppressed) [2023-05-16T17:32:58.502Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_18340185020381617301.key (/w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_18340185020381617301.key) [2023-05-16T17:32:58.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T17:32:58.809Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T17:32:58.832Z] $ docker exec --env ******** --env ******** 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e ssh-agent -k [2023-05-16T17:32:58.928Z] unset SSH_AUTH_SOCK; [2023-05-16T17:32:58.928Z] unset SSH_AGENT_PID; [2023-05-16T17:32:58.928Z] echo Agent pid 38 killed; [2023-05-16T17:32:58.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T17:32:58.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T17:32:58.966Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T17:32:59.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T17:32:59.091Z] $ docker exec 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e ssh-agent [2023-05-16T17:32:59.186Z] SSH_AUTH_SOCK=/tmp/ssh-bVvYRZIhvEVd/agent.70 [2023-05-16T17:32:59.186Z] SSH_AGENT_PID=76 [2023-05-16T17:32:59.191Z] Running ssh-add (command line suppressed) [2023-05-16T17:32:59.291Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_6783334180227368052.key (/w/workspace/foundry_device-usb-camera_PR-247@tmp/private_key_6783334180227368052.key) [2023-05-16T17:32:59.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T17:32:59.591Z] + git semver init [2023-05-16T17:32:59.851Z] 2023-05-16 17:32:59,785 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T17:32:59.851Z] 2023-05-16 17:32:59,786 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-247/.semver [2023-05-16T17:32:59.851Z] 2023-05-16 17:32:59,786 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-247/.semver [2023-05-16T17:32:59.851Z] 2023-05-16 17:32:59,786 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-247/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-247, universal_newlines=False, shell=None, istream=None) [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,468 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-247/.git/info/exclude [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,468 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 with force:False [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,469 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,473 [execute] INFO git cat-file --batch-check [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,479 [execute] INFO git cat-file --batch [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T17:33:00.800Z] 2023-05-16 17:33:00,483 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-247/.semver/PR-247 [2023-05-16T17:33:00.800Z] 0.0.0 [Pipeline] } [2023-05-16T17:33:00.815Z] $ docker exec --env ******** --env ******** 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e ssh-agent -k [2023-05-16T17:33:00.915Z] unset SSH_AUTH_SOCK; [2023-05-16T17:33:00.915Z] unset SSH_AGENT_PID; [2023-05-16T17:33:00.915Z] echo Agent pid 76 killed; [2023-05-16T17:33:00.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T17:33:01.229Z] + git semver [Pipeline] } [2023-05-16T17:33:01.506Z] $ docker stop --time=1 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e [2023-05-16T17:33:02.783Z] $ docker rm -f --volumes 58ddb4f3ea10479771b0aad9ed65b44cd4adc90505ab7aa57cc886345278d11e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T17:33:03.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T17:33:03.338Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T17:33:03.342Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T17:33:03.538Z] provisioning config files... [2023-05-16T17:33:03.547Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config10345025517138171248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:33:03.849Z] ---> docker-login.sh [2023-05-16T17:33:03.849Z] nexus3.edgexfoundry.org:10001 [2023-05-16T17:33:03.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:33:03.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:33:03.849Z] Configure a credential helper to remove this warning. See [2023-05-16T17:33:03.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:33:03.849Z] [2023-05-16T17:33:03.849Z] Login Succeeded [2023-05-16T17:33:03.849Z] nexus3.edgexfoundry.org:10002 [2023-05-16T17:33:03.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:33:03.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:33:03.849Z] Configure a credential helper to remove this warning. See [2023-05-16T17:33:03.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:33:03.849Z] [2023-05-16T17:33:03.849Z] Login Succeeded [2023-05-16T17:33:03.849Z] nexus3.edgexfoundry.org:10003 [2023-05-16T17:33:04.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:33:04.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:33:04.107Z] Configure a credential helper to remove this warning. See [2023-05-16T17:33:04.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:33:04.107Z] [2023-05-16T17:33:04.107Z] Login Succeeded [2023-05-16T17:33:04.107Z] nexus3.edgexfoundry.org:10004 [2023-05-16T17:33:04.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:33:04.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:33:04.107Z] Configure a credential helper to remove this warning. See [2023-05-16T17:33:04.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:33:04.107Z] [2023-05-16T17:33:04.107Z] Login Succeeded [2023-05-16T17:33:04.107Z] docker.io [2023-05-16T17:33:04.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:33:04.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:33:04.366Z] Configure a credential helper to remove this warning. See [2023-05-16T17:33:04.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:33:04.366Z] [2023-05-16T17:33:04.366Z] Login Succeeded [2023-05-16T17:33:04.366Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T17:33:04.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T17:33:04.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T17:33:04.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T17:33:04.479Z] ========================================================= [2023-05-16T17:33:04.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T17:33:04.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:33:04.812Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T17:33:04.812Z] Sending build context to Docker daemon 1.876MB [2023-05-16T17:33:04.812Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T17:33:04.812Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T17:33:04.812Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T17:33:04.812Z] f56be85fc22e: Pulling fs layer [2023-05-16T17:33:04.812Z] 85791d961cd3: Pulling fs layer [2023-05-16T17:33:04.812Z] d694b5ae8c79: Pulling fs layer [2023-05-16T17:33:04.812Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T17:33:04.812Z] 4d19c01a9841: Pulling fs layer [2023-05-16T17:33:04.812Z] 9325e15d5711: Pulling fs layer [2023-05-16T17:33:04.812Z] 556b6ee489ea: Pulling fs layer [2023-05-16T17:33:04.812Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T17:33:04.812Z] 9f32a84ed3da: Waiting [2023-05-16T17:33:04.812Z] 4d19c01a9841: Waiting [2023-05-16T17:33:04.812Z] 9325e15d5711: Waiting [2023-05-16T17:33:04.812Z] 556b6ee489ea: Waiting [2023-05-16T17:33:04.812Z] 85791d961cd3: Download complete [2023-05-16T17:33:05.072Z] f56be85fc22e: Verifying Checksum [2023-05-16T17:33:05.072Z] f56be85fc22e: Download complete [2023-05-16T17:33:05.072Z] 4d19c01a9841: Verifying Checksum [2023-05-16T17:33:05.072Z] 4d19c01a9841: Download complete [2023-05-16T17:33:05.072Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T17:33:05.072Z] 9f32a84ed3da: Download complete [2023-05-16T17:33:05.072Z] 9325e15d5711: Verifying Checksum [2023-05-16T17:33:05.072Z] 9325e15d5711: Download complete [2023-05-16T17:33:05.072Z] f56be85fc22e: Pull complete [2023-05-16T17:33:05.334Z] 85791d961cd3: Pull complete [2023-05-16T17:33:05.593Z] d694b5ae8c79: Verifying Checksum [2023-05-16T17:33:05.593Z] d694b5ae8c79: Download complete [2023-05-16T17:33:05.850Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T17:33:05.850Z] c5a4b2cf53e6: Download complete [2023-05-16T17:33:05.850Z] 556b6ee489ea: Verifying Checksum [2023-05-16T17:33:05.850Z] 556b6ee489ea: Download complete [2023-05-16T17:33:09.125Z] d694b5ae8c79: Pull complete [2023-05-16T17:33:09.125Z] 9f32a84ed3da: Pull complete [2023-05-16T17:33:09.125Z] 4d19c01a9841: Pull complete [2023-05-16T17:33:09.125Z] 9325e15d5711: Pull complete [2023-05-16T17:33:11.024Z] 556b6ee489ea: Pull complete [2023-05-16T17:33:11.959Z] c5a4b2cf53e6: Pull complete [2023-05-16T17:33:11.959Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T17:33:11.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T17:33:11.959Z] ---> c4be618373d6 [2023-05-16T17:33:11.959Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T17:33:17.237Z] ---> Running in d0413b393900 [2023-05-16T17:33:17.237Z] Removing intermediate container d0413b393900 [2023-05-16T17:33:17.237Z] ---> 21a10d4188d3 [2023-05-16T17:33:17.237Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T17:33:17.237Z] ---> Running in 9c9ec972ec81 [2023-05-16T17:33:17.497Z] Removing intermediate container 9c9ec972ec81 [2023-05-16T17:33:17.497Z] ---> 8a11d66da23d [2023-05-16T17:33:17.497Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T17:33:17.497Z] ---> Running in 9081396e4d59 [2023-05-16T17:33:17.497Z] Removing intermediate container 9081396e4d59 [2023-05-16T17:33:17.497Z] ---> aeec9d08804b [2023-05-16T17:33:17.497Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T17:33:17.497Z] ---> Running in cd0c0a08d2fa [2023-05-16T17:33:17.755Z] Removing intermediate container cd0c0a08d2fa [2023-05-16T17:33:17.756Z] ---> 349c02a21de3 [2023-05-16T17:33:17.756Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T17:33:17.756Z] ---> Running in 2435611593a1 [2023-05-16T17:33:18.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T17:33:18.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T17:33:18.273Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T17:33:18.273Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T17:33:18.273Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T17:33:18.273Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T17:33:18.273Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T17:33:18.273Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T17:33:18.273Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T17:33:18.273Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T17:33:18.273Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T17:33:18.273Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T17:33:18.273Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T17:33:18.273Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T17:33:18.273Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T17:33:18.273Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T17:33:18.273Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T17:33:18.273Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T17:33:18.273Z] OK: 272 MiB in 67 packages [2023-05-16T17:33:18.477Z] Still waiting to schedule task [2023-05-16T17:33:18.478Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15752’ is offline [2023-05-16T17:33:18.842Z] Removing intermediate container 2435611593a1 [2023-05-16T17:33:18.842Z] ---> f10d004d4d50 [2023-05-16T17:33:18.842Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T17:33:19.101Z] ---> Running in ca5a63ca10ed [2023-05-16T17:33:19.101Z] Removing intermediate container ca5a63ca10ed [2023-05-16T17:33:19.101Z] ---> e7688f361f57 [2023-05-16T17:33:19.101Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T17:33:19.101Z] ---> 350a8750f66f [2023-05-16T17:33:19.101Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T17:33:19.101Z] ---> Running in cdede8c1130b [2023-05-16T17:34:15.381Z] Removing intermediate container cdede8c1130b [2023-05-16T17:34:15.381Z] ---> 2e0ee5dba4c5 [2023-05-16T17:34:15.381Z] Step 11/13 : COPY . . [2023-05-16T17:34:15.381Z] ---> 8926f05034a1 [2023-05-16T17:34:15.381Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T17:34:15.381Z] ---> Running in 7500b5c3eafd [2023-05-16T17:34:15.381Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:34:15.381Z] Dload Upload Total Spent Left Speed [2023-05-16T17:34:15.381Z]  0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7294 0 --:--:-- --:--:-- --:--:-- 7324 [2023-05-16T17:34:15.381Z] Removing intermediate container 7500b5c3eafd [2023-05-16T17:34:15.381Z] ---> fe02a08adaa5 [2023-05-16T17:34:15.381Z] Step 13/13 : RUN ${MAKE} [2023-05-16T17:34:15.381Z] ---> Running in c5c2461c6c33 [2023-05-16T17:34:15.381Z] noop [2023-05-16T17:34:15.381Z] Removing intermediate container c5c2461c6c33 [2023-05-16T17:34:15.381Z] ---> 0690ba4bb217 [2023-05-16T17:34:15.381Z] Successfully built 0690ba4bb217 [2023-05-16T17:34:15.381Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:34:15.705Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T17:34:15.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:34:15.789Z] prd-ubuntu20.04-docker-8c-8g-15753 does not seem to be running inside a container [2023-05-16T17:34:15.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T17:34:16.146Z] $ docker top 3047738c291a61e5ff0e3a71b8033097aeac4f224d6896ebd0754b4b3b6a2ecf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:34:16.486Z] + go version [2023-05-16T17:34:16.486Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T17:34:16.503Z] $ docker stop --time=1 3047738c291a61e5ff0e3a71b8033097aeac4f224d6896ebd0754b4b3b6a2ecf [2023-05-16T17:34:17.793Z] $ docker rm -f --volumes 3047738c291a61e5ff0e3a71b8033097aeac4f224d6896ebd0754b4b3b6a2ecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:34:18.259Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T17:34:18.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:34:18.329Z] prd-ubuntu20.04-docker-8c-8g-15753 does not seem to be running inside a container [2023-05-16T17:34:18.368Z] $ 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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T17:34:18.740Z] $ docker top 97cc342fb3df4807b7efaf7597f3ccc6043b8708487e75575ab95d7a8c2db0b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:34:19.086Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-247 [Pipeline] fileExists [Pipeline] sh [2023-05-16T17:34:19.387Z] + make test [2023-05-16T17:34:19.387Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T17:34:23.590Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T17:34:33.568Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T17:34:33.568Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.8% of statements [2023-05-16T17:34:40.363Z] go vet ./... [2023-05-16T17:34:44.557Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T17:34:44.557Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T17:34:44.557Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T17:34:44.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T17:34:44.589Z] $ docker stop --time=1 97cc342fb3df4807b7efaf7597f3ccc6043b8708487e75575ab95d7a8c2db0b5 [2023-05-16T17:34:48.030Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15754 in /w/workspace/foundry_device-usb-camera_PR-247 [2023-05-16T17:34:48.370Z] $ docker rm -f --volumes 97cc342fb3df4807b7efaf7597f3ccc6043b8708487e75575ab95d7a8c2db0b5 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-05-16T17:34:48.633Z] Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout [2023-05-16T17:34:48.705Z] Selected Git installation does not exist. Using Default [2023-05-16T17:34:48.706Z] The recommended git tool is: NONE [2023-05-16T17:34:48.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T17:34:48.936Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T17:34:49.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T17:34:49.951Z] + ls -al . [2023-05-16T17:34:49.951Z] total 188 [2023-05-16T17:34:49.951Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 17:34 . [2023-05-16T17:34:49.951Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:32 .. [2023-05-16T17:34:49.951Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:33 .git [2023-05-16T17:34:49.951Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:32 .github [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 17:32 .gitignore [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 17:32 .golangci.yml [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:32 .hadolint.yml [2023-05-16T17:34:49.951Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:33 .semver [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 17:32 Attribution.txt [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 17:32 CHANGELOG.md [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 17:32 Dockerfile [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:32 GOVERNANCE.md [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:32 Jenkinsfile [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:32 LICENSE [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 17:32 Makefile [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:32 OWNERS.md [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 17:32 README.md [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 17:33 VERSION [2023-05-16T17:34:49.951Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:32 bin [2023-05-16T17:34:49.951Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:32 cmd [2023-05-16T17:34:49.951Z] -rw-r--r-- 1 jenkins jenkins 31522 May 16 17:34 coverage.out [2023-05-16T17:34:49.951Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 17:32 docker-entrypoint.sh [2023-05-16T17:34:49.951Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:32 docs [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 17:32 go.mod [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 17:32 go.sum [2023-05-16T17:34:49.951Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:32 internal [2023-05-16T17:34:49.951Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:32 snap [2023-05-16T17:34:49.951Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:34:50.257Z] + 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=814d1f9b6aeaea366100a5a2af9d932d74f88426 --label arch=amd64 --label version=0.0.0 . [2023-05-16T17:34:50.257Z] Sending build context to Docker daemon 1.908MB [2023-05-16T17:34:50.257Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T17:34:50.257Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T17:34:50.257Z] ---> 0690ba4bb217 [2023-05-16T17:34:50.257Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T17:34:50.257Z] ---> Running in c36452b6b883 [2023-05-16T17:34:50.516Z] Removing intermediate container c36452b6b883 [2023-05-16T17:34:50.516Z] ---> 8f3cd9fdd09e [2023-05-16T17:34:50.516Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T17:34:50.516Z] ---> Running in 44bfa4ad70ec [2023-05-16T17:34:50.516Z] Removing intermediate container 44bfa4ad70ec [2023-05-16T17:34:50.516Z] ---> 05be97753911 [2023-05-16T17:34:50.516Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T17:34:50.516Z] ---> Running in 08d272a6b4f2 [2023-05-16T17:34:50.776Z] Removing intermediate container 08d272a6b4f2 [2023-05-16T17:34:50.776Z] ---> b791eb01244a [2023-05-16T17:34:50.776Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T17:34:50.776Z] ---> Running in 21468aec9373 [2023-05-16T17:34:50.776Z] Removing intermediate container 21468aec9373 [2023-05-16T17:34:50.776Z] ---> c940ec0b0b3e [2023-05-16T17:34:50.776Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T17:34:50.776Z] ---> Running in ac90a9eaf043 [2023-05-16T17:34:51.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T17:34:51.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T17:34:51.556Z] OK: 272 MiB in 67 packages [2023-05-16T17:34:51.831Z] Removing intermediate container ac90a9eaf043 [2023-05-16T17:34:51.831Z] ---> 2d0036bf1e56 [2023-05-16T17:34:51.831Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T17:34:51.831Z] ---> Running in a2e6265de4fa [2023-05-16T17:34:51.831Z] Removing intermediate container a2e6265de4fa [2023-05-16T17:34:51.831Z] ---> d212639010df [2023-05-16T17:34:51.831Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T17:34:52.186Z] ---> cfc3b878dac7 [2023-05-16T17:34:52.186Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T17:34:52.186Z] ---> Running in f5dff011082c [2023-05-16T17:34:53.087Z] Removing intermediate container f5dff011082c [2023-05-16T17:34:53.087Z] ---> 73ca76c307a6 [2023-05-16T17:34:53.087Z] Step 11/36 : COPY . . [2023-05-16T17:34:53.346Z] ---> 3cd08bdd4e7c [2023-05-16T17:34:53.346Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T17:34:53.605Z] ---> Running in 13cc7c310610 [2023-05-16T17:34:53.866Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:34:53.866Z] Dload Upload Total Spent Left Speed [2023-05-16T17:34:53.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21342 0 --:--:-- --:--:-- --:--:-- 21673 [2023-05-16T17:34:53.957Z] using credential edgex-jenkins-ssh [2023-05-16T17:34:53.983Z] Cloning the remote Git repository [2023-05-16T17:34:54.129Z] Removing intermediate container 13cc7c310610 [2023-05-16T17:34:54.129Z] ---> 502411d1d0d1 [2023-05-16T17:34:54.129Z] Step 13/36 : RUN ${MAKE} [2023-05-16T17:34:54.388Z] ---> Running in 38a56c64a351 [2023-05-16T17:34:54.646Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-16T17:34:54.035Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T17:34:54.157Z] > git init /w/workspace/device-usb-camera/4 # timeout=10 [2023-05-16T17:34:54.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T17:34:54.312Z] > git --version # timeout=10 [2023-05-16T17:34:54.337Z] > git --version # 'git version 2.25.1' [2023-05-16T17:34:54.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T17:34:54.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T17:34:56.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T17:34:56.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T17:34:58.408Z] Merging remotes/origin/main commit 8bb3237301cd1e7ba1226b3bd0aaf265b839229f into PR head commit 9d6744e79c6bcd2820e5132938f7e9314878e0da [2023-05-16T17:34:58.769Z] Merge succeeded, producing d96680b21f2337badbe832ecb95d6a4dc2e580db [2023-05-16T17:34:58.770Z] Checking out Revision d96680b21f2337badbe832ecb95d6a4dc2e580db (PR-247) [2023-05-16T17:34:57.762Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T17:34:57.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T17:34:57.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T17:34:57.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T17:34:58.438Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T17:34:58.548Z] > git checkout -f 9d6744e79c6bcd2820e5132938f7e9314878e0da # timeout=10 [2023-05-16T17:34:58.646Z] > git remote # timeout=10 [2023-05-16T17:34:58.667Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T17:34:58.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T17:34:58.698Z] > git merge 8bb3237301cd1e7ba1226b3bd0aaf265b839229f # timeout=10 [2023-05-16T17:34:58.758Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T17:34:58.783Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T17:34:58.801Z] > git checkout -f d96680b21f2337badbe832ecb95d6a4dc2e580db # timeout=10 [2023-05-16T17:35:02.334Z] Commit message: "Merge commit '8bb3237301cd1e7ba1226b3bd0aaf265b839229f' into HEAD" [2023-05-16T17:35:02.359Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T17:35:02.349Z] > git rev-list --no-walk cde1b6eb591ca961143ac652ea415fa610e89372 # timeout=10 [2023-05-16T17:35:03.671Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T17:35:03.671Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:35:03.671Z] Dload Upload Total Spent Left Speed [2023-05-16T17:35:03.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-05-16T17:35:04.370Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T17:35:04.699Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T17:35:04.699Z] + sudo tee /etc/docker/daemon.new [2023-05-16T17:35:04.699Z] { [2023-05-16T17:35:04.699Z] "registry-mirrors": [ [2023-05-16T17:35:04.699Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T17:35:04.699Z] ], [2023-05-16T17:35:04.699Z] "bip": "10.250.0.254/24", [2023-05-16T17:35:04.699Z] "hosts": [ [2023-05-16T17:35:04.699Z] "tcp://0.0.0.0:5555", [2023-05-16T17:35:04.699Z] "unix:///var/run/docker.sock" [2023-05-16T17:35:04.699Z] ], [2023-05-16T17:35:04.699Z] "mtu": 1458, [2023-05-16T17:35:04.699Z] "selinux-enabled": true, [2023-05-16T17:35:04.699Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T17:35:04.699Z] } [Pipeline] sh [2023-05-16T17:35:05.167Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T17:35:05.516Z] + sudo service docker restart [2023-05-16T17:35:16.630Z] Removing intermediate container 38a56c64a351 [2023-05-16T17:35:16.630Z] ---> 32c0b5badc0e [2023-05-16T17:35:16.630Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T17:35:16.891Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T17:35:17.150Z] 4acc49c71d14: Pulling fs layer [2023-05-16T17:35:17.717Z] 4acc49c71d14: Verifying Checksum [2023-05-16T17:35:17.717Z] 4acc49c71d14: Download complete [2023-05-16T17:35:17.976Z] 4acc49c71d14: Pull complete [2023-05-16T17:35:17.976Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T17:35:17.976Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T17:35:17.976Z] ---> 01a2bd3e5fff [2023-05-16T17:35:17.976Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T17:35:18.234Z] 3.17: Pulling from library/alpine [2023-05-16T17:35:18.491Z] f56be85fc22e: Already exists [2023-05-16T17:35:18.491Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T17:35:18.491Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T17:35:18.750Z] ---> 9ed4aefc74f6 [2023-05-16T17:35:18.750Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T17:35:19.009Z] ---> Running in 2e05d048a3fb [2023-05-16T17:35:19.009Z] Removing intermediate container 2e05d048a3fb [2023-05-16T17:35:19.009Z] ---> 67c5b79247a8 [2023-05-16T17:35:19.009Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T17:35:19.009Z] ---> Running in 24b1a6e42588 [2023-05-16T17:35:19.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T17:35:19.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T17:35:20.244Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-16T17:35:20.244Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-16T17:35:20.244Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-16T17:35:20.244Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-16T17:35:20.244Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-16T17:35:20.244Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-16T17:35:20.244Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-16T17:35:20.244Z] (8/86) Installing libxcb (1.15-r0) [2023-05-16T17:35:20.244Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-16T17:35:20.244Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-16T17:35:20.503Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-16T17:35:20.503Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-16T17:35:20.503Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-16T17:35:20.503Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-16T17:35:20.503Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-16T17:35:20.503Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-16T17:35:20.503Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-16T17:35:20.503Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-16T17:35:20.503Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-16T17:35:20.503Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-16T17:35:20.503Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-16T17:35:20.503Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-16T17:35:20.503Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-16T17:35:20.503Z] (24/86) Installing glib (2.74.6-r0) [2023-05-16T17:35:20.503Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-16T17:35:20.503Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-16T17:35:20.503Z] (27/86) Installing libass (0.16.0-r1) [2023-05-16T17:35:20.503Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-16T17:35:20.503Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-16T17:35:20.503Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-16T17:35:20.503Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-16T17:35:20.503Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-16T17:35:20.503Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-16T17:35:20.503Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-16T17:35:20.761Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-16T17:35:20.761Z] (36/86) Installing libunistring (1.1-r0) [2023-05-16T17:35:20.761Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-16T17:35:20.761Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T17:35:20.761Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T17:35:20.761Z] (40/86) Installing lame (3.100-r2) [2023-05-16T17:35:20.761Z] (41/86) Installing opus (1.3.1-r1) [2023-05-16T17:35:20.761Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-16T17:35:20.761Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-16T17:35:20.761Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-16T17:35:20.761Z] (45/86) Installing orc (0.4.33-r0) [2023-05-16T17:35:20.761Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T17:35:20.761Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-16T17:35:20.761Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T17:35:20.761Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-16T17:35:20.761Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-16T17:35:20.761Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-16T17:35:21.019Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T17:35:21.019Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-16T17:35:21.019Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-16T17:35:21.019Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-16T17:35:21.019Z] (56/86) Installing libpulse (16.1-r6) [2023-05-16T17:35:21.019Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-16T17:35:21.019Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-16T17:35:21.019Z] (59/86) Installing librist (0.2.7-r0) [2023-05-16T17:35:21.019Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-16T17:35:21.019Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-16T17:35:21.019Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-16T17:35:21.019Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T17:35:21.019Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T17:35:21.019Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-16T17:35:21.019Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-16T17:35:21.019Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T17:35:21.019Z] (68/86) Installing libva (2.16.0-r0) [2023-05-16T17:35:21.019Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-16T17:35:21.019Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-16T17:35:21.019Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-16T17:35:21.019Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-16T17:35:21.019Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T17:35:21.019Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-16T17:35:21.019Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-16T17:35:21.277Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-16T17:35:21.277Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-16T17:35:21.277Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-16T17:35:21.277Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T17:35:21.277Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-16T17:35:21.277Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-16T17:35:21.277Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-16T17:35:21.277Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-16T17:35:21.277Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-16T17:35:21.277Z] (85/86) Installing kmod-libs (30-r1) [2023-05-16T17:35:21.277Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-16T17:35:21.277Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T17:35:21.277Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T17:35:21.277Z] OK: 112 MiB in 101 packages [2023-05-16T17:35:24.806Z] Removing intermediate container 24b1a6e42588 [2023-05-16T17:35:24.806Z] ---> 558d00f9f111 [2023-05-16T17:35:24.806Z] Step 18/36 : WORKDIR / [2023-05-16T17:35:25.066Z] ---> Running in 31b0ad2aabb2 [2023-05-16T17:35:25.066Z] Removing intermediate container 31b0ad2aabb2 [2023-05-16T17:35:25.066Z] ---> 7d13eb5f5c00 [2023-05-16T17:35:25.066Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T17:35:26.005Z] ---> f231d4071d4e [2023-05-16T17:35:26.005Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T17:35:26.264Z] ---> 9a76a081fb95 [2023-05-16T17:35:26.264Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T17:35:26.264Z] ---> 9db59fddd2cf [2023-05-16T17:35:26.264Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T17:35:26.524Z] ---> 136bcfaf3367 [2023-05-16T17:35:26.524Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T17:35:26.524Z] ---> 619ec740c046 [2023-05-16T17:35:26.524Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T17:35:26.784Z] ---> 535d7d510242 [2023-05-16T17:35:26.784Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T17:35:27.696Z] provisioning config files... [2023-05-16T17:35:27.720Z] ---> f59c4be053fa [2023-05-16T17:35:27.721Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T17:35:27.721Z] ---> Running in 23c37c352f95 [2023-05-16T17:35:27.735Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config13843102938601108869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:35:28.099Z] ---> docker-login.sh [2023-05-16T17:35:28.099Z] nexus3.edgexfoundry.org:10001 [2023-05-16T17:35:28.297Z] Removing intermediate container 23c37c352f95 [2023-05-16T17:35:28.297Z] ---> 4bd155052c7b [2023-05-16T17:35:28.297Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T17:35:28.297Z] ---> Running in cee8b22ed8ec [2023-05-16T17:35:28.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:35:28.865Z] Removing intermediate container cee8b22ed8ec [2023-05-16T17:35:28.865Z] ---> 85aea73516f9 [2023-05-16T17:35:28.865Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T17:35:28.865Z] ---> Running in 006f34541fd6 [2023-05-16T17:35:28.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:35:28.965Z] Configure a credential helper to remove this warning. See [2023-05-16T17:35:28.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:35:28.965Z] [2023-05-16T17:35:28.965Z] Login Succeeded [2023-05-16T17:35:28.965Z] nexus3.edgexfoundry.org:10002 [2023-05-16T17:35:29.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:35:29.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:35:29.236Z] Configure a credential helper to remove this warning. See [2023-05-16T17:35:29.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:35:29.236Z] [2023-05-16T17:35:29.236Z] Login Succeeded [2023-05-16T17:35:29.236Z] nexus3.edgexfoundry.org:10003 [2023-05-16T17:35:29.434Z] Removing intermediate container 006f34541fd6 [2023-05-16T17:35:29.434Z] ---> e7474d755530 [2023-05-16T17:35:29.434Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T17:35:29.434Z] ---> Running in 7aa11e9343dd [2023-05-16T17:35:29.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:35:29.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:35:29.508Z] Configure a credential helper to remove this warning. See [2023-05-16T17:35:29.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:35:29.508Z] [2023-05-16T17:35:29.508Z] Login Succeeded [2023-05-16T17:35:29.781Z] nexus3.edgexfoundry.org:10004 [2023-05-16T17:35:29.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:35:30.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:35:30.051Z] Configure a credential helper to remove this warning. See [2023-05-16T17:35:30.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:35:30.051Z] [2023-05-16T17:35:30.051Z] Login Succeeded [2023-05-16T17:35:30.051Z] docker.io [2023-05-16T17:35:30.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T17:35:30.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T17:35:30.590Z] Configure a credential helper to remove this warning. See [2023-05-16T17:35:30.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T17:35:30.590Z] [2023-05-16T17:35:30.590Z] Login Succeeded [2023-05-16T17:35:30.590Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T17:35:30.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-05-16T17:35:30.817Z] Removing intermediate container 7aa11e9343dd [2023-05-16T17:35:30.817Z] ---> 92495f44b58d [2023-05-16T17:35:30.817Z] Step 30/36 : EXPOSE 59983 [2023-05-16T17:35:30.817Z] ---> Running in e66faa8f8387 [2023-05-16T17:35:30.817Z] Removing intermediate container e66faa8f8387 [2023-05-16T17:35:30.817Z] ---> f75b1633b453 [2023-05-16T17:35:30.817Z] Step 31/36 : EXPOSE 8554 [2023-05-16T17:35:30.817Z] ---> Running in d21a693bc8d4 [Pipeline] echo [2023-05-16T17:35:30.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T17:35:30.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T17:35:30.892Z] ========================================================= [2023-05-16T17:35:30.892Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T17:35:30.892Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:35:31.078Z] Removing intermediate container d21a693bc8d4 [2023-05-16T17:35:31.078Z] ---> 924c02ddfc65 [2023-05-16T17:35:31.078Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T17:35:31.078Z] ---> Running in 10f4db8903b7 [2023-05-16T17:35:31.250Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T17:35:31.336Z] Removing intermediate container 10f4db8903b7 [2023-05-16T17:35:31.336Z] ---> 1b14c5ae6be4 [2023-05-16T17:35:31.336Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T17:35:31.336Z] ---> Running in 6fdf39af6fe0 [2023-05-16T17:35:31.522Z] Sending build context to Docker daemon 1.109MB [2023-05-16T17:35:31.522Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T17:35:31.522Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T17:35:31.596Z] Removing intermediate container 6fdf39af6fe0 [2023-05-16T17:35:31.596Z] ---> 66aecb528532 [2023-05-16T17:35:31.596Z] Step 34/36 : LABEL arch=amd64 [2023-05-16T17:35:31.798Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T17:35:31.798Z] c41833b44d91: Pulling fs layer [2023-05-16T17:35:31.798Z] ed15518f5707: Pulling fs layer [2023-05-16T17:35:31.798Z] feae8fd75edb: Pulling fs layer [2023-05-16T17:35:31.798Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T17:35:31.798Z] 3cdef696dda3: Pulling fs layer [2023-05-16T17:35:31.798Z] 2ced38df9373: Pulling fs layer [2023-05-16T17:35:31.798Z] 58f1dce35555: Pulling fs layer [2023-05-16T17:35:31.798Z] 242c74f7c9fa: Waiting [2023-05-16T17:35:31.798Z] 3cdef696dda3: Waiting [2023-05-16T17:35:31.798Z] 58f1dce35555: Waiting [2023-05-16T17:35:31.798Z] 2ced38df9373: Waiting [2023-05-16T17:35:31.798Z] ed15518f5707: Verifying Checksum [2023-05-16T17:35:31.798Z] ed15518f5707: Download complete [2023-05-16T17:35:31.798Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T17:35:31.798Z] 242c74f7c9fa: Download complete [2023-05-16T17:35:31.798Z] 3cdef696dda3: Verifying Checksum [2023-05-16T17:35:31.798Z] 3cdef696dda3: Download complete [2023-05-16T17:35:31.798Z] c41833b44d91: Verifying Checksum [2023-05-16T17:35:31.798Z] c41833b44d91: Download complete [2023-05-16T17:35:31.962Z] ---> Running in acd88aaa84b8 [2023-05-16T17:35:31.962Z] Removing intermediate container acd88aaa84b8 [2023-05-16T17:35:31.962Z] ---> 84d185158998 [2023-05-16T17:35:31.962Z] Step 35/36 : LABEL git_sha=814d1f9b6aeaea366100a5a2af9d932d74f88426 [2023-05-16T17:35:32.227Z] ---> Running in dc138da98119 [2023-05-16T17:35:32.227Z] Removing intermediate container dc138da98119 [2023-05-16T17:35:32.227Z] ---> d6aedd748536 [2023-05-16T17:35:32.227Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T17:35:32.227Z] ---> Running in 7dfb8e67a11a [2023-05-16T17:35:32.492Z] Removing intermediate container 7dfb8e67a11a [2023-05-16T17:35:32.492Z] ---> e507c9012a72 [2023-05-16T17:35:32.492Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T17:35:32.492Z] Successfully built e507c9012a72 [2023-05-16T17:35:32.492Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:35:32.789Z] c41833b44d91: Pull complete [2023-05-16T17:35:32.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:35:32.983Z] [2023-05-16T17:35:32.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:35:33.062Z] 58f1dce35555: Verifying Checksum [2023-05-16T17:35:33.062Z] 58f1dce35555: Download complete [2023-05-16T17:35:33.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:35:33.292Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T17:35:33.292Z] 5eb5b503b376: Pulling fs layer [2023-05-16T17:35:33.292Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T17:35:33.292Z] ec43610c2a17: Pulling fs layer [2023-05-16T17:35:33.292Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T17:35:33.292Z] 33b1e0a273af: Pulling fs layer [2023-05-16T17:35:33.292Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T17:35:33.292Z] 2f39f015ded8: Pulling fs layer [2023-05-16T17:35:33.292Z] 5d3b04190fa2: Waiting [2023-05-16T17:35:33.292Z] 2f39f015ded8: Waiting [2023-05-16T17:35:33.292Z] 33b1e0a273af: Waiting [2023-05-16T17:35:33.292Z] 3a2ae6a8a46f: Waiting [2023-05-16T17:35:33.292Z] 5c69ac0246d0: Download complete [2023-05-16T17:35:33.292Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T17:35:33.292Z] 3a2ae6a8a46f: Download complete [2023-05-16T17:35:33.337Z] ed15518f5707: Pull complete [2023-05-16T17:35:33.552Z] 33b1e0a273af: Verifying Checksum [2023-05-16T17:35:33.552Z] 33b1e0a273af: Download complete [2023-05-16T17:35:33.552Z] ec43610c2a17: Verifying Checksum [2023-05-16T17:35:33.552Z] ec43610c2a17: Download complete [2023-05-16T17:35:33.552Z] 5d3b04190fa2: Download complete [2023-05-16T17:35:33.552Z] 5eb5b503b376: Verifying Checksum [2023-05-16T17:35:33.552Z] 5eb5b503b376: Download complete [2023-05-16T17:35:34.119Z] 2f39f015ded8: Download complete [2023-05-16T17:35:34.311Z] feae8fd75edb: Verifying Checksum [2023-05-16T17:35:34.311Z] feae8fd75edb: Download complete [2023-05-16T17:35:34.311Z] 2ced38df9373: Verifying Checksum [2023-05-16T17:35:34.311Z] 2ced38df9373: Download complete [2023-05-16T17:35:34.691Z] 5eb5b503b376: Pull complete [2023-05-16T17:35:34.691Z] 5c69ac0246d0: Pull complete [2023-05-16T17:35:35.264Z] ec43610c2a17: Pull complete [2023-05-16T17:35:35.264Z] 3a2ae6a8a46f: Pull complete [2023-05-16T17:35:35.522Z] 33b1e0a273af: Pull complete [2023-05-16T17:35:35.522Z] 5d3b04190fa2: Pull complete [2023-05-16T17:35:39.713Z] 2f39f015ded8: Pull complete [2023-05-16T17:35:39.713Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T17:35:39.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:35:39.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:35:39.818Z] prd-ubuntu20.04-docker-8c-8g-15753 does not seem to be running inside a container [2023-05-16T17:35:39.878Z] $ 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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T17:35:46.670Z] feae8fd75edb: Pull complete [2023-05-16T17:35:46.670Z] 242c74f7c9fa: Pull complete [2023-05-16T17:35:46.670Z] 3cdef696dda3: Pull complete [2023-05-16T17:35:46.842Z] $ docker top 1a8f4f53cdce5053c55d0f1f41cc9369ed2474c7962d90cfaf8a8e518955f0c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:35:47.262Z] ---> job-cost.sh [2023-05-16T17:35:47.262Z] lf-activate-venv: SKIPPING [2023-05-16T17:35:47.262Z] INFO: No Stack... [2023-05-16T17:35:47.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T17:35:48.094Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T17:35:48.391Z] + cat /w/workspace/foundry_device-usb-camera_PR-247/archives/cost.csv [2023-05-16T17:35:48.391Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T17:35:48.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] [2023-05-16T17:35:48.411Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] did not exist. Created. [2023-05-16T17:35:48.411Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T17:35:48.717Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T17:35:48.738Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T17:35:48.745Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T17:35:48.775Z] $ docker stop --time=1 1a8f4f53cdce5053c55d0f1f41cc9369ed2474c7962d90cfaf8a8e518955f0c6 [2023-05-16T17:35:49.924Z] $ docker rm -f --volumes 1a8f4f53cdce5053c55d0f1f41cc9369ed2474c7962d90cfaf8a8e518955f0c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T17:35:53.365Z] 2ced38df9373: Pull complete [2023-05-16T17:35:55.321Z] 58f1dce35555: Pull complete [2023-05-16T17:35:55.321Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T17:35:55.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T17:35:55.321Z] ---> fadd8f120f05 [2023-05-16T17:35:55.321Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T17:35:56.286Z] ---> Running in 783c0871a758 [2023-05-16T17:35:56.286Z] Removing intermediate container 783c0871a758 [2023-05-16T17:35:56.286Z] ---> 208e80cfd1d8 [2023-05-16T17:35:56.286Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T17:35:56.555Z] ---> Running in 6b6ad4bffdc5 [2023-05-16T17:35:56.839Z] Removing intermediate container 6b6ad4bffdc5 [2023-05-16T17:35:56.839Z] ---> 1df70709afc9 [2023-05-16T17:35:56.839Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T17:35:56.839Z] ---> Running in bd0347337aac [2023-05-16T17:35:57.112Z] Removing intermediate container bd0347337aac [2023-05-16T17:35:57.112Z] ---> 3a90a6b041a7 [2023-05-16T17:35:57.112Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T17:35:57.389Z] ---> Running in 04414f5ef5e9 [2023-05-16T17:35:57.658Z] Removing intermediate container 04414f5ef5e9 [2023-05-16T17:35:57.658Z] ---> 86c4a38c1aab [2023-05-16T17:35:57.658Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T17:35:57.658Z] ---> Running in a93f585d44cc [2023-05-16T17:35:58.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T17:35:59.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T17:36:01.036Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T17:36:01.036Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T17:36:01.036Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T17:36:01.036Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T17:36:01.036Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T17:36:01.036Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T17:36:01.036Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T17:36:01.036Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T17:36:01.036Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T17:36:01.036Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T17:36:01.036Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T17:36:01.036Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T17:36:01.036Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T17:36:01.036Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T17:36:01.036Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T17:36:01.036Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T17:36:01.036Z] OK: 271 MiB in 67 packages [2023-05-16T17:36:04.473Z] Removing intermediate container a93f585d44cc [2023-05-16T17:36:04.473Z] ---> 58e75a850ad4 [2023-05-16T17:36:04.473Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T17:36:04.746Z] ---> Running in 371d6ff6c8a4 [2023-05-16T17:36:05.026Z] Removing intermediate container 371d6ff6c8a4 [2023-05-16T17:36:05.026Z] ---> a96b43fb6440 [2023-05-16T17:36:05.026Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T17:36:05.295Z] ---> 4c2f37a61128 [2023-05-16T17:36:05.295Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T17:36:05.567Z] ---> Running in eb78275972de [2023-05-16T17:37:13.485Z] Removing intermediate container eb78275972de [2023-05-16T17:37:13.485Z] ---> 680b44e19db0 [2023-05-16T17:37:13.485Z] Step 11/13 : COPY . . [2023-05-16T17:37:13.485Z] ---> 5b6be832a421 [2023-05-16T17:37:13.485Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T17:37:13.485Z] ---> Running in acfa2791fafb [2023-05-16T17:37:13.485Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:37:13.485Z] Dload Upload Total Spent Left Speed [2023-05-16T17:37:13.485Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4052 0 --:--:-- --:--:-- --:--:-- 4068 [2023-05-16T17:37:13.485Z] Removing intermediate container acfa2791fafb [2023-05-16T17:37:13.485Z] ---> 85402c73c085 [2023-05-16T17:37:13.485Z] Step 13/13 : RUN ${MAKE} [2023-05-16T17:37:13.485Z] ---> Running in 2558a041ade2 [2023-05-16T17:37:13.485Z] noop [2023-05-16T17:37:13.485Z] Removing intermediate container 2558a041ade2 [2023-05-16T17:37:13.485Z] ---> 2fa39726c1ab [2023-05-16T17:37:13.485Z] Successfully built 2fa39726c1ab [2023-05-16T17:37:13.485Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:37:13.859Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T17:37:13.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:37:14.078Z] prd-ubuntu20.04-docker-arm64-4c-16g-15754 does not seem to be running inside a container [2023-05-16T17:37:14.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T17:37:15.366Z] $ docker top 1a3d4e302408c9bef448023160a1a9b3dec09a0c4031f19dc200262e0a17de14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:37:16.174Z] + go version [2023-05-16T17:37:16.175Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T17:37:16.199Z] $ docker stop --time=1 1a3d4e302408c9bef448023160a1a9b3dec09a0c4031f19dc200262e0a17de14 [2023-05-16T17:37:17.797Z] $ docker rm -f --volumes 1a3d4e302408c9bef448023160a1a9b3dec09a0c4031f19dc200262e0a17de14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:37:18.348Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T17:37:18.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:37:18.538Z] prd-ubuntu20.04-docker-arm64-4c-16g-15754 does not seem to be running inside a container [2023-05-16T17:37:18.615Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T17:37:19.774Z] $ docker top 4598502d35079f3731bc3ec6fe8cd0d4c9559a4ac306f2c92c9cbaa5121baf0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:37:20.278Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-05-16T17:37:20.881Z] + make test [2023-05-16T17:37:20.881Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T17:37:53.098Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T17:39:59.893Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T17:39:59.893Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.064s coverage: 1.8% of statements [2023-05-16T17:39:59.893Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T17:39:59.893Z] go vet ./... [2023-05-16T17:40:18.137Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T17:40:18.137Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T17:40:18.137Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T17:40:18.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T17:40:18.184Z] $ docker stop --time=1 4598502d35079f3731bc3ec6fe8cd0d4c9559a4ac306f2c92c9cbaa5121baf0c [2023-05-16T17:40:20.018Z] $ docker rm -f --volumes 4598502d35079f3731bc3ec6fe8cd0d4c9559a4ac306f2c92c9cbaa5121baf0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T17:40:21.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T17:40:21.099Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T17:40:21.727Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T17:40:22.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T17:40:22.523Z] + ls -al . [2023-05-16T17:40:22.523Z] total 184 [2023-05-16T17:40:22.523Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 17:37 . [2023-05-16T17:40:22.523Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:34 .. [2023-05-16T17:40:22.523Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:34 .git [2023-05-16T17:40:22.523Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:34 .github [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 17:34 .gitignore [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 17:34 .golangci.yml [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:34 .hadolint.yml [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 17:34 Attribution.txt [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 17:34 CHANGELOG.md [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 17:34 Dockerfile [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:34 GOVERNANCE.md [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:34 Jenkinsfile [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:34 LICENSE [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 17:34 Makefile [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:34 OWNERS.md [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 17:34 README.md [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 17:33 VERSION [2023-05-16T17:40:22.523Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:34 bin [2023-05-16T17:40:22.523Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:34 cmd [2023-05-16T17:40:22.523Z] -rw-r--r-- 1 jenkins jenkins 31522 May 16 17:39 coverage.out [2023-05-16T17:40:22.523Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 17:34 docker-entrypoint.sh [2023-05-16T17:40:22.523Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:34 docs [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 17:34 go.mod [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 17:34 go.sum [2023-05-16T17:40:22.523Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:34 internal [2023-05-16T17:40:22.523Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:34 snap [2023-05-16T17:40:22.523Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:40:22.898Z] + 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=d96680b21f2337badbe832ecb95d6a4dc2e580db --label arch=arm64 --label version=0.0.0 . [2023-05-16T17:40:23.179Z] Sending build context to Docker daemon 1.141MB [2023-05-16T17:40:23.179Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T17:40:23.179Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T17:40:23.179Z] ---> 2fa39726c1ab [2023-05-16T17:40:23.179Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T17:40:24.598Z] ---> Running in f30896ee5ad1 [2023-05-16T17:40:24.598Z] Removing intermediate container f30896ee5ad1 [2023-05-16T17:40:24.598Z] ---> 02275c398f7a [2023-05-16T17:40:24.598Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T17:40:24.870Z] ---> Running in 9340fad695dc [2023-05-16T17:40:25.143Z] Removing intermediate container 9340fad695dc [2023-05-16T17:40:25.143Z] ---> 7a50463c20b6 [2023-05-16T17:40:25.143Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T17:40:25.143Z] ---> Running in 65d8ef8b8489 [2023-05-16T17:40:25.412Z] Removing intermediate container 65d8ef8b8489 [2023-05-16T17:40:25.412Z] ---> 80fc88965ae9 [2023-05-16T17:40:25.412Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T17:40:25.412Z] ---> Running in 9ebc79c50d03 [2023-05-16T17:40:25.685Z] Removing intermediate container 9ebc79c50d03 [2023-05-16T17:40:25.685Z] ---> 0c6bec5d475c [2023-05-16T17:40:25.685Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T17:40:25.961Z] ---> Running in 06ef2cd16ba3 [2023-05-16T17:40:26.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T17:40:27.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T17:40:28.498Z] OK: 271 MiB in 67 packages [2023-05-16T17:40:29.462Z] Removing intermediate container 06ef2cd16ba3 [2023-05-16T17:40:29.462Z] ---> 465df340e550 [2023-05-16T17:40:29.462Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T17:40:29.462Z] ---> Running in 88155bef779f [2023-05-16T17:40:29.729Z] Removing intermediate container 88155bef779f [2023-05-16T17:40:29.729Z] ---> f55b14993f45 [2023-05-16T17:40:29.729Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T17:40:30.324Z] ---> 4cd7ca368a97 [2023-05-16T17:40:30.324Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T17:40:30.324Z] ---> Running in edad8d10fdf8 [2023-05-16T17:40:32.921Z] Removing intermediate container edad8d10fdf8 [2023-05-16T17:40:32.921Z] ---> 9c68d1e473a9 [2023-05-16T17:40:32.921Z] Step 11/36 : COPY . . [2023-05-16T17:40:33.505Z] ---> d68c19d56f2f [2023-05-16T17:40:33.505Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T17:40:33.505Z] ---> Running in 4942c8adf10d [2023-05-16T17:40:34.469Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:40:34.469Z]  Dload Upload Total Spent Left  Speed [2023-05-16T17:40:34.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 3128 0 --:--:-- --:--:-- --:--:-- 3132 [2023-05-16T17:40:35.317Z] Removing intermediate container 4942c8adf10d [2023-05-16T17:40:35.317Z] ---> 2873bc67c20e [2023-05-16T17:40:35.317Z] Step 13/36 : RUN ${MAKE} [2023-05-16T17:40:35.317Z] ---> Running in d47095ea021f [2023-05-16T17:40:36.288Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-16T17:43:13.015Z] Removing intermediate container d47095ea021f [2023-05-16T17:43:13.015Z] ---> 9e863e8c2c50 [2023-05-16T17:43:13.015Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T17:43:13.015Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T17:43:13.015Z] 8766b47fe142: Pulling fs layer [2023-05-16T17:43:13.015Z] 8766b47fe142: Download complete [2023-05-16T17:43:13.015Z] 8766b47fe142: Pull complete [2023-05-16T17:43:13.015Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T17:43:13.015Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T17:43:13.015Z] ---> 69d40e2cb93c [2023-05-16T17:43:13.015Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T17:43:13.015Z] 3.17: Pulling from library/alpine [2023-05-16T17:43:13.015Z] c41833b44d91: Already exists [2023-05-16T17:43:13.015Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T17:43:13.015Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T17:43:13.015Z] ---> 51e60588ff2c [2023-05-16T17:43:13.015Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T17:43:13.015Z] ---> Running in 1ac5645396c7 [2023-05-16T17:43:13.015Z] Removing intermediate container 1ac5645396c7 [2023-05-16T17:43:13.015Z] ---> 61edd02dd4da [2023-05-16T17:43:13.015Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T17:43:13.015Z] ---> Running in e94b95d2f4cd [2023-05-16T17:43:13.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T17:43:13.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T17:43:13.015Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-16T17:43:13.015Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-16T17:43:13.015Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-16T17:43:13.016Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-16T17:43:13.016Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-16T17:43:13.016Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-16T17:43:13.016Z] (7/83) Installing libxcb (1.15-r0) [2023-05-16T17:43:13.016Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-16T17:43:13.016Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-16T17:43:13.016Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-16T17:43:13.016Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-16T17:43:13.016Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-16T17:43:13.016Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-16T17:43:13.016Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-16T17:43:13.016Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-16T17:43:13.016Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-16T17:43:13.016Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-16T17:43:13.016Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-16T17:43:13.016Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-16T17:43:13.016Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-16T17:43:13.016Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-16T17:43:13.016Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-16T17:43:13.016Z] (23/83) Installing glib (2.74.6-r0) [2023-05-16T17:43:13.016Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-16T17:43:13.016Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-16T17:43:13.016Z] (26/83) Installing libass (0.16.0-r1) [2023-05-16T17:43:13.016Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-16T17:43:13.016Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-16T17:43:13.016Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-16T17:43:13.016Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-16T17:43:13.016Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-16T17:43:13.016Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-16T17:43:13.016Z] (33/83) Installing libunistring (1.1-r0) [2023-05-16T17:43:13.016Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-16T17:43:13.016Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T17:43:13.016Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T17:43:13.016Z] (37/83) Installing lame (3.100-r2) [2023-05-16T17:43:13.016Z] (38/83) Installing opus (1.3.1-r1) [2023-05-16T17:43:13.016Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-16T17:43:13.016Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-16T17:43:13.016Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-16T17:43:13.016Z] (42/83) Installing orc (0.4.33-r0) [2023-05-16T17:43:13.016Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T17:43:13.016Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-16T17:43:13.016Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T17:43:13.016Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-16T17:43:13.016Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-16T17:43:13.016Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-16T17:43:13.016Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T17:43:13.016Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-16T17:43:13.016Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-16T17:43:13.016Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-16T17:43:13.016Z] (53/83) Installing libpulse (16.1-r6) [2023-05-16T17:43:13.016Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-16T17:43:13.016Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-16T17:43:13.016Z] (56/83) Installing librist (0.2.7-r0) [2023-05-16T17:43:13.016Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-16T17:43:13.016Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-16T17:43:13.016Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-16T17:43:13.016Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T17:43:13.016Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T17:43:13.016Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-16T17:43:13.016Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-16T17:43:13.016Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T17:43:13.016Z] (65/83) Installing libva (2.16.0-r0) [2023-05-16T17:43:13.016Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-16T17:43:13.016Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-16T17:43:13.016Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-16T17:43:13.016Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-16T17:43:13.016Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T17:43:13.016Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-16T17:43:13.016Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-16T17:43:13.016Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-16T17:43:13.016Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-16T17:43:13.016Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-16T17:43:13.016Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T17:43:13.016Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-16T17:43:13.016Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-16T17:43:13.016Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-16T17:43:13.016Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-16T17:43:13.016Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-16T17:43:13.016Z] (82/83) Installing kmod-libs (30-r1) [2023-05-16T17:43:13.016Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-16T17:43:13.016Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T17:43:13.016Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T17:43:13.016Z] OK: 86 MiB in 98 packages [2023-05-16T17:43:13.016Z] Removing intermediate container e94b95d2f4cd [2023-05-16T17:43:13.016Z] ---> fe4afadb0728 [2023-05-16T17:43:13.016Z] Step 18/36 : WORKDIR / [2023-05-16T17:43:13.016Z] ---> Running in 8ffa3eba82b6 [2023-05-16T17:43:13.016Z] Removing intermediate container 8ffa3eba82b6 [2023-05-16T17:43:13.016Z] ---> 83225a535d53 [2023-05-16T17:43:13.016Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T17:43:13.016Z] ---> eb9130232b2c [2023-05-16T17:43:13.016Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T17:43:13.016Z] ---> 1df38b1662e9 [2023-05-16T17:43:13.016Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T17:43:13.016Z] ---> 56e6128181c9 [2023-05-16T17:43:13.016Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T17:43:13.604Z] ---> d356d595e83f [2023-05-16T17:43:13.604Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T17:43:13.873Z] ---> 1df7d239899c [2023-05-16T17:43:13.873Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T17:43:14.466Z] ---> 276ad09958c8 [2023-05-16T17:43:14.466Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T17:43:15.877Z] ---> 77957bd8ca35 [2023-05-16T17:43:15.877Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T17:43:15.877Z] ---> Running in 7c0dbca36513 [2023-05-16T17:43:19.498Z] Removing intermediate container 7c0dbca36513 [2023-05-16T17:43:19.498Z] ---> 3f21578087af [2023-05-16T17:43:19.498Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T17:43:19.498Z] ---> Running in 0b0f0dbf4448 [2023-05-16T17:43:21.453Z] Removing intermediate container 0b0f0dbf4448 [2023-05-16T17:43:21.453Z] ---> c879a35203f1 [2023-05-16T17:43:21.453Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T17:43:21.453Z] ---> Running in 04061a10e252 [2023-05-16T17:43:22.869Z] Removing intermediate container 04061a10e252 [2023-05-16T17:43:22.869Z] ---> 03fe273f1ef9 [2023-05-16T17:43:22.869Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T17:43:22.869Z] ---> Running in 02a050efb7b2 [2023-05-16T17:43:24.282Z] Removing intermediate container 02a050efb7b2 [2023-05-16T17:43:24.282Z] ---> 07edbfb340d8 [2023-05-16T17:43:24.282Z] Step 30/36 : EXPOSE 59983 [2023-05-16T17:43:24.282Z] ---> Running in 3560c9f0911f [2023-05-16T17:43:24.550Z] Removing intermediate container 3560c9f0911f [2023-05-16T17:43:24.550Z] ---> d127452079d4 [2023-05-16T17:43:24.550Z] Step 31/36 : EXPOSE 8554 [2023-05-16T17:43:24.823Z] ---> Running in 7963ed4b2b52 [2023-05-16T17:43:25.091Z] Removing intermediate container 7963ed4b2b52 [2023-05-16T17:43:25.091Z] ---> b09641375133 [2023-05-16T17:43:25.091Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T17:43:25.091Z] ---> Running in 7db63621033e [2023-05-16T17:43:25.359Z] Removing intermediate container 7db63621033e [2023-05-16T17:43:25.359Z] ---> 2d24f7b65451 [2023-05-16T17:43:25.359Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T17:43:25.359Z] ---> Running in b8da3fcad5d4 [2023-05-16T17:43:25.627Z] Removing intermediate container b8da3fcad5d4 [2023-05-16T17:43:25.627Z] ---> 538034759a11 [2023-05-16T17:43:25.627Z] Step 34/36 : LABEL arch=arm64 [2023-05-16T17:43:25.893Z] ---> Running in be68b5eaaa75 [2023-05-16T17:43:26.161Z] Removing intermediate container be68b5eaaa75 [2023-05-16T17:43:26.161Z] ---> a22b7404b0d0 [2023-05-16T17:43:26.161Z] Step 35/36 : LABEL git_sha=d96680b21f2337badbe832ecb95d6a4dc2e580db [2023-05-16T17:43:26.161Z] ---> Running in 77f92b89719b [2023-05-16T17:43:26.428Z] Removing intermediate container 77f92b89719b [2023-05-16T17:43:26.428Z] ---> d5cd37f1d27d [2023-05-16T17:43:26.428Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T17:43:26.428Z] ---> Running in 8065422f9fcc [2023-05-16T17:43:26.693Z] Removing intermediate container 8065422f9fcc [2023-05-16T17:43:26.693Z] ---> a43487edc129 [2023-05-16T17:43:26.693Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T17:43:26.693Z] Successfully built a43487edc129 [2023-05-16T17:43:26.693Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:43:27.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T17:43:27.175Z] [2023-05-16T17:43:27.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:43:27.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T17:43:27.518Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T17:43:27.518Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T17:43:27.518Z] 04944245beec: Pulling fs layer [2023-05-16T17:43:27.518Z] 699f458cf7ca: Pulling fs layer [2023-05-16T17:43:27.518Z] 765212b225bb: Pulling fs layer [2023-05-16T17:43:27.518Z] f23df028b6ca: Pulling fs layer [2023-05-16T17:43:27.518Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T17:43:27.518Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T17:43:27.518Z] 765212b225bb: Waiting [2023-05-16T17:43:27.518Z] f23df028b6ca: Waiting [2023-05-16T17:43:27.518Z] d65c8cfc05b1: Waiting [2023-05-16T17:43:27.518Z] 2437ff75d9bd: Waiting [2023-05-16T17:43:27.786Z] 04944245beec: Verifying Checksum [2023-05-16T17:43:27.786Z] 04944245beec: Download complete [2023-05-16T17:43:27.786Z] 765212b225bb: Verifying Checksum [2023-05-16T17:43:27.786Z] 765212b225bb: Download complete [2023-05-16T17:43:27.786Z] f23df028b6ca: Verifying Checksum [2023-05-16T17:43:27.786Z] f23df028b6ca: Download complete [2023-05-16T17:43:27.786Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T17:43:27.786Z] d65c8cfc05b1: Download complete [2023-05-16T17:43:28.064Z] 699f458cf7ca: Verifying Checksum [2023-05-16T17:43:28.064Z] 699f458cf7ca: Download complete [2023-05-16T17:43:28.330Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T17:43:30.286Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T17:43:30.286Z] 2437ff75d9bd: Download complete [2023-05-16T17:43:32.232Z] 8998bd30e6a1: Pull complete [2023-05-16T17:43:32.502Z] 04944245beec: Pull complete [2023-05-16T17:43:33.909Z] 699f458cf7ca: Pull complete [2023-05-16T17:43:33.909Z] 765212b225bb: Pull complete [2023-05-16T17:43:34.868Z] f23df028b6ca: Pull complete [2023-05-16T17:43:34.868Z] d65c8cfc05b1: Pull complete [2023-05-16T17:43:49.861Z] 2437ff75d9bd: Pull complete [2023-05-16T17:43:49.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T17:43:49.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T17:43:49.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:43:50.054Z] prd-ubuntu20.04-docker-arm64-4c-16g-15754 does not seem to be running inside a container [2023-05-16T17:43:50.127Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T17:43:52.553Z] $ docker top 3ee2b485470bb7728c1e65634c212986354cf247a16c06d49f703df0e9889464 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:43:53.049Z] ---> job-cost.sh [2023-05-16T17:43:53.316Z] lf-activate-venv: SKIPPING [2023-05-16T17:43:53.316Z] INFO: No Stack... [2023-05-16T17:43:53.582Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T17:43:54.536Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T17:43:54.849Z] + cat /w/workspace/device-usb-camera/4/archives/cost.csv [2023-05-16T17:43:54.849Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T17:43:54.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] [2023-05-16T17:43:54.921Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] did not exist. Created. [2023-05-16T17:43:54.922Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T17:43:55.255Z] /w/workspace/device-usb-camera/4@tmp/durable-b8ddd4bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T17:43:55.589Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T17:43:55.604Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T17:43:55.649Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T17:43:55.659Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-247-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T17:43:55.683Z] $ docker stop --time=1 3ee2b485470bb7728c1e65634c212986354cf247a16c06d49f703df0e9889464 [2023-05-16T17:43:57.134Z] $ docker rm -f --volumes 3ee2b485470bb7728c1e65634c212986354cf247a16c06d49f703df0e9889464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-16T17:43:57.527Z] provisioning config files... [2023-05-16T17:43:57.534Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config16897368585082297783tmp [Pipeline] { [Pipeline] sh [2023-05-16T17:43:57.826Z] + set +x [2023-05-16T17:43:57.826Z] + bash -s -- [2023-05-16T17:43:57.826Z] + curl -s https://codecov.io/bash [2023-05-16T17:43:57.826Z] [2023-05-16T17:43:57.826Z] _____ _ [2023-05-16T17:43:57.826Z] / ____| | | [2023-05-16T17:43:57.826Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T17:43:57.826Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T17:43:57.826Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T17:43:57.826Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T17:43:57.826Z] Bash-1.0.6 [2023-05-16T17:43:57.826Z] [2023-05-16T17:43:57.826Z] [2023-05-16T17:43:57.826Z] ==> git version 2.25.1 found [2023-05-16T17:43:57.826Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-16T17:43:57.826Z] Release-Date: 2020-01-08 [2023-05-16T17:43:57.826Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-16T17:43:57.826Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T17:43:57.826Z] ==> Jenkins CI detected. [2023-05-16T17:43:57.826Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-247 [2023-05-16T17:43:57.826Z] project root: . [2023-05-16T17:43:57.826Z] --> token set from env [2023-05-16T17:43:57.826Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T17:43:58.086Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T17:43:58.086Z] ==> Python coveragepy not found [2023-05-16T17:43:58.086Z] ==> Searching for coverage reports in: [2023-05-16T17:43:58.086Z] + . [2023-05-16T17:43:58.086Z] -> Found 1 reports [2023-05-16T17:43:58.086Z] ==> Detecting git/mercurial file structure [2023-05-16T17:43:58.086Z] ==> Reading reports [2023-05-16T17:43:58.086Z] + ./coverage.out bytes=31522 [2023-05-16T17:43:58.086Z] ==> Appending adjustments [2023-05-16T17:43:58.086Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T17:43:58.086Z] + Found adjustments [2023-05-16T17:43:58.086Z] ==> Gzipping contents [2023-05-16T17:43:58.086Z] 8.0K /tmp/codecov.VLQhh1.gz [2023-05-16T17:43:58.086Z] ==> Uploading reports [2023-05-16T17:43:58.086Z] url: https://codecov.io [2023-05-16T17:43:58.086Z] query: branch=PR-247&commit=814d1f9b6aeaea366100a5a2af9d932d74f88426&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-247%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-05-16T17:43:58.086Z] -> Pinging Codecov [2023-05-16T17:43:58.086Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-247&commit=814d1f9b6aeaea366100a5a2af9d932d74f88426&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-247%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-05-16T17:43:58.346Z] -> Uploading to [2023-05-16T17:43:58.346Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/73D8F5FF140700D3E01443B452E23636/814d1f9b6aeaea366100a5a2af9d932d74f88426/4d37974d-de3a-4b2d-a3ea-f89d3fec7bae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T174358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0984262fe6481bf5c66529d885f35fb985f11b57ca479a205b002154807918aa [2023-05-16T17:43:58.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T17:43:58.346Z] Dload Upload Total Spent Left Speed [2023-05-16T17:43:58.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 20774 --:--:-- --:--:-- --:--:-- 20774 [2023-05-16T17:43:58.606Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/814d1f9b6aeaea366100a5a2af9d932d74f88426 [Pipeline] } [2023-05-16T17:43:58.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-16T17:43:59.403Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-247/archives ] [2023-05-16T17:43:59.403Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-247/archives [2023-05-16T17:43:59.403Z] total 16 [2023-05-16T17:43:59.403Z] drwxr-xr-x 3 root root 4096 May 16 17:35 . [2023-05-16T17:43:59.403Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 17:35 .. [2023-05-16T17:43:59.403Z] drwxr-xr-x 2 root root 4096 May 16 17:35 cost [2023-05-16T17:43:59.403Z] -rw-r--r-- 1 root root 89 May 16 17:35 cost.csv [2023-05-16T17:43:59.403Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-247/archives [2023-05-16T17:43:59.403Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-247/archives [2023-05-16T17:43:59.403Z] total 16 [2023-05-16T17:43:59.403Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:35 . [2023-05-16T17:43:59.403Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 17:35 .. [2023-05-16T17:43:59.403Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 17:35 cost [2023-05-16T17:43:59.403Z] -rw-r--r-- 1 jenkins jenkins 89 May 16 17:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:43:59.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:44:00.558Z] ---> package-listing.sh [2023-05-16T17:44:00.558Z] ++ facter osfamily [2023-05-16T17:44:00.558Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T17:44:00.817Z] + OS_FAMILY=debian [2023-05-16T17:44:00.817Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-247 [2023-05-16T17:44:00.817Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T17:44:00.817Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T17:44:00.817Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T17:44:00.817Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T17:44:00.817Z] + '[' /w/workspace/foundry_device-usb-camera_PR-247 ']' [2023-05-16T17:44:00.817Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T17:44:00.817Z] + case "${OS_FAMILY}" in [2023-05-16T17:44:00.817Z] + dpkg -l [2023-05-16T17:44:00.817Z] + grep '^ii' [2023-05-16T17:44:00.817Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T17:44:00.817Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T17:44:00.817Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T17:44:00.817Z] + '[' /w/workspace/foundry_device-usb-camera_PR-247 ']' [2023-05-16T17:44:00.817Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-247/archives/ [2023-05-16T17:44:00.817Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-247/archives/ [Pipeline] echo [2023-05-16T17:44:00.828Z] 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-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T17:44:01.109Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T17:44:01.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T17:44:01.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T17:44:01.745Z] prd-ubuntu20.04-docker-8c-8g-15753 does not seem to be running inside a container [2023-05-16T17:44:01.796Z] $ 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-247/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-247 -v /w/workspace/foundry_device-usb-camera_PR-247:/w/workspace/foundry_device-usb-camera_PR-247:rw,z -v /w/workspace/foundry_device-usb-camera_PR-247@tmp:/w/workspace/foundry_device-usb-camera_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T17:44:02.021Z] $ docker top 5158df6f1e204675b449bf5c3b7246a8c347aaaf64a63065a4120717d6427ad1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T17:44:02.368Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T17:44:02.661Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T17:44:02.948Z] + ls /var/log/sa-host [2023-05-16T17:44:02.948Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T17:44:03.151Z] provisioning config files... [2023-05-16T17:44:03.159Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-247@tmp/config18225840380454936808tmp [Pipeline] { [Pipeline] echo [2023-05-16T17:44:03.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:44:03.456Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T17:44:03.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:44:03.809Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T17:44:03.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:44:04.110Z] ---> sudo-logs.sh [2023-05-16T17:44:04.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T17:44:04.147Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:44:04.433Z] ---> job-cost.sh [2023-05-16T17:44:04.433Z] lf-activate-venv: SKIPPING [2023-05-16T17:44:04.433Z] DEBUG: total: 0.2199999988079071 [2023-05-16T17:44:04.433Z] INFO: Retrieving Stack Cost... [2023-05-16T17:44:05.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T17:44:05.259Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T17:44:05.268Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T17:44:05.550Z] ---> logs-deploy.sh [2023-05-16T17:44:05.550Z] lf-activate-venv: SKIPPING [2023-05-16T17:44:05.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-247/4 [2023-05-16T17:44:05.550Z] INFO: archiving workspace using pattern(s): [2023-05-16T17:44:06.486Z] Archives upload complete. [2023-05-16T17:44:06.486Z] INFO: archiving logs to Nexus