Pull request #252 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd3dfb7577215fc8ead1e32a51e4b3e513c7470a+8e89c95f200ba999b8b18666717dd08bb0ba11a2 (705e4a4473c5626ae9b4162e7cba9fe754596c75) 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-ssh137759006307075415.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-ssh6173513069841400025.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-252/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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8618533538856968398.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-ssh8185321144763324307.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-252/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-252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4937765128362886692.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-16407 in /w/workspace/foundry_device-usb-camera_PR-252 [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-252 # 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 Merging remotes/origin/main commit 8e89c95f200ba999b8b18666717dd08bb0ba11a2 into PR head commit bd3dfb7577215fc8ead1e32a51e4b3e513c7470a Merge succeeded, producing bd3dfb7577215fc8ead1e32a51e4b3e513c7470a Checking out Revision bd3dfb7577215fc8ead1e32a51e4b3e513c7470a (PR-252) > 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/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd3dfb7577215fc8ead1e32a51e4b3e513c7470a # 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 8e89c95f200ba999b8b18666717dd08bb0ba11a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd3dfb7577215fc8ead1e32a51e4b3e513c7470a # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-22T23:17:58.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-22T23:17:58.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-22T23:17:58.155Z] ========================================================= [2023-05-22T23:17:58.155Z] EdgeX Global Pipelines Version Info [2023-05-22T23:17:58.155Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 [2023-05-22T23:17:58.877Z] ------------------- [2023-05-22T23:17:58.877Z] stable info: [2023-05-22T23:17:58.877Z] ------------------- [2023-05-22T23:17:58.877Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-22T23:17:58.877Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T23:17:58.877Z] Message: update stable to v1.0.249 [2023-05-22T23:17:59.452Z] ------------------- [2023-05-22T23:17:59.452Z] experimental info: [2023-05-22T23:17:59.452Z] ------------------- [2023-05-22T23:17:59.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-22T23:17:59.452Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-22T23:17:59.452Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-22T23:17:59.643Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-22T23:17:59.655Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-22T23:17:59.666Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-22T23:17:59.678Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-22T23:17:59.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-22T23:17:59.707Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-22T23:17:59.799Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-22T23:17:59.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-22T23:17:59.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-22T23:17:59.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-22T23:17:59.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-22T23:17:59.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-22T23:17:59.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-22T23:17:59.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-22T23:17:59.945Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T23:17:59.964Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-22T23:17:59.978Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T23:17:59.988Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-22T23:17:59.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-22T23:18:00.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-22T23:18:00.016Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-22T23:18:00.033Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-22T23:18:00.047Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-22T23:18:00.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-22T23:18:00.086Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-22T23:18:00.103Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-22T23:18:00.116Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-22T23:18:00.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-252 [Pipeline] echo [2023-05-22T23:18:00.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-252 [Pipeline] echo [2023-05-22T23:18:00.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-252 [Pipeline] echo [2023-05-22T23:18:00.175Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [Pipeline] echo [2023-05-22T23:18:00.188Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd3dfb7 [Pipeline] echo [2023-05-22T23:18:00.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T23:18:00.246Z] provisioning config files... [2023-05-22T23:18:00.263Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config1014294564955067746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:18:00.566Z] ---> docker-login.sh [2023-05-22T23:18:00.566Z] nexus3.edgexfoundry.org:10001 [2023-05-22T23:18:00.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:00.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:00.828Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:00.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:00.828Z] [2023-05-22T23:18:00.828Z] Login Succeeded [2023-05-22T23:18:00.828Z] nexus3.edgexfoundry.org:10002 [2023-05-22T23:18:00.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:00.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:00.828Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:00.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:00.828Z] [2023-05-22T23:18:00.828Z] Login Succeeded [2023-05-22T23:18:00.828Z] nexus3.edgexfoundry.org:10003 [2023-05-22T23:18:01.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:01.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:01.088Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:01.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:01.088Z] [2023-05-22T23:18:01.088Z] Login Succeeded [2023-05-22T23:18:01.088Z] nexus3.edgexfoundry.org:10004 [2023-05-22T23:18:01.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:01.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:01.088Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:01.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:01.088Z] [2023-05-22T23:18:01.088Z] Login Succeeded [2023-05-22T23:18:01.088Z] docker.io [2023-05-22T23:18:01.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:01.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:01.347Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:01.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:01.347Z] [2023-05-22T23:18:01.347Z] Login Succeeded [2023-05-22T23:18:01.347Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T23:18:01.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-22T23:18:01.733Z] + git rev-list -1 --merges bd3dfb7577215fc8ead1e32a51e4b3e513c7470a~1..bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [Pipeline] echo [2023-05-22T23:18:01.783Z] -----------> git rev-list -1 --merges bd3dfb7577215fc8ead1e32a51e4b3e513c7470a~1..bd3dfb7577215fc8ead1e32a51e4b3e513c7470a bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [false] [Pipeline] sh [2023-05-22T23:18:02.071Z] + git log --format=format:%s -1 bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [Pipeline] echo [2023-05-22T23:18:02.084Z] ========================================================= [2023-05-22T23:18:02.084Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-22T23:18:02.084Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T23:18:02.411Z] + git log --format=format:%s -1 bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [Pipeline] echo [2023-05-22T23:18:02.426Z] [semverPrep] GIT_COMMIT: bd3dfb7577215fc8ead1e32a51e4b3e513c7470a, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo [2023-05-22T23:18:02.436Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-22T23:18:02.800Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-22T23:18:02.800Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-22T23:18:02.800Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-22T23:18:02.800Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-22T23:18:02.800Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-22T23:18:02.800Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-22T23:18:02.800Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:18:03.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T23:18:03.242Z] [2023-05-22T23:18:03.242Z] 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-22T23:18:03.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T23:18:03.549Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-22T23:18:03.549Z] b85a868b505f: Pulling fs layer [2023-05-22T23:18:03.549Z] e2be974225ed: Pulling fs layer [2023-05-22T23:18:03.549Z] 339a4e72a1f5: Pulling fs layer [2023-05-22T23:18:03.549Z] 988bab9f4d93: Pulling fs layer [2023-05-22T23:18:03.549Z] 1469e6f7b9e6: Pulling fs layer [2023-05-22T23:18:03.549Z] eaf3925da568: Pulling fs layer [2023-05-22T23:18:03.549Z] bab4dde63d76: Pulling fs layer [2023-05-22T23:18:03.549Z] bde34c3a00c8: Pulling fs layer [2023-05-22T23:18:03.549Z] b352a97aabf1: Pulling fs layer [2023-05-22T23:18:03.549Z] 988bab9f4d93: Waiting [2023-05-22T23:18:03.549Z] 4872d77fe225: Pulling fs layer [2023-05-22T23:18:03.549Z] 1469e6f7b9e6: Waiting [2023-05-22T23:18:03.549Z] 5851b861e8e6: Pulling fs layer [2023-05-22T23:18:03.549Z] bab4dde63d76: Waiting [2023-05-22T23:18:03.549Z] eaf3925da568: Waiting [2023-05-22T23:18:03.549Z] 4872d77fe225: Waiting [2023-05-22T23:18:03.549Z] bde34c3a00c8: Waiting [2023-05-22T23:18:03.549Z] b352a97aabf1: Waiting [2023-05-22T23:18:03.549Z] 5851b861e8e6: Waiting [2023-05-22T23:18:03.549Z] e2be974225ed: Verifying Checksum [2023-05-22T23:18:03.549Z] e2be974225ed: Download complete [2023-05-22T23:18:03.549Z] 988bab9f4d93: Verifying Checksum [2023-05-22T23:18:03.549Z] 988bab9f4d93: Download complete [2023-05-22T23:18:03.549Z] 1469e6f7b9e6: Verifying Checksum [2023-05-22T23:18:03.549Z] 1469e6f7b9e6: Download complete [2023-05-22T23:18:03.820Z] 339a4e72a1f5: Verifying Checksum [2023-05-22T23:18:03.820Z] 339a4e72a1f5: Download complete [2023-05-22T23:18:03.820Z] eaf3925da568: Verifying Checksum [2023-05-22T23:18:03.820Z] eaf3925da568: Download complete [2023-05-22T23:18:03.820Z] bde34c3a00c8: Verifying Checksum [2023-05-22T23:18:03.820Z] bde34c3a00c8: Download complete [2023-05-22T23:18:03.820Z] b352a97aabf1: Download complete [2023-05-22T23:18:03.820Z] 4872d77fe225: Verifying Checksum [2023-05-22T23:18:03.821Z] 4872d77fe225: Download complete [2023-05-22T23:18:03.821Z] 5851b861e8e6: Verifying Checksum [2023-05-22T23:18:03.821Z] 5851b861e8e6: Download complete [2023-05-22T23:18:03.821Z] b85a868b505f: Download complete [2023-05-22T23:18:04.080Z] bab4dde63d76: Verifying Checksum [2023-05-22T23:18:04.080Z] bab4dde63d76: Download complete [2023-05-22T23:18:05.015Z] b85a868b505f: Pull complete [2023-05-22T23:18:05.015Z] e2be974225ed: Pull complete [2023-05-22T23:18:05.581Z] 339a4e72a1f5: Pull complete [2023-05-22T23:18:05.581Z] 988bab9f4d93: Pull complete [2023-05-22T23:18:05.839Z] 1469e6f7b9e6: Pull complete [2023-05-22T23:18:06.098Z] eaf3925da568: Pull complete [2023-05-22T23:18:08.005Z] bab4dde63d76: Pull complete [2023-05-22T23:18:08.005Z] bde34c3a00c8: Pull complete [2023-05-22T23:18:08.005Z] b352a97aabf1: Pull complete [2023-05-22T23:18:08.005Z] 4872d77fe225: Pull complete [2023-05-22T23:18:08.266Z] 5851b861e8e6: Pull complete [2023-05-22T23:18:08.266Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-22T23:18:08.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-22T23:18:08.266Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:18:08.373Z] prd-ubuntu20.04-docker-8c-8g-16407 does not seem to be running inside a container [2023-05-22T23:18:08.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-22T23:18:09.791Z] $ docker top 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 -eo pid,comm [2023-05-22T23:18:09.850Z] 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-22T23:18:09.850Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-22T23:18:09.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T23:18:09.897Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T23:18:10.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T23:18:10.026Z] $ docker exec 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 ssh-agent [2023-05-22T23:18:10.130Z] SSH_AUTH_SOCK=/tmp/ssh-TmS3JoPFv5P2/agent.32 [2023-05-22T23:18:10.130Z] SSH_AGENT_PID=39 [2023-05-22T23:18:10.137Z] Running ssh-add (command line suppressed) [2023-05-22T23:18:10.248Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_10798217456292675144.key (/w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_10798217456292675144.key) [2023-05-22T23:18:10.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T23:18:10.549Z] + git tag --points-at HEAD [Pipeline] } [2023-05-22T23:18:10.564Z] $ docker exec --env ******** --env ******** 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 ssh-agent -k [2023-05-22T23:18:10.674Z] unset SSH_AUTH_SOCK; [2023-05-22T23:18:10.675Z] unset SSH_AGENT_PID; [2023-05-22T23:18:10.675Z] echo Agent pid 39 killed; [2023-05-22T23:18:10.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-22T23:18:10.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-22T23:18:10.710Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-22T23:18:10.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-22T23:18:10.826Z] $ docker exec 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 ssh-agent [2023-05-22T23:18:10.946Z] SSH_AUTH_SOCK=/tmp/ssh-M3PmdieJl2RC/agent.71 [2023-05-22T23:18:10.946Z] SSH_AGENT_PID=77 [2023-05-22T23:18:10.950Z] Running ssh-add (command line suppressed) [2023-05-22T23:18:11.068Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_353643003916280976.key (/w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_353643003916280976.key) [2023-05-22T23:18:11.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-22T23:18:11.367Z] + git semver init [2023-05-22T23:18:11.628Z] 2023-05-22 23:18:11,563 [run_init] DEBUG init version:0.0.0 force:False [2023-05-22T23:18:11.628Z] 2023-05-22 23:18:11,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-252/.semver [2023-05-22T23:18:11.628Z] 2023-05-22 23:18:11,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-252/.semver [2023-05-22T23:18:11.628Z] 2023-05-22 23:18:11,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-252/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-252, universal_newlines=False, shell=None, istream=None) [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,255 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-252/.git/info/exclude [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,256 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 with force:False [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,256 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,261 [execute] INFO git cat-file --batch-check [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,267 [execute] INFO git cat-file --batch [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-05-22T23:18:12.567Z] 2023-05-22 23:18:12,272 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 [2023-05-22T23:18:12.567Z] 0.0.0 [Pipeline] } [2023-05-22T23:18:12.583Z] $ docker exec --env ******** --env ******** 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 ssh-agent -k [2023-05-22T23:18:12.713Z] unset SSH_AUTH_SOCK; [2023-05-22T23:18:12.714Z] unset SSH_AGENT_PID; [2023-05-22T23:18:12.714Z] echo Agent pid 77 killed; [2023-05-22T23:18:12.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-22T23:18:13.032Z] + git semver [Pipeline] } [2023-05-22T23:18:13.625Z] $ docker stop --time=1 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 [2023-05-22T23:18:14.940Z] $ docker rm -f --volumes 8f0d0c2863c0a155a2bc763bc2533afbea1211a1fbd95e2a07a694867f1c3379 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T23:18:15.279Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-22T23:18:15.493Z] Stashed 1 file(s) [Pipeline] echo [2023-05-22T23:18:15.496Z] [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-22T23:18:15.654Z] provisioning config files... [2023-05-22T23:18:15.666Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config13892505534963598538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:18:15.972Z] ---> docker-login.sh [2023-05-22T23:18:15.972Z] nexus3.edgexfoundry.org:10001 [2023-05-22T23:18:15.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:15.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:15.972Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:15.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:15.972Z] [2023-05-22T23:18:15.972Z] Login Succeeded [2023-05-22T23:18:15.972Z] nexus3.edgexfoundry.org:10002 [2023-05-22T23:18:15.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:15.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:15.972Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:15.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:15.972Z] [2023-05-22T23:18:16.233Z] Login Succeeded [2023-05-22T23:18:16.233Z] nexus3.edgexfoundry.org:10003 [2023-05-22T23:18:16.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:16.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:16.233Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:16.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:16.233Z] [2023-05-22T23:18:16.233Z] Login Succeeded [2023-05-22T23:18:16.233Z] nexus3.edgexfoundry.org:10004 [2023-05-22T23:18:16.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:16.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:16.233Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:16.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:16.233Z] [2023-05-22T23:18:16.233Z] Login Succeeded [2023-05-22T23:18:16.233Z] docker.io [2023-05-22T23:18:16.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:18:16.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:18:16.752Z] Configure a credential helper to remove this warning. See [2023-05-22T23:18:16.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:18:16.752Z] [2023-05-22T23:18:16.752Z] Login Succeeded [2023-05-22T23:18:16.752Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T23:18:16.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T23:18:16.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T23:18:16.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T23:18:16.839Z] ========================================================= [2023-05-22T23:18:16.839Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-22T23:18:16.839Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:18:17.139Z] + 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-22T23:18:17.139Z] Sending build context to Docker daemon 1.895MB [2023-05-22T23:18:17.139Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T23:18:17.139Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-22T23:18:17.139Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-22T23:18:17.139Z] f56be85fc22e: Pulling fs layer [2023-05-22T23:18:17.139Z] 85791d961cd3: Pulling fs layer [2023-05-22T23:18:17.139Z] d694b5ae8c79: Pulling fs layer [2023-05-22T23:18:17.139Z] 9f32a84ed3da: Pulling fs layer [2023-05-22T23:18:17.139Z] 4d19c01a9841: Pulling fs layer [2023-05-22T23:18:17.139Z] 9325e15d5711: Pulling fs layer [2023-05-22T23:18:17.139Z] 556b6ee489ea: Pulling fs layer [2023-05-22T23:18:17.139Z] c5a4b2cf53e6: Pulling fs layer [2023-05-22T23:18:17.139Z] 9325e15d5711: Waiting [2023-05-22T23:18:17.139Z] 556b6ee489ea: Waiting [2023-05-22T23:18:17.139Z] c5a4b2cf53e6: Waiting [2023-05-22T23:18:17.139Z] 4d19c01a9841: Waiting [2023-05-22T23:18:17.139Z] 9f32a84ed3da: Waiting [2023-05-22T23:18:17.139Z] 85791d961cd3: Download complete [2023-05-22T23:18:17.139Z] 9f32a84ed3da: Verifying Checksum [2023-05-22T23:18:17.139Z] 9f32a84ed3da: Download complete [2023-05-22T23:18:17.139Z] 4d19c01a9841: Verifying Checksum [2023-05-22T23:18:17.139Z] 4d19c01a9841: Download complete [2023-05-22T23:18:17.139Z] f56be85fc22e: Verifying Checksum [2023-05-22T23:18:17.139Z] f56be85fc22e: Download complete [2023-05-22T23:18:17.398Z] 9325e15d5711: Verifying Checksum [2023-05-22T23:18:17.398Z] 9325e15d5711: Download complete [2023-05-22T23:18:17.398Z] f56be85fc22e: Pull complete [2023-05-22T23:18:17.658Z] 85791d961cd3: Pull complete [2023-05-22T23:18:17.917Z] c5a4b2cf53e6: Verifying Checksum [2023-05-22T23:18:17.917Z] c5a4b2cf53e6: Download complete [2023-05-22T23:18:17.917Z] d694b5ae8c79: Verifying Checksum [2023-05-22T23:18:17.917Z] d694b5ae8c79: Download complete [2023-05-22T23:18:18.175Z] 556b6ee489ea: Verifying Checksum [2023-05-22T23:18:18.175Z] 556b6ee489ea: Download complete [2023-05-22T23:18:21.463Z] d694b5ae8c79: Pull complete [2023-05-22T23:18:21.463Z] 9f32a84ed3da: Pull complete [2023-05-22T23:18:21.722Z] 4d19c01a9841: Pull complete [2023-05-22T23:18:21.722Z] 9325e15d5711: Pull complete [2023-05-22T23:18:24.257Z] 556b6ee489ea: Pull complete [2023-05-22T23:18:25.194Z] c5a4b2cf53e6: Pull complete [2023-05-22T23:18:25.194Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-22T23:18:25.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-22T23:18:25.194Z] ---> c4be618373d6 [2023-05-22T23:18:25.194Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-22T23:18:27.144Z] ---> Running in c0746734a503 [2023-05-22T23:18:27.144Z] Removing intermediate container c0746734a503 [2023-05-22T23:18:27.144Z] ---> 0de2db720d65 [2023-05-22T23:18:27.144Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T23:18:27.144Z] ---> Running in 75db6e5ce492 [2023-05-22T23:18:27.433Z] Removing intermediate container 75db6e5ce492 [2023-05-22T23:18:27.433Z] ---> 2ace1105ea60 [2023-05-22T23:18:27.433Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-22T23:18:27.433Z] ---> Running in 03be84eae7d0 [2023-05-22T23:18:27.433Z] Removing intermediate container 03be84eae7d0 [2023-05-22T23:18:27.433Z] ---> 9f137bbf0a0f [2023-05-22T23:18:27.433Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-22T23:18:27.694Z] ---> Running in b8a0ffa523d3 [2023-05-22T23:18:27.694Z] Removing intermediate container b8a0ffa523d3 [2023-05-22T23:18:27.694Z] ---> 92eb4bafdd37 [2023-05-22T23:18:27.694Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T23:18:27.694Z] ---> Running in 0a78912fc06d [2023-05-22T23:18:27.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T23:18:28.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T23:18:28.215Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-22T23:18:28.215Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-22T23:18:28.215Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-22T23:18:28.215Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-22T23:18:28.475Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-22T23:18:28.475Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-22T23:18:28.475Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-22T23:18:28.475Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-22T23:18:28.475Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-22T23:18:28.475Z] (10/14) Installing kmod-libs (30-r1) [2023-05-22T23:18:28.475Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-22T23:18:28.475Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-22T23:18:28.475Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-22T23:18:28.475Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-22T23:18:28.475Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T23:18:28.475Z] Executing eudev-3.2.11-r4.trigger [2023-05-22T23:18:28.475Z] OK: 272 MiB in 67 packages [2023-05-22T23:18:29.049Z] Removing intermediate container 0a78912fc06d [2023-05-22T23:18:29.049Z] ---> 33520999b9a0 [2023-05-22T23:18:29.049Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-22T23:18:29.049Z] ---> Running in d27914e1f801 [2023-05-22T23:18:29.049Z] Removing intermediate container d27914e1f801 [2023-05-22T23:18:29.049Z] ---> bae98a34552d [2023-05-22T23:18:29.049Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-22T23:18:29.049Z] ---> d4f87d6fe59b [2023-05-22T23:18:29.049Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T23:18:29.049Z] ---> Running in 3a7f56cd8d29 [2023-05-22T23:18:30.610Z] Still waiting to schedule task [2023-05-22T23:18:30.610Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16405’ [2023-05-22T23:18:51.123Z] Removing intermediate container 3a7f56cd8d29 [2023-05-22T23:18:51.123Z] ---> cd1c1d09ae7e [2023-05-22T23:18:51.123Z] Step 11/13 : COPY . . [2023-05-22T23:18:51.123Z] ---> 9fc4606ecfb3 [2023-05-22T23:18:51.123Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-22T23:18:51.123Z] ---> Running in 976d3eeab361 [2023-05-22T23:18:51.123Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T23:18:51.123Z] Dload Upload Total Spent Left Speed [2023-05-22T23:18:51.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21751 0 --:--:-- --:--:-- --:--:-- 22125 [2023-05-22T23:18:51.123Z] Removing intermediate container 976d3eeab361 [2023-05-22T23:18:51.123Z] ---> 58761e11e57d [2023-05-22T23:18:51.123Z] Step 13/13 : RUN ${MAKE} [2023-05-22T23:18:51.123Z] ---> Running in 38e26009e8ea [2023-05-22T23:18:51.123Z] noop [2023-05-22T23:18:51.123Z] Removing intermediate container 38e26009e8ea [2023-05-22T23:18:51.123Z] ---> 21fc13239020 [2023-05-22T23:18:51.123Z] Successfully built 21fc13239020 [2023-05-22T23:18:51.123Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:18:51.433Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T23:18:51.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:18:51.500Z] prd-ubuntu20.04-docker-8c-8g-16407 does not seem to be running inside a container [2023-05-22T23:18:51.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-22T23:18:51.910Z] $ docker top dc4bf2bc4d7fbac44e1880953d684c75d19006774f9eb9e7519ae8de3c12ec77 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T23:18:52.246Z] + go version [2023-05-22T23:18:52.246Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-22T23:18:52.259Z] $ docker stop --time=1 dc4bf2bc4d7fbac44e1880953d684c75d19006774f9eb9e7519ae8de3c12ec77 [2023-05-22T23:18:53.541Z] $ docker rm -f --volumes dc4bf2bc4d7fbac44e1880953d684c75d19006774f9eb9e7519ae8de3c12ec77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:18:53.953Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-22T23:18:53.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:18:54.024Z] prd-ubuntu20.04-docker-8c-8g-16407 does not seem to be running inside a container [2023-05-22T23:18:54.056Z] $ 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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-22T23:18:54.542Z] $ docker top 99824078fc3ce41b4185ec6500347d5c34a900667f6d5a5315b47c54639db7a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T23:18:54.884Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-252 [Pipeline] fileExists [Pipeline] sh [2023-05-22T23:18:55.180Z] + make test [2023-05-22T23:18:55.180Z] go test ./... -coverprofile=coverage.out ./... [2023-05-22T23:18:59.365Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-22T23:19:09.356Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-22T23:19:09.356Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.8% of statements [2023-05-22T23:19:14.620Z] go vet ./... [2023-05-22T23:19:17.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T23:19:17.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T23:19:17.904Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T23:19:17.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T23:19:17.937Z] $ docker stop --time=1 99824078fc3ce41b4185ec6500347d5c34a900667f6d5a5315b47c54639db7a6 [2023-05-22T23:19:20.374Z] $ docker rm -f --volumes 99824078fc3ce41b4185ec6500347d5c34a900667f6d5a5315b47c54639db7a6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T23:19:20.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T23:19:20.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-22T23:19:21.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T23:19:21.743Z] + ls -al . [2023-05-22T23:19:21.743Z] total 188 [2023-05-22T23:19:21.743Z] drwxrwxr-x 10 jenkins jenkins 4096 May 22 23:18 . [2023-05-22T23:19:21.743Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 23:17 .. [2023-05-22T23:19:21.743Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 23:18 .git [2023-05-22T23:19:21.743Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 23:17 .github [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 414 May 22 23:17 .gitignore [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 42 May 22 23:17 .golangci.yml [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 77 May 22 23:17 .hadolint.yml [2023-05-22T23:19:21.743Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 23:18 .semver [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 22 23:17 Attribution.txt [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 22 23:17 CHANGELOG.md [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 22 23:17 Dockerfile [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 678 May 22 23:17 GOVERNANCE.md [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 659 May 22 23:17 Jenkinsfile [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 22 23:17 LICENSE [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 22 23:17 Makefile [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 622 May 22 23:17 OWNERS.md [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 22 23:17 README.md [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 23:18 VERSION [2023-05-22T23:19:21.743Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 23:17 bin [2023-05-22T23:19:21.743Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 23:17 cmd [2023-05-22T23:19:21.743Z] -rw-r--r-- 1 jenkins jenkins 31522 May 22 23:19 coverage.out [2023-05-22T23:19:21.743Z] -rwxrwxr-x 1 jenkins jenkins 140 May 22 23:17 docker-entrypoint.sh [2023-05-22T23:19:21.743Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 23:17 docs [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 22 23:17 go.mod [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 31578 May 22 23:17 go.sum [2023-05-22T23:19:21.743Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 23:17 internal [2023-05-22T23:19:21.743Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 23:17 snap [2023-05-22T23:19:21.743Z] -rw-rw-r-- 1 jenkins jenkins 231 May 22 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:19:22.053Z] + 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=bd3dfb7577215fc8ead1e32a51e4b3e513c7470a --label arch=amd64 --label version=0.0.0 . [2023-05-22T23:19:22.053Z] Sending build context to Docker daemon 1.928MB [2023-05-22T23:19:22.053Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T23:19:22.053Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-22T23:19:22.053Z] ---> 21fc13239020 [2023-05-22T23:19:22.053Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-22T23:19:22.053Z] ---> Running in fec2ff005178 [2023-05-22T23:19:22.311Z] Removing intermediate container fec2ff005178 [2023-05-22T23:19:22.311Z] ---> 1006e2f5effc [2023-05-22T23:19:22.311Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T23:19:22.311Z] ---> Running in 114f0c1ea0c7 [2023-05-22T23:19:22.311Z] Removing intermediate container 114f0c1ea0c7 [2023-05-22T23:19:22.311Z] ---> c754ad5bdf73 [2023-05-22T23:19:22.311Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-22T23:19:22.311Z] ---> Running in 1d0490a6ed71 [2023-05-22T23:19:22.311Z] Removing intermediate container 1d0490a6ed71 [2023-05-22T23:19:22.311Z] ---> 6bd36b2fab6e [2023-05-22T23:19:22.311Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-22T23:19:22.311Z] ---> Running in c2f2f6f2714a [2023-05-22T23:19:22.569Z] Removing intermediate container c2f2f6f2714a [2023-05-22T23:19:22.569Z] ---> 67c254ddc9a3 [2023-05-22T23:19:22.569Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T23:19:22.569Z] ---> Running in be38350874aa [2023-05-22T23:19:22.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T23:19:22.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T23:19:23.087Z] OK: 272 MiB in 67 packages [2023-05-22T23:19:23.347Z] Removing intermediate container be38350874aa [2023-05-22T23:19:23.347Z] ---> c7a2e14b523a [2023-05-22T23:19:23.347Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-22T23:19:23.347Z] ---> Running in eb02072d5f32 [2023-05-22T23:19:23.606Z] Removing intermediate container eb02072d5f32 [2023-05-22T23:19:23.606Z] ---> d4c302eedcf3 [2023-05-22T23:19:23.606Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-22T23:19:23.606Z] ---> 61d2fc51ab5a [2023-05-22T23:19:23.606Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T23:19:23.606Z] ---> Running in a40e8dd6faa6 [2023-05-22T23:19:24.543Z] Removing intermediate container a40e8dd6faa6 [2023-05-22T23:19:24.543Z] ---> 3604cbd27d91 [2023-05-22T23:19:24.543Z] Step 11/36 : COPY . . [2023-05-22T23:19:24.801Z] ---> d878618566a8 [2023-05-22T23:19:24.801Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-22T23:19:24.801Z] ---> Running in f66081533aca [2023-05-22T23:19:25.059Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T23:19:25.059Z] Dload Upload Total Spent Left Speed [2023-05-22T23:19:25.059Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19175 0 --:--:-- --:--:-- --:--:-- 18964 [2023-05-22T23:19:25.318Z] Removing intermediate container f66081533aca [2023-05-22T23:19:25.318Z] ---> 2775fa4ee737 [2023-05-22T23:19:25.318Z] Step 13/36 : RUN ${MAKE} [2023-05-22T23:19:25.318Z] ---> Running in 65b148d2f8dd [2023-05-22T23:19:25.577Z] 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-22T23:19:47.507Z] Removing intermediate container 65b148d2f8dd [2023-05-22T23:19:47.507Z] ---> c81afefd8a38 [2023-05-22T23:19:47.507Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-22T23:19:47.507Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-22T23:19:47.507Z] 4acc49c71d14: Pulling fs layer [2023-05-22T23:19:47.507Z] 4acc49c71d14: Verifying Checksum [2023-05-22T23:19:47.507Z] 4acc49c71d14: Download complete [2023-05-22T23:19:47.507Z] 4acc49c71d14: Pull complete [2023-05-22T23:19:47.507Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-22T23:19:47.507Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-22T23:19:47.507Z] ---> 01a2bd3e5fff [2023-05-22T23:19:47.507Z] Step 15/36 : FROM alpine:3.17 [2023-05-22T23:19:47.507Z] 3.17: Pulling from library/alpine [2023-05-22T23:19:47.507Z] f56be85fc22e: Already exists [2023-05-22T23:19:47.507Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T23:19:47.507Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T23:19:47.507Z] ---> 9ed4aefc74f6 [2023-05-22T23:19:47.507Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-22T23:19:47.507Z] ---> Running in 58027c51b35f [2023-05-22T23:19:47.507Z] Removing intermediate container 58027c51b35f [2023-05-22T23:19:47.507Z] ---> 45b264bc2ae2 [2023-05-22T23:19:47.507Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-22T23:19:47.507Z] ---> Running in cf72b742791e [2023-05-22T23:19:47.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-22T23:19:47.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-22T23:19:47.507Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-22T23:19:47.507Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-22T23:19:47.508Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-22T23:19:47.508Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-22T23:19:47.508Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-22T23:19:47.508Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-22T23:19:47.508Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-22T23:19:47.508Z] (8/86) Installing libxcb (1.15-r0) [2023-05-22T23:19:47.508Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-22T23:19:47.508Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-22T23:19:47.768Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-22T23:19:47.768Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-22T23:19:47.768Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-22T23:19:47.768Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-22T23:19:47.768Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-22T23:19:47.768Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-22T23:19:47.768Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-22T23:19:47.768Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-22T23:19:47.768Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-22T23:19:47.768Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-22T23:19:47.768Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-22T23:19:47.768Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-22T23:19:47.768Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-22T23:19:47.768Z] (24/86) Installing glib (2.74.6-r0) [2023-05-22T23:19:47.768Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-22T23:19:47.768Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-22T23:19:47.768Z] (27/86) Installing libass (0.16.0-r1) [2023-05-22T23:19:47.768Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-22T23:19:48.027Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-22T23:19:48.027Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-22T23:19:48.027Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-22T23:19:48.027Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-22T23:19:48.027Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-22T23:19:48.027Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-22T23:19:48.027Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-22T23:19:48.027Z] (36/86) Installing libunistring (1.1-r0) [2023-05-22T23:19:48.027Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-22T23:19:48.027Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-22T23:19:48.027Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-22T23:19:48.027Z] (40/86) Installing lame (3.100-r2) [2023-05-22T23:19:48.027Z] (41/86) Installing opus (1.3.1-r1) [2023-05-22T23:19:48.027Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-22T23:19:48.027Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-22T23:19:48.027Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-22T23:19:48.285Z] (45/86) Installing orc (0.4.33-r0) [2023-05-22T23:19:48.285Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-22T23:19:48.285Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-22T23:19:48.285Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-22T23:19:48.285Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-22T23:19:48.285Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-22T23:19:48.285Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-22T23:19:48.285Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-22T23:19:48.285Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-22T23:19:48.285Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-22T23:19:48.285Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-22T23:19:48.285Z] (56/86) Installing libpulse (16.1-r6) [2023-05-22T23:19:48.285Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-22T23:19:48.285Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-22T23:19:48.285Z] (59/86) Installing librist (0.2.7-r0) [2023-05-22T23:19:48.285Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-22T23:19:48.285Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-22T23:19:48.285Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-22T23:19:48.285Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-22T23:19:48.544Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-22T23:19:48.544Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-22T23:19:48.544Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-22T23:19:48.544Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-22T23:19:48.544Z] (68/86) Installing libva (2.16.0-r0) [2023-05-22T23:19:48.544Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-22T23:19:48.544Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-22T23:19:48.544Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-22T23:19:48.544Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-22T23:19:48.544Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-22T23:19:48.544Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-22T23:19:48.544Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-22T23:19:48.544Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-22T23:19:48.544Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-22T23:19:48.544Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-22T23:19:48.544Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-22T23:19:48.802Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-22T23:19:48.803Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-22T23:19:48.803Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-22T23:19:48.803Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-22T23:19:48.803Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-22T23:19:48.803Z] (85/86) Installing kmod-libs (30-r1) [2023-05-22T23:19:48.803Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-22T23:19:48.803Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T23:19:48.803Z] Executing eudev-3.2.11-r4.trigger [2023-05-22T23:19:48.803Z] OK: 112 MiB in 101 packages [2023-05-22T23:19:50.703Z] Removing intermediate container cf72b742791e [2023-05-22T23:19:50.703Z] ---> 55eb485a7d4c [2023-05-22T23:19:50.703Z] Step 18/36 : WORKDIR / [2023-05-22T23:19:50.703Z] ---> Running in 8175a7cee40b [2023-05-22T23:19:50.960Z] Removing intermediate container 8175a7cee40b [2023-05-22T23:19:50.960Z] ---> 34b582998d63 [2023-05-22T23:19:50.960Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-22T23:19:51.528Z] ---> 5a781a065736 [2023-05-22T23:19:51.528Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-22T23:19:51.528Z] ---> 52adc0a6d5c8 [2023-05-22T23:19:51.528Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-22T23:19:51.786Z] ---> c21b4256d544 [2023-05-22T23:19:51.786Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-22T23:19:51.786Z] ---> 1a686c668975 [2023-05-22T23:19:51.786Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-22T23:19:51.786Z] ---> 805f9437f6e4 [2023-05-22T23:19:51.786Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-22T23:19:52.054Z] ---> ba1d126016a3 [2023-05-22T23:19:52.054Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-22T23:19:52.621Z] ---> 02e69c6cd628 [2023-05-22T23:19:52.621Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-22T23:19:52.621Z] ---> Running in eadd90c32628 [2023-05-22T23:19:53.188Z] Removing intermediate container eadd90c32628 [2023-05-22T23:19:53.188Z] ---> d85c71deb0b1 [2023-05-22T23:19:53.188Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-22T23:19:53.188Z] ---> Running in de2b406c7165 [2023-05-22T23:19:53.758Z] Removing intermediate container de2b406c7165 [2023-05-22T23:19:53.758Z] ---> b178fb4ac739 [2023-05-22T23:19:53.758Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-22T23:19:53.758Z] ---> Running in 9bb4b3944d29 [2023-05-22T23:19:54.326Z] Removing intermediate container 9bb4b3944d29 [2023-05-22T23:19:54.326Z] ---> c7ad1cb230f6 [2023-05-22T23:19:54.326Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-22T23:19:54.326Z] ---> Running in 92b001f0cdb8 [2023-05-22T23:19:55.263Z] Removing intermediate container 92b001f0cdb8 [2023-05-22T23:19:55.263Z] ---> 4daedbdb21ba [2023-05-22T23:19:55.263Z] Step 30/36 : EXPOSE 59983 [2023-05-22T23:19:55.263Z] ---> Running in db9ddc609719 [2023-05-22T23:19:55.263Z] Removing intermediate container db9ddc609719 [2023-05-22T23:19:55.263Z] ---> 292d3b07c46d [2023-05-22T23:19:55.263Z] Step 31/36 : EXPOSE 8554 [2023-05-22T23:19:55.263Z] ---> Running in b6c7fb7dbc7c [2023-05-22T23:19:55.263Z] Removing intermediate container b6c7fb7dbc7c [2023-05-22T23:19:55.263Z] ---> a983d8883a68 [2023-05-22T23:19:55.263Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-22T23:19:55.263Z] ---> Running in 9ba00e61f091 [2023-05-22T23:19:55.522Z] Removing intermediate container 9ba00e61f091 [2023-05-22T23:19:55.522Z] ---> c9ee3dd8ff4c [2023-05-22T23:19:55.522Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-22T23:19:55.522Z] ---> Running in 94979342ed41 [2023-05-22T23:19:55.522Z] Removing intermediate container 94979342ed41 [2023-05-22T23:19:55.522Z] ---> 48812705f242 [2023-05-22T23:19:55.522Z] Step 34/36 : LABEL arch=amd64 [2023-05-22T23:19:55.522Z] ---> Running in 632293fe1a9d [2023-05-22T23:19:55.782Z] Removing intermediate container 632293fe1a9d [2023-05-22T23:19:55.782Z] ---> 632a9cad7650 [2023-05-22T23:19:55.782Z] Step 35/36 : LABEL git_sha=bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [2023-05-22T23:19:55.782Z] ---> Running in 42ef6b7173a7 [2023-05-22T23:19:55.782Z] Removing intermediate container 42ef6b7173a7 [2023-05-22T23:19:55.782Z] ---> 59d04538ffb4 [2023-05-22T23:19:55.782Z] Step 36/36 : LABEL version=0.0.0 [2023-05-22T23:19:55.782Z] ---> Running in da27ea4eb3fd [2023-05-22T23:19:56.042Z] Removing intermediate container da27ea4eb3fd [2023-05-22T23:19:56.042Z] ---> 0fb1dc4a2733 [2023-05-22T23:19:56.042Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T23:19:56.042Z] Successfully built 0fb1dc4a2733 [2023-05-22T23:19:56.042Z] 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-22T23:19:56.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T23:19:56.497Z] [2023-05-22T23:19:56.497Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:19:56.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T23:19:56.796Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-22T23:19:56.796Z] 5eb5b503b376: Pulling fs layer [2023-05-22T23:19:56.796Z] 5c69ac0246d0: Pulling fs layer [2023-05-22T23:19:56.796Z] ec43610c2a17: Pulling fs layer [2023-05-22T23:19:56.796Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-22T23:19:56.796Z] 33b1e0a273af: Pulling fs layer [2023-05-22T23:19:56.796Z] 5d3b04190fa2: Pulling fs layer [2023-05-22T23:19:56.796Z] 2f39f015ded8: Pulling fs layer [2023-05-22T23:19:56.796Z] 5d3b04190fa2: Waiting [2023-05-22T23:19:56.796Z] 2f39f015ded8: Waiting [2023-05-22T23:19:56.796Z] 3a2ae6a8a46f: Waiting [2023-05-22T23:19:56.796Z] 33b1e0a273af: Waiting [2023-05-22T23:19:56.796Z] 5c69ac0246d0: Download complete [2023-05-22T23:19:56.796Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-22T23:19:56.796Z] 3a2ae6a8a46f: Download complete [2023-05-22T23:19:56.796Z] 33b1e0a273af: Verifying Checksum [2023-05-22T23:19:56.796Z] 33b1e0a273af: Download complete [2023-05-22T23:19:56.796Z] ec43610c2a17: Verifying Checksum [2023-05-22T23:19:56.796Z] ec43610c2a17: Download complete [2023-05-22T23:19:56.796Z] 5d3b04190fa2: Verifying Checksum [2023-05-22T23:19:56.796Z] 5d3b04190fa2: Download complete [2023-05-22T23:19:57.054Z] 5eb5b503b376: Verifying Checksum [2023-05-22T23:19:57.054Z] 5eb5b503b376: Download complete [2023-05-22T23:19:57.620Z] 2f39f015ded8: Download complete [2023-05-22T23:19:58.187Z] 5eb5b503b376: Pull complete [2023-05-22T23:19:58.187Z] 5c69ac0246d0: Pull complete [2023-05-22T23:19:58.445Z] ec43610c2a17: Pull complete [2023-05-22T23:19:58.704Z] 3a2ae6a8a46f: Pull complete [2023-05-22T23:19:58.704Z] 33b1e0a273af: Pull complete [2023-05-22T23:19:58.963Z] 5d3b04190fa2: Pull complete [2023-05-22T23:20:03.148Z] 2f39f015ded8: Pull complete [2023-05-22T23:20:03.148Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-22T23:20:03.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T23:20:03.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:20:03.224Z] prd-ubuntu20.04-docker-8c-8g-16407 does not seem to be running inside a container [2023-05-22T23:20:03.262Z] $ 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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@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-22T23:20:05.493Z] $ docker top 38710bb4934f29883e699c5197128ed96f4d32403bffff98d8c5bb211a74e413 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:20:05.870Z] ---> job-cost.sh [2023-05-22T23:20:05.870Z] lf-activate-venv: SKIPPING [2023-05-22T23:20:05.870Z] INFO: No Stack... [2023-05-22T23:20:06.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T23:20:06.698Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T23:20:06.985Z] + cut -d, -f6 [2023-05-22T23:20:06.986Z] + cat /w/workspace/foundry_device-usb-camera_PR-252/archives/cost.csv [Pipeline] lock [2023-05-22T23:20:06.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] [2023-05-22T23:20:07.007Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] did not exist. Created. [2023-05-22T23:20:07.007Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T23:20:07.304Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-22T23:20:07.331Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T23:20:07.340Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T23:20:07.364Z] $ docker stop --time=1 38710bb4934f29883e699c5197128ed96f4d32403bffff98d8c5bb211a74e413 [2023-05-22T23:20:08.514Z] $ docker rm -f --volumes 38710bb4934f29883e699c5197128ed96f4d32403bffff98d8c5bb211a74e413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-22T23:21:49.451Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16408 in /w/workspace/foundry_device-usb-camera_PR-252 [Pipeline] { [Pipeline] ws [2023-05-22T23:21:49.465Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-05-22T23:21:49.505Z] Selected Git installation does not exist. Using Default [2023-05-22T23:21:49.505Z] The recommended git tool is: NONE [2023-05-22T23:21:55.997Z] using credential edgex-jenkins-ssh [2023-05-22T23:21:56.018Z] Cloning the remote Git repository [2023-05-22T23:21:56.081Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-22T23:21:56.178Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-05-22T23:21:56.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-22T23:21:56.334Z] > git --version # timeout=10 [2023-05-22T23:21:56.356Z] > git --version # 'git version 2.25.1' [2023-05-22T23:21:56.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T23:21:56.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T23:21:57.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-22T23:21:57.368Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-22T23:21:58.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-22T23:21:59.004Z] Merging remotes/origin/main commit 8e89c95f200ba999b8b18666717dd08bb0ba11a2 into PR head commit bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [2023-05-22T23:21:59.292Z] Merge succeeded, producing bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [2023-05-22T23:21:59.293Z] Checking out Revision bd3dfb7577215fc8ead1e32a51e4b3e513c7470a (PR-252) [2023-05-22T23:21:59.795Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [2023-05-22T23:21:58.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-22T23:21:58.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T23:21:58.486Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-22T23:21:59.028Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T23:21:59.102Z] > git checkout -f bd3dfb7577215fc8ead1e32a51e4b3e513c7470a # timeout=10 [2023-05-22T23:21:59.197Z] > git remote # timeout=10 [2023-05-22T23:21:59.217Z] > git config --get remote.origin.url # timeout=10 [2023-05-22T23:21:59.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-22T23:21:59.248Z] > git merge 8e89c95f200ba999b8b18666717dd08bb0ba11a2 # timeout=10 [2023-05-22T23:21:59.276Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-22T23:21:59.304Z] > git config core.sparsecheckout # timeout=10 [2023-05-22T23:21:59.327Z] > git checkout -f bd3dfb7577215fc8ead1e32a51e4b3e513c7470a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T23:22:00.802Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-22T23:22:00.803Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T23:22:00.803Z] Dload Upload Total Spent Left Speed [2023-05-22T23:22:00.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-05-22T23:22:01.465Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-22T23:22:01.826Z] + sudo tee /etc/docker/daemon.new [2023-05-22T23:22:01.826Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-22T23:22:01.826Z] { [2023-05-22T23:22:01.826Z] "registry-mirrors": [ [2023-05-22T23:22:01.826Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-22T23:22:01.826Z] ], [2023-05-22T23:22:01.826Z] "bip": "10.250.0.254/24", [2023-05-22T23:22:01.826Z] "hosts": [ [2023-05-22T23:22:01.826Z] "tcp://0.0.0.0:5555", [2023-05-22T23:22:01.826Z] "unix:///var/run/docker.sock" [2023-05-22T23:22:01.826Z] ], [2023-05-22T23:22:01.826Z] "mtu": 1458, [2023-05-22T23:22:01.826Z] "selinux-enabled": true, [2023-05-22T23:22:01.826Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-22T23:22:01.826Z] } [Pipeline] sh [2023-05-22T23:22:02.177Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-22T23:22:02.524Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T23:22:20.836Z] provisioning config files... [2023-05-22T23:22:20.866Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config7028848226902922804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:22:21.231Z] ---> docker-login.sh [2023-05-22T23:22:21.232Z] nexus3.edgexfoundry.org:10001 [2023-05-22T23:22:21.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:22:22.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:22:22.096Z] Configure a credential helper to remove this warning. See [2023-05-22T23:22:22.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:22:22.096Z] [2023-05-22T23:22:22.096Z] Login Succeeded [2023-05-22T23:22:22.096Z] nexus3.edgexfoundry.org:10002 [2023-05-22T23:22:22.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:22:22.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:22:22.367Z] Configure a credential helper to remove this warning. See [2023-05-22T23:22:22.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:22:22.367Z] [2023-05-22T23:22:22.367Z] Login Succeeded [2023-05-22T23:22:22.367Z] nexus3.edgexfoundry.org:10003 [2023-05-22T23:22:22.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:22:22.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:22:22.639Z] Configure a credential helper to remove this warning. See [2023-05-22T23:22:22.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:22:22.639Z] [2023-05-22T23:22:22.639Z] Login Succeeded [2023-05-22T23:22:22.639Z] nexus3.edgexfoundry.org:10004 [2023-05-22T23:22:22.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:22:23.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:22:23.186Z] Configure a credential helper to remove this warning. See [2023-05-22T23:22:23.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:22:23.186Z] [2023-05-22T23:22:23.186Z] Login Succeeded [2023-05-22T23:22:23.186Z] docker.io [2023-05-22T23:22:23.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-22T23:22:23.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-22T23:22:23.736Z] Configure a credential helper to remove this warning. See [2023-05-22T23:22:23.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-22T23:22:23.736Z] [2023-05-22T23:22:23.736Z] Login Succeeded [2023-05-22T23:22:23.736Z] ---> docker-login.sh ends [Pipeline] } [2023-05-22T23:22:23.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-22T23:22:24.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T23:22:24.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-22T23:22:24.079Z] ========================================================= [2023-05-22T23:22:24.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-22T23:22:24.079Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:22:24.421Z] + 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-22T23:22:24.696Z] Sending build context to Docker daemon 1.12MB [2023-05-22T23:22:24.696Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T23:22:24.696Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-22T23:22:24.990Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-22T23:22:24.990Z] c41833b44d91: Pulling fs layer [2023-05-22T23:22:24.990Z] ed15518f5707: Pulling fs layer [2023-05-22T23:22:24.990Z] feae8fd75edb: Pulling fs layer [2023-05-22T23:22:24.990Z] 242c74f7c9fa: Pulling fs layer [2023-05-22T23:22:24.990Z] 3cdef696dda3: Pulling fs layer [2023-05-22T23:22:24.990Z] 2ced38df9373: Pulling fs layer [2023-05-22T23:22:24.990Z] 58f1dce35555: Pulling fs layer [2023-05-22T23:22:24.990Z] 3cdef696dda3: Waiting [2023-05-22T23:22:24.990Z] 2ced38df9373: Waiting [2023-05-22T23:22:24.990Z] 58f1dce35555: Waiting [2023-05-22T23:22:24.990Z] 242c74f7c9fa: Waiting [2023-05-22T23:22:24.990Z] ed15518f5707: Verifying Checksum [2023-05-22T23:22:24.990Z] ed15518f5707: Download complete [2023-05-22T23:22:24.990Z] 242c74f7c9fa: Verifying Checksum [2023-05-22T23:22:24.990Z] 242c74f7c9fa: Download complete [2023-05-22T23:22:24.990Z] 3cdef696dda3: Verifying Checksum [2023-05-22T23:22:24.990Z] 3cdef696dda3: Download complete [2023-05-22T23:22:24.990Z] c41833b44d91: Verifying Checksum [2023-05-22T23:22:24.990Z] c41833b44d91: Download complete [2023-05-22T23:22:26.431Z] c41833b44d91: Pull complete [2023-05-22T23:22:26.432Z] 58f1dce35555: Verifying Checksum [2023-05-22T23:22:26.432Z] 58f1dce35555: Download complete [2023-05-22T23:22:27.034Z] ed15518f5707: Pull complete [2023-05-22T23:22:28.016Z] feae8fd75edb: Verifying Checksum [2023-05-22T23:22:28.016Z] feae8fd75edb: Download complete [2023-05-22T23:22:28.016Z] 2ced38df9373: Verifying Checksum [2023-05-22T23:22:28.016Z] 2ced38df9373: Download complete [2023-05-22T23:22:40.353Z] feae8fd75edb: Pull complete [2023-05-22T23:22:40.353Z] 242c74f7c9fa: Pull complete [2023-05-22T23:22:40.353Z] 3cdef696dda3: Pull complete [2023-05-22T23:22:47.122Z] 2ced38df9373: Pull complete [2023-05-22T23:22:48.551Z] 58f1dce35555: Pull complete [2023-05-22T23:22:48.551Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-22T23:22:48.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-22T23:22:48.551Z] ---> fadd8f120f05 [2023-05-22T23:22:48.551Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-22T23:22:50.534Z] ---> Running in 7028dd992bb4 [2023-05-22T23:22:50.803Z] Removing intermediate container 7028dd992bb4 [2023-05-22T23:22:50.803Z] ---> e00f3c3b90d5 [2023-05-22T23:22:50.803Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T23:22:50.803Z] ---> Running in 3c855c306e74 [2023-05-22T23:22:51.073Z] Removing intermediate container 3c855c306e74 [2023-05-22T23:22:51.073Z] ---> 5847c37f7faf [2023-05-22T23:22:51.073Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-22T23:22:51.342Z] ---> Running in f776eac02c0a [2023-05-22T23:22:51.611Z] Removing intermediate container f776eac02c0a [2023-05-22T23:22:51.611Z] ---> 9a5c4796245c [2023-05-22T23:22:51.611Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-22T23:22:51.611Z] ---> Running in 4f03c1790c7b [2023-05-22T23:22:51.876Z] Removing intermediate container 4f03c1790c7b [2023-05-22T23:22:51.876Z] ---> 8ff09cc5d557 [2023-05-22T23:22:51.876Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T23:22:52.147Z] ---> Running in 00e463abb93a [2023-05-22T23:22:53.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T23:22:53.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T23:22:54.661Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-22T23:22:54.661Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-22T23:22:54.661Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-22T23:22:54.661Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-22T23:22:54.661Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-22T23:22:54.661Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-22T23:22:54.661Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-22T23:22:54.661Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-22T23:22:54.661Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-22T23:22:54.932Z] (10/14) Installing kmod-libs (30-r1) [2023-05-22T23:22:54.932Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-22T23:22:54.932Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-22T23:22:54.932Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-22T23:22:54.932Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-22T23:22:54.932Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T23:22:54.932Z] Executing eudev-3.2.11-r4.trigger [2023-05-22T23:22:54.932Z] OK: 271 MiB in 67 packages [2023-05-22T23:22:56.352Z] Removing intermediate container 00e463abb93a [2023-05-22T23:22:56.352Z] ---> c49b7cf0d894 [2023-05-22T23:22:56.352Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-22T23:22:56.352Z] ---> Running in 1492646a54fa [2023-05-22T23:22:56.621Z] Removing intermediate container 1492646a54fa [2023-05-22T23:22:56.621Z] ---> 8d2b0f3e8bbf [2023-05-22T23:22:56.621Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-22T23:23:00.888Z] ---> 480cc9ba9ce1 [2023-05-22T23:23:00.888Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T23:23:00.888Z] ---> Running in 2fa6cf98c664 [2023-05-22T23:23:57.462Z] Removing intermediate container 2fa6cf98c664 [2023-05-22T23:23:57.462Z] ---> 9ccd128dd60e [2023-05-22T23:23:57.462Z] Step 11/13 : COPY . . [2023-05-22T23:23:57.462Z] ---> 1a088b7358d3 [2023-05-22T23:23:57.462Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-22T23:23:57.462Z] ---> Running in 003e0627c2ac [2023-05-22T23:23:57.728Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T23:23:57.728Z] Dload Upload Total Spent Left Speed [2023-05-22T23:23:57.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3732 0 --:--:-- --:--:-- --:--:-- 3739 [2023-05-22T23:23:58.578Z] Removing intermediate container 003e0627c2ac [2023-05-22T23:23:58.578Z] ---> cd8239aa349e [2023-05-22T23:23:58.578Z] Step 13/13 : RUN ${MAKE} [2023-05-22T23:23:58.578Z] ---> Running in 83155fbc93f3 [2023-05-22T23:23:59.540Z] noop [2023-05-22T23:24:00.122Z] Removing intermediate container 83155fbc93f3 [2023-05-22T23:24:00.122Z] ---> ebd9826775c7 [2023-05-22T23:24:00.122Z] Successfully built ebd9826775c7 [2023-05-22T23:24:00.122Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:24:00.479Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T23:24:00.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:24:00.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-16408 does not seem to be running inside a container [2023-05-22T23:24:00.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-22T23:24:01.877Z] $ docker top 7bf7a769070105d9553da6fff2aca5b63662994b5906c420eb948436910e31de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T23:24:02.709Z] + go version [2023-05-22T23:24:02.710Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-22T23:24:02.733Z] $ docker stop --time=1 7bf7a769070105d9553da6fff2aca5b63662994b5906c420eb948436910e31de [2023-05-22T23:24:04.411Z] $ docker rm -f --volumes 7bf7a769070105d9553da6fff2aca5b63662994b5906c420eb948436910e31de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:24:04.965Z] + docker inspect -f . ci-base-image-arm64 [2023-05-22T23:24:04.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:24:05.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-16408 does not seem to be running inside a container [2023-05-22T23:24:05.253Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-22T23:24:06.434Z] $ docker top 5a0a9b5cbdf1aa942d78e568a38d4e5864bd6fb3c57d093bcedfbb48b41b5070 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T23:24:07.266Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-05-22T23:24:07.920Z] + make test [2023-05-22T23:24:07.921Z] go test ./... -coverprofile=coverage.out ./... [2023-05-22T23:24:40.145Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-22T23:26:46.865Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-22T23:26:55.087Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.8% of statements [2023-05-22T23:26:55.675Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-22T23:26:55.675Z] go vet ./... [2023-05-22T23:27:34.615Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-22T23:27:34.615Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-22T23:27:34.615Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-22T23:27:34.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-22T23:27:34.655Z] $ docker stop --time=1 5a0a9b5cbdf1aa942d78e568a38d4e5864bd6fb3c57d093bcedfbb48b41b5070 [2023-05-22T23:27:36.540Z] $ docker rm -f --volumes 5a0a9b5cbdf1aa942d78e568a38d4e5864bd6fb3c57d093bcedfbb48b41b5070 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-22T23:27:37.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-22T23:27:37.689Z] Warning: overwriting stash ‘coverage-report’ [2023-05-22T23:27:38.169Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-22T23:27:38.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-22T23:27:38.901Z] + ls -al . [2023-05-22T23:27:38.901Z] total 184 [2023-05-22T23:27:38.901Z] drwxrwxr-x 9 jenkins jenkins 4096 May 22 23:24 . [2023-05-22T23:27:38.901Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 23:21 .. [2023-05-22T23:27:38.901Z] drwxrwxr-x 8 jenkins jenkins 4096 May 22 23:21 .git [2023-05-22T23:27:38.901Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 23:21 .github [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 414 May 22 23:21 .gitignore [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 42 May 22 23:21 .golangci.yml [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 77 May 22 23:21 .hadolint.yml [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 22 23:21 Attribution.txt [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 22 23:21 CHANGELOG.md [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 22 23:21 Dockerfile [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 678 May 22 23:21 GOVERNANCE.md [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 659 May 22 23:21 Jenkinsfile [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 22 23:21 LICENSE [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 22 23:21 Makefile [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 622 May 22 23:21 OWNERS.md [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 22 23:21 README.md [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 5 May 22 23:18 VERSION [2023-05-22T23:27:38.901Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 23:21 bin [2023-05-22T23:27:38.901Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 23:21 cmd [2023-05-22T23:27:38.901Z] -rw-r--r-- 1 jenkins jenkins 31522 May 22 23:26 coverage.out [2023-05-22T23:27:38.901Z] -rwxrwxr-x 1 jenkins jenkins 140 May 22 23:21 docker-entrypoint.sh [2023-05-22T23:27:38.901Z] drwxrwxr-x 2 jenkins jenkins 4096 May 22 23:21 docs [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 22 23:21 go.mod [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 31578 May 22 23:21 go.sum [2023-05-22T23:27:38.901Z] drwxrwxr-x 3 jenkins jenkins 4096 May 22 23:21 internal [2023-05-22T23:27:38.901Z] drwxrwxr-x 4 jenkins jenkins 4096 May 22 23:21 snap [2023-05-22T23:27:38.901Z] -rw-rw-r-- 1 jenkins jenkins 231 May 22 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:27:39.250Z] + 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=bd3dfb7577215fc8ead1e32a51e4b3e513c7470a --label arch=arm64 --label version=0.0.0 . [2023-05-22T23:27:39.517Z] Sending build context to Docker daemon 1.152MB [2023-05-22T23:27:39.517Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-22T23:27:39.517Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-22T23:27:39.517Z] ---> ebd9826775c7 [2023-05-22T23:27:39.517Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-22T23:27:39.784Z] ---> Running in 68edcc775eae [2023-05-22T23:27:40.055Z] Removing intermediate container 68edcc775eae [2023-05-22T23:27:40.055Z] ---> f1579c839c8b [2023-05-22T23:27:40.055Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-22T23:27:40.055Z] ---> Running in 3636bf91b791 [2023-05-22T23:27:40.330Z] Removing intermediate container 3636bf91b791 [2023-05-22T23:27:40.330Z] ---> b799c46bad32 [2023-05-22T23:27:40.330Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-22T23:27:40.330Z] ---> Running in b5026e6ccd7b [2023-05-22T23:27:40.596Z] Removing intermediate container b5026e6ccd7b [2023-05-22T23:27:40.596Z] ---> eec13beff7fd [2023-05-22T23:27:40.596Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-22T23:27:40.871Z] ---> Running in 9fe25b6bd83e [2023-05-22T23:27:41.137Z] Removing intermediate container 9fe25b6bd83e [2023-05-22T23:27:41.137Z] ---> 0ae66b9051a2 [2023-05-22T23:27:41.137Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-22T23:27:41.137Z] ---> Running in 6da083c347c5 [2023-05-22T23:27:42.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T23:27:42.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T23:27:43.652Z] OK: 271 MiB in 67 packages [2023-05-22T23:27:44.613Z] Removing intermediate container 6da083c347c5 [2023-05-22T23:27:44.613Z] ---> 76b1d82fe20e [2023-05-22T23:27:44.613Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-22T23:27:44.613Z] ---> Running in 22a9ba3f9e95 [2023-05-22T23:27:44.880Z] Removing intermediate container 22a9ba3f9e95 [2023-05-22T23:27:44.880Z] ---> 439dd28d6086 [2023-05-22T23:27:44.880Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-22T23:27:45.465Z] ---> 44ad18b4a1b5 [2023-05-22T23:27:45.465Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-22T23:27:45.465Z] ---> Running in 089b87b60c36 [2023-05-22T23:27:48.059Z] Removing intermediate container 089b87b60c36 [2023-05-22T23:27:48.059Z] ---> 8ada5c940038 [2023-05-22T23:27:48.059Z] Step 11/36 : COPY . . [2023-05-22T23:27:48.642Z] ---> 22e39569d667 [2023-05-22T23:27:48.642Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-22T23:27:48.914Z] ---> Running in a57676891328 [2023-05-22T23:27:49.874Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T23:27:49.875Z] Dload Upload Total Spent Left Speed [2023-05-22T23:27:49.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4301 0 --:--:-- --:--:-- --:--:-- 4299 [2023-05-22T23:27:50.846Z] Removing intermediate container a57676891328 [2023-05-22T23:27:50.846Z] ---> 8c6276cace37 [2023-05-22T23:27:50.846Z] Step 13/36 : RUN ${MAKE} [2023-05-22T23:27:50.846Z] ---> Running in abd6fbc7bb75 [2023-05-22T23:27:51.830Z] 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-22T23:30:28.652Z] Removing intermediate container abd6fbc7bb75 [2023-05-22T23:30:28.652Z] ---> 2fd4c69020a0 [2023-05-22T23:30:28.652Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-22T23:30:28.652Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-22T23:30:28.652Z] 8766b47fe142: Pulling fs layer [2023-05-22T23:30:28.652Z] 8766b47fe142: Download complete [2023-05-22T23:30:28.652Z] 8766b47fe142: Pull complete [2023-05-22T23:30:28.652Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-22T23:30:28.652Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-22T23:30:28.652Z] ---> 69d40e2cb93c [2023-05-22T23:30:28.653Z] Step 15/36 : FROM alpine:3.17 [2023-05-22T23:30:28.653Z] 3.17: Pulling from library/alpine [2023-05-22T23:30:28.653Z] c41833b44d91: Already exists [2023-05-22T23:30:28.653Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-22T23:30:28.653Z] Status: Downloaded newer image for alpine:3.17 [2023-05-22T23:30:28.653Z] ---> 51e60588ff2c [2023-05-22T23:30:28.653Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-22T23:30:28.653Z] ---> Running in 22fc63fcad85 [2023-05-22T23:30:28.653Z] Removing intermediate container 22fc63fcad85 [2023-05-22T23:30:28.653Z] ---> 090460460e13 [2023-05-22T23:30:28.653Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-22T23:30:28.653Z] ---> Running in 6003a80f0827 [2023-05-22T23:30:28.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-22T23:30:28.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-22T23:30:28.653Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-22T23:30:28.653Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-22T23:30:28.653Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-22T23:30:28.653Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-22T23:30:28.653Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-22T23:30:28.653Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-22T23:30:28.653Z] (7/83) Installing libxcb (1.15-r0) [2023-05-22T23:30:28.653Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-22T23:30:28.653Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-22T23:30:28.653Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-22T23:30:28.653Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-22T23:30:28.653Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-22T23:30:28.653Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-22T23:30:28.653Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-22T23:30:28.653Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-22T23:30:28.653Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-22T23:30:28.653Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-22T23:30:28.653Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-22T23:30:28.653Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-22T23:30:28.653Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-22T23:30:28.653Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-22T23:30:28.653Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-22T23:30:28.653Z] (23/83) Installing glib (2.74.6-r0) [2023-05-22T23:30:28.653Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-22T23:30:28.653Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-22T23:30:28.653Z] (26/83) Installing libass (0.16.0-r1) [2023-05-22T23:30:28.653Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-22T23:30:28.653Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-22T23:30:28.653Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-22T23:30:28.653Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-22T23:30:28.653Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-22T23:30:28.653Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-22T23:30:28.653Z] (33/83) Installing libunistring (1.1-r0) [2023-05-22T23:30:28.653Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-22T23:30:28.653Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-22T23:30:28.653Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-22T23:30:28.653Z] (37/83) Installing lame (3.100-r2) [2023-05-22T23:30:28.653Z] (38/83) Installing opus (1.3.1-r1) [2023-05-22T23:30:28.653Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-22T23:30:28.653Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-22T23:30:28.653Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-22T23:30:28.653Z] (42/83) Installing orc (0.4.33-r0) [2023-05-22T23:30:28.653Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-22T23:30:28.653Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-22T23:30:28.653Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-22T23:30:28.653Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-22T23:30:28.653Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-22T23:30:28.653Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-22T23:30:28.653Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-22T23:30:28.653Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-22T23:30:28.653Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-22T23:30:28.653Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-22T23:30:28.653Z] (53/83) Installing libpulse (16.1-r6) [2023-05-22T23:30:28.653Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-22T23:30:28.653Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-22T23:30:28.653Z] (56/83) Installing librist (0.2.7-r0) [2023-05-22T23:30:28.653Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-22T23:30:28.653Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-22T23:30:28.653Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-22T23:30:28.653Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-22T23:30:28.653Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-22T23:30:28.653Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-22T23:30:28.653Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-22T23:30:28.653Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-22T23:30:28.653Z] (65/83) Installing libva (2.16.0-r0) [2023-05-22T23:30:28.653Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-22T23:30:28.653Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-22T23:30:28.653Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-22T23:30:28.653Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-22T23:30:28.653Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-22T23:30:28.653Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-22T23:30:28.653Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-22T23:30:28.653Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-22T23:30:28.653Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-22T23:30:28.653Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-22T23:30:28.653Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-22T23:30:28.653Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-22T23:30:28.653Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-22T23:30:28.653Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-22T23:30:28.653Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-22T23:30:28.653Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-22T23:30:28.653Z] (82/83) Installing kmod-libs (30-r1) [2023-05-22T23:30:28.653Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-22T23:30:28.653Z] Executing busybox-1.35.0-r29.trigger [2023-05-22T23:30:28.653Z] Executing eudev-3.2.11-r4.trigger [2023-05-22T23:30:28.653Z] OK: 86 MiB in 98 packages [2023-05-22T23:30:28.653Z] Removing intermediate container 6003a80f0827 [2023-05-22T23:30:28.653Z] ---> 719a80cd2441 [2023-05-22T23:30:28.653Z] Step 18/36 : WORKDIR / [2023-05-22T23:30:28.653Z] ---> Running in 3dca9de07ff4 [2023-05-22T23:30:28.653Z] Removing intermediate container 3dca9de07ff4 [2023-05-22T23:30:28.653Z] ---> b39c56dce7e9 [2023-05-22T23:30:28.653Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-22T23:30:30.096Z] ---> 968b56ae1cf0 [2023-05-22T23:30:30.096Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-22T23:30:30.387Z] ---> f8bb1d560319 [2023-05-22T23:30:30.387Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-22T23:30:30.991Z] ---> 3146f7247f0f [2023-05-22T23:30:30.991Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-22T23:30:31.270Z] ---> 9620f94339db [2023-05-22T23:30:31.270Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-22T23:30:31.855Z] ---> 107380265ef0 [2023-05-22T23:30:31.855Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-22T23:30:32.439Z] ---> 787e2df3c137 [2023-05-22T23:30:32.439Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-22T23:30:33.856Z] ---> dae57b447d9a [2023-05-22T23:30:33.856Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-22T23:30:33.856Z] ---> Running in 04cb57029cfc [2023-05-22T23:30:35.805Z] Removing intermediate container 04cb57029cfc [2023-05-22T23:30:35.805Z] ---> 8097668b5bff [2023-05-22T23:30:35.805Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-22T23:30:35.806Z] ---> Running in 2b6558673d2e [2023-05-22T23:30:37.223Z] Removing intermediate container 2b6558673d2e [2023-05-22T23:30:37.223Z] ---> c333174fd6ec [2023-05-22T23:30:37.223Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-22T23:30:37.496Z] ---> Running in 3393ccb807fe [2023-05-22T23:30:38.918Z] Removing intermediate container 3393ccb807fe [2023-05-22T23:30:38.918Z] ---> 4a70354e150f [2023-05-22T23:30:38.918Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-22T23:30:39.186Z] ---> Running in 22de4c9c396f [2023-05-22T23:30:40.600Z] Removing intermediate container 22de4c9c396f [2023-05-22T23:30:40.600Z] ---> f1f22d13602c [2023-05-22T23:30:40.600Z] Step 30/36 : EXPOSE 59983 [2023-05-22T23:30:40.868Z] ---> Running in 42c546e78dcc [2023-05-22T23:30:41.136Z] Removing intermediate container 42c546e78dcc [2023-05-22T23:30:41.136Z] ---> a75dd9cb6a26 [2023-05-22T23:30:41.136Z] Step 31/36 : EXPOSE 8554 [2023-05-22T23:30:41.136Z] ---> Running in 53ec37389484 [2023-05-22T23:30:41.404Z] Removing intermediate container 53ec37389484 [2023-05-22T23:30:41.404Z] ---> 2d8f8fbb2921 [2023-05-22T23:30:41.404Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-22T23:30:41.404Z] ---> Running in 44dcaa41cf8d [2023-05-22T23:30:41.990Z] Removing intermediate container 44dcaa41cf8d [2023-05-22T23:30:41.990Z] ---> a663de1c80e7 [2023-05-22T23:30:41.990Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-22T23:30:41.990Z] ---> Running in acd483016840 [2023-05-22T23:30:42.258Z] Removing intermediate container acd483016840 [2023-05-22T23:30:42.258Z] ---> 1670c7dbe14b [2023-05-22T23:30:42.258Z] Step 34/36 : LABEL arch=arm64 [2023-05-22T23:30:42.258Z] ---> Running in 4117316eb33b [2023-05-22T23:30:42.527Z] Removing intermediate container 4117316eb33b [2023-05-22T23:30:42.527Z] ---> 0a5dbe156391 [2023-05-22T23:30:42.527Z] Step 35/36 : LABEL git_sha=bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [2023-05-22T23:30:42.527Z] ---> Running in dbdfd4885d31 [2023-05-22T23:30:43.112Z] Removing intermediate container dbdfd4885d31 [2023-05-22T23:30:43.112Z] ---> 2e8ee66bfc76 [2023-05-22T23:30:43.112Z] Step 36/36 : LABEL version=0.0.0 [2023-05-22T23:30:43.112Z] ---> Running in b322db052adf [2023-05-22T23:30:43.379Z] Removing intermediate container b322db052adf [2023-05-22T23:30:43.379Z] ---> a75d3979ef13 [2023-05-22T23:30:43.379Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-22T23:30:43.379Z] Successfully built a75d3979ef13 [2023-05-22T23:30:43.379Z] 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-22T23:30:43.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T23:30:43.814Z] [2023-05-22T23:30:43.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:30:44.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T23:30:44.149Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-22T23:30:44.149Z] 8998bd30e6a1: Pulling fs layer [2023-05-22T23:30:44.149Z] 04944245beec: Pulling fs layer [2023-05-22T23:30:44.149Z] 699f458cf7ca: Pulling fs layer [2023-05-22T23:30:44.149Z] 765212b225bb: Pulling fs layer [2023-05-22T23:30:44.149Z] f23df028b6ca: Pulling fs layer [2023-05-22T23:30:44.149Z] d65c8cfc05b1: Pulling fs layer [2023-05-22T23:30:44.149Z] 2437ff75d9bd: Pulling fs layer [2023-05-22T23:30:44.149Z] 765212b225bb: Waiting [2023-05-22T23:30:44.149Z] f23df028b6ca: Waiting [2023-05-22T23:30:44.149Z] d65c8cfc05b1: Waiting [2023-05-22T23:30:44.149Z] 2437ff75d9bd: Waiting [2023-05-22T23:30:44.416Z] 04944245beec: Verifying Checksum [2023-05-22T23:30:44.416Z] 04944245beec: Download complete [2023-05-22T23:30:44.416Z] 765212b225bb: Verifying Checksum [2023-05-22T23:30:44.416Z] 765212b225bb: Download complete [2023-05-22T23:30:44.416Z] f23df028b6ca: Verifying Checksum [2023-05-22T23:30:44.416Z] f23df028b6ca: Download complete [2023-05-22T23:30:44.416Z] d65c8cfc05b1: Verifying Checksum [2023-05-22T23:30:44.416Z] d65c8cfc05b1: Download complete [2023-05-22T23:30:44.685Z] 699f458cf7ca: Verifying Checksum [2023-05-22T23:30:44.685Z] 699f458cf7ca: Download complete [2023-05-22T23:30:44.954Z] 8998bd30e6a1: Verifying Checksum [2023-05-22T23:30:44.954Z] 8998bd30e6a1: Download complete [2023-05-22T23:30:47.541Z] 2437ff75d9bd: Download complete [2023-05-22T23:30:48.954Z] 8998bd30e6a1: Pull complete [2023-05-22T23:30:49.222Z] 04944245beec: Pull complete [2023-05-22T23:30:50.674Z] 699f458cf7ca: Pull complete [2023-05-22T23:30:50.674Z] 765212b225bb: Pull complete [2023-05-22T23:30:51.637Z] f23df028b6ca: Pull complete [2023-05-22T23:30:51.637Z] d65c8cfc05b1: Pull complete [2023-05-22T23:31:06.647Z] 2437ff75d9bd: Pull complete [2023-05-22T23:31:06.647Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-22T23:31:06.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-22T23:31:06.647Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:31:06.836Z] prd-ubuntu20.04-docker-arm64-4c-16g-16408 does not seem to be running inside a container [2023-05-22T23:31:06.909Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-22T23:31:09.578Z] $ docker top 6c1301ba37f46b914ecb6617d389da9770ef6b4a5a765904dc26ebc9b15dd8fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:10.091Z] ---> job-cost.sh [2023-05-22T23:31:10.358Z] lf-activate-venv: SKIPPING [2023-05-22T23:31:10.358Z] INFO: No Stack... [2023-05-22T23:31:10.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-22T23:31:11.519Z] INFO: Archiving Costs [Pipeline] sh [2023-05-22T23:31:11.851Z] + cut -d, -f6 [2023-05-22T23:31:11.851Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock [2023-05-22T23:31:11.920Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] [2023-05-22T23:31:11.928Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] did not exist. Created. [2023-05-22T23:31:11.928Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-22T23:31:12.264Z] /w/workspace/device-usb-camera/3@tmp/durable-34ae6528/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-22T23:31:12.918Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-22T23:31:12.943Z] Warning: overwriting stash ‘stack-cost’ [2023-05-22T23:31:12.990Z] Stashed 1 file(s) [Pipeline] } [2023-05-22T23:31:13.002Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-252-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-22T23:31:13.032Z] $ docker stop --time=1 6c1301ba37f46b914ecb6617d389da9770ef6b4a5a765904dc26ebc9b15dd8fb [2023-05-22T23:31:14.517Z] $ docker rm -f --volumes 6c1301ba37f46b914ecb6617d389da9770ef6b4a5a765904dc26ebc9b15dd8fb [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-22T23:31:14.887Z] provisioning config files... [2023-05-22T23:31:14.897Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config18402674244661873629tmp [Pipeline] { [Pipeline] sh [2023-05-22T23:31:15.200Z] + set +x [2023-05-22T23:31:15.200Z] + curl -s https://codecov.io/bash [2023-05-22T23:31:15.200Z] + bash -s -- [2023-05-22T23:31:15.200Z] [2023-05-22T23:31:15.200Z] _____ _ [2023-05-22T23:31:15.200Z] / ____| | | [2023-05-22T23:31:15.200Z] | | ___ __| | ___ ___ _____ __ [2023-05-22T23:31:15.200Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-22T23:31:15.200Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-22T23:31:15.200Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-22T23:31:15.200Z] Bash-1.0.6 [2023-05-22T23:31:15.200Z] [2023-05-22T23:31:15.200Z] [2023-05-22T23:31:15.200Z] ==> git version 2.25.1 found [2023-05-22T23:31:15.200Z] ==> 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-22T23:31:15.200Z] Release-Date: 2020-01-08 [2023-05-22T23:31:15.200Z] 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-22T23:31:15.200Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-22T23:31:15.200Z] ==> Jenkins CI detected. [2023-05-22T23:31:15.200Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-252 [2023-05-22T23:31:15.200Z] project root: . [2023-05-22T23:31:15.200Z] --> token set from env [2023-05-22T23:31:15.200Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-22T23:31:15.200Z] ==> Running gcov in . (disable via -X gcov) [2023-05-22T23:31:15.200Z] ==> Python coveragepy not found [2023-05-22T23:31:15.200Z] ==> Searching for coverage reports in: [2023-05-22T23:31:15.200Z] + . [2023-05-22T23:31:15.200Z] -> Found 1 reports [2023-05-22T23:31:15.200Z] ==> Detecting git/mercurial file structure [2023-05-22T23:31:15.200Z] ==> Reading reports [2023-05-22T23:31:15.200Z] + ./coverage.out bytes=31522 [2023-05-22T23:31:15.200Z] ==> Appending adjustments [2023-05-22T23:31:15.200Z] https://docs.codecov.io/docs/fixing-reports [2023-05-22T23:31:15.460Z] + Found adjustments [2023-05-22T23:31:15.460Z] ==> Gzipping contents [2023-05-22T23:31:15.460Z] 8.0K /tmp/codecov.PMu6g3.gz [2023-05-22T23:31:15.460Z] ==> Uploading reports [2023-05-22T23:31:15.460Z] url: https://codecov.io [2023-05-22T23:31:15.460Z] query: branch=PR-252&commit=bd3dfb7577215fc8ead1e32a51e4b3e513c7470a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-252%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=252&job=&cmd_args= [2023-05-22T23:31:15.460Z] -> Pinging Codecov [2023-05-22T23:31:15.460Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-252&commit=bd3dfb7577215fc8ead1e32a51e4b3e513c7470a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-252%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=252&job=&cmd_args= [2023-05-22T23:31:15.460Z] -> Uploading to [2023-05-22T23:31:15.460Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-22/73D8F5FF140700D3E01443B452E23636/bd3dfb7577215fc8ead1e32a51e4b3e513c7470a/912f0bcf-ebbc-4f71-9640-6f9973743c54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T233115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27d31f1e4543765060f65fda971fa79ee31c9db626ca1219be7d52be7c8a20a2 [2023-05-22T23:31:15.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-22T23:31:15.460Z] Dload Upload Total Spent Left Speed [2023-05-22T23:31:15.719Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 20286 --:--:-- --:--:-- --:--:-- 20286 [2023-05-22T23:31:15.720Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bd3dfb7577215fc8ead1e32a51e4b3e513c7470a [Pipeline] } [2023-05-22T23:31:15.728Z] 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-22T23:31:16.500Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-252/archives ] [2023-05-22T23:31:16.500Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-252/archives [2023-05-22T23:31:16.500Z] total 16 [2023-05-22T23:31:16.500Z] drwxr-xr-x 3 root root 4096 May 22 23:20 . [2023-05-22T23:31:16.500Z] drwxrwxr-x 11 jenkins jenkins 4096 May 22 23:20 .. [2023-05-22T23:31:16.500Z] drwxr-xr-x 2 root root 4096 May 22 23:20 cost [2023-05-22T23:31:16.500Z] -rw-r--r-- 1 root root 89 May 22 23:20 cost.csv [2023-05-22T23:31:16.500Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-252/archives [2023-05-22T23:31:16.500Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-252/archives [2023-05-22T23:31:16.500Z] total 16 [2023-05-22T23:31:16.500Z] drwxr-xr-x 3 jenkins jenkins 4096 May 22 23:20 . [2023-05-22T23:31:16.500Z] drwxrwxr-x 11 jenkins jenkins 4096 May 22 23:20 .. [2023-05-22T23:31:16.500Z] drwxr-xr-x 2 jenkins jenkins 4096 May 22 23:20 cost [2023-05-22T23:31:16.500Z] -rw-r--r-- 1 jenkins jenkins 89 May 22 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:16.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:17.658Z] ---> package-listing.sh [2023-05-22T23:31:17.658Z] ++ facter osfamily [2023-05-22T23:31:17.658Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-22T23:31:17.918Z] + OS_FAMILY=debian [2023-05-22T23:31:17.918Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-252 [2023-05-22T23:31:17.918Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-22T23:31:17.918Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-22T23:31:17.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-22T23:31:17.918Z] + PACKAGES=/tmp/packages_start.txt [2023-05-22T23:31:17.918Z] + '[' /w/workspace/foundry_device-usb-camera_PR-252 ']' [2023-05-22T23:31:17.918Z] + PACKAGES=/tmp/packages_end.txt [2023-05-22T23:31:17.918Z] + case "${OS_FAMILY}" in [2023-05-22T23:31:17.918Z] + dpkg -l [2023-05-22T23:31:17.918Z] + grep '^ii' [2023-05-22T23:31:17.918Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-22T23:31:17.918Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-22T23:31:17.918Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-22T23:31:17.918Z] + '[' /w/workspace/foundry_device-usb-camera_PR-252 ']' [2023-05-22T23:31:17.918Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-252/archives/ [2023-05-22T23:31:17.918Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-252/archives/ [Pipeline] echo [2023-05-22T23:31:17.929Z] 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-252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-22T23:31:18.206Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-22T23:31:18.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-22T23:31:18.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-22T23:31:18.834Z] prd-ubuntu20.04-docker-8c-8g-16407 does not seem to be running inside a container [2023-05-22T23:31:18.868Z] $ 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-252/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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-22T23:31:19.071Z] $ docker top cd9a643a844861c733537a4be48288df59bc169522175a4e92639aa0849cb84e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-22T23:31:19.396Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-22T23:31:19.685Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-22T23:31:19.971Z] + ls /var/log/sa-host [2023-05-22T23:31:19.971Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-22T23:31:20.056Z] provisioning config files... [2023-05-22T23:31:20.064Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config17277698290172276779tmp [Pipeline] { [Pipeline] echo [2023-05-22T23:31:20.081Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:20.364Z] ---> create-netrc.sh [Pipeline] } [2023-05-22T23:31:20.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:20.701Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-22T23:31:20.709Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:20.995Z] ---> sudo-logs.sh [2023-05-22T23:31:20.995Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-22T23:31:21.028Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:21.311Z] ---> job-cost.sh [2023-05-22T23:31:21.311Z] lf-activate-venv: SKIPPING [2023-05-22T23:31:21.311Z] DEBUG: total: 0.2199999988079071 [2023-05-22T23:31:21.311Z] INFO: Retrieving Stack Cost... [2023-05-22T23:31:21.571Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-22T23:31:22.140Z] INFO: Archiving Costs [Pipeline] echo [2023-05-22T23:31:22.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-22T23:31:22.437Z] ---> logs-deploy.sh [2023-05-22T23:31:22.437Z] lf-activate-venv: SKIPPING [2023-05-22T23:31:22.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-252/3 [2023-05-22T23:31:22.437Z] INFO: archiving workspace using pattern(s): [2023-05-22T23:31:23.374Z] Archives upload complete. [2023-05-22T23:31:23.374Z] INFO: archiving logs to Nexus