Pull request #240 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 9fcc0dad9d9d49e9e9a749427cc635625dc9031c rather than d8e9d294c627da20b9e03dd7d38341c33e939eac Obtained Jenkinsfile from 9fcc0dad9d9d49e9e9a749427cc635625dc9031c 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-ssh17976085847391230041.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-ssh14088446215545769152.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-240/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-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15423197319975588360.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-ssh7058711098383356252.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-240/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-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11400787423416991667.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15171 in /w/workspace/foundry_device-usb-camera_PR-240 [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-240 # 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/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9fcc0dad9d9d49e9e9a749427cc635625dc9031c into PR head commit d8e9d294c627da20b9e03dd7d38341c33e939eac Merge succeeded, producing d8e9d294c627da20b9e03dd7d38341c33e939eac Checking out Revision d8e9d294c627da20b9e03dd7d38341c33e939eac (PR-240) > git config core.sparsecheckout # timeout=10 > git checkout -f d8e9d294c627da20b9e03dd7d38341c33e939eac # 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 9fcc0dad9d9d49e9e9a749427cc635625dc9031c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8e9d294c627da20b9e03dd7d38341c33e939eac # timeout=10 Commit message: "Merge remote-tracking branch 'edgex/main' into rtsp_cred_pr" > git rev-list --no-walk 0efd8ece3b7d91c2948a30cca909fc4f83fa726b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-11T04:34:40.308Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-11T04:34:40.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-11T04:34:40.371Z] ========================================================= [2023-05-11T04:34:40.371Z] EdgeX Global Pipelines Version Info [2023-05-11T04:34:40.371Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:34:41.085Z] ------------------- [2023-05-11T04:34:41.085Z] stable info: [2023-05-11T04:34:41.085Z] ------------------- [2023-05-11T04:34:41.086Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-11T04:34:41.086Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T04:34:41.086Z] Message: update stable to v1.0.249 [2023-05-11T04:34:41.661Z] ------------------- [2023-05-11T04:34:41.661Z] experimental info: [2023-05-11T04:34:41.661Z] ------------------- [2023-05-11T04:34:41.661Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-11T04:34:41.661Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T04:34:41.661Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-11T04:34:41.842Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-11T04:34:41.857Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-11T04:34:41.870Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-11T04:34:41.884Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-11T04:34:41.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-11T04:34:41.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-11T04:34:41.930Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-11T04:34:41.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-11T04:34:41.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-11T04:34:41.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-11T04:34:41.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-11T04:34:42.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-11T04:34:42.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-11T04:34:42.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-11T04:34:42.068Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T04:34:42.081Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T04:34:42.095Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T04:34:42.108Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T04:34:42.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-11T04:34:42.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-11T04:34:42.151Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-11T04:34:42.167Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-11T04:34:42.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-11T04:34:42.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-11T04:34:42.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-11T04:34:42.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-11T04:34:42.259Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-11T04:34:42.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2023-05-11T04:34:42.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2023-05-11T04:34:42.321Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2023-05-11T04:34:42.336Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8e9d294c627da20b9e03dd7d38341c33e939eac [Pipeline] echo [2023-05-11T04:34:42.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8e9d29 [Pipeline] echo [2023-05-11T04:34:42.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T04:34:42.418Z] provisioning config files... [2023-05-11T04:34:42.431Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config15745970754755812087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:34:42.734Z] ---> docker-login.sh [2023-05-11T04:34:42.734Z] nexus3.edgexfoundry.org:10001 [2023-05-11T04:34:42.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:43.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:43.259Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:43.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:43.259Z] [2023-05-11T04:34:43.259Z] Login Succeeded [2023-05-11T04:34:43.259Z] nexus3.edgexfoundry.org:10002 [2023-05-11T04:34:43.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:43.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:43.259Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:43.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:43.259Z] [2023-05-11T04:34:43.259Z] Login Succeeded [2023-05-11T04:34:43.259Z] nexus3.edgexfoundry.org:10003 [2023-05-11T04:34:43.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:43.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:43.519Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:43.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:43.519Z] [2023-05-11T04:34:43.519Z] Login Succeeded [2023-05-11T04:34:43.519Z] nexus3.edgexfoundry.org:10004 [2023-05-11T04:34:43.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:43.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:43.519Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:43.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:43.519Z] [2023-05-11T04:34:43.519Z] Login Succeeded [2023-05-11T04:34:43.519Z] docker.io [2023-05-11T04:34:43.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:43.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:43.784Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:43.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:43.784Z] [2023-05-11T04:34:43.784Z] Login Succeeded [2023-05-11T04:34:43.784Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T04:34:43.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-11T04:34:44.183Z] + git rev-list -1 --merges d8e9d294c627da20b9e03dd7d38341c33e939eac~1..d8e9d294c627da20b9e03dd7d38341c33e939eac [Pipeline] echo [2023-05-11T04:34:44.230Z] -----------> git rev-list -1 --merges d8e9d294c627da20b9e03dd7d38341c33e939eac~1..d8e9d294c627da20b9e03dd7d38341c33e939eac d8e9d294c627da20b9e03dd7d38341c33e939eac [2023-05-11T04:34:44.230Z] d8e9d294c627da20b9e03dd7d38341c33e939eac [false] [Pipeline] sh [2023-05-11T04:34:44.518Z] + git log --format=format:%s -1 d8e9d294c627da20b9e03dd7d38341c33e939eac [Pipeline] echo [2023-05-11T04:34:44.533Z] ========================================================= [2023-05-11T04:34:44.533Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-11T04:34:44.533Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T04:34:44.875Z] + git log --format=format:%s -1 d8e9d294c627da20b9e03dd7d38341c33e939eac [Pipeline] echo [2023-05-11T04:34:44.885Z] [semverPrep] GIT_COMMIT: d8e9d294c627da20b9e03dd7d38341c33e939eac, Commit Message: Merge remote-tracking branch 'edgex/main' into rtsp_cred_pr [Pipeline] echo [2023-05-11T04:34:44.895Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-11T04:34:45.333Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T04:34:45.333Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-11T04:34:45.333Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-11T04:34:45.333Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-11T04:34:45.333Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-11T04:34:45.333Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-11T04:34:45.333Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:34:45.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T04:34:45.772Z] [2023-05-11T04:34:45.772Z] 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-11T04:34:46.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T04:34:46.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-11T04:34:46.069Z] b85a868b505f: Pulling fs layer [2023-05-11T04:34:46.069Z] e2be974225ed: Pulling fs layer [2023-05-11T04:34:46.069Z] 339a4e72a1f5: Pulling fs layer [2023-05-11T04:34:46.069Z] 988bab9f4d93: Pulling fs layer [2023-05-11T04:34:46.069Z] 1469e6f7b9e6: Pulling fs layer [2023-05-11T04:34:46.069Z] eaf3925da568: Pulling fs layer [2023-05-11T04:34:46.069Z] bab4dde63d76: Pulling fs layer [2023-05-11T04:34:46.069Z] bde34c3a00c8: Pulling fs layer [2023-05-11T04:34:46.069Z] b352a97aabf1: Pulling fs layer [2023-05-11T04:34:46.069Z] 4872d77fe225: Pulling fs layer [2023-05-11T04:34:46.069Z] 5851b861e8e6: Pulling fs layer [2023-05-11T04:34:46.069Z] eaf3925da568: Waiting [2023-05-11T04:34:46.069Z] 1469e6f7b9e6: Waiting [2023-05-11T04:34:46.069Z] 4872d77fe225: Waiting [2023-05-11T04:34:46.069Z] 5851b861e8e6: Waiting [2023-05-11T04:34:46.069Z] b352a97aabf1: Waiting [2023-05-11T04:34:46.069Z] 988bab9f4d93: Waiting [2023-05-11T04:34:46.069Z] bde34c3a00c8: Waiting [2023-05-11T04:34:46.069Z] e2be974225ed: Verifying Checksum [2023-05-11T04:34:46.069Z] e2be974225ed: Download complete [2023-05-11T04:34:46.069Z] 988bab9f4d93: Verifying Checksum [2023-05-11T04:34:46.069Z] 988bab9f4d93: Download complete [2023-05-11T04:34:46.069Z] 1469e6f7b9e6: Verifying Checksum [2023-05-11T04:34:46.069Z] 1469e6f7b9e6: Download complete [2023-05-11T04:34:46.329Z] 339a4e72a1f5: Verifying Checksum [2023-05-11T04:34:46.329Z] 339a4e72a1f5: Download complete [2023-05-11T04:34:46.329Z] eaf3925da568: Verifying Checksum [2023-05-11T04:34:46.329Z] eaf3925da568: Download complete [2023-05-11T04:34:46.329Z] bde34c3a00c8: Download complete [2023-05-11T04:34:46.329Z] b352a97aabf1: Download complete [2023-05-11T04:34:46.329Z] 4872d77fe225: Verifying Checksum [2023-05-11T04:34:46.329Z] 4872d77fe225: Download complete [2023-05-11T04:34:46.329Z] 5851b861e8e6: Verifying Checksum [2023-05-11T04:34:46.329Z] 5851b861e8e6: Download complete [2023-05-11T04:34:46.329Z] b85a868b505f: Verifying Checksum [2023-05-11T04:34:46.329Z] b85a868b505f: Download complete [2023-05-11T04:34:46.588Z] bab4dde63d76: Verifying Checksum [2023-05-11T04:34:46.588Z] bab4dde63d76: Download complete [2023-05-11T04:34:47.525Z] b85a868b505f: Pull complete [2023-05-11T04:34:47.525Z] e2be974225ed: Pull complete [2023-05-11T04:34:48.093Z] 339a4e72a1f5: Pull complete [2023-05-11T04:34:48.093Z] 988bab9f4d93: Pull complete [2023-05-11T04:34:48.355Z] 1469e6f7b9e6: Pull complete [2023-05-11T04:34:48.614Z] eaf3925da568: Pull complete [2023-05-11T04:34:50.555Z] bab4dde63d76: Pull complete [2023-05-11T04:34:50.555Z] bde34c3a00c8: Pull complete [2023-05-11T04:34:50.555Z] b352a97aabf1: Pull complete [2023-05-11T04:34:50.816Z] 4872d77fe225: Pull complete [2023-05-11T04:34:50.816Z] 5851b861e8e6: Pull complete [2023-05-11T04:34:50.816Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-11T04:34:50.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T04:34:50.816Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:34:50.927Z] prd-ubuntu20.04-docker-8c-8g-15171 does not seem to be running inside a container [2023-05-11T04:34:50.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T04:34:52.182Z] $ docker top 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 -eo pid,comm [2023-05-11T04:34:52.248Z] 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-11T04:34:52.248Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T04:34:52.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T04:34:52.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T04:34:52.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T04:34:52.397Z] $ docker exec 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 ssh-agent [2023-05-11T04:34:52.523Z] SSH_AUTH_SOCK=/tmp/ssh-cLk4WpqVLjHK/agent.31 [2023-05-11T04:34:52.523Z] SSH_AGENT_PID=37 [2023-05-11T04:34:52.529Z] Running ssh-add (command line suppressed) [2023-05-11T04:34:52.639Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_17847802380461068944.key (/w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_17847802380461068944.key) [2023-05-11T04:34:52.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T04:34:52.952Z] + git tag --points-at HEAD [Pipeline] } [2023-05-11T04:34:52.961Z] $ docker exec --env ******** --env ******** 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 ssh-agent -k [2023-05-11T04:34:53.075Z] unset SSH_AUTH_SOCK; [2023-05-11T04:34:53.075Z] unset SSH_AGENT_PID; [2023-05-11T04:34:53.076Z] echo Agent pid 37 killed; [2023-05-11T04:34:53.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-11T04:34:53.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T04:34:53.115Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T04:34:53.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T04:34:53.229Z] $ docker exec 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 ssh-agent [2023-05-11T04:34:53.361Z] SSH_AUTH_SOCK=/tmp/ssh-zmeEo6Q5hRjc/agent.69 [2023-05-11T04:34:53.361Z] SSH_AGENT_PID=75 [2023-05-11T04:34:53.365Z] Running ssh-add (command line suppressed) [2023-05-11T04:34:53.456Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_3799194898789532152.key (/w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_3799194898789532152.key) [2023-05-11T04:34:53.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T04:34:53.771Z] + git semver init [2023-05-11T04:34:54.031Z] 2023-05-11 04:34:53,964 [run_init] DEBUG init version:0.0.0 force:False [2023-05-11T04:34:54.031Z] 2023-05-11 04:34:53,964 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-240/.semver [2023-05-11T04:34:54.031Z] 2023-05-11 04:34:53,965 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-240/.semver [2023-05-11T04:34:54.031Z] 2023-05-11 04:34:53,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-240/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-240, universal_newlines=False, shell=None, istream=None) [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,621 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-240/.git/info/exclude [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,621 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-240/.semver/PR-240 with force:False [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,621 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-240/.semver/PR-240 [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,626 [execute] INFO git cat-file --batch-check [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,632 [execute] INFO git cat-file --batch [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T04:34:54.971Z] 2023-05-11 04:34:54,637 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-240/.semver/PR-240 [2023-05-11T04:34:54.971Z] 0.0.0 [Pipeline] } [2023-05-11T04:34:54.976Z] $ docker exec --env ******** --env ******** 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 ssh-agent -k [2023-05-11T04:34:55.088Z] unset SSH_AUTH_SOCK; [2023-05-11T04:34:55.089Z] unset SSH_AGENT_PID; [2023-05-11T04:34:55.089Z] echo Agent pid 75 killed; [2023-05-11T04:34:55.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T04:34:55.406Z] + git semver [Pipeline] } [2023-05-11T04:34:55.674Z] $ docker stop --time=1 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 [2023-05-11T04:34:56.986Z] $ docker rm -f --volumes 7bdb23b6454c8579db2279feb02f68c25cb6de11750e4e2c324856c800f11cf3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T04:34:57.329Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-11T04:34:57.532Z] Stashed 1 file(s) [Pipeline] echo [2023-05-11T04:34:57.535Z] [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-11T04:34:57.654Z] provisioning config files... [2023-05-11T04:34:57.664Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config406175382069323602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:34:57.956Z] ---> docker-login.sh [2023-05-11T04:34:57.956Z] nexus3.edgexfoundry.org:10001 [2023-05-11T04:34:57.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:57.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:57.956Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:57.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:57.956Z] [2023-05-11T04:34:57.956Z] Login Succeeded [2023-05-11T04:34:57.956Z] nexus3.edgexfoundry.org:10002 [2023-05-11T04:34:57.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:57.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:57.956Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:57.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:57.956Z] [2023-05-11T04:34:57.956Z] Login Succeeded [2023-05-11T04:34:57.956Z] nexus3.edgexfoundry.org:10003 [2023-05-11T04:34:58.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:58.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:58.218Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:58.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:58.218Z] [2023-05-11T04:34:58.218Z] Login Succeeded [2023-05-11T04:34:58.218Z] nexus3.edgexfoundry.org:10004 [2023-05-11T04:34:58.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:58.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:58.218Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:58.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:58.218Z] [2023-05-11T04:34:58.218Z] Login Succeeded [2023-05-11T04:34:58.218Z] docker.io [2023-05-11T04:34:58.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:34:58.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:34:58.478Z] Configure a credential helper to remove this warning. See [2023-05-11T04:34:58.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:34:58.478Z] [2023-05-11T04:34:58.478Z] Login Succeeded [2023-05-11T04:34:58.478Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T04:34:58.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T04:34:58.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T04:34:58.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T04:34:58.563Z] ========================================================= [2023-05-11T04:34:58.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-11T04:34:58.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:34:58.890Z] + 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-11T04:34:58.890Z] Sending build context to Docker daemon 1.984MB [2023-05-11T04:34:58.890Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T04:34:58.890Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T04:34:58.890Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-11T04:34:58.890Z] f56be85fc22e: Pulling fs layer [2023-05-11T04:34:58.890Z] 85791d961cd3: Pulling fs layer [2023-05-11T04:34:58.890Z] d694b5ae8c79: Pulling fs layer [2023-05-11T04:34:58.890Z] 9f32a84ed3da: Pulling fs layer [2023-05-11T04:34:58.890Z] 4d19c01a9841: Pulling fs layer [2023-05-11T04:34:58.890Z] 9325e15d5711: Pulling fs layer [2023-05-11T04:34:58.890Z] 556b6ee489ea: Pulling fs layer [2023-05-11T04:34:58.890Z] c5a4b2cf53e6: Pulling fs layer [2023-05-11T04:34:58.890Z] 9325e15d5711: Waiting [2023-05-11T04:34:58.890Z] 556b6ee489ea: Waiting [2023-05-11T04:34:58.890Z] c5a4b2cf53e6: Waiting [2023-05-11T04:34:58.890Z] 9f32a84ed3da: Waiting [2023-05-11T04:34:58.890Z] 85791d961cd3: Download complete [2023-05-11T04:34:58.890Z] 9f32a84ed3da: Verifying Checksum [2023-05-11T04:34:58.890Z] 9f32a84ed3da: Download complete [2023-05-11T04:34:58.890Z] 4d19c01a9841: Verifying Checksum [2023-05-11T04:34:58.890Z] 4d19c01a9841: Download complete [2023-05-11T04:34:59.153Z] f56be85fc22e: Verifying Checksum [2023-05-11T04:34:59.153Z] f56be85fc22e: Download complete [2023-05-11T04:34:59.153Z] 9325e15d5711: Verifying Checksum [2023-05-11T04:34:59.153Z] 9325e15d5711: Download complete [2023-05-11T04:34:59.153Z] f56be85fc22e: Pull complete [2023-05-11T04:34:59.413Z] 85791d961cd3: Pull complete [2023-05-11T04:34:59.672Z] d694b5ae8c79: Verifying Checksum [2023-05-11T04:34:59.672Z] d694b5ae8c79: Download complete [2023-05-11T04:34:59.672Z] c5a4b2cf53e6: Verifying Checksum [2023-05-11T04:34:59.672Z] c5a4b2cf53e6: Download complete [2023-05-11T04:34:59.933Z] 556b6ee489ea: Verifying Checksum [2023-05-11T04:34:59.934Z] 556b6ee489ea: Download complete [2023-05-11T04:35:03.228Z] d694b5ae8c79: Pull complete [2023-05-11T04:35:03.228Z] 9f32a84ed3da: Pull complete [2023-05-11T04:35:03.228Z] 4d19c01a9841: Pull complete [2023-05-11T04:35:03.228Z] 9325e15d5711: Pull complete [2023-05-11T04:35:05.758Z] 556b6ee489ea: Pull complete [2023-05-11T04:35:06.323Z] c5a4b2cf53e6: Pull complete [2023-05-11T04:35:06.323Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-11T04:35:06.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-11T04:35:06.323Z] ---> c4be618373d6 [2023-05-11T04:35:06.323Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T04:35:07.706Z] ---> Running in cc67768c4dc7 [2023-05-11T04:35:07.706Z] Removing intermediate container cc67768c4dc7 [2023-05-11T04:35:07.706Z] ---> ff0ff99a7926 [2023-05-11T04:35:07.706Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T04:35:07.706Z] ---> Running in 923c10d33df0 [2023-05-11T04:35:07.968Z] Removing intermediate container 923c10d33df0 [2023-05-11T04:35:07.968Z] ---> a525323f6b61 [2023-05-11T04:35:07.968Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-11T04:35:07.968Z] ---> Running in 6f9ea5a67593 [2023-05-11T04:35:07.968Z] Removing intermediate container 6f9ea5a67593 [2023-05-11T04:35:07.968Z] ---> 0d2a554af299 [2023-05-11T04:35:07.968Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-11T04:35:07.968Z] ---> Running in 4c6535e6e3a1 [2023-05-11T04:35:08.230Z] Removing intermediate container 4c6535e6e3a1 [2023-05-11T04:35:08.230Z] ---> 677f922cce90 [2023-05-11T04:35:08.230Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T04:35:08.230Z] ---> Running in 2e322e0179ec [2023-05-11T04:35:08.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T04:35:08.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T04:35:08.751Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-11T04:35:08.751Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-11T04:35:08.752Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-11T04:35:08.752Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-11T04:35:08.752Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-11T04:35:08.752Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-11T04:35:08.752Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-11T04:35:08.752Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-11T04:35:08.752Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-11T04:35:08.752Z] (10/14) Installing kmod-libs (30-r1) [2023-05-11T04:35:08.752Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-11T04:35:08.752Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-11T04:35:08.752Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-11T04:35:08.752Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-11T04:35:08.752Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T04:35:08.752Z] Executing eudev-3.2.11-r4.trigger [2023-05-11T04:35:08.752Z] OK: 272 MiB in 67 packages [2023-05-11T04:35:09.333Z] Removing intermediate container 2e322e0179ec [2023-05-11T04:35:09.333Z] ---> a8b2f8f3d8ed [2023-05-11T04:35:09.333Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-11T04:35:09.333Z] ---> Running in c90f343d3da1 [2023-05-11T04:35:09.333Z] Removing intermediate container c90f343d3da1 [2023-05-11T04:35:09.333Z] ---> 8e938d879eab [2023-05-11T04:35:09.333Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-11T04:35:09.594Z] ---> 567cf6a38458 [2023-05-11T04:35:09.594Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T04:35:09.594Z] ---> Running in eca56588223b [2023-05-11T04:35:12.623Z] Still waiting to schedule task [2023-05-11T04:35:12.624Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-11T04:35:27.745Z] Removing intermediate container eca56588223b [2023-05-11T04:35:27.745Z] ---> 6b8c4116162a [2023-05-11T04:35:27.745Z] Step 11/13 : COPY . . [2023-05-11T04:35:27.745Z] ---> 358000e91d8c [2023-05-11T04:35:27.745Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-11T04:35:27.745Z] ---> Running in ce75aefc1fae [2023-05-11T04:35:27.745Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T04:35:27.745Z] Dload Upload Total Spent Left Speed [2023-05-11T04:35:27.745Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21817 0 --:--:-- --:--:-- --:--:-- 22125 [2023-05-11T04:35:27.745Z] Removing intermediate container ce75aefc1fae [2023-05-11T04:35:27.745Z] ---> 8bd3d37af94c [2023-05-11T04:35:27.745Z] Step 13/13 : RUN ${MAKE} [2023-05-11T04:35:27.745Z] ---> Running in 3a7acf7846d9 [2023-05-11T04:35:27.745Z] noop [2023-05-11T04:35:28.004Z] Removing intermediate container 3a7acf7846d9 [2023-05-11T04:35:28.004Z] ---> bb366e78e3e1 [2023-05-11T04:35:28.004Z] Successfully built bb366e78e3e1 [2023-05-11T04:35:28.004Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:35:28.328Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T04:35:28.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:35:28.417Z] prd-ubuntu20.04-docker-8c-8g-15171 does not seem to be running inside a container [2023-05-11T04:35:28.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T04:35:28.764Z] $ docker top 35354153d149ceca32a135385f4432cfe90fcbd2a05bc9b5f3fb0fb4823ff655 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T04:35:29.114Z] + go version [2023-05-11T04:35:29.114Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-11T04:35:29.124Z] $ docker stop --time=1 35354153d149ceca32a135385f4432cfe90fcbd2a05bc9b5f3fb0fb4823ff655 [2023-05-11T04:35:30.388Z] $ docker rm -f --volumes 35354153d149ceca32a135385f4432cfe90fcbd2a05bc9b5f3fb0fb4823ff655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:35:30.795Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T04:35:30.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:35:30.868Z] prd-ubuntu20.04-docker-8c-8g-15171 does not seem to be running inside a container [2023-05-11T04:35:30.896Z] $ 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-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T04:35:31.249Z] $ docker top 2496766e8b45a73612de43f01497134e864c47284a2445e3981cdc79c1dc4ccf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T04:35:31.588Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-240 [Pipeline] fileExists [Pipeline] sh [2023-05-11T04:35:31.888Z] + make test [2023-05-11T04:35:31.888Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T04:35:36.084Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-11T04:35:46.054Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-11T04:35:46.054Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.8% of statements [2023-05-11T04:35:52.625Z] go vet ./... [2023-05-11T04:35:55.157Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T04:35:55.157Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T04:35:55.157Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T04:35:55.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T04:35:55.186Z] $ docker stop --time=1 2496766e8b45a73612de43f01497134e864c47284a2445e3981cdc79c1dc4ccf [2023-05-11T04:35:57.724Z] $ docker rm -f --volumes 2496766e8b45a73612de43f01497134e864c47284a2445e3981cdc79c1dc4ccf [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T04:35:58.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T04:35:58.228Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-11T04:35:58.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T04:35:59.151Z] + ls -al . [2023-05-11T04:35:59.151Z] total 188 [2023-05-11T04:35:59.151Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 04:35 . [2023-05-11T04:35:59.151Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:34 .. [2023-05-11T04:35:59.151Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 04:34 .git [2023-05-11T04:35:59.151Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:34 .github [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 414 May 11 04:34 .gitignore [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 04:34 .golangci.yml [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 77 May 11 04:34 .hadolint.yml [2023-05-11T04:35:59.151Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 04:34 .semver [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 11 04:34 Attribution.txt [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 11 04:34 CHANGELOG.md [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 11 04:34 Dockerfile [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 678 May 11 04:34 GOVERNANCE.md [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 659 May 11 04:34 Jenkinsfile [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 04:34 LICENSE [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 11 04:34 Makefile [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 04:34 OWNERS.md [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 11 04:34 README.md [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 04:34 VERSION [2023-05-11T04:35:59.151Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:34 bin [2023-05-11T04:35:59.151Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:34 cmd [2023-05-11T04:35:59.151Z] -rw-r--r-- 1 jenkins jenkins 31521 May 11 04:35 coverage.out [2023-05-11T04:35:59.151Z] -rwxrwxr-x 1 jenkins jenkins 140 May 11 04:34 docker-entrypoint.sh [2023-05-11T04:35:59.151Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:34 docs [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 3431 May 11 04:34 go.mod [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 11 04:34 go.sum [2023-05-11T04:35:59.151Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:34 internal [2023-05-11T04:35:59.151Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:34 snap [2023-05-11T04:35:59.151Z] -rw-rw-r-- 1 jenkins jenkins 231 May 11 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:35:59.456Z] + 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=d8e9d294c627da20b9e03dd7d38341c33e939eac --label arch=amd64 --label version=0.0.0 . [2023-05-11T04:35:59.456Z] Sending build context to Docker daemon 2.016MB [2023-05-11T04:35:59.456Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T04:35:59.456Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-11T04:35:59.456Z] ---> bb366e78e3e1 [2023-05-11T04:35:59.456Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-11T04:35:59.456Z] ---> Running in 06a782229925 [2023-05-11T04:35:59.715Z] Removing intermediate container 06a782229925 [2023-05-11T04:35:59.715Z] ---> 614a5f102d3c [2023-05-11T04:35:59.715Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T04:35:59.715Z] ---> Running in 73d77044bbbe [2023-05-11T04:35:59.715Z] Removing intermediate container 73d77044bbbe [2023-05-11T04:35:59.715Z] ---> 1362edefa0f3 [2023-05-11T04:35:59.715Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-11T04:35:59.715Z] ---> Running in c8d895bf6434 [2023-05-11T04:35:59.974Z] Removing intermediate container c8d895bf6434 [2023-05-11T04:35:59.974Z] ---> f54e230715a1 [2023-05-11T04:35:59.974Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-11T04:35:59.974Z] ---> Running in d4b3504b08ff [2023-05-11T04:35:59.974Z] Removing intermediate container d4b3504b08ff [2023-05-11T04:35:59.974Z] ---> f7309113024a [2023-05-11T04:35:59.974Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T04:35:59.974Z] ---> Running in bdc5aa6b11d5 [2023-05-11T04:36:00.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T04:36:00.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T04:36:00.493Z] OK: 272 MiB in 67 packages [2023-05-11T04:36:00.752Z] Removing intermediate container bdc5aa6b11d5 [2023-05-11T04:36:00.752Z] ---> 28bae536975d [2023-05-11T04:36:00.752Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-11T04:36:00.752Z] ---> Running in 94326ca750b8 [2023-05-11T04:36:01.011Z] Removing intermediate container 94326ca750b8 [2023-05-11T04:36:01.011Z] ---> be2efc01ebe7 [2023-05-11T04:36:01.011Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-11T04:36:01.011Z] ---> b19933742920 [2023-05-11T04:36:01.011Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T04:36:01.011Z] ---> Running in 4402ec87acc1 [2023-05-11T04:36:01.963Z] Removing intermediate container 4402ec87acc1 [2023-05-11T04:36:01.963Z] ---> 453ee70d8788 [2023-05-11T04:36:01.963Z] Step 11/36 : COPY . . [2023-05-11T04:36:01.963Z] ---> 4a39a37827d1 [2023-05-11T04:36:01.963Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-11T04:36:01.963Z] ---> Running in 85f7bf0773e4 [2023-05-11T04:36:02.222Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T04:36:02.222Z] Dload Upload Total Spent Left Speed [2023-05-11T04:36:02.222Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21832 0 --:--:-- --:--:-- --:--:-- 22125 [2023-05-11T04:36:02.485Z] Removing intermediate container 85f7bf0773e4 [2023-05-11T04:36:02.485Z] ---> c409d00958dd [2023-05-11T04:36:02.485Z] Step 13/36 : RUN ${MAKE} [2023-05-11T04:36:02.744Z] ---> Running in 1cb7cddcdaa2 [2023-05-11T04:36:03.003Z] 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-11T04:36:21.081Z] Removing intermediate container 1cb7cddcdaa2 [2023-05-11T04:36:21.081Z] ---> 86e509c8d811 [2023-05-11T04:36:21.081Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-11T04:36:21.648Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-11T04:36:21.648Z] 4acc49c71d14: Pulling fs layer [2023-05-11T04:36:21.907Z] 4acc49c71d14: Verifying Checksum [2023-05-11T04:36:21.907Z] 4acc49c71d14: Download complete [2023-05-11T04:36:22.166Z] 4acc49c71d14: Pull complete [2023-05-11T04:36:22.167Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-11T04:36:22.167Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-11T04:36:22.167Z] ---> 01a2bd3e5fff [2023-05-11T04:36:22.167Z] Step 15/36 : FROM alpine:3.17 [2023-05-11T04:36:22.425Z] 3.17: Pulling from library/alpine [2023-05-11T04:36:22.685Z] f56be85fc22e: Already exists [2023-05-11T04:36:22.685Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T04:36:22.685Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T04:36:22.685Z] ---> 9ed4aefc74f6 [2023-05-11T04:36:22.685Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T04:36:22.685Z] ---> Running in 3c2adb162b6f [2023-05-11T04:36:22.944Z] Removing intermediate container 3c2adb162b6f [2023-05-11T04:36:22.944Z] ---> 3208042d4bc7 [2023-05-11T04:36:22.944Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-11T04:36:22.944Z] ---> Running in ad46a89d0362 [2023-05-11T04:36:23.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T04:36:23.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T04:36:23.464Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-11T04:36:23.464Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-11T04:36:23.464Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-11T04:36:23.722Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-11T04:36:23.722Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-11T04:36:23.722Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-11T04:36:23.722Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-11T04:36:23.723Z] (8/86) Installing libxcb (1.15-r0) [2023-05-11T04:36:23.723Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-11T04:36:23.723Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-11T04:36:23.723Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-11T04:36:23.723Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-11T04:36:23.723Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-11T04:36:23.723Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-11T04:36:23.723Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-11T04:36:23.723Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-11T04:36:23.723Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-11T04:36:23.723Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-11T04:36:23.723Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-11T04:36:23.723Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-11T04:36:23.723Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-11T04:36:23.723Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-11T04:36:23.723Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-11T04:36:23.723Z] (24/86) Installing glib (2.74.6-r0) [2023-05-11T04:36:23.983Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-11T04:36:23.983Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-11T04:36:23.983Z] (27/86) Installing libass (0.16.0-r1) [2023-05-11T04:36:23.983Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-11T04:36:23.983Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-11T04:36:23.983Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-11T04:36:23.983Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-11T04:36:23.983Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-11T04:36:23.983Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-11T04:36:23.983Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-11T04:36:23.983Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-11T04:36:23.983Z] (36/86) Installing libunistring (1.1-r0) [2023-05-11T04:36:23.983Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-11T04:36:23.983Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-11T04:36:23.983Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-11T04:36:23.983Z] (40/86) Installing lame (3.100-r2) [2023-05-11T04:36:23.983Z] (41/86) Installing opus (1.3.1-r1) [2023-05-11T04:36:23.983Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-11T04:36:23.983Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-11T04:36:23.983Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-11T04:36:23.983Z] (45/86) Installing orc (0.4.33-r0) [2023-05-11T04:36:23.983Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-11T04:36:23.983Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-11T04:36:23.983Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-11T04:36:23.983Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-11T04:36:23.983Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-11T04:36:23.983Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-11T04:36:24.243Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-11T04:36:24.243Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-11T04:36:24.243Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-11T04:36:24.243Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-11T04:36:24.243Z] (56/86) Installing libpulse (16.1-r6) [2023-05-11T04:36:24.243Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-11T04:36:24.243Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-11T04:36:24.243Z] (59/86) Installing librist (0.2.7-r0) [2023-05-11T04:36:24.243Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-11T04:36:24.243Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-11T04:36:24.243Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-11T04:36:24.243Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-11T04:36:24.243Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-11T04:36:24.243Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-11T04:36:24.243Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-11T04:36:24.243Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-11T04:36:24.243Z] (68/86) Installing libva (2.16.0-r0) [2023-05-11T04:36:24.243Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-11T04:36:24.243Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-11T04:36:24.243Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-11T04:36:24.243Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-11T04:36:24.243Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-11T04:36:24.243Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-11T04:36:24.243Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-11T04:36:24.503Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-11T04:36:24.503Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-11T04:36:24.503Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-11T04:36:24.503Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-11T04:36:24.503Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-11T04:36:24.503Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-11T04:36:24.503Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-11T04:36:24.503Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-11T04:36:24.503Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-11T04:36:24.503Z] (85/86) Installing kmod-libs (30-r1) [2023-05-11T04:36:24.503Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-11T04:36:24.503Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T04:36:24.503Z] Executing eudev-3.2.11-r4.trigger [2023-05-11T04:36:24.503Z] OK: 112 MiB in 101 packages [2023-05-11T04:36:26.510Z] Removing intermediate container ad46a89d0362 [2023-05-11T04:36:26.510Z] ---> ded651e089b0 [2023-05-11T04:36:26.510Z] Step 18/36 : WORKDIR / [2023-05-11T04:36:26.510Z] ---> Running in fe06d0019bc3 [2023-05-11T04:36:26.510Z] Removing intermediate container fe06d0019bc3 [2023-05-11T04:36:26.510Z] ---> 39685bc280fb [2023-05-11T04:36:26.510Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-11T04:36:27.446Z] ---> e00091273788 [2023-05-11T04:36:27.446Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-11T04:36:27.446Z] ---> 672115c51023 [2023-05-11T04:36:27.446Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-11T04:36:27.446Z] ---> 9073b4616fae [2023-05-11T04:36:27.446Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-11T04:36:27.446Z] ---> d20306c13d75 [2023-05-11T04:36:27.446Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-11T04:36:27.704Z] ---> 6a6f53b7307f [2023-05-11T04:36:27.704Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-11T04:36:27.704Z] ---> 3506417b0d09 [2023-05-11T04:36:27.704Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-11T04:36:28.273Z] ---> cbd8a8c1e2db [2023-05-11T04:36:28.273Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-11T04:36:28.532Z] ---> Running in 99ad9aa4aedb [2023-05-11T04:36:29.101Z] Removing intermediate container 99ad9aa4aedb [2023-05-11T04:36:29.101Z] ---> ba9bdb127f2b [2023-05-11T04:36:29.101Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-11T04:36:29.101Z] ---> Running in 6f04e3879a30 [2023-05-11T04:36:29.378Z] Removing intermediate container 6f04e3879a30 [2023-05-11T04:36:29.378Z] ---> 1f939a07baa4 [2023-05-11T04:36:29.378Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-11T04:36:29.638Z] ---> Running in e897224d6878 [2023-05-11T04:36:30.207Z] Removing intermediate container e897224d6878 [2023-05-11T04:36:30.207Z] ---> f7ff1ab09410 [2023-05-11T04:36:30.207Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-11T04:36:30.207Z] ---> Running in bfa36ec6edf6 [2023-05-11T04:36:30.478Z] Removing intermediate container bfa36ec6edf6 [2023-05-11T04:36:30.478Z] ---> d3a25fcd938c [2023-05-11T04:36:30.478Z] Step 30/36 : EXPOSE 59983 [2023-05-11T04:36:30.738Z] ---> Running in 344a8c790a36 [2023-05-11T04:36:30.738Z] Removing intermediate container 344a8c790a36 [2023-05-11T04:36:30.738Z] ---> f93a71530477 [2023-05-11T04:36:30.738Z] Step 31/36 : EXPOSE 8554 [2023-05-11T04:36:30.738Z] ---> Running in 60bc165bc67e [2023-05-11T04:36:30.738Z] Removing intermediate container 60bc165bc67e [2023-05-11T04:36:30.738Z] ---> acb84dd179a9 [2023-05-11T04:36:30.738Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-11T04:36:30.738Z] ---> Running in 8914b06a4df2 [2023-05-11T04:36:30.998Z] Removing intermediate container 8914b06a4df2 [2023-05-11T04:36:30.998Z] ---> b44fdbe89d7b [2023-05-11T04:36:30.998Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-11T04:36:30.998Z] ---> Running in ea82d9d388e7 [2023-05-11T04:36:30.998Z] Removing intermediate container ea82d9d388e7 [2023-05-11T04:36:30.998Z] ---> dcb36543ff41 [2023-05-11T04:36:30.998Z] Step 34/36 : LABEL arch=amd64 [2023-05-11T04:36:30.998Z] ---> Running in 4c1993f4c9a6 [2023-05-11T04:36:30.998Z] Removing intermediate container 4c1993f4c9a6 [2023-05-11T04:36:30.998Z] ---> 398af5ba2ec8 [2023-05-11T04:36:30.998Z] Step 35/36 : LABEL git_sha=d8e9d294c627da20b9e03dd7d38341c33e939eac [2023-05-11T04:36:31.258Z] ---> Running in 139745ef88da [2023-05-11T04:36:31.258Z] Removing intermediate container 139745ef88da [2023-05-11T04:36:31.258Z] ---> da05a61a340e [2023-05-11T04:36:31.258Z] Step 36/36 : LABEL version=0.0.0 [2023-05-11T04:36:31.258Z] ---> Running in 8de932f40625 [2023-05-11T04:36:31.258Z] Removing intermediate container 8de932f40625 [2023-05-11T04:36:31.258Z] ---> ac06563429d1 [2023-05-11T04:36:31.258Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T04:36:31.258Z] Successfully built ac06563429d1 [2023-05-11T04:36:31.258Z] 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-11T04:36:31.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T04:36:31.694Z] [2023-05-11T04:36:31.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:36:31.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T04:36:31.989Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-11T04:36:31.989Z] 5eb5b503b376: Pulling fs layer [2023-05-11T04:36:31.989Z] 5c69ac0246d0: Pulling fs layer [2023-05-11T04:36:31.989Z] ec43610c2a17: Pulling fs layer [2023-05-11T04:36:31.989Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-11T04:36:31.989Z] 33b1e0a273af: Pulling fs layer [2023-05-11T04:36:31.989Z] 5d3b04190fa2: Pulling fs layer [2023-05-11T04:36:31.989Z] 2f39f015ded8: Pulling fs layer [2023-05-11T04:36:31.989Z] 3a2ae6a8a46f: Waiting [2023-05-11T04:36:31.989Z] 33b1e0a273af: Waiting [2023-05-11T04:36:31.989Z] 5d3b04190fa2: Waiting [2023-05-11T04:36:31.989Z] 2f39f015ded8: Waiting [2023-05-11T04:36:31.989Z] 5c69ac0246d0: Verifying Checksum [2023-05-11T04:36:31.989Z] 5c69ac0246d0: Download complete [2023-05-11T04:36:31.989Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-11T04:36:31.989Z] 3a2ae6a8a46f: Download complete [2023-05-11T04:36:31.989Z] 33b1e0a273af: Verifying Checksum [2023-05-11T04:36:31.989Z] 33b1e0a273af: Download complete [2023-05-11T04:36:31.989Z] 5d3b04190fa2: Verifying Checksum [2023-05-11T04:36:31.989Z] 5d3b04190fa2: Download complete [2023-05-11T04:36:31.989Z] ec43610c2a17: Verifying Checksum [2023-05-11T04:36:31.989Z] ec43610c2a17: Download complete [2023-05-11T04:36:32.249Z] 5eb5b503b376: Verifying Checksum [2023-05-11T04:36:32.249Z] 5eb5b503b376: Download complete [2023-05-11T04:36:32.815Z] 2f39f015ded8: Download complete [2023-05-11T04:36:33.382Z] 5eb5b503b376: Pull complete [2023-05-11T04:36:33.382Z] 5c69ac0246d0: Pull complete [2023-05-11T04:36:33.949Z] ec43610c2a17: Pull complete [2023-05-11T04:36:33.949Z] 3a2ae6a8a46f: Pull complete [2023-05-11T04:36:34.207Z] 33b1e0a273af: Pull complete [2023-05-11T04:36:34.207Z] 5d3b04190fa2: Pull complete [2023-05-11T04:36:38.397Z] 2f39f015ded8: Pull complete [2023-05-11T04:36:38.397Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-11T04:36:38.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T04:36:38.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:36:38.478Z] prd-ubuntu20.04-docker-8c-8g-15171 does not seem to be running inside a container [2023-05-11T04:36:38.505Z] $ 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-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T04:36:41.189Z] $ docker top 6acc18395c4155f341a2f615508bd56473fa23cf58761cbf2ae33b062f99da0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:36:41.569Z] ---> job-cost.sh [2023-05-11T04:36:41.569Z] lf-activate-venv: SKIPPING [2023-05-11T04:36:41.569Z] INFO: No Stack... [2023-05-11T04:36:42.137Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T04:36:42.395Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T04:36:42.682Z] + cat /w/workspace/foundry_device-usb-camera_PR-240/archives/cost.csv [2023-05-11T04:36:42.683Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T04:36:42.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] [2023-05-11T04:36:42.702Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] did not exist. Created. [2023-05-11T04:36:42.702Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T04:36:43.007Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-11T04:36:43.034Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T04:36:43.044Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T04:36:43.062Z] $ docker stop --time=1 6acc18395c4155f341a2f615508bd56473fa23cf58761cbf2ae33b062f99da0c [2023-05-11T04:36:44.204Z] $ docker rm -f --volumes 6acc18395c4155f341a2f615508bd56473fa23cf58761cbf2ae33b062f99da0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-11T04:38:15.240Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15172 in /w/workspace/foundry_device-usb-camera_PR-240 [Pipeline] { [Pipeline] ws [2023-05-11T04:38:15.254Z] Running in /w/workspace/device-usb-camera/6 [Pipeline] { [Pipeline] checkout [2023-05-11T04:38:15.300Z] Selected Git installation does not exist. Using Default [2023-05-11T04:38:15.300Z] The recommended git tool is: NONE [2023-05-11T04:38:21.575Z] using credential edgex-jenkins-ssh [2023-05-11T04:38:21.594Z] Cloning the remote Git repository [2023-05-11T04:38:21.647Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-11T04:38:21.757Z] > git init /w/workspace/device-usb-camera/6 # timeout=10 [2023-05-11T04:38:21.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-11T04:38:21.938Z] > git --version # timeout=10 [2023-05-11T04:38:21.961Z] > git --version # 'git version 2.25.1' [2023-05-11T04:38:21.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T04:38:22.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T04:38:22.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-11T04:38:22.943Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T04:38:24.001Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-11T04:38:24.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-11T04:38:24.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T04:38:24.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-11T04:38:24.710Z] Merging remotes/origin/main commit 9fcc0dad9d9d49e9e9a749427cc635625dc9031c into PR head commit d8e9d294c627da20b9e03dd7d38341c33e939eac [2023-05-11T04:38:25.041Z] Merge succeeded, producing d8e9d294c627da20b9e03dd7d38341c33e939eac [2023-05-11T04:38:25.042Z] Checking out Revision d8e9d294c627da20b9e03dd7d38341c33e939eac (PR-240) [2023-05-11T04:38:24.729Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T04:38:24.827Z] > git checkout -f d8e9d294c627da20b9e03dd7d38341c33e939eac # timeout=10 [2023-05-11T04:38:24.928Z] > git remote # timeout=10 [2023-05-11T04:38:24.950Z] > git config --get remote.origin.url # timeout=10 [2023-05-11T04:38:24.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T04:38:24.993Z] > git merge 9fcc0dad9d9d49e9e9a749427cc635625dc9031c # timeout=10 [2023-05-11T04:38:25.022Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-11T04:38:25.047Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T04:38:25.062Z] > git checkout -f d8e9d294c627da20b9e03dd7d38341c33e939eac # timeout=10 [2023-05-11T04:38:28.634Z] Commit message: "Merge remote-tracking branch 'edgex/main' into rtsp_cred_pr" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T04:38:29.687Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-11T04:38:29.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T04:38:29.687Z] Dload Upload Total Spent Left Speed [2023-05-11T04:38:29.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-05-11T04:38:30.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-11T04:38:30.777Z] + sudo tee /etc/docker/daemon.new [2023-05-11T04:38:30.777Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-11T04:38:30.777Z] { [2023-05-11T04:38:30.777Z] "registry-mirrors": [ [2023-05-11T04:38:30.777Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-11T04:38:30.777Z] ], [2023-05-11T04:38:30.777Z] "bip": "10.250.0.254/24", [2023-05-11T04:38:30.777Z] "hosts": [ [2023-05-11T04:38:30.777Z] "tcp://0.0.0.0:5555", [2023-05-11T04:38:30.777Z] "unix:///var/run/docker.sock" [2023-05-11T04:38:30.777Z] ], [2023-05-11T04:38:30.777Z] "mtu": 1458, [2023-05-11T04:38:30.777Z] "selinux-enabled": true, [2023-05-11T04:38:30.777Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-11T04:38:30.777Z] } [Pipeline] sh [2023-05-11T04:38:31.124Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-11T04:38:31.458Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T04:38:49.757Z] provisioning config files... [2023-05-11T04:38:49.788Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/6@tmp/config17635340968728365244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:38:50.157Z] ---> docker-login.sh [2023-05-11T04:38:50.157Z] nexus3.edgexfoundry.org:10001 [2023-05-11T04:38:50.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:38:50.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:38:50.751Z] Configure a credential helper to remove this warning. See [2023-05-11T04:38:50.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:38:50.751Z] [2023-05-11T04:38:50.751Z] Login Succeeded [2023-05-11T04:38:50.751Z] nexus3.edgexfoundry.org:10002 [2023-05-11T04:38:51.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:38:51.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:38:51.298Z] Configure a credential helper to remove this warning. See [2023-05-11T04:38:51.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:38:51.298Z] [2023-05-11T04:38:51.298Z] Login Succeeded [2023-05-11T04:38:51.298Z] nexus3.edgexfoundry.org:10003 [2023-05-11T04:38:51.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:38:51.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:38:51.569Z] Configure a credential helper to remove this warning. See [2023-05-11T04:38:51.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:38:51.569Z] [2023-05-11T04:38:51.569Z] Login Succeeded [2023-05-11T04:38:51.569Z] nexus3.edgexfoundry.org:10004 [2023-05-11T04:38:51.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:38:51.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:38:51.843Z] Configure a credential helper to remove this warning. See [2023-05-11T04:38:51.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:38:51.843Z] [2023-05-11T04:38:51.843Z] Login Succeeded [2023-05-11T04:38:52.130Z] docker.io [2023-05-11T04:38:52.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T04:38:52.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T04:38:52.400Z] Configure a credential helper to remove this warning. See [2023-05-11T04:38:52.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T04:38:52.400Z] [2023-05-11T04:38:52.400Z] Login Succeeded [2023-05-11T04:38:52.400Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T04:38:52.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T04:38:52.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T04:38:52.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T04:38:52.720Z] ========================================================= [2023-05-11T04:38:52.720Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-11T04:38:52.720Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:38:53.097Z] + 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-11T04:38:53.368Z] Sending build context to Docker daemon 1.246MB [2023-05-11T04:38:53.654Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T04:38:53.654Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T04:38:53.654Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-11T04:38:53.654Z] c41833b44d91: Pulling fs layer [2023-05-11T04:38:53.654Z] ed15518f5707: Pulling fs layer [2023-05-11T04:38:53.654Z] feae8fd75edb: Pulling fs layer [2023-05-11T04:38:53.654Z] 242c74f7c9fa: Pulling fs layer [2023-05-11T04:38:53.654Z] 3cdef696dda3: Pulling fs layer [2023-05-11T04:38:53.654Z] 2ced38df9373: Pulling fs layer [2023-05-11T04:38:53.654Z] 58f1dce35555: Pulling fs layer [2023-05-11T04:38:53.654Z] 242c74f7c9fa: Waiting [2023-05-11T04:38:53.654Z] 3cdef696dda3: Waiting [2023-05-11T04:38:53.654Z] 2ced38df9373: Waiting [2023-05-11T04:38:53.654Z] 58f1dce35555: Waiting [2023-05-11T04:38:53.654Z] ed15518f5707: Verifying Checksum [2023-05-11T04:38:53.654Z] ed15518f5707: Download complete [2023-05-11T04:38:53.654Z] 242c74f7c9fa: Verifying Checksum [2023-05-11T04:38:53.654Z] 242c74f7c9fa: Download complete [2023-05-11T04:38:53.654Z] 3cdef696dda3: Verifying Checksum [2023-05-11T04:38:53.654Z] 3cdef696dda3: Download complete [2023-05-11T04:38:53.654Z] c41833b44d91: Verifying Checksum [2023-05-11T04:38:53.926Z] c41833b44d91: Download complete [2023-05-11T04:38:55.373Z] 58f1dce35555: Verifying Checksum [2023-05-11T04:38:55.373Z] 58f1dce35555: Download complete [2023-05-11T04:38:56.349Z] feae8fd75edb: Verifying Checksum [2023-05-11T04:38:56.349Z] feae8fd75edb: Download complete [2023-05-11T04:38:56.349Z] 2ced38df9373: Verifying Checksum [2023-05-11T04:38:56.349Z] 2ced38df9373: Download complete [2023-05-11T04:38:58.952Z] c41833b44d91: Pull complete [2023-05-11T04:38:58.952Z] ed15518f5707: Pull complete [2023-05-11T04:39:11.291Z] feae8fd75edb: Pull complete [2023-05-11T04:39:11.291Z] 242c74f7c9fa: Pull complete [2023-05-11T04:39:11.291Z] 3cdef696dda3: Pull complete [2023-05-11T04:39:16.820Z] 2ced38df9373: Pull complete [2023-05-11T04:39:19.415Z] 58f1dce35555: Pull complete [2023-05-11T04:39:19.415Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-11T04:39:19.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-11T04:39:19.415Z] ---> fadd8f120f05 [2023-05-11T04:39:19.415Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T04:39:20.001Z] ---> Running in 26717a8f6a10 [2023-05-11T04:39:20.268Z] Removing intermediate container 26717a8f6a10 [2023-05-11T04:39:20.268Z] ---> 7cf3eabcb27e [2023-05-11T04:39:20.268Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T04:39:20.268Z] ---> Running in 2754c78c3fdd [2023-05-11T04:39:20.539Z] Removing intermediate container 2754c78c3fdd [2023-05-11T04:39:20.539Z] ---> 158d5db9a259 [2023-05-11T04:39:20.539Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-11T04:39:20.807Z] ---> Running in 035ee6b447b3 [2023-05-11T04:39:21.074Z] Removing intermediate container 035ee6b447b3 [2023-05-11T04:39:21.074Z] ---> 53b2894496f9 [2023-05-11T04:39:21.074Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-11T04:39:21.074Z] ---> Running in 6d5c9ad8bc1c [2023-05-11T04:39:21.347Z] Removing intermediate container 6d5c9ad8bc1c [2023-05-11T04:39:21.347Z] ---> cb73fb265989 [2023-05-11T04:39:21.347Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T04:39:21.347Z] ---> Running in 50eb9d99b309 [2023-05-11T04:39:22.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T04:39:23.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T04:39:23.993Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-11T04:39:23.993Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-11T04:39:23.993Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-11T04:39:23.993Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-11T04:39:23.993Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-11T04:39:24.262Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-11T04:39:24.262Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-11T04:39:24.262Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-11T04:39:24.262Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-11T04:39:24.262Z] (10/14) Installing kmod-libs (30-r1) [2023-05-11T04:39:24.262Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-11T04:39:24.262Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-11T04:39:24.262Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-11T04:39:24.262Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-11T04:39:24.262Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T04:39:24.262Z] Executing eudev-3.2.11-r4.trigger [2023-05-11T04:39:24.262Z] OK: 271 MiB in 67 packages [2023-05-11T04:39:25.676Z] Removing intermediate container 50eb9d99b309 [2023-05-11T04:39:25.676Z] ---> 85c42374085a [2023-05-11T04:39:25.676Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-11T04:39:25.676Z] ---> Running in a327c6fb2082 [2023-05-11T04:39:25.945Z] Removing intermediate container a327c6fb2082 [2023-05-11T04:39:25.945Z] ---> df97a7bb9cfe [2023-05-11T04:39:25.945Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-11T04:39:26.532Z] ---> bf68d1b62846 [2023-05-11T04:39:26.533Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T04:39:26.533Z] ---> Running in cc4e5a695747 [2023-05-11T04:40:34.452Z] Removing intermediate container cc4e5a695747 [2023-05-11T04:40:34.452Z] ---> c8e3f2c3d9c5 [2023-05-11T04:40:34.452Z] Step 11/13 : COPY . . [2023-05-11T04:40:34.452Z] ---> eb2c4bed3586 [2023-05-11T04:40:34.452Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-11T04:40:34.452Z] ---> Running in 198bc6d55209 [2023-05-11T04:40:34.452Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-05-11T04:40:34.452Z] Dload Upload Total Spent Left Speed [2023-05-11T04:40:34.452Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3111 0 --:--:-- --:--:-- --:--:-- 3123 [2023-05-11T04:40:34.452Z] Removing intermediate container 198bc6d55209 [2023-05-11T04:40:34.452Z] ---> fd025f1ca4af [2023-05-11T04:40:34.452Z] Step 13/13 : RUN ${MAKE} [2023-05-11T04:40:34.452Z] ---> Running in 3a23e3584177 [2023-05-11T04:40:34.452Z] noop [2023-05-11T04:40:34.452Z] Removing intermediate container 3a23e3584177 [2023-05-11T04:40:34.452Z] ---> 2e6988ab8ea3 [2023-05-11T04:40:34.452Z] Successfully built 2e6988ab8ea3 [2023-05-11T04:40:34.452Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:40:34.816Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T04:40:34.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:40:35.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-15172 does not seem to be running inside a container [2023-05-11T04:40:35.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T04:40:36.320Z] $ docker top 86dbdf34ea5cf7ad2af4e133e5f6f2860ea28f55e665e0032fa1fd4f7023623e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T04:40:37.178Z] + go version [2023-05-11T04:40:37.178Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-11T04:40:37.197Z] $ docker stop --time=1 86dbdf34ea5cf7ad2af4e133e5f6f2860ea28f55e665e0032fa1fd4f7023623e [2023-05-11T04:40:38.842Z] $ docker rm -f --volumes 86dbdf34ea5cf7ad2af4e133e5f6f2860ea28f55e665e0032fa1fd4f7023623e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:40:39.411Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T04:40:39.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:40:39.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-15172 does not seem to be running inside a container [2023-05-11T04:40:39.669Z] $ 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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T04:40:40.883Z] $ docker top 7bff144e396b60d173fa55008882cbad1fb41890b371b546ba8e08bb79c136ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T04:40:41.732Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/6 [Pipeline] fileExists [Pipeline] sh [2023-05-11T04:40:42.390Z] + make test [2023-05-11T04:40:42.390Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T04:41:21.278Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-11T04:43:43.030Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-11T04:43:43.030Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 1.8% of statements [2023-05-11T04:43:43.030Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-11T04:43:43.030Z] go vet ./... [2023-05-11T04:44:09.748Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T04:44:09.748Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T04:44:09.748Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T04:44:09.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T04:44:09.772Z] $ docker stop --time=1 7bff144e396b60d173fa55008882cbad1fb41890b371b546ba8e08bb79c136ed [2023-05-11T04:44:11.659Z] $ docker rm -f --volumes 7bff144e396b60d173fa55008882cbad1fb41890b371b546ba8e08bb79c136ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T04:44:12.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T04:44:12.817Z] Warning: overwriting stash ‘coverage-report’ [2023-05-11T04:44:13.316Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T04:44:13.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T04:44:14.033Z] + ls -al . [2023-05-11T04:44:14.033Z] total 184 [2023-05-11T04:44:14.033Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 04:40 . [2023-05-11T04:44:14.033Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:38 .. [2023-05-11T04:44:14.033Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 04:38 .git [2023-05-11T04:44:14.033Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:38 .github [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 414 May 11 04:38 .gitignore [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 04:38 .golangci.yml [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 77 May 11 04:38 .hadolint.yml [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 11 04:38 Attribution.txt [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 11 04:38 CHANGELOG.md [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 11 04:38 Dockerfile [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 678 May 11 04:38 GOVERNANCE.md [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 659 May 11 04:38 Jenkinsfile [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 04:38 LICENSE [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 11 04:38 Makefile [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 04:38 OWNERS.md [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 11 04:38 README.md [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 04:34 VERSION [2023-05-11T04:44:14.033Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:38 bin [2023-05-11T04:44:14.033Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:38 cmd [2023-05-11T04:44:14.033Z] -rw-r--r-- 1 jenkins jenkins 31521 May 11 04:43 coverage.out [2023-05-11T04:44:14.033Z] -rwxrwxr-x 1 jenkins jenkins 140 May 11 04:38 docker-entrypoint.sh [2023-05-11T04:44:14.033Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 04:38 docs [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 3431 May 11 04:38 go.mod [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 11 04:38 go.sum [2023-05-11T04:44:14.033Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 04:38 internal [2023-05-11T04:44:14.033Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 04:38 snap [2023-05-11T04:44:14.033Z] -rw-rw-r-- 1 jenkins jenkins 231 May 11 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:44:14.450Z] + 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=d8e9d294c627da20b9e03dd7d38341c33e939eac --label arch=arm64 --label version=0.0.0 . [2023-05-11T04:44:14.734Z] Sending build context to Docker daemon 1.278MB [2023-05-11T04:44:14.734Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T04:44:14.734Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-11T04:44:14.734Z] ---> 2e6988ab8ea3 [2023-05-11T04:44:14.734Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-11T04:44:15.015Z] ---> Running in 44a18dbb7842 [2023-05-11T04:44:15.317Z] Removing intermediate container 44a18dbb7842 [2023-05-11T04:44:15.317Z] ---> 5f133d61e614 [2023-05-11T04:44:15.317Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T04:44:15.317Z] ---> Running in 0c775344200a [2023-05-11T04:44:15.594Z] Removing intermediate container 0c775344200a [2023-05-11T04:44:15.594Z] ---> fedb70e64a12 [2023-05-11T04:44:15.594Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-11T04:44:15.876Z] ---> Running in c0a6c0013d44 [2023-05-11T04:44:16.156Z] Removing intermediate container c0a6c0013d44 [2023-05-11T04:44:16.156Z] ---> a494f9fd593c [2023-05-11T04:44:16.156Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-11T04:44:16.156Z] ---> Running in 7421d154f13e [2023-05-11T04:44:16.456Z] Removing intermediate container 7421d154f13e [2023-05-11T04:44:16.456Z] ---> fc040bddfac1 [2023-05-11T04:44:16.456Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T04:44:16.456Z] ---> Running in 0fd2e557b475 [2023-05-11T04:44:17.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T04:44:18.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T04:44:18.994Z] OK: 271 MiB in 67 packages [2023-05-11T04:44:19.957Z] Removing intermediate container 0fd2e557b475 [2023-05-11T04:44:19.957Z] ---> f76d2c3d2308 [2023-05-11T04:44:19.957Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-11T04:44:19.957Z] ---> Running in a1964faceb8b [2023-05-11T04:44:20.226Z] Removing intermediate container a1964faceb8b [2023-05-11T04:44:20.226Z] ---> c09880777f85 [2023-05-11T04:44:20.226Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-11T04:44:20.814Z] ---> e4e9633fd8e8 [2023-05-11T04:44:20.814Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T04:44:21.084Z] ---> Running in aeccf5f74f77 [2023-05-11T04:44:23.673Z] Removing intermediate container aeccf5f74f77 [2023-05-11T04:44:23.673Z] ---> dbdabd3bae78 [2023-05-11T04:44:23.673Z] Step 11/36 : COPY . . [2023-05-11T04:44:24.639Z] ---> aa213770a996 [2023-05-11T04:44:24.639Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-11T04:44:24.639Z] ---> Running in 73eaf0e9a3e7 [2023-05-11T04:44:25.604Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T04:44:25.604Z] Dload Upload Total Spent Left Speed [2023-05-11T04:44:25.872Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4117 0 --:--:-- --:--:-- --:--:-- 4132 [2023-05-11T04:44:26.460Z] Removing intermediate container 73eaf0e9a3e7 [2023-05-11T04:44:26.460Z] ---> f4383e5b36d9 [2023-05-11T04:44:26.460Z] Step 13/36 : RUN ${MAKE} [2023-05-11T04:44:26.460Z] ---> Running in 3e9083fcf267 [2023-05-11T04:44:27.447Z] 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-11T04:47:04.193Z] Removing intermediate container 3e9083fcf267 [2023-05-11T04:47:04.193Z] ---> 8a8223318fca [2023-05-11T04:47:04.193Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-11T04:47:04.193Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-11T04:47:04.193Z] 8766b47fe142: Pulling fs layer [2023-05-11T04:47:04.193Z] 8766b47fe142: Verifying Checksum [2023-05-11T04:47:04.193Z] 8766b47fe142: Download complete [2023-05-11T04:47:04.193Z] 8766b47fe142: Pull complete [2023-05-11T04:47:04.193Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-11T04:47:04.193Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-11T04:47:04.193Z] ---> 69d40e2cb93c [2023-05-11T04:47:04.193Z] Step 15/36 : FROM alpine:3.17 [2023-05-11T04:47:04.193Z] 3.17: Pulling from library/alpine [2023-05-11T04:47:04.193Z] c41833b44d91: Already exists [2023-05-11T04:47:04.193Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T04:47:04.193Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T04:47:04.193Z] ---> 51e60588ff2c [2023-05-11T04:47:04.193Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T04:47:04.193Z] ---> Running in aae0ca0b3f27 [2023-05-11T04:47:04.193Z] Removing intermediate container aae0ca0b3f27 [2023-05-11T04:47:04.193Z] ---> 553ac867c5d2 [2023-05-11T04:47:04.193Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-11T04:47:04.193Z] ---> Running in 27e0c47036f5 [2023-05-11T04:47:04.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T04:47:04.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T04:47:04.778Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-11T04:47:04.778Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-11T04:47:04.778Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-11T04:47:04.778Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-11T04:47:04.778Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-11T04:47:04.778Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-11T04:47:04.778Z] (7/83) Installing libxcb (1.15-r0) [2023-05-11T04:47:04.778Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-11T04:47:05.046Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-11T04:47:05.046Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-11T04:47:05.314Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-11T04:47:05.314Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-11T04:47:05.314Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-11T04:47:05.314Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-11T04:47:05.314Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-11T04:47:05.314Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-11T04:47:05.314Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-11T04:47:05.314Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-11T04:47:05.314Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-11T04:47:05.314Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-11T04:47:05.314Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-11T04:47:05.314Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-11T04:47:05.314Z] (23/83) Installing glib (2.74.6-r0) [2023-05-11T04:47:05.582Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-11T04:47:05.582Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-11T04:47:05.582Z] (26/83) Installing libass (0.16.0-r1) [2023-05-11T04:47:05.582Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-11T04:47:05.582Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-11T04:47:05.582Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-11T04:47:05.582Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-11T04:47:05.582Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-11T04:47:05.582Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-11T04:47:05.582Z] (33/83) Installing libunistring (1.1-r0) [2023-05-11T04:47:05.849Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-11T04:47:05.849Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-11T04:47:05.849Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-11T04:47:05.849Z] (37/83) Installing lame (3.100-r2) [2023-05-11T04:47:05.849Z] (38/83) Installing opus (1.3.1-r1) [2023-05-11T04:47:05.849Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-11T04:47:05.849Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-11T04:47:05.849Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-11T04:47:05.849Z] (42/83) Installing orc (0.4.33-r0) [2023-05-11T04:47:05.849Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-11T04:47:05.849Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-11T04:47:05.849Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-11T04:47:06.115Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-11T04:47:06.115Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-11T04:47:06.115Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-11T04:47:06.115Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-11T04:47:06.115Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-11T04:47:06.115Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-11T04:47:06.115Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-11T04:47:06.115Z] (53/83) Installing libpulse (16.1-r6) [2023-05-11T04:47:06.115Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-11T04:47:06.115Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-11T04:47:06.115Z] (56/83) Installing librist (0.2.7-r0) [2023-05-11T04:47:06.115Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-11T04:47:06.115Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-11T04:47:06.115Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-11T04:47:06.115Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-11T04:47:06.383Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-11T04:47:06.383Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-11T04:47:06.383Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-11T04:47:06.383Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-11T04:47:06.383Z] (65/83) Installing libva (2.16.0-r0) [2023-05-11T04:47:06.383Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-11T04:47:06.383Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-11T04:47:06.383Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-11T04:47:06.383Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-11T04:47:06.383Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-11T04:47:06.383Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-11T04:47:06.383Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-11T04:47:06.653Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-11T04:47:06.653Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-11T04:47:06.653Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-11T04:47:06.653Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-11T04:47:07.236Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-11T04:47:07.236Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-11T04:47:07.236Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-11T04:47:07.236Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-11T04:47:07.236Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-11T04:47:07.236Z] (82/83) Installing kmod-libs (30-r1) [2023-05-11T04:47:07.236Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-11T04:47:07.236Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T04:47:07.236Z] Executing eudev-3.2.11-r4.trigger [2023-05-11T04:47:07.236Z] OK: 86 MiB in 98 packages [2023-05-11T04:47:10.582Z] Removing intermediate container 27e0c47036f5 [2023-05-11T04:47:10.582Z] ---> b169700aded9 [2023-05-11T04:47:10.582Z] Step 18/36 : WORKDIR / [2023-05-11T04:47:10.582Z] ---> Running in ecfe6c5ce310 [2023-05-11T04:47:10.582Z] Removing intermediate container ecfe6c5ce310 [2023-05-11T04:47:10.582Z] ---> 52980b7afb14 [2023-05-11T04:47:10.582Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-11T04:47:11.992Z] ---> 2f82d120dca1 [2023-05-11T04:47:11.992Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-11T04:47:12.576Z] ---> 77a473f09e6f [2023-05-11T04:47:12.576Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-11T04:47:13.160Z] ---> 2be2134825f3 [2023-05-11T04:47:13.160Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-11T04:47:14.119Z] ---> 7fc819ac98b4 [2023-05-11T04:47:14.119Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-11T04:47:14.387Z] ---> be24b8048c62 [2023-05-11T04:47:14.387Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-11T04:47:14.972Z] ---> f9e0f332b743 [2023-05-11T04:47:14.972Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-11T04:47:16.385Z] ---> e99b4871efae [2023-05-11T04:47:16.385Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-11T04:47:16.385Z] ---> Running in d9624a386789 [2023-05-11T04:47:18.332Z] Removing intermediate container d9624a386789 [2023-05-11T04:47:18.332Z] ---> bea0a37a908e [2023-05-11T04:47:18.332Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-11T04:47:18.332Z] ---> Running in 4cd7022882ef [2023-05-11T04:47:19.743Z] Removing intermediate container 4cd7022882ef [2023-05-11T04:47:19.743Z] ---> 3664823a5788 [2023-05-11T04:47:19.743Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-11T04:47:19.743Z] ---> Running in 9c5515fda9e6 [2023-05-11T04:47:21.694Z] Removing intermediate container 9c5515fda9e6 [2023-05-11T04:47:21.694Z] ---> a80bf9b4b44d [2023-05-11T04:47:21.694Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-11T04:47:21.694Z] ---> Running in afcbd97c11cd [2023-05-11T04:47:23.109Z] Removing intermediate container afcbd97c11cd [2023-05-11T04:47:23.109Z] ---> 45e4d8560294 [2023-05-11T04:47:23.109Z] Step 30/36 : EXPOSE 59983 [2023-05-11T04:47:23.109Z] ---> Running in c3d0b6aa4320 [2023-05-11T04:47:23.378Z] Removing intermediate container c3d0b6aa4320 [2023-05-11T04:47:23.378Z] ---> 622d282076d9 [2023-05-11T04:47:23.378Z] Step 31/36 : EXPOSE 8554 [2023-05-11T04:47:23.378Z] ---> Running in f0d74b0926f0 [2023-05-11T04:47:23.647Z] Removing intermediate container f0d74b0926f0 [2023-05-11T04:47:23.647Z] ---> 39c1c1198bb0 [2023-05-11T04:47:23.647Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-11T04:47:23.914Z] ---> Running in 6ce1e5fd9e47 [2023-05-11T04:47:24.185Z] Removing intermediate container 6ce1e5fd9e47 [2023-05-11T04:47:24.185Z] ---> e2ec52fd2846 [2023-05-11T04:47:24.185Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-11T04:47:24.185Z] ---> Running in 651dc8573e41 [2023-05-11T04:47:24.455Z] Removing intermediate container 651dc8573e41 [2023-05-11T04:47:24.455Z] ---> 60d6575913f4 [2023-05-11T04:47:24.455Z] Step 34/36 : LABEL arch=arm64 [2023-05-11T04:47:24.455Z] ---> Running in 4f15d912d1ab [2023-05-11T04:47:24.722Z] Removing intermediate container 4f15d912d1ab [2023-05-11T04:47:24.722Z] ---> a0aee17c00bc [2023-05-11T04:47:24.722Z] Step 35/36 : LABEL git_sha=d8e9d294c627da20b9e03dd7d38341c33e939eac [2023-05-11T04:47:24.989Z] ---> Running in bc3f6b9cb386 [2023-05-11T04:47:26.935Z] Removing intermediate container bc3f6b9cb386 [2023-05-11T04:47:26.935Z] ---> 8ea6648e0312 [2023-05-11T04:47:26.935Z] Step 36/36 : LABEL version=0.0.0 [2023-05-11T04:47:26.935Z] ---> Running in 304e3e9502c5 [2023-05-11T04:47:27.204Z] Removing intermediate container 304e3e9502c5 [2023-05-11T04:47:27.204Z] ---> c05b181471a4 [2023-05-11T04:47:27.204Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T04:47:27.204Z] Successfully built c05b181471a4 [2023-05-11T04:47:27.204Z] 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-11T04:47:27.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T04:47:27.662Z] [2023-05-11T04:47:27.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:47:28.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T04:47:28.014Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-11T04:47:28.014Z] 8998bd30e6a1: Pulling fs layer [2023-05-11T04:47:28.014Z] 04944245beec: Pulling fs layer [2023-05-11T04:47:28.014Z] 699f458cf7ca: Pulling fs layer [2023-05-11T04:47:28.014Z] 765212b225bb: Pulling fs layer [2023-05-11T04:47:28.014Z] f23df028b6ca: Pulling fs layer [2023-05-11T04:47:28.014Z] d65c8cfc05b1: Pulling fs layer [2023-05-11T04:47:28.014Z] 2437ff75d9bd: Pulling fs layer [2023-05-11T04:47:28.014Z] 765212b225bb: Waiting [2023-05-11T04:47:28.014Z] f23df028b6ca: Waiting [2023-05-11T04:47:28.014Z] d65c8cfc05b1: Waiting [2023-05-11T04:47:28.014Z] 2437ff75d9bd: Waiting [2023-05-11T04:47:28.284Z] 04944245beec: Verifying Checksum [2023-05-11T04:47:28.284Z] 04944245beec: Download complete [2023-05-11T04:47:28.284Z] 765212b225bb: Verifying Checksum [2023-05-11T04:47:28.284Z] 765212b225bb: Download complete [2023-05-11T04:47:28.284Z] f23df028b6ca: Verifying Checksum [2023-05-11T04:47:28.284Z] f23df028b6ca: Download complete [2023-05-11T04:47:28.284Z] d65c8cfc05b1: Download complete [2023-05-11T04:47:28.284Z] 699f458cf7ca: Verifying Checksum [2023-05-11T04:47:28.284Z] 699f458cf7ca: Download complete [2023-05-11T04:47:28.870Z] 8998bd30e6a1: Verifying Checksum [2023-05-11T04:47:28.870Z] 8998bd30e6a1: Download complete [2023-05-11T04:47:31.455Z] 2437ff75d9bd: Verifying Checksum [2023-05-11T04:47:31.455Z] 2437ff75d9bd: Download complete [2023-05-11T04:47:32.869Z] 8998bd30e6a1: Pull complete [2023-05-11T04:47:33.138Z] 04944245beec: Pull complete [2023-05-11T04:47:34.554Z] 699f458cf7ca: Pull complete [2023-05-11T04:47:34.824Z] 765212b225bb: Pull complete [2023-05-11T04:47:35.786Z] f23df028b6ca: Pull complete [2023-05-11T04:47:35.786Z] d65c8cfc05b1: Pull complete [2023-05-11T04:47:50.784Z] 2437ff75d9bd: Pull complete [2023-05-11T04:47:50.785Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-11T04:47:50.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T04:47:50.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:47:50.981Z] prd-ubuntu20.04-docker-arm64-4c-16g-15172 does not seem to be running inside a container [2023-05-11T04:47:51.039Z] $ 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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-11T04:47:53.690Z] $ docker top c964a6653a7323523066f7bc2bfee5e68d375b86260899555f32a2a67ef7a9f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:47:54.535Z] ---> job-cost.sh [2023-05-11T04:47:54.535Z] lf-activate-venv: SKIPPING [2023-05-11T04:47:54.535Z] INFO: No Stack... [2023-05-11T04:47:54.803Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-11T04:47:55.763Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T04:47:56.402Z] + cat /w/workspace/device-usb-camera/6/archives/cost.csv+ [2023-05-11T04:47:56.402Z] cut -d, -f6 [Pipeline] lock [2023-05-11T04:47:56.463Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] [2023-05-11T04:47:56.473Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] did not exist. Created. [2023-05-11T04:47:56.473Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T04:47:56.812Z] /w/workspace/device-usb-camera/6@tmp/durable-54eb15e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-11T04:47:57.143Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-11T04:47:57.425Z] Warning: overwriting stash ‘stack-cost’ [2023-05-11T04:47:57.469Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T04:47:57.478Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-240-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T04:47:57.492Z] $ docker stop --time=1 c964a6653a7323523066f7bc2bfee5e68d375b86260899555f32a2a67ef7a9f8 [2023-05-11T04:47:58.987Z] $ docker rm -f --volumes c964a6653a7323523066f7bc2bfee5e68d375b86260899555f32a2a67ef7a9f8 [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-11T04:47:59.430Z] provisioning config files... [2023-05-11T04:47:59.438Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config10233727188806725177tmp [Pipeline] { [Pipeline] sh [2023-05-11T04:47:59.729Z] + set +x [2023-05-11T04:47:59.730Z] + curl -s https://codecov.io/bash [2023-05-11T04:47:59.730Z] + bash -s -- [2023-05-11T04:47:59.730Z] [2023-05-11T04:47:59.730Z] _____ _ [2023-05-11T04:47:59.730Z] / ____| | | [2023-05-11T04:47:59.730Z] | | ___ __| | ___ ___ _____ __ [2023-05-11T04:47:59.730Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-11T04:47:59.730Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-11T04:47:59.730Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-11T04:47:59.730Z] Bash-1.0.6 [2023-05-11T04:47:59.730Z] [2023-05-11T04:47:59.730Z] [2023-05-11T04:47:59.730Z] ==> git version 2.25.1 found [2023-05-11T04:47:59.730Z] ==> 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-11T04:47:59.730Z] Release-Date: 2020-01-08 [2023-05-11T04:47:59.730Z] 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-11T04:47:59.730Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-11T04:47:59.730Z] ==> Jenkins CI detected. [2023-05-11T04:47:59.730Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-240 [2023-05-11T04:47:59.730Z] project root: . [2023-05-11T04:47:59.730Z] --> token set from env [2023-05-11T04:47:59.730Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-11T04:47:59.730Z] ==> Running gcov in . (disable via -X gcov) [2023-05-11T04:47:59.730Z] ==> Python coveragepy not found [2023-05-11T04:47:59.730Z] ==> Searching for coverage reports in: [2023-05-11T04:47:59.730Z] + . [2023-05-11T04:47:59.730Z] -> Found 1 reports [2023-05-11T04:47:59.730Z] ==> Detecting git/mercurial file structure [2023-05-11T04:47:59.730Z] ==> Reading reports [2023-05-11T04:47:59.730Z] + ./coverage.out bytes=31521 [2023-05-11T04:47:59.730Z] ==> Appending adjustments [2023-05-11T04:47:59.730Z] https://docs.codecov.io/docs/fixing-reports [2023-05-11T04:47:59.989Z] + Found adjustments [2023-05-11T04:47:59.989Z] ==> Gzipping contents [2023-05-11T04:47:59.989Z] 8.0K /tmp/codecov.LrnEyk.gz [2023-05-11T04:47:59.989Z] ==> Uploading reports [2023-05-11T04:47:59.989Z] url: https://codecov.io [2023-05-11T04:47:59.989Z] query: branch=PR-240&commit=d8e9d294c627da20b9e03dd7d38341c33e939eac&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-240%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=240&job=&cmd_args= [2023-05-11T04:47:59.989Z] -> Pinging Codecov [2023-05-11T04:47:59.989Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-240&commit=d8e9d294c627da20b9e03dd7d38341c33e939eac&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-240%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=240&job=&cmd_args= [2023-05-11T04:47:59.989Z] -> Uploading to [2023-05-11T04:47:59.989Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-11/73D8F5FF140700D3E01443B452E23636/d8e9d294c627da20b9e03dd7d38341c33e939eac/1b038804-2ccc-46da-8479-27f130407386.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T044759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=030809e05c2a720effd9418fdebcdd2f8cb72a44871a91abf4bf8c7107c348de [2023-05-11T04:47:59.989Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T04:47:59.989Z] Dload Upload Total Spent Left Speed [2023-05-11T04:48:00.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4334 0 0 100 4334 0 18925 --:--:-- --:--:-- --:--:-- 18925 [2023-05-11T04:48:00.250Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d8e9d294c627da20b9e03dd7d38341c33e939eac [Pipeline] } [2023-05-11T04:48:00.257Z] 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-11T04:48:00.948Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-240/archives ] [2023-05-11T04:48:00.948Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-240/archives [2023-05-11T04:48:00.948Z] total 16 [2023-05-11T04:48:00.948Z] drwxr-xr-x 3 root root 4096 May 11 04:36 . [2023-05-11T04:48:00.948Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 04:36 .. [2023-05-11T04:48:00.948Z] drwxr-xr-x 2 root root 4096 May 11 04:36 cost [2023-05-11T04:48:00.948Z] -rw-r--r-- 1 root root 89 May 11 04:36 cost.csv [2023-05-11T04:48:00.948Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-240/archives [2023-05-11T04:48:00.948Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-240/archives [2023-05-11T04:48:00.948Z] total 16 [2023-05-11T04:48:00.948Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 04:36 . [2023-05-11T04:48:00.948Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 04:36 .. [2023-05-11T04:48:00.948Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 04:36 cost [2023-05-11T04:48:00.948Z] -rw-r--r-- 1 jenkins jenkins 89 May 11 04:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:01.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:02.095Z] ---> package-listing.sh [2023-05-11T04:48:02.095Z] ++ facter osfamily [2023-05-11T04:48:02.095Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-11T04:48:02.355Z] + OS_FAMILY=debian [2023-05-11T04:48:02.355Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-240 [2023-05-11T04:48:02.355Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-11T04:48:02.355Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-11T04:48:02.355Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-11T04:48:02.355Z] + PACKAGES=/tmp/packages_start.txt [2023-05-11T04:48:02.355Z] + '[' /w/workspace/foundry_device-usb-camera_PR-240 ']' [2023-05-11T04:48:02.355Z] + PACKAGES=/tmp/packages_end.txt [2023-05-11T04:48:02.355Z] + case "${OS_FAMILY}" in [2023-05-11T04:48:02.355Z] + dpkg -l [2023-05-11T04:48:02.355Z] + grep '^ii' [2023-05-11T04:48:02.355Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-11T04:48:02.355Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-11T04:48:02.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-11T04:48:02.355Z] + '[' /w/workspace/foundry_device-usb-camera_PR-240 ']' [2023-05-11T04:48:02.355Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-240/archives/ [2023-05-11T04:48:02.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-240/archives/ [Pipeline] echo [2023-05-11T04:48:02.365Z] 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-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-11T04:48:02.642Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T04:48:03.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T04:48:03.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T04:48:03.282Z] prd-ubuntu20.04-docker-8c-8g-15171 does not seem to be running inside a container [2023-05-11T04:48:03.315Z] $ 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-240/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-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T04:48:03.506Z] $ docker top 29ae616f85f649e3a46d3de9cfd91cd2ad6366889320e7c78af6c8be6fc27da3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T04:48:03.845Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-11T04:48:04.133Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-11T04:48:04.419Z] + ls /var/log/sa-host [2023-05-11T04:48:04.419Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T04:48:04.562Z] provisioning config files... [2023-05-11T04:48:04.569Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config18173699337924917564tmp [Pipeline] { [Pipeline] echo [2023-05-11T04:48:04.583Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:04.868Z] ---> create-netrc.sh [Pipeline] } [2023-05-11T04:48:04.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:05.215Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-11T04:48:05.223Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:05.504Z] ---> sudo-logs.sh [2023-05-11T04:48:05.504Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-11T04:48:05.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:05.819Z] ---> job-cost.sh [2023-05-11T04:48:05.819Z] lf-activate-venv: SKIPPING [2023-05-11T04:48:05.819Z] DEBUG: total: 0.2199999988079071 [2023-05-11T04:48:05.819Z] INFO: Retrieving Stack Cost... [2023-05-11T04:48:06.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T04:48:06.647Z] INFO: Archiving Costs [Pipeline] echo [2023-05-11T04:48:06.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T04:48:06.939Z] ---> logs-deploy.sh [2023-05-11T04:48:06.939Z] lf-activate-venv: SKIPPING [2023-05-11T04:48:06.939Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-240/6 [2023-05-11T04:48:06.939Z] INFO: archiving workspace using pattern(s): [2023-05-11T04:48:07.876Z] Archives upload complete. [2023-05-11T04:48:07.876Z] INFO: archiving logs to Nexus