Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than c54c24dfec6d4d8becd6dd23052bc72f28e30695 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh16149510746996817123.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4003017701705917362.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5116681175876910068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4184954884047521123.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16702805012902483024.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 Running on prd-ubuntu20.04-docker-8c-8g-237 in /w/workspace/foundry_device-usb-camera_PR-262 [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-262 # 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit c54c24dfec6d4d8becd6dd23052bc72f28e30695 > 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing c54c24dfec6d4d8becd6dd23052bc72f28e30695 Checking out Revision c54c24dfec6d4d8becd6dd23052bc72f28e30695 (PR-262) Commit message: "fix: read commands" > git checkout -f c54c24dfec6d4d8becd6dd23052bc72f28e30695 # 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c54c24dfec6d4d8becd6dd23052bc72f28e30695 # timeout=10 > git rev-list --no-walk d4a1bd47944284728dba4468bf3d6693039d2ee7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-30T18:16:54.752Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-30T18:16:54.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-30T18:16:54.819Z] ========================================================= [2023-06-30T18:16:54.819Z] EdgeX Global Pipelines Version Info [2023-06-30T18:16:54.819Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:16:55.533Z] ------------------- [2023-06-30T18:16:55.533Z] stable info: [2023-06-30T18:16:55.533Z] ------------------- [2023-06-30T18:16:55.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-30T18:16:55.533Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-30T18:16:55.533Z] Message: update stable to v1.0.250 [2023-06-30T18:16:56.106Z] ------------------- [2023-06-30T18:16:56.106Z] experimental info: [2023-06-30T18:16:56.106Z] ------------------- [2023-06-30T18:16:56.107Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-30T18:16:56.107Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-30T18:16:56.107Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-30T18:16:56.296Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-30T18:16:56.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-30T18:16:56.330Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-30T18:16:56.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-30T18:16:56.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-30T18:16:56.378Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-30T18:16:56.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-30T18:16:56.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-30T18:16:56.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-30T18:16:56.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-30T18:16:56.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-30T18:16:56.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-30T18:16:56.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-30T18:16:56.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-30T18:16:56.535Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-30T18:16:56.554Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-30T18:16:56.574Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-30T18:16:56.590Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-30T18:16:56.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-30T18:16:56.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-30T18:16:56.638Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-30T18:16:56.649Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-30T18:16:56.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-30T18:16:56.668Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-30T18:16:56.679Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-30T18:16:56.690Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-30T18:16:56.699Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-30T18:16:56.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-30T18:16:56.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-30T18:16:56.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-30T18:16:56.810Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c54c24dfec6d4d8becd6dd23052bc72f28e30695 [Pipeline] echo [2023-06-30T18:16:56.830Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c54c24d [Pipeline] echo [2023-06-30T18:16:56.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T18:16:56.901Z] provisioning config files... [2023-06-30T18:16:56.922Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config2186132298991188161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:16:57.248Z] ---> docker-login.sh [2023-06-30T18:16:57.248Z] nexus3.edgexfoundry.org:10001 [2023-06-30T18:16:57.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:16:57.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:16:57.508Z] Configure a credential helper to remove this warning. See [2023-06-30T18:16:57.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:16:57.508Z] [2023-06-30T18:16:57.508Z] Login Succeeded [2023-06-30T18:16:57.508Z] nexus3.edgexfoundry.org:10002 [2023-06-30T18:16:57.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:16:57.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:16:57.770Z] Configure a credential helper to remove this warning. See [2023-06-30T18:16:57.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:16:57.770Z] [2023-06-30T18:16:57.770Z] Login Succeeded [2023-06-30T18:16:57.770Z] nexus3.edgexfoundry.org:10003 [2023-06-30T18:16:57.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:16:57.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:16:57.770Z] Configure a credential helper to remove this warning. See [2023-06-30T18:16:57.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:16:57.770Z] [2023-06-30T18:16:57.770Z] Login Succeeded [2023-06-30T18:16:57.770Z] nexus3.edgexfoundry.org:10004 [2023-06-30T18:16:57.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:16:58.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:16:58.031Z] Configure a credential helper to remove this warning. See [2023-06-30T18:16:58.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:16:58.031Z] [2023-06-30T18:16:58.031Z] Login Succeeded [2023-06-30T18:16:58.031Z] docker.io [2023-06-30T18:16:58.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:16:58.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:16:58.296Z] Configure a credential helper to remove this warning. See [2023-06-30T18:16:58.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:16:58.296Z] [2023-06-30T18:16:58.296Z] Login Succeeded [2023-06-30T18:16:58.296Z] ---> docker-login.sh ends [Pipeline] } [2023-06-30T18:16:58.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-30T18:16:58.682Z] + git rev-list -1 --merges c54c24dfec6d4d8becd6dd23052bc72f28e30695~1..c54c24dfec6d4d8becd6dd23052bc72f28e30695 [Pipeline] echo [2023-06-30T18:16:58.731Z] -----------> git rev-list -1 --merges c54c24dfec6d4d8becd6dd23052bc72f28e30695~1..c54c24dfec6d4d8becd6dd23052bc72f28e30695 c54c24dfec6d4d8becd6dd23052bc72f28e30695 [false] [Pipeline] sh [2023-06-30T18:16:59.020Z] + git log --format=format:%s -1 c54c24dfec6d4d8becd6dd23052bc72f28e30695 [Pipeline] echo [2023-06-30T18:16:59.032Z] ========================================================= [2023-06-30T18:16:59.032Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-30T18:16:59.032Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-30T18:16:59.376Z] + git log --format=format:%s -1 c54c24dfec6d4d8becd6dd23052bc72f28e30695 [Pipeline] echo [2023-06-30T18:16:59.387Z] [semverPrep] GIT_COMMIT: c54c24dfec6d4d8becd6dd23052bc72f28e30695, Commit Message: fix: read commands [Pipeline] echo [2023-06-30T18:16:59.396Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-30T18:16:59.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-30T18:16:59.778Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-30T18:16:59.778Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-30T18:16:59.778Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-30T18:16:59.778Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-30T18:16:59.778Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-30T18:16:59.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:17:00.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-30T18:17:00.193Z] [2023-06-30T18:17:00.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:17:00.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-30T18:17:00.488Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-30T18:17:00.488Z] b85a868b505f: Pulling fs layer [2023-06-30T18:17:00.488Z] e2be974225ed: Pulling fs layer [2023-06-30T18:17:00.488Z] 339a4e72a1f5: Pulling fs layer [2023-06-30T18:17:00.488Z] 988bab9f4d93: Pulling fs layer [2023-06-30T18:17:00.488Z] 1469e6f7b9e6: Pulling fs layer [2023-06-30T18:17:00.488Z] eaf3925da568: Pulling fs layer [2023-06-30T18:17:00.488Z] bab4dde63d76: Pulling fs layer [2023-06-30T18:17:00.488Z] bde34c3a00c8: Pulling fs layer [2023-06-30T18:17:00.488Z] b352a97aabf1: Pulling fs layer [2023-06-30T18:17:00.488Z] 4872d77fe225: Pulling fs layer [2023-06-30T18:17:00.488Z] 5851b861e8e6: Pulling fs layer [2023-06-30T18:17:00.488Z] 1469e6f7b9e6: Waiting [2023-06-30T18:17:00.488Z] eaf3925da568: Waiting [2023-06-30T18:17:00.488Z] bab4dde63d76: Waiting [2023-06-30T18:17:00.488Z] bde34c3a00c8: Waiting [2023-06-30T18:17:00.488Z] b352a97aabf1: Waiting [2023-06-30T18:17:00.488Z] 4872d77fe225: Waiting [2023-06-30T18:17:00.488Z] 5851b861e8e6: Waiting [2023-06-30T18:17:00.488Z] 988bab9f4d93: Waiting [2023-06-30T18:17:00.488Z] e2be974225ed: Download complete [2023-06-30T18:17:00.488Z] 988bab9f4d93: Verifying Checksum [2023-06-30T18:17:00.488Z] 988bab9f4d93: Download complete [2023-06-30T18:17:00.488Z] 1469e6f7b9e6: Verifying Checksum [2023-06-30T18:17:00.488Z] 1469e6f7b9e6: Download complete [2023-06-30T18:17:00.747Z] eaf3925da568: Verifying Checksum [2023-06-30T18:17:00.747Z] eaf3925da568: Download complete [2023-06-30T18:17:00.747Z] 339a4e72a1f5: Verifying Checksum [2023-06-30T18:17:00.747Z] 339a4e72a1f5: Download complete [2023-06-30T18:17:00.747Z] bde34c3a00c8: Verifying Checksum [2023-06-30T18:17:00.747Z] bde34c3a00c8: Download complete [2023-06-30T18:17:00.747Z] b352a97aabf1: Download complete [2023-06-30T18:17:00.747Z] 4872d77fe225: Verifying Checksum [2023-06-30T18:17:00.747Z] 4872d77fe225: Download complete [2023-06-30T18:17:00.747Z] 5851b861e8e6: Download complete [2023-06-30T18:17:00.747Z] b85a868b505f: Verifying Checksum [2023-06-30T18:17:00.747Z] b85a868b505f: Download complete [2023-06-30T18:17:01.007Z] bab4dde63d76: Verifying Checksum [2023-06-30T18:17:01.007Z] bab4dde63d76: Download complete [2023-06-30T18:17:01.942Z] b85a868b505f: Pull complete [2023-06-30T18:17:02.200Z] e2be974225ed: Pull complete [2023-06-30T18:17:02.766Z] 339a4e72a1f5: Pull complete [2023-06-30T18:17:02.766Z] 988bab9f4d93: Pull complete [2023-06-30T18:17:03.027Z] 1469e6f7b9e6: Pull complete [2023-06-30T18:17:03.285Z] eaf3925da568: Pull complete [2023-06-30T18:17:04.952Z] bab4dde63d76: Pull complete [2023-06-30T18:17:04.952Z] bde34c3a00c8: Pull complete [2023-06-30T18:17:05.211Z] b352a97aabf1: Pull complete [2023-06-30T18:17:05.211Z] 4872d77fe225: Pull complete [2023-06-30T18:17:05.472Z] 5851b861e8e6: Pull complete [2023-06-30T18:17:05.472Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-30T18:17:05.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-30T18:17:05.472Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:17:05.584Z] prd-ubuntu20.04-docker-8c-8g-237 does not seem to be running inside a container [2023-06-30T18:17:05.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-30T18:17:08.314Z] $ docker top bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd -eo pid,comm [2023-06-30T18:17:08.368Z] 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-06-30T18:17:08.368Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-30T18:17:08.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-30T18:17:08.407Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-30T18:17:08.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-30T18:17:08.524Z] $ docker exec bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd ssh-agent [2023-06-30T18:17:08.635Z] SSH_AUTH_SOCK=/tmp/ssh-w6optJls1sk4/agent.32 [2023-06-30T18:17:08.635Z] SSH_AGENT_PID=38 [2023-06-30T18:17:08.643Z] Running ssh-add (command line suppressed) [2023-06-30T18:17:08.761Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_15410651805949179276.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_15410651805949179276.key) [2023-06-30T18:17:08.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-30T18:17:09.066Z] + git tag --points-at HEAD [Pipeline] } [2023-06-30T18:17:09.080Z] $ docker exec --env ******** --env ******** bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd ssh-agent -k [2023-06-30T18:17:09.197Z] unset SSH_AUTH_SOCK; [2023-06-30T18:17:09.198Z] unset SSH_AGENT_PID; [2023-06-30T18:17:09.199Z] echo Agent pid 38 killed; [2023-06-30T18:17:09.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-30T18:17:09.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-30T18:17:09.226Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-30T18:17:09.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-30T18:17:09.352Z] $ docker exec bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd ssh-agent [2023-06-30T18:17:09.468Z] SSH_AUTH_SOCK=/tmp/ssh-bzqjv9m80oNb/agent.70 [2023-06-30T18:17:09.468Z] SSH_AGENT_PID=76 [2023-06-30T18:17:09.473Z] Running ssh-add (command line suppressed) [2023-06-30T18:17:09.591Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12139381866710331393.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12139381866710331393.key) [2023-06-30T18:17:09.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-30T18:17:09.890Z] + git semver init [2023-06-30T18:17:10.156Z] 2023-06-30 18:17:10,080 [run_init] DEBUG init version:0.0.0 force:False [2023-06-30T18:17:10.156Z] 2023-06-30 18:17:10,081 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-30T18:17:10.156Z] 2023-06-30 18:17:10,081 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-30T18:17:10.156Z] 2023-06-30 18:17:10,082 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,800 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,801 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,806 [execute] INFO git cat-file --batch-check [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,813 [execute] INFO git cat-file --batch [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-30T18:17:11.095Z] 2023-06-30 18:17:10,819 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-30T18:17:11.095Z] 0.0.0 [Pipeline] } [2023-06-30T18:17:11.106Z] $ docker exec --env ******** --env ******** bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd ssh-agent -k [2023-06-30T18:17:11.208Z] unset SSH_AUTH_SOCK; [2023-06-30T18:17:11.208Z] unset SSH_AGENT_PID; [2023-06-30T18:17:11.208Z] echo Agent pid 76 killed; [2023-06-30T18:17:11.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-30T18:17:11.512Z] + git semver [Pipeline] } [2023-06-30T18:17:11.786Z] $ docker stop --time=1 bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd [2023-06-30T18:17:13.123Z] $ docker rm -f --volumes bdc96dcdd2bd23fc7b799e191e0cde3ed62926197f4255e83d6dbb499ec154cd [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-30T18:17:13.461Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-30T18:17:13.668Z] Stashed 1 file(s) [Pipeline] echo [2023-06-30T18:17:13.670Z] [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-06-30T18:17:13.779Z] provisioning config files... [2023-06-30T18:17:13.789Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config8049332100547671956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:17:14.089Z] ---> docker-login.sh [2023-06-30T18:17:14.090Z] nexus3.edgexfoundry.org:10001 [2023-06-30T18:17:14.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:17:14.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:17:14.090Z] Configure a credential helper to remove this warning. See [2023-06-30T18:17:14.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:17:14.090Z] [2023-06-30T18:17:14.090Z] Login Succeeded [2023-06-30T18:17:14.090Z] nexus3.edgexfoundry.org:10002 [2023-06-30T18:17:14.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:17:14.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:17:14.090Z] Configure a credential helper to remove this warning. See [2023-06-30T18:17:14.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:17:14.090Z] [2023-06-30T18:17:14.090Z] Login Succeeded [2023-06-30T18:17:14.090Z] nexus3.edgexfoundry.org:10003 [2023-06-30T18:17:14.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:17:14.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:17:14.349Z] Configure a credential helper to remove this warning. See [2023-06-30T18:17:14.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:17:14.349Z] [2023-06-30T18:17:14.349Z] Login Succeeded [2023-06-30T18:17:14.349Z] nexus3.edgexfoundry.org:10004 [2023-06-30T18:17:14.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:17:14.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:17:14.349Z] Configure a credential helper to remove this warning. See [2023-06-30T18:17:14.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:17:14.349Z] [2023-06-30T18:17:14.349Z] Login Succeeded [2023-06-30T18:17:14.349Z] docker.io [2023-06-30T18:17:14.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:17:15.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:17:15.990Z] Configure a credential helper to remove this warning. See [2023-06-30T18:17:15.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:17:15.990Z] [2023-06-30T18:17:15.990Z] Login Succeeded [2023-06-30T18:17:15.990Z] ---> docker-login.sh ends [Pipeline] } [2023-06-30T18:17:15.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-30T18:17:16.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T18:17:16.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T18:17:16.081Z] ========================================================= [2023-06-30T18:17:16.081Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-30T18:17:16.081Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:17:16.387Z] + 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-06-30T18:17:16.387Z] Sending build context to Docker daemon 2.047MB [2023-06-30T18:17:16.387Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-30T18:17:16.387Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-30T18:17:16.387Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-30T18:17:16.387Z] f56be85fc22e: Pulling fs layer [2023-06-30T18:17:16.387Z] 85791d961cd3: Pulling fs layer [2023-06-30T18:17:16.387Z] d694b5ae8c79: Pulling fs layer [2023-06-30T18:17:16.387Z] 9f32a84ed3da: Pulling fs layer [2023-06-30T18:17:16.387Z] 4d19c01a9841: Pulling fs layer [2023-06-30T18:17:16.387Z] 9325e15d5711: Pulling fs layer [2023-06-30T18:17:16.387Z] 556b6ee489ea: Pulling fs layer [2023-06-30T18:17:16.387Z] c5a4b2cf53e6: Pulling fs layer [2023-06-30T18:17:16.387Z] 9325e15d5711: Waiting [2023-06-30T18:17:16.387Z] 9f32a84ed3da: Waiting [2023-06-30T18:17:16.387Z] 556b6ee489ea: Waiting [2023-06-30T18:17:16.387Z] 4d19c01a9841: Waiting [2023-06-30T18:17:16.387Z] 85791d961cd3: Verifying Checksum [2023-06-30T18:17:16.387Z] 85791d961cd3: Download complete [2023-06-30T18:17:16.387Z] 9f32a84ed3da: Verifying Checksum [2023-06-30T18:17:16.387Z] 9f32a84ed3da: Download complete [2023-06-30T18:17:16.651Z] 4d19c01a9841: Verifying Checksum [2023-06-30T18:17:16.651Z] 4d19c01a9841: Download complete [2023-06-30T18:17:16.651Z] f56be85fc22e: Verifying Checksum [2023-06-30T18:17:16.651Z] f56be85fc22e: Download complete [2023-06-30T18:17:16.651Z] 9325e15d5711: Verifying Checksum [2023-06-30T18:17:16.651Z] 9325e15d5711: Download complete [2023-06-30T18:17:16.651Z] f56be85fc22e: Pull complete [2023-06-30T18:17:16.911Z] 85791d961cd3: Pull complete [2023-06-30T18:17:17.170Z] c5a4b2cf53e6: Verifying Checksum [2023-06-30T18:17:17.170Z] c5a4b2cf53e6: Download complete [2023-06-30T18:17:17.170Z] d694b5ae8c79: Verifying Checksum [2023-06-30T18:17:17.170Z] d694b5ae8c79: Download complete [2023-06-30T18:17:17.428Z] 556b6ee489ea: Verifying Checksum [2023-06-30T18:17:17.428Z] 556b6ee489ea: Download complete [2023-06-30T18:17:20.713Z] d694b5ae8c79: Pull complete [2023-06-30T18:17:20.713Z] 9f32a84ed3da: Pull complete [2023-06-30T18:17:20.972Z] 4d19c01a9841: Pull complete [2023-06-30T18:17:20.972Z] 9325e15d5711: Pull complete [2023-06-30T18:17:23.506Z] 556b6ee489ea: Pull complete [2023-06-30T18:17:24.440Z] c5a4b2cf53e6: Pull complete [2023-06-30T18:17:24.440Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-30T18:17:24.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-30T18:17:24.440Z] ---> c4be618373d6 [2023-06-30T18:17:24.440Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-30T18:17:28.632Z] ---> Running in d1dc06c6d7e0 [2023-06-30T18:17:28.632Z] Removing intermediate container d1dc06c6d7e0 [2023-06-30T18:17:28.632Z] ---> 850bb3dea22c [2023-06-30T18:17:28.632Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-30T18:17:28.632Z] ---> Running in a8a4af238879 [2023-06-30T18:17:28.632Z] Removing intermediate container a8a4af238879 [2023-06-30T18:17:28.632Z] ---> 3e763371fd3f [2023-06-30T18:17:28.632Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-30T18:17:28.632Z] ---> Running in c2be3be90aac [2023-06-30T18:17:28.632Z] Removing intermediate container c2be3be90aac [2023-06-30T18:17:28.632Z] ---> e3bacd5e5aec [2023-06-30T18:17:28.632Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-30T18:17:28.632Z] ---> Running in e65e7ddd8116 [2023-06-30T18:17:28.632Z] Removing intermediate container e65e7ddd8116 [2023-06-30T18:17:28.633Z] ---> 64848bf4265c [2023-06-30T18:17:28.633Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-30T18:17:28.633Z] ---> Running in f98724a30c0a [2023-06-30T18:17:28.750Z] Still waiting to schedule task [2023-06-30T18:17:28.751Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-30T18:17:28.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-30T18:17:29.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-30T18:17:29.407Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-30T18:17:29.407Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-30T18:17:29.407Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-30T18:17:29.407Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-30T18:17:29.407Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-30T18:17:29.407Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-30T18:17:29.407Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-30T18:17:29.407Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-30T18:17:29.407Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-30T18:17:29.407Z] (10/14) Installing kmod-libs (30-r1) [2023-06-30T18:17:29.407Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-30T18:17:29.407Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-30T18:17:29.407Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-30T18:17:29.407Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-30T18:17:29.407Z] Executing busybox-1.35.0-r29.trigger [2023-06-30T18:17:29.407Z] Executing eudev-3.2.11-r4.trigger [2023-06-30T18:17:29.407Z] OK: 272 MiB in 67 packages [2023-06-30T18:17:29.975Z] Removing intermediate container f98724a30c0a [2023-06-30T18:17:29.975Z] ---> d137a862e3d6 [2023-06-30T18:17:29.975Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-30T18:17:29.975Z] ---> Running in d113bc5fc32b [2023-06-30T18:17:29.975Z] Removing intermediate container d113bc5fc32b [2023-06-30T18:17:29.975Z] ---> f62a81f998d6 [2023-06-30T18:17:29.975Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-30T18:17:30.236Z] ---> d98159e88efb [2023-06-30T18:17:30.236Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-30T18:17:30.236Z] ---> Running in b98823691aa4 [2023-06-30T18:18:08.997Z] Removing intermediate container b98823691aa4 [2023-06-30T18:18:08.997Z] ---> a4a66b8eb7c4 [2023-06-30T18:18:08.997Z] Step 11/13 : COPY . . [2023-06-30T18:18:08.997Z] ---> 4c56e029652a [2023-06-30T18:18:08.997Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-30T18:18:08.997Z] ---> Running in 4efda8bbe8b7 [2023-06-30T18:18:08.997Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T18:18:08.997Z] Dload Upload Total Spent  Left Speed [2023-06-30T18:18:08.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5765 0 --:--:-- --:--:-- --:--:-- 5803 [2023-06-30T18:18:08.997Z] Removing intermediate container 4efda8bbe8b7 [2023-06-30T18:18:08.997Z] ---> 815f2632ba80 [2023-06-30T18:18:08.997Z] Step 13/13 : RUN ${MAKE} [2023-06-30T18:18:08.997Z] ---> Running in 067f4e3ed094 [2023-06-30T18:18:08.997Z] noop [2023-06-30T18:18:08.997Z] Removing intermediate container 067f4e3ed094 [2023-06-30T18:18:08.997Z] ---> cfe2f1c8f50f [2023-06-30T18:18:08.997Z] Successfully built cfe2f1c8f50f [2023-06-30T18:18:08.997Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:18:09.303Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-30T18:18:09.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:18:09.378Z] prd-ubuntu20.04-docker-8c-8g-237 does not seem to be running inside a container [2023-06-30T18:18:09.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-30T18:18:09.732Z] $ docker top 7b61991d7b12e01367f73218d41c1d6350e1617d1bc01cb62ce60ad3ca70c993 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T18:18:10.079Z] + go version [2023-06-30T18:18:10.079Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-30T18:18:10.091Z] $ docker stop --time=1 7b61991d7b12e01367f73218d41c1d6350e1617d1bc01cb62ce60ad3ca70c993 [2023-06-30T18:18:11.343Z] $ docker rm -f --volumes 7b61991d7b12e01367f73218d41c1d6350e1617d1bc01cb62ce60ad3ca70c993 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:18:11.764Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-30T18:18:11.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:18:11.834Z] prd-ubuntu20.04-docker-8c-8g-237 does not seem to be running inside a container [2023-06-30T18:18:11.864Z] $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-30T18:18:12.210Z] $ docker top c029a0ef499518f130cfe4219830226930e0ac8100738c3b337430701a772197 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T18:18:12.557Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-30T18:18:12.850Z] + make test [2023-06-30T18:18:12.850Z] go test ./... -coverprofile=coverage.out ./... [2023-06-30T18:18:18.116Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-30T18:18:28.086Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-30T18:18:28.375Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 3.7% of statements [2023-06-30T18:18:35.042Z] go vet ./... [2023-06-30T18:18:39.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-30T18:18:39.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-30T18:18:39.224Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-30T18:18:39.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-30T18:18:39.249Z] $ docker stop --time=1 c029a0ef499518f130cfe4219830226930e0ac8100738c3b337430701a772197 [2023-06-30T18:18:42.345Z] $ docker rm -f --volumes c029a0ef499518f130cfe4219830226930e0ac8100738c3b337430701a772197 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-30T18:18:42.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-30T18:18:42.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-30T18:18:43.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-30T18:18:43.639Z] + ls -al . [2023-06-30T18:18:43.639Z] total 200 [2023-06-30T18:18:43.639Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 18:18 . [2023-06-30T18:18:43.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 18:16 .. [2023-06-30T18:18:43.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 18:17 .git [2023-06-30T18:18:43.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 18:16 .github [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 18:16 .gitignore [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 30 18:16 .golangci.yml [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 18:16 .hadolint.yml [2023-06-30T18:18:43.639Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 18:17 .semver [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jun 30 18:16 Attribution.txt [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 30 18:16 CHANGELOG.md [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 30 18:16 Dockerfile [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 18:16 GOVERNANCE.md [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 18:16 Jenkinsfile [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 18:16 LICENSE [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 30 18:16 Makefile [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 18:16 OWNERS.md [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 30 18:16 README.md [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 18:17 VERSION [2023-06-30T18:18:43.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 18:16 bin [2023-06-30T18:18:43.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 18:16 cmd [2023-06-30T18:18:43.639Z] -rw-r--r-- 1 jenkins jenkins 37441 Jun 30 18:18 coverage.out [2023-06-30T18:18:43.639Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 30 18:16 docker-entrypoint.sh [2023-06-30T18:18:43.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 18:16 docs [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jun 30 18:16 go.mod [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jun 30 18:16 go.sum [2023-06-30T18:18:43.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 18:16 internal [2023-06-30T18:18:43.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 18:16 snap [2023-06-30T18:18:43.639Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 18:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:18:43.937Z] + 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=c54c24dfec6d4d8becd6dd23052bc72f28e30695 --label arch=amd64 --label version=0.0.0 . [2023-06-30T18:18:43.937Z] Sending build context to Docker daemon 2.085MB [2023-06-30T18:18:43.937Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-30T18:18:43.937Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-30T18:18:43.937Z] ---> cfe2f1c8f50f [2023-06-30T18:18:43.937Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-30T18:18:44.198Z] ---> Running in c3b34630ad96 [2023-06-30T18:18:44.198Z] Removing intermediate container c3b34630ad96 [2023-06-30T18:18:44.198Z] ---> 5abdd7a54571 [2023-06-30T18:18:44.198Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-30T18:18:44.198Z] ---> Running in 5eb7440a7c63 [2023-06-30T18:18:44.198Z] Removing intermediate container 5eb7440a7c63 [2023-06-30T18:18:44.198Z] ---> 75f2844e6a02 [2023-06-30T18:18:44.198Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-30T18:18:44.198Z] ---> Running in b658df5d1e1f [2023-06-30T18:18:44.198Z] Removing intermediate container b658df5d1e1f [2023-06-30T18:18:44.198Z] ---> 4b03fb2797ab [2023-06-30T18:18:44.198Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-30T18:18:44.459Z] ---> Running in a645b4c39ec2 [2023-06-30T18:18:44.459Z] Removing intermediate container a645b4c39ec2 [2023-06-30T18:18:44.459Z] ---> 2de20371fcd9 [2023-06-30T18:18:44.459Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-30T18:18:44.459Z] ---> Running in 69130ee679ba [2023-06-30T18:18:44.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-30T18:18:44.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-30T18:18:45.238Z] OK: 272 MiB in 67 packages [2023-06-30T18:18:45.497Z] Removing intermediate container 69130ee679ba [2023-06-30T18:18:45.497Z] ---> 5dbf0f3fc5bd [2023-06-30T18:18:45.497Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-30T18:18:45.497Z] ---> Running in a3bc7322ebe4 [2023-06-30T18:18:45.497Z] Removing intermediate container a3bc7322ebe4 [2023-06-30T18:18:45.497Z] ---> 1dcdb0bccb99 [2023-06-30T18:18:45.497Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-30T18:18:45.755Z] ---> a6a5bedd1af3 [2023-06-30T18:18:45.755Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-30T18:18:45.755Z] ---> Running in b323ed0bf05d [2023-06-30T18:18:46.691Z] Removing intermediate container b323ed0bf05d [2023-06-30T18:18:46.691Z] ---> 13e730444879 [2023-06-30T18:18:46.691Z] Step 11/36 : COPY . . [2023-06-30T18:18:46.691Z] ---> 8116bd0d1225 [2023-06-30T18:18:46.691Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-30T18:18:46.691Z] ---> Running in bc3acc7f6eda [2023-06-30T18:18:46.949Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T18:18:46.949Z] Dload Upload Total Spent Left Speed [2023-06-30T18:18:47.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19893 0 --:--:-- --:--:-- --:--:-- 20037 [2023-06-30T18:18:47.466Z] Removing intermediate container bc3acc7f6eda [2023-06-30T18:18:47.466Z] ---> 00b4a9fea207 [2023-06-30T18:18:47.466Z] Step 13/36 : RUN ${MAKE} [2023-06-30T18:18:47.466Z] ---> Running in 193ed854bad2 [2023-06-30T18:18:47.723Z] 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-06-30T18:18:50.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-238 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-30T18:18:50.931Z] Running in /w/workspace/device-usb-camera/23 [Pipeline] { [Pipeline] checkout [2023-06-30T18:18:50.959Z] Selected Git installation does not exist. Using Default [2023-06-30T18:18:50.959Z] The recommended git tool is: NONE [2023-06-30T18:18:55.864Z] using credential edgex-jenkins-ssh [2023-06-30T18:18:55.881Z] Cloning the remote Git repository [2023-06-30T18:18:55.929Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-30T18:18:56.019Z] > git init /w/workspace/device-usb-camera/23 # timeout=10 [2023-06-30T18:18:56.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-30T18:18:56.150Z] > git --version # timeout=10 [2023-06-30T18:18:56.173Z] > git --version # 'git version 2.25.1' [2023-06-30T18:18:56.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-30T18:18:56.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-30T18:18:57.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-30T18:18:57.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-30T18:18:57.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-30T18:18:57.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-30T18:18:57.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-30T18:18:57.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-30T18:18:58.580Z] Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit c54c24dfec6d4d8becd6dd23052bc72f28e30695 [2023-06-30T18:18:58.871Z] Merge succeeded, producing c54c24dfec6d4d8becd6dd23052bc72f28e30695 [2023-06-30T18:18:58.872Z] Checking out Revision c54c24dfec6d4d8becd6dd23052bc72f28e30695 (PR-262) [2023-06-30T18:18:59.293Z] Commit message: "fix: read commands" [2023-06-30T18:18:58.598Z] > git config core.sparsecheckout # timeout=10 [2023-06-30T18:18:58.677Z] > git checkout -f c54c24dfec6d4d8becd6dd23052bc72f28e30695 # timeout=10 [2023-06-30T18:18:58.761Z] > git remote # timeout=10 [2023-06-30T18:18:58.794Z] > git config --get remote.origin.url # timeout=10 [2023-06-30T18:18:58.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-30T18:18:58.828Z] > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [2023-06-30T18:18:58.852Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-30T18:18:58.879Z] > git config core.sparsecheckout # timeout=10 [2023-06-30T18:18:58.893Z] > git checkout -f c54c24dfec6d4d8becd6dd23052bc72f28e30695 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-30T18:19:00.272Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-30T18:19:00.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T18:19:00.272Z] Dload Upload Total Spent Left Speed [2023-06-30T18:19:00.272Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-06-30T18:19:00.855Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-30T18:19:01.188Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-30T18:19:01.188Z] + sudo tee /etc/docker/daemon.new [2023-06-30T18:19:01.188Z] { [2023-06-30T18:19:01.188Z] "registry-mirrors": [ [2023-06-30T18:19:01.188Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-30T18:19:01.188Z] ], [2023-06-30T18:19:01.188Z] "bip": "10.250.0.254/24", [2023-06-30T18:19:01.188Z] "hosts": [ [2023-06-30T18:19:01.188Z] "tcp://0.0.0.0:5555", [2023-06-30T18:19:01.188Z] "unix:///var/run/docker.sock" [2023-06-30T18:19:01.188Z] ], [2023-06-30T18:19:01.188Z] "mtu": 1458, [2023-06-30T18:19:01.188Z] "selinux-enabled": true, [2023-06-30T18:19:01.188Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-30T18:19:01.188Z] } [Pipeline] sh [2023-06-30T18:19:01.520Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-30T18:19:01.851Z] + sudo service docker restart [2023-06-30T18:19:09.643Z] Removing intermediate container 193ed854bad2 [2023-06-30T18:19:09.643Z] ---> 3dcc0d9d9dff [2023-06-30T18:19:09.643Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-30T18:19:09.643Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-30T18:19:09.643Z] 4acc49c71d14: Pulling fs layer [2023-06-30T18:19:09.643Z] 4acc49c71d14: Download complete [2023-06-30T18:19:09.643Z] 4acc49c71d14: Pull complete [2023-06-30T18:19:09.643Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-30T18:19:09.643Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-30T18:19:09.643Z] ---> 01a2bd3e5fff [2023-06-30T18:19:09.643Z] Step 15/36 : FROM alpine:3.17 [2023-06-30T18:19:09.901Z] 3.17: Pulling from library/alpine [2023-06-30T18:19:10.158Z] 4db1b89c0bd1: Pulling fs layer [2023-06-30T18:19:10.158Z] 4db1b89c0bd1: Verifying Checksum [2023-06-30T18:19:10.158Z] 4db1b89c0bd1: Download complete [2023-06-30T18:19:10.416Z] 4db1b89c0bd1: Pull complete [2023-06-30T18:19:10.416Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-30T18:19:10.416Z] Status: Downloaded newer image for alpine:3.17 [2023-06-30T18:19:10.416Z] ---> 1f73a9d63274 [2023-06-30T18:19:10.416Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-30T18:19:10.982Z] ---> Running in c2e6ef81477f [2023-06-30T18:19:10.982Z] Removing intermediate container c2e6ef81477f [2023-06-30T18:19:10.982Z] ---> 4f967568d9d9 [2023-06-30T18:19:10.982Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-30T18:19:10.982Z] ---> Running in 12b330c80e97 [2023-06-30T18:19:11.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-30T18:19:11.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-30T18:19:11.759Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-06-30T18:19:11.759Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-06-30T18:19:11.759Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-06-30T18:19:11.759Z] (4/86) Installing libxau (1.0.10-r0) [2023-06-30T18:19:11.759Z] (5/86) Installing libmd (1.0.4-r0) [2023-06-30T18:19:11.759Z] (6/86) Installing libbsd (0.11.7-r0) [2023-06-30T18:19:11.759Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-06-30T18:19:11.759Z] (8/86) Installing libxcb (1.15-r0) [2023-06-30T18:19:11.759Z] (9/86) Installing libx11 (1.8.4-r1) [2023-06-30T18:19:11.759Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-06-30T18:19:11.759Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-06-30T18:19:12.019Z] (12/86) Installing libexpat (2.5.0-r0) [2023-06-30T18:19:12.019Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-06-30T18:19:12.019Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-06-30T18:19:12.019Z] (15/86) Installing libpng (1.6.38-r0) [2023-06-30T18:19:12.019Z] (16/86) Installing freetype (2.12.1-r0) [2023-06-30T18:19:12.019Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-06-30T18:19:12.019Z] (18/86) Installing fribidi (1.0.12-r0) [2023-06-30T18:19:12.019Z] (19/86) Installing libffi (3.4.4-r0) [2023-06-30T18:19:12.019Z] (20/86) Installing libintl (0.21.1-r1) [2023-06-30T18:19:12.019Z] (21/86) Installing libblkid (2.38.1-r1) [2023-06-30T18:19:12.019Z] (22/86) Installing libmount (2.38.1-r1) [2023-06-30T18:19:12.019Z] (23/86) Installing pcre2 (10.42-r0) [2023-06-30T18:19:12.019Z] (24/86) Installing glib (2.74.7-r0) [2023-06-30T18:19:12.019Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-06-30T18:19:12.019Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-06-30T18:19:12.019Z] (27/86) Installing libass (0.16.0-r1) [2023-06-30T18:19:12.019Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-06-30T18:19:12.019Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-06-30T18:19:12.019Z] (30/86) Installing libpciaccess (0.17-r0) [2023-06-30T18:19:12.019Z] (31/86) Installing libdrm (2.4.114-r0) [2023-06-30T18:19:12.019Z] (32/86) Installing gmp (6.2.1-r2) [2023-06-30T18:19:12.019Z] (33/86) Installing nettle (3.8.1-r0) [2023-06-30T18:19:12.019Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-06-30T18:19:12.019Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-06-30T18:19:12.019Z] (36/86) Installing libunistring (1.1-r0) [2023-06-30T18:19:12.019Z] (37/86) Installing gnutls (3.7.8-r3) [2023-06-30T18:19:12.278Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-30T18:19:12.278Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-30T18:19:12.278Z] (40/86) Installing lame (3.100-r2) [2023-06-30T18:19:12.278Z] (41/86) Installing opus (1.3.1-r1) [2023-06-30T18:19:12.278Z] (42/86) Installing libasyncns (0.8-r1) [2023-06-30T18:19:12.278Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-06-30T18:19:12.278Z] (44/86) Installing libltdl (2.4.7-r1) [2023-06-30T18:19:12.278Z] (45/86) Installing orc (0.4.33-r0) [2023-06-30T18:19:12.278Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-06-30T18:19:12.278Z] (47/86) Installing libogg (1.3.5-r2) [2023-06-30T18:19:12.278Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-30T18:19:12.278Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-06-30T18:19:12.278Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-06-30T18:19:12.278Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-06-30T18:19:12.278Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-06-30T18:19:12.278Z] (53/86) Installing soxr (0.1.3-r3) [2023-06-30T18:19:12.278Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-06-30T18:19:12.278Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-06-30T18:19:12.278Z] (56/86) Installing libpulse (16.1-r6) [2023-06-30T18:19:12.278Z] (57/86) Installing cjson (1.7.15-r3) [2023-06-30T18:19:12.278Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-06-30T18:19:12.278Z] (59/86) Installing librist (0.2.7-r0) [2023-06-30T18:19:12.278Z] (60/86) Installing libsrt (1.5.1-r0) [2023-06-30T18:19:12.278Z] (61/86) Installing libssh (0.10.5-r0) [2023-06-30T18:19:12.278Z] (62/86) Installing libtheora (1.1.1-r16) [2023-06-30T18:19:12.278Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-06-30T18:19:12.278Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-06-30T18:19:12.278Z] (65/86) Installing libxext (1.3.5-r0) [2023-06-30T18:19:12.536Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-06-30T18:19:12.536Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-06-30T18:19:12.536Z] (68/86) Installing libva (2.16.0-r0) [2023-06-30T18:19:12.536Z] (69/86) Installing libvdpau (1.5-r0) [2023-06-30T18:19:12.536Z] (70/86) Installing vidstab (1.1.0-r2) [2023-06-30T18:19:12.536Z] (71/86) Installing libvpx (1.12.0-r1) [2023-06-30T18:19:12.536Z] (72/86) Installing libwebp (1.2.4-r2) [2023-06-30T18:19:12.536Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-06-30T18:19:12.536Z] (74/86) Installing numactl (2.0.16-r1) [2023-06-30T18:19:12.536Z] (75/86) Installing x265-libs (3.5-r3) [2023-06-30T18:19:12.536Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-06-30T18:19:12.536Z] (77/86) Installing libsodium (1.0.18-r2) [2023-06-30T18:19:12.536Z] (78/86) Installing libzmq (4.3.4-r1) [2023-06-30T18:19:12.536Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-06-30T18:19:12.795Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-06-30T18:19:12.795Z] (81/86) Installing udev-init-scripts (35-r1) [2023-06-30T18:19:12.795Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-06-30T18:19:12.795Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-06-30T18:19:12.795Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-06-30T18:19:12.795Z] (85/86) Installing kmod-libs (30-r1) [2023-06-30T18:19:12.795Z] (86/86) Installing eudev (3.2.11-r4) [2023-06-30T18:19:12.795Z] Executing busybox-1.35.0-r29.trigger [2023-06-30T18:19:12.795Z] Executing eudev-3.2.11-r4.trigger [2023-06-30T18:19:12.795Z] OK: 112 MiB in 101 packages [2023-06-30T18:19:15.326Z] Removing intermediate container 12b330c80e97 [2023-06-30T18:19:15.326Z] ---> 641d8083ab45 [2023-06-30T18:19:15.326Z] Step 18/36 : WORKDIR / [2023-06-30T18:19:15.326Z] ---> Running in 0b4158f94047 [2023-06-30T18:19:15.326Z] Removing intermediate container 0b4158f94047 [2023-06-30T18:19:15.326Z] ---> 5e01115b65d5 [2023-06-30T18:19:15.326Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-30T18:19:15.892Z] ---> 28f228ed3f54 [2023-06-30T18:19:15.892Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-30T18:19:16.151Z] ---> 91088c2b95e0 [2023-06-30T18:19:16.151Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-30T18:19:16.151Z] ---> 26ecee6e3b2c [2023-06-30T18:19:16.151Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-30T18:19:16.410Z] ---> d49c57404069 [2023-06-30T18:19:16.410Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-30T18:19:16.410Z] ---> e69b1261fee4 [2023-06-30T18:19:16.410Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-30T18:19:16.669Z] ---> 8972ff1c0ba0 [2023-06-30T18:19:16.669Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-30T18:19:17.607Z] ---> bf36ca0b49e8 [2023-06-30T18:19:17.607Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-30T18:19:17.607Z] ---> Running in 395d2ae6e3e0 [2023-06-30T18:19:18.177Z] Removing intermediate container 395d2ae6e3e0 [2023-06-30T18:19:18.177Z] ---> 364283c19cdf [2023-06-30T18:19:18.177Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-30T18:19:18.177Z] ---> Running in 150ca8726acc [2023-06-30T18:19:18.746Z] Removing intermediate container 150ca8726acc [2023-06-30T18:19:18.746Z] ---> bd640da558e0 [2023-06-30T18:19:18.746Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-30T18:19:18.746Z] ---> Running in aaf0403dc3e1 [2023-06-30T18:19:19.314Z] Removing intermediate container aaf0403dc3e1 [2023-06-30T18:19:19.314Z] ---> 595d56b41e68 [2023-06-30T18:19:19.314Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-30T18:19:19.314Z] ---> Running in dddadbc6e302 [2023-06-30T18:19:19.882Z] Removing intermediate container dddadbc6e302 [2023-06-30T18:19:19.882Z] ---> 04b2ffc30b2e [2023-06-30T18:19:19.882Z] Step 30/36 : EXPOSE 59983 [2023-06-30T18:19:19.882Z] ---> Running in ad9287674481 [2023-06-30T18:19:19.882Z] Removing intermediate container ad9287674481 [2023-06-30T18:19:19.882Z] ---> 446e570ffb4d [2023-06-30T18:19:19.882Z] Step 31/36 : EXPOSE 8554 [2023-06-30T18:19:19.882Z] ---> Running in 4c83583c1910 [2023-06-30T18:19:19.882Z] Removing intermediate container 4c83583c1910 [2023-06-30T18:19:19.882Z] ---> 7050a85e28f9 [2023-06-30T18:19:19.882Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-30T18:19:19.882Z] ---> Running in 58caf0e6d29e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T18:19:20.097Z] provisioning config files... [2023-06-30T18:19:20.121Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/23@tmp/config828489825378327869tmp [2023-06-30T18:19:20.139Z] Removing intermediate container 58caf0e6d29e [2023-06-30T18:19:20.139Z] ---> 6dae48116231 [2023-06-30T18:19:20.139Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-30T18:19:20.139Z] ---> Running in cf3a896c3e80 [2023-06-30T18:19:20.139Z] Removing intermediate container cf3a896c3e80 [2023-06-30T18:19:20.139Z] ---> a2016684fae1 [2023-06-30T18:19:20.139Z] Step 34/36 : LABEL arch=amd64 [2023-06-30T18:19:20.139Z] ---> Running in ba85419bd17f [2023-06-30T18:19:20.139Z] Removing intermediate container ba85419bd17f [2023-06-30T18:19:20.139Z] ---> 8d5b7a4a3177 [2023-06-30T18:19:20.139Z] Step 35/36 : LABEL git_sha=c54c24dfec6d4d8becd6dd23052bc72f28e30695 [2023-06-30T18:19:20.139Z] ---> Running in fad5efe059d2 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:19:20.397Z] Removing intermediate container fad5efe059d2 [2023-06-30T18:19:20.397Z] ---> cdcddb62fcd1 [2023-06-30T18:19:20.397Z] Step 36/36 : LABEL version=0.0.0 [2023-06-30T18:19:20.397Z] ---> Running in 3893535d2632 [2023-06-30T18:19:20.397Z] Removing intermediate container 3893535d2632 [2023-06-30T18:19:20.397Z] ---> d88d1ea96ab1 [2023-06-30T18:19:20.397Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-30T18:19:20.397Z] Successfully built d88d1ea96ab1 [2023-06-30T18:19:20.397Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-06-30T18:19:20.462Z] ---> docker-login.sh [2023-06-30T18:19:20.462Z] nexus3.edgexfoundry.org:10001 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-06-30T18:19:20.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:19:20.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T18:19:20.867Z] [2023-06-30T18:19:20.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:19:21.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:19:21.002Z] Configure a credential helper to remove this warning. See [2023-06-30T18:19:21.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:19:21.002Z] [2023-06-30T18:19:21.002Z] Login Succeeded [2023-06-30T18:19:21.002Z] nexus3.edgexfoundry.org:10002 [2023-06-30T18:19:21.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T18:19:21.162Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-30T18:19:21.162Z] 5eb5b503b376: Pulling fs layer [2023-06-30T18:19:21.162Z] 5c69ac0246d0: Pulling fs layer [2023-06-30T18:19:21.162Z] ec43610c2a17: Pulling fs layer [2023-06-30T18:19:21.162Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-30T18:19:21.162Z] 33b1e0a273af: Pulling fs layer [2023-06-30T18:19:21.162Z] 5d3b04190fa2: Pulling fs layer [2023-06-30T18:19:21.162Z] 2f39f015ded8: Pulling fs layer [2023-06-30T18:19:21.162Z] 5d3b04190fa2: Waiting [2023-06-30T18:19:21.162Z] 3a2ae6a8a46f: Waiting [2023-06-30T18:19:21.162Z] 33b1e0a273af: Waiting [2023-06-30T18:19:21.162Z] 2f39f015ded8: Waiting [2023-06-30T18:19:21.162Z] 5c69ac0246d0: Download complete [2023-06-30T18:19:21.162Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-30T18:19:21.162Z] 3a2ae6a8a46f: Download complete [2023-06-30T18:19:21.162Z] 33b1e0a273af: Verifying Checksum [2023-06-30T18:19:21.162Z] 33b1e0a273af: Download complete [2023-06-30T18:19:21.162Z] ec43610c2a17: Verifying Checksum [2023-06-30T18:19:21.162Z] ec43610c2a17: Download complete [2023-06-30T18:19:21.162Z] 5d3b04190fa2: Download complete [2023-06-30T18:19:21.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:19:21.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:19:21.272Z] Configure a credential helper to remove this warning. See [2023-06-30T18:19:21.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:19:21.272Z] [2023-06-30T18:19:21.272Z] Login Succeeded [2023-06-30T18:19:21.272Z] nexus3.edgexfoundry.org:10003 [2023-06-30T18:19:21.421Z] 5eb5b503b376: Verifying Checksum [2023-06-30T18:19:21.421Z] 5eb5b503b376: Download complete [2023-06-30T18:19:21.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:19:21.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:19:21.808Z] Configure a credential helper to remove this warning. See [2023-06-30T18:19:21.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:19:21.808Z] [2023-06-30T18:19:21.808Z] Login Succeeded [2023-06-30T18:19:21.808Z] nexus3.edgexfoundry.org:10004 [2023-06-30T18:19:21.985Z] 2f39f015ded8: Verifying Checksum [2023-06-30T18:19:21.985Z] 2f39f015ded8: Download complete [2023-06-30T18:19:22.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:19:22.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:19:22.078Z] Configure a credential helper to remove this warning. See [2023-06-30T18:19:22.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:19:22.078Z] [2023-06-30T18:19:22.078Z] Login Succeeded [2023-06-30T18:19:22.078Z] docker.io [2023-06-30T18:19:22.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T18:19:22.552Z] 5eb5b503b376: Pull complete [2023-06-30T18:19:22.552Z] 5c69ac0246d0: Pull complete [2023-06-30T18:19:22.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T18:19:22.618Z] Configure a credential helper to remove this warning. See [2023-06-30T18:19:22.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T18:19:22.618Z] [2023-06-30T18:19:22.618Z] Login Succeeded [2023-06-30T18:19:22.618Z] ---> docker-login.sh ends [Pipeline] } [2023-06-30T18:19:22.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-30T18:19:22.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T18:19:22.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T18:19:22.897Z] ========================================================= [2023-06-30T18:19:22.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-30T18:19:22.897Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:19:23.119Z] ec43610c2a17: Pull complete [2023-06-30T18:19:23.119Z] 3a2ae6a8a46f: Pull complete [2023-06-30T18:19:23.233Z] + 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-06-30T18:19:23.377Z] 33b1e0a273af: Pull complete [2023-06-30T18:19:23.377Z] 5d3b04190fa2: Pull complete [2023-06-30T18:19:23.503Z] Sending build context to Docker daemon 1.244MB [2023-06-30T18:19:23.503Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-30T18:19:23.503Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-30T18:19:23.771Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-30T18:19:23.771Z] c41833b44d91: Pulling fs layer [2023-06-30T18:19:23.771Z] ed15518f5707: Pulling fs layer [2023-06-30T18:19:23.771Z] feae8fd75edb: Pulling fs layer [2023-06-30T18:19:23.771Z] 242c74f7c9fa: Pulling fs layer [2023-06-30T18:19:23.771Z] 3cdef696dda3: Pulling fs layer [2023-06-30T18:19:23.771Z] 2ced38df9373: Pulling fs layer [2023-06-30T18:19:23.771Z] 58f1dce35555: Pulling fs layer [2023-06-30T18:19:23.771Z] 3cdef696dda3: Waiting [2023-06-30T18:19:23.771Z] 2ced38df9373: Waiting [2023-06-30T18:19:23.771Z] 58f1dce35555: Waiting [2023-06-30T18:19:23.771Z] 242c74f7c9fa: Waiting [2023-06-30T18:19:23.771Z] ed15518f5707: Download complete [2023-06-30T18:19:23.771Z] 242c74f7c9fa: Verifying Checksum [2023-06-30T18:19:23.771Z] 242c74f7c9fa: Download complete [2023-06-30T18:19:23.771Z] 3cdef696dda3: Download complete [2023-06-30T18:19:23.771Z] c41833b44d91: Download complete [2023-06-30T18:19:24.747Z] c41833b44d91: Pull complete [2023-06-30T18:19:25.347Z] 58f1dce35555: Verifying Checksum [2023-06-30T18:19:25.347Z] 58f1dce35555: Download complete [2023-06-30T18:19:25.347Z] ed15518f5707: Pull complete [2023-06-30T18:19:26.311Z] feae8fd75edb: Verifying Checksum [2023-06-30T18:19:26.311Z] feae8fd75edb: Download complete [2023-06-30T18:19:26.578Z] 2ced38df9373: Verifying Checksum [2023-06-30T18:19:26.579Z] 2ced38df9373: Download complete [2023-06-30T18:19:27.560Z] 2f39f015ded8: Pull complete [2023-06-30T18:19:27.560Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-30T18:19:27.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T18:19:27.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:19:27.636Z] prd-ubuntu20.04-docker-8c-8g-237 does not seem to be running inside a container [2023-06-30T18:19:27.662Z] $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-30T18:19:30.730Z] $ docker top 42acc752aac3db908552f08ef909c69b1941b764e12b9f71317583ee05debafc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:19:31.126Z] ---> job-cost.sh [2023-06-30T18:19:31.126Z] lf-activate-venv: SKIPPING [2023-06-30T18:19:31.126Z] INFO: No Stack... [2023-06-30T18:19:31.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-30T18:19:31.953Z] INFO: Archiving Costs [Pipeline] sh [2023-06-30T18:19:32.243Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-30T18:19:32.243Z] + cut -d, -f6 [Pipeline] lock [2023-06-30T18:19:32.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] [2023-06-30T18:19:32.266Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] did not exist. Created. [2023-06-30T18:19:32.266Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-30T18:19:32.566Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-30T18:19:32.602Z] Stashed 1 file(s) [Pipeline] } [2023-06-30T18:19:32.608Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-30T18:19:32.627Z] $ docker stop --time=1 42acc752aac3db908552f08ef909c69b1941b764e12b9f71317583ee05debafc [2023-06-30T18:19:33.787Z] $ docker rm -f --volumes 42acc752aac3db908552f08ef909c69b1941b764e12b9f71317583ee05debafc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-30T18:19:38.954Z] feae8fd75edb: Pull complete [2023-06-30T18:19:38.954Z] 242c74f7c9fa: Pull complete [2023-06-30T18:19:38.954Z] 3cdef696dda3: Pull complete [2023-06-30T18:19:44.457Z] 2ced38df9373: Pull complete [2023-06-30T18:19:47.051Z] 58f1dce35555: Pull complete [2023-06-30T18:19:47.051Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-30T18:19:47.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-30T18:19:47.051Z] ---> fadd8f120f05 [2023-06-30T18:19:47.051Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-30T18:19:48.995Z] ---> Running in 2c4e41cc27d5 [2023-06-30T18:19:48.995Z] Removing intermediate container 2c4e41cc27d5 [2023-06-30T18:19:48.995Z] ---> 5acdab5deb8f [2023-06-30T18:19:48.995Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-30T18:19:48.995Z] ---> Running in 3c0414ddfc82 [2023-06-30T18:19:49.263Z] Removing intermediate container 3c0414ddfc82 [2023-06-30T18:19:49.263Z] ---> 80663a28bad3 [2023-06-30T18:19:49.264Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-30T18:19:49.264Z] ---> Running in 67b97c4654ae [2023-06-30T18:19:49.531Z] Removing intermediate container 67b97c4654ae [2023-06-30T18:19:49.531Z] ---> 6ddca808217e [2023-06-30T18:19:49.531Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-30T18:19:49.798Z] ---> Running in 9d7556274c41 [2023-06-30T18:19:50.064Z] Removing intermediate container 9d7556274c41 [2023-06-30T18:19:50.064Z] ---> a0971428d5e8 [2023-06-30T18:19:50.064Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-30T18:19:50.064Z] ---> Running in f0b8d7239ec9 [2023-06-30T18:19:51.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-30T18:19:51.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-30T18:19:52.567Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-30T18:19:52.567Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-30T18:19:52.567Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-30T18:19:52.567Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-30T18:19:52.567Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-30T18:19:52.567Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-30T18:19:52.567Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-30T18:19:52.567Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-30T18:19:52.567Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-30T18:19:52.567Z] (10/14) Installing kmod-libs (30-r1) [2023-06-30T18:19:52.567Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-30T18:19:52.836Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-30T18:19:52.836Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-30T18:19:52.836Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-30T18:19:52.836Z] Executing busybox-1.35.0-r29.trigger [2023-06-30T18:19:52.836Z] Executing eudev-3.2.11-r4.trigger [2023-06-30T18:19:52.836Z] OK: 271 MiB in 67 packages [2023-06-30T18:19:54.243Z] Removing intermediate container f0b8d7239ec9 [2023-06-30T18:19:54.243Z] ---> 9b4e8b20d898 [2023-06-30T18:19:54.243Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-30T18:19:54.243Z] ---> Running in 12b92ec176e2 [2023-06-30T18:19:54.243Z] Removing intermediate container 12b92ec176e2 [2023-06-30T18:19:54.243Z] ---> 4f4cd82fb7cf [2023-06-30T18:19:54.243Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-30T18:19:54.865Z] ---> 49630ce521b9 [2023-06-30T18:19:54.865Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-30T18:19:54.865Z] ---> Running in d307d9de860e [2023-06-30T18:20:51.295Z] Removing intermediate container d307d9de860e [2023-06-30T18:20:51.295Z] ---> e913ad3e4cda [2023-06-30T18:20:51.295Z] Step 11/13 : COPY . . [2023-06-30T18:20:52.257Z] ---> 5e40aaab7fa8 [2023-06-30T18:20:52.257Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-30T18:20:52.257Z] ---> Running in c45bef72b578 [2023-06-30T18:20:53.223Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T18:20:53.223Z]  Dload Upload Total Spent Left  Speed [2023-06-30T18:20:53.490Z] 0   0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4314 0 --:--:-- --:--:-- --:--:-- 4334 [2023-06-30T18:20:54.898Z] Removing intermediate container c45bef72b578 [2023-06-30T18:20:54.898Z] ---> f61ee8c08b65 [2023-06-30T18:20:54.898Z] Step 13/13 : RUN ${MAKE} [2023-06-30T18:20:54.898Z] ---> Running in cb900505ca33 [2023-06-30T18:20:55.863Z] noop [2023-06-30T18:20:56.446Z] Removing intermediate container cb900505ca33 [2023-06-30T18:20:56.446Z] ---> dddfdb3b3337 [2023-06-30T18:20:56.446Z] Successfully built dddfdb3b3337 [2023-06-30T18:20:56.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:20:56.792Z] + docker inspect -f . ci-base-image-arm64 [2023-06-30T18:20:56.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:20:56.992Z] prd-ubuntu20.04-docker-arm64-4c-16g-238 does not seem to be running inside a container [2023-06-30T18:20:57.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/23 -v /w/workspace/device-usb-camera/23:/w/workspace/device-usb-camera/23:rw,z -v /w/workspace/device-usb-camera/23@tmp:/w/workspace/device-usb-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-30T18:20:58.190Z] $ docker top 89674960b61ad77d216e037e0ed3eb3963d4b9b6b01ddf189a8b5c9c08fdeb75 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T18:20:58.999Z] + go version [2023-06-30T18:20:58.999Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-30T18:20:59.018Z] $ docker stop --time=1 89674960b61ad77d216e037e0ed3eb3963d4b9b6b01ddf189a8b5c9c08fdeb75 [2023-06-30T18:21:00.641Z] $ docker rm -f --volumes 89674960b61ad77d216e037e0ed3eb3963d4b9b6b01ddf189a8b5c9c08fdeb75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:21:01.193Z] + docker inspect -f . ci-base-image-arm64 [2023-06-30T18:21:01.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:21:01.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-238 does not seem to be running inside a container [2023-06-30T18:21:01.428Z] $ 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/23 -v /w/workspace/device-usb-camera/23:/w/workspace/device-usb-camera/23:rw,z -v /w/workspace/device-usb-camera/23@tmp:/w/workspace/device-usb-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-30T18:21:02.565Z] $ docker top 9173b9118b4667809984319ad853e7c7b7779cefe68fd605f9468550f6a8a302 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T18:21:03.062Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/23 [Pipeline] fileExists [Pipeline] sh [2023-06-30T18:21:03.973Z] + make test [2023-06-30T18:21:03.973Z] go test ./... -coverprofile=coverage.out ./... [2023-06-30T18:21:36.209Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-30T18:23:27.874Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-30T18:23:27.874Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 3.7% of statements [2023-06-30T18:23:28.142Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-30T18:23:28.142Z] go vet ./... [2023-06-30T18:24:07.033Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-30T18:24:07.033Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-30T18:24:07.033Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-30T18:24:07.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-30T18:24:07.068Z] $ docker stop --time=1 9173b9118b4667809984319ad853e7c7b7779cefe68fd605f9468550f6a8a302 [2023-06-30T18:24:09.116Z] $ docker rm -f --volumes 9173b9118b4667809984319ad853e7c7b7779cefe68fd605f9468550f6a8a302 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-30T18:24:10.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-30T18:24:10.445Z] Warning: overwriting stash ‘coverage-report’ [2023-06-30T18:24:10.959Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-30T18:24:11.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-30T18:24:11.685Z] + ls -al . [2023-06-30T18:24:11.685Z] total 196 [2023-06-30T18:24:11.685Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 18:21 . [2023-06-30T18:24:11.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 18:18 .. [2023-06-30T18:24:11.685Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 18:18 .git [2023-06-30T18:24:11.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 18:18 .github [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 18:18 .gitignore [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 30 18:18 .golangci.yml [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 18:18 .hadolint.yml [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jun 30 18:18 Attribution.txt [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 30 18:18 CHANGELOG.md [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 30 18:18 Dockerfile [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 18:18 GOVERNANCE.md [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 18:18 Jenkinsfile [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 18:18 LICENSE [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 30 18:18 Makefile [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 18:18 OWNERS.md [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 30 18:18 README.md [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 18:17 VERSION [2023-06-30T18:24:11.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 18:18 bin [2023-06-30T18:24:11.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 18:18 cmd [2023-06-30T18:24:11.685Z] -rw-r--r-- 1 jenkins jenkins 37441 Jun 30 18:23 coverage.out [2023-06-30T18:24:11.685Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 30 18:18 docker-entrypoint.sh [2023-06-30T18:24:11.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 18:18 docs [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jun 30 18:18 go.mod [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jun 30 18:18 go.sum [2023-06-30T18:24:11.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 18:18 internal [2023-06-30T18:24:11.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 18:18 snap [2023-06-30T18:24:11.685Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 18:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:24:12.036Z] + 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=c54c24dfec6d4d8becd6dd23052bc72f28e30695 --label arch=arm64 --label version=0.0.0 . [2023-06-30T18:24:13.457Z] Sending build context to Docker daemon 1.282MB [2023-06-30T18:24:13.457Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-30T18:24:13.457Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-30T18:24:13.457Z] ---> dddfdb3b3337 [2023-06-30T18:24:13.457Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-30T18:24:13.726Z] ---> Running in e922c5580142 [2023-06-30T18:24:13.992Z] Removing intermediate container e922c5580142 [2023-06-30T18:24:13.992Z] ---> c7e968e1495b [2023-06-30T18:24:13.992Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-30T18:24:13.992Z] ---> Running in 7a292d2d1fe2 [2023-06-30T18:24:14.574Z] Removing intermediate container 7a292d2d1fe2 [2023-06-30T18:24:14.574Z] ---> 872f92455061 [2023-06-30T18:24:14.574Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-30T18:24:14.574Z] ---> Running in 81c617bb0a30 [2023-06-30T18:24:15.154Z] Removing intermediate container 81c617bb0a30 [2023-06-30T18:24:15.154Z] ---> b9f481866a72 [2023-06-30T18:24:15.154Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-30T18:24:15.154Z] ---> Running in 86ef8c90e2ea [2023-06-30T18:24:15.736Z] Removing intermediate container 86ef8c90e2ea [2023-06-30T18:24:15.736Z] ---> a6577974adfd [2023-06-30T18:24:15.736Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-30T18:24:15.736Z] ---> Running in bb4de2919066 [2023-06-30T18:24:17.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-30T18:24:17.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-30T18:24:18.703Z] OK: 271 MiB in 67 packages [2023-06-30T18:24:21.295Z] Removing intermediate container bb4de2919066 [2023-06-30T18:24:21.295Z] ---> d1ff723bfad8 [2023-06-30T18:24:21.295Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-30T18:24:22.705Z] ---> Running in ec059deaf9df [2023-06-30T18:24:23.299Z] Removing intermediate container ec059deaf9df [2023-06-30T18:24:23.299Z] ---> 3ad5b4a0fd2f [2023-06-30T18:24:23.299Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-30T18:24:23.569Z] ---> 17d6f381ff32 [2023-06-30T18:24:23.569Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-30T18:24:23.847Z] ---> Running in 2e0ebc26c378 [2023-06-30T18:24:26.430Z] Removing intermediate container 2e0ebc26c378 [2023-06-30T18:24:26.430Z] ---> 5e49f4d20328 [2023-06-30T18:24:26.430Z] Step 11/36 : COPY . . [2023-06-30T18:24:27.394Z] ---> 3393901b9ec1 [2023-06-30T18:24:27.394Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-30T18:24:27.394Z] ---> Running in 6dcfdba839eb [2023-06-30T18:24:28.352Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T18:24:28.352Z] Dload Upload Total Spent Left Speed [2023-06-30T18:24:28.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3047 0 --:--:-- --:--:-- --:--:-- 3060 [2023-06-30T18:24:29.203Z] Removing intermediate container 6dcfdba839eb [2023-06-30T18:24:29.203Z] ---> 181c65c69263 [2023-06-30T18:24:29.203Z] Step 13/36 : RUN ${MAKE} [2023-06-30T18:24:29.203Z] ---> Running in c63acf9eb215 [2023-06-30T18:24:30.162Z] 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-06-30T18:26:51.834Z] Removing intermediate container c63acf9eb215 [2023-06-30T18:26:51.834Z] ---> 9aa2516c9b72 [2023-06-30T18:26:51.834Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-30T18:26:51.834Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-30T18:26:51.834Z] 8766b47fe142: Pulling fs layer [2023-06-30T18:26:51.834Z] 8766b47fe142: Verifying Checksum [2023-06-30T18:26:51.834Z] 8766b47fe142: Download complete [2023-06-30T18:26:51.834Z] 8766b47fe142: Pull complete [2023-06-30T18:26:51.834Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-30T18:26:51.834Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-30T18:26:51.834Z] ---> 69d40e2cb93c [2023-06-30T18:26:51.834Z] Step 15/36 : FROM alpine:3.17 [2023-06-30T18:26:51.834Z] 3.17: Pulling from library/alpine [2023-06-30T18:26:51.834Z] edb6bdbacee9: Pulling fs layer [2023-06-30T18:26:51.834Z] edb6bdbacee9: Verifying Checksum [2023-06-30T18:26:51.834Z] edb6bdbacee9: Download complete [2023-06-30T18:26:51.834Z] edb6bdbacee9: Pull complete [2023-06-30T18:26:51.834Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-30T18:26:51.834Z] Status: Downloaded newer image for alpine:3.17 [2023-06-30T18:26:51.834Z] ---> 779605e5fbc0 [2023-06-30T18:26:51.834Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-30T18:26:51.834Z] ---> Running in 068a2c1fc656 [2023-06-30T18:26:51.834Z] Removing intermediate container 068a2c1fc656 [2023-06-30T18:26:51.834Z] ---> caa837b6d6ff [2023-06-30T18:26:51.834Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-30T18:26:51.834Z] ---> Running in ceb0f5666af6 [2023-06-30T18:26:51.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-30T18:26:52.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-30T18:26:53.500Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-06-30T18:26:53.500Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-06-30T18:26:53.500Z] (3/83) Installing libxau (1.0.10-r0) [2023-06-30T18:26:53.500Z] (4/83) Installing libmd (1.0.4-r0) [2023-06-30T18:26:53.500Z] (5/83) Installing libbsd (0.11.7-r0) [2023-06-30T18:26:53.500Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-06-30T18:26:53.500Z] (7/83) Installing libxcb (1.15-r0) [2023-06-30T18:26:53.500Z] (8/83) Installing libx11 (1.8.4-r1) [2023-06-30T18:26:53.500Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-06-30T18:26:53.500Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-06-30T18:26:53.766Z] (11/83) Installing libexpat (2.5.0-r0) [2023-06-30T18:26:53.766Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-06-30T18:26:53.766Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-06-30T18:26:53.766Z] (14/83) Installing libpng (1.6.38-r0) [2023-06-30T18:26:53.766Z] (15/83) Installing freetype (2.12.1-r0) [2023-06-30T18:26:53.766Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-06-30T18:26:53.766Z] (17/83) Installing fribidi (1.0.12-r0) [2023-06-30T18:26:53.766Z] (18/83) Installing libffi (3.4.4-r0) [2023-06-30T18:26:53.766Z] (19/83) Installing libintl (0.21.1-r1) [2023-06-30T18:26:53.766Z] (20/83) Installing libblkid (2.38.1-r1) [2023-06-30T18:26:53.766Z] (21/83) Installing libmount (2.38.1-r1) [2023-06-30T18:26:53.766Z] (22/83) Installing pcre2 (10.42-r0) [2023-06-30T18:26:54.030Z] (23/83) Installing glib (2.74.7-r0) [2023-06-30T18:26:54.030Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-06-30T18:26:54.030Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-06-30T18:26:54.030Z] (26/83) Installing libass (0.16.0-r1) [2023-06-30T18:26:54.030Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-06-30T18:26:54.030Z] (28/83) Installing libdrm (2.4.114-r0) [2023-06-30T18:26:54.030Z] (29/83) Installing gmp (6.2.1-r2) [2023-06-30T18:26:54.030Z] (30/83) Installing nettle (3.8.1-r0) [2023-06-30T18:26:54.030Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-06-30T18:26:54.296Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-06-30T18:26:54.296Z] (33/83) Installing libunistring (1.1-r0) [2023-06-30T18:26:54.296Z] (34/83) Installing gnutls (3.7.8-r3) [2023-06-30T18:26:54.296Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-30T18:26:54.296Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-30T18:26:54.296Z] (37/83) Installing lame (3.100-r2) [2023-06-30T18:26:54.296Z] (38/83) Installing opus (1.3.1-r1) [2023-06-30T18:26:54.296Z] (39/83) Installing libasyncns (0.8-r1) [2023-06-30T18:26:54.296Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-06-30T18:26:54.296Z] (41/83) Installing libltdl (2.4.7-r1) [2023-06-30T18:26:54.296Z] (42/83) Installing orc (0.4.33-r0) [2023-06-30T18:26:54.560Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-06-30T18:26:54.560Z] (44/83) Installing libogg (1.3.5-r2) [2023-06-30T18:26:54.560Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-30T18:26:54.560Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-06-30T18:26:54.560Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-06-30T18:26:54.560Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-06-30T18:26:54.560Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-06-30T18:26:54.560Z] (50/83) Installing soxr (0.1.3-r3) [2023-06-30T18:26:54.560Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-06-30T18:26:54.560Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-06-30T18:26:54.560Z] (53/83) Installing libpulse (16.1-r6) [2023-06-30T18:26:54.560Z] (54/83) Installing cjson (1.7.15-r3) [2023-06-30T18:26:54.560Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-06-30T18:26:54.825Z] (56/83) Installing librist (0.2.7-r0) [2023-06-30T18:26:54.825Z] (57/83) Installing libsrt (1.5.1-r0) [2023-06-30T18:26:54.825Z] (58/83) Installing libssh (0.10.5-r0) [2023-06-30T18:26:54.825Z] (59/83) Installing libtheora (1.1.1-r16) [2023-06-30T18:26:54.825Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-06-30T18:26:54.825Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-06-30T18:26:54.825Z] (62/83) Installing libxext (1.3.5-r0) [2023-06-30T18:26:54.825Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-06-30T18:26:54.825Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-06-30T18:26:54.825Z] (65/83) Installing libva (2.16.0-r0) [2023-06-30T18:26:54.825Z] (66/83) Installing libvdpau (1.5-r0) [2023-06-30T18:26:54.825Z] (67/83) Installing vidstab (1.1.0-r2) [2023-06-30T18:26:54.825Z] (68/83) Installing libvpx (1.12.0-r1) [2023-06-30T18:26:55.090Z] (69/83) Installing libwebp (1.2.4-r2) [2023-06-30T18:26:55.090Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-06-30T18:26:55.090Z] (71/83) Installing numactl (2.0.16-r1) [2023-06-30T18:26:55.090Z] (72/83) Installing x265-libs (3.5-r3) [2023-06-30T18:26:55.090Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-06-30T18:26:55.090Z] (74/83) Installing libsodium (1.0.18-r2) [2023-06-30T18:26:55.090Z] (75/83) Installing libzmq (4.3.4-r1) [2023-06-30T18:26:55.355Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-06-30T18:26:55.620Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-06-30T18:26:55.620Z] (78/83) Installing udev-init-scripts (35-r1) [2023-06-30T18:26:55.620Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-06-30T18:26:55.620Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-06-30T18:26:55.620Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-06-30T18:26:55.885Z] (82/83) Installing kmod-libs (30-r1) [2023-06-30T18:26:55.885Z] (83/83) Installing eudev (3.2.11-r4) [2023-06-30T18:26:55.885Z] Executing busybox-1.35.0-r29.trigger [2023-06-30T18:26:55.885Z] Executing eudev-3.2.11-r4.trigger [2023-06-30T18:26:55.885Z] OK: 86 MiB in 98 packages [2023-06-30T18:26:59.225Z] Removing intermediate container ceb0f5666af6 [2023-06-30T18:26:59.225Z] ---> acaa467adead [2023-06-30T18:26:59.225Z] Step 18/36 : WORKDIR / [2023-06-30T18:26:59.225Z] ---> Running in 6a9178b02b65 [2023-06-30T18:26:59.225Z] Removing intermediate container 6a9178b02b65 [2023-06-30T18:26:59.225Z] ---> a16610fdf0b7 [2023-06-30T18:26:59.225Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-30T18:27:00.648Z] ---> ed1194463cee [2023-06-30T18:27:00.648Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-30T18:27:00.914Z] ---> b956beab1057 [2023-06-30T18:27:00.914Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-30T18:27:01.496Z] ---> 82be4eeba7c7 [2023-06-30T18:27:01.496Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-30T18:27:02.079Z] ---> 8fa0a8ad734b [2023-06-30T18:27:02.079Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-30T18:27:02.345Z] ---> 61da3448e44c [2023-06-30T18:27:02.345Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-30T18:27:03.043Z] ---> 1158b4aa943a [2023-06-30T18:27:03.043Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-30T18:27:05.717Z] ---> 1e6b29478f01 [2023-06-30T18:27:05.717Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-30T18:27:05.992Z] ---> Running in 7f62f022d303 [2023-06-30T18:27:07.447Z] Removing intermediate container 7f62f022d303 [2023-06-30T18:27:07.447Z] ---> 29924dec1187 [2023-06-30T18:27:07.447Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-30T18:27:07.447Z] ---> Running in c82da86d0655 [2023-06-30T18:27:09.396Z] Removing intermediate container c82da86d0655 [2023-06-30T18:27:09.396Z] ---> defbb61b2392 [2023-06-30T18:27:09.396Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-30T18:27:09.396Z] ---> Running in 1810563c9178 [2023-06-30T18:27:10.809Z] Removing intermediate container 1810563c9178 [2023-06-30T18:27:10.809Z] ---> 8811e989f172 [2023-06-30T18:27:10.809Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-30T18:27:10.809Z] ---> Running in 89012d3d84d3 [2023-06-30T18:27:12.228Z] Removing intermediate container 89012d3d84d3 [2023-06-30T18:27:12.228Z] ---> 84cb4055c75d [2023-06-30T18:27:12.228Z] Step 30/36 : EXPOSE 59983 [2023-06-30T18:27:12.495Z] ---> Running in 90973c245bc6 [2023-06-30T18:27:12.495Z] Removing intermediate container 90973c245bc6 [2023-06-30T18:27:12.495Z] ---> 646b6376b53c [2023-06-30T18:27:12.495Z] Step 31/36 : EXPOSE 8554 [2023-06-30T18:27:12.763Z] ---> Running in 9669967994a8 [2023-06-30T18:27:13.031Z] Removing intermediate container 9669967994a8 [2023-06-30T18:27:13.031Z] ---> f93341a818d9 [2023-06-30T18:27:13.031Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-30T18:27:13.031Z] ---> Running in 26e8de92de56 [2023-06-30T18:27:13.299Z] Removing intermediate container 26e8de92de56 [2023-06-30T18:27:13.299Z] ---> 5b8fd6e564ce [2023-06-30T18:27:13.299Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-30T18:27:13.299Z] ---> Running in fa7c557c650b [2023-06-30T18:27:13.567Z] Removing intermediate container fa7c557c650b [2023-06-30T18:27:13.567Z] ---> aeaa23c7c7df [2023-06-30T18:27:13.567Z] Step 34/36 : LABEL arch=arm64 [2023-06-30T18:27:13.567Z] ---> Running in a3a65b3decc3 [2023-06-30T18:27:13.841Z] Removing intermediate container a3a65b3decc3 [2023-06-30T18:27:13.841Z] ---> a6546fc8fa18 [2023-06-30T18:27:13.841Z] Step 35/36 : LABEL git_sha=c54c24dfec6d4d8becd6dd23052bc72f28e30695 [2023-06-30T18:27:14.108Z] ---> Running in 71f20116f3cf [2023-06-30T18:27:14.376Z] Removing intermediate container 71f20116f3cf [2023-06-30T18:27:14.376Z] ---> 8d90d63e368d [2023-06-30T18:27:14.376Z] Step 36/36 : LABEL version=0.0.0 [2023-06-30T18:27:14.376Z] ---> Running in b1f3c25f8783 [2023-06-30T18:27:14.642Z] Removing intermediate container b1f3c25f8783 [2023-06-30T18:27:14.642Z] ---> f3dc14dbf46a [2023-06-30T18:27:14.642Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-30T18:27:14.642Z] Successfully built f3dc14dbf46a [2023-06-30T18:27:14.642Z] 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-06-30T18:27:15.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-30T18:27:15.062Z] [2023-06-30T18:27:15.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:27:15.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-30T18:27:15.390Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-30T18:27:15.390Z] 8998bd30e6a1: Pulling fs layer [2023-06-30T18:27:15.390Z] 04944245beec: Pulling fs layer [2023-06-30T18:27:15.390Z] 699f458cf7ca: Pulling fs layer [2023-06-30T18:27:15.390Z] 765212b225bb: Pulling fs layer [2023-06-30T18:27:15.390Z] f23df028b6ca: Pulling fs layer [2023-06-30T18:27:15.390Z] d65c8cfc05b1: Pulling fs layer [2023-06-30T18:27:15.390Z] 2437ff75d9bd: Pulling fs layer [2023-06-30T18:27:15.390Z] 765212b225bb: Waiting [2023-06-30T18:27:15.390Z] f23df028b6ca: Waiting [2023-06-30T18:27:15.390Z] d65c8cfc05b1: Waiting [2023-06-30T18:27:15.390Z] 2437ff75d9bd: Waiting [2023-06-30T18:27:15.659Z] 04944245beec: Verifying Checksum [2023-06-30T18:27:15.659Z] 04944245beec: Download complete [2023-06-30T18:27:15.659Z] 765212b225bb: Verifying Checksum [2023-06-30T18:27:15.659Z] 765212b225bb: Download complete [2023-06-30T18:27:15.659Z] f23df028b6ca: Verifying Checksum [2023-06-30T18:27:15.659Z] f23df028b6ca: Download complete [2023-06-30T18:27:15.659Z] d65c8cfc05b1: Download complete [2023-06-30T18:27:15.659Z] 699f458cf7ca: Verifying Checksum [2023-06-30T18:27:15.659Z] 699f458cf7ca: Download complete [2023-06-30T18:27:16.246Z] 8998bd30e6a1: Verifying Checksum [2023-06-30T18:27:16.246Z] 8998bd30e6a1: Download complete [2023-06-30T18:27:18.192Z] 2437ff75d9bd: Verifying Checksum [2023-06-30T18:27:20.135Z] 8998bd30e6a1: Pull complete [2023-06-30T18:27:20.403Z] 04944245beec: Pull complete [2023-06-30T18:27:21.826Z] 699f458cf7ca: Pull complete [2023-06-30T18:27:22.095Z] 765212b225bb: Pull complete [2023-06-30T18:27:22.679Z] f23df028b6ca: Pull complete [2023-06-30T18:27:22.946Z] d65c8cfc05b1: Pull complete [2023-06-30T18:27:37.937Z] 2437ff75d9bd: Pull complete [2023-06-30T18:27:37.937Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-30T18:27:37.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-30T18:27:37.937Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:27:38.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-238 does not seem to be running inside a container [2023-06-30T18:27:38.173Z] $ 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/23 -v /w/workspace/device-usb-camera/23:/w/workspace/device-usb-camera/23:rw,z -v /w/workspace/device-usb-camera/23@tmp:/w/workspace/device-usb-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-30T18:27:40.478Z] $ docker top 8ecff30693452ea4a3aec218ecd20f816f1e47bfe4b984b6dd2dcfc405127de2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:40.995Z] ---> job-cost.sh [2023-06-30T18:27:41.260Z] lf-activate-venv: SKIPPING [2023-06-30T18:27:41.260Z] INFO: No Stack... [2023-06-30T18:27:41.526Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-30T18:27:42.478Z] INFO: Archiving Costs [Pipeline] sh [2023-06-30T18:27:42.788Z] + cat /w/workspace/device-usb-camera/23/archives/cost.csv [2023-06-30T18:27:42.788Z] + cut -d, -f6 [Pipeline] lock [2023-06-30T18:27:42.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] [2023-06-30T18:27:42.853Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] did not exist. Created. [2023-06-30T18:27:42.853Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-30T18:27:43.188Z] /w/workspace/device-usb-camera/23@tmp/durable-a431aa5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-30T18:27:43.517Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-30T18:27:43.538Z] Warning: overwriting stash ‘stack-cost’ [2023-06-30T18:27:43.590Z] Stashed 1 file(s) [Pipeline] } [2023-06-30T18:27:43.596Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-23-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-30T18:27:43.612Z] $ docker stop --time=1 8ecff30693452ea4a3aec218ecd20f816f1e47bfe4b984b6dd2dcfc405127de2 [2023-06-30T18:27:45.054Z] $ docker rm -f --volumes 8ecff30693452ea4a3aec218ecd20f816f1e47bfe4b984b6dd2dcfc405127de2 [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-06-30T18:27:45.415Z] provisioning config files... [2023-06-30T18:27:45.426Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config8364189462234796984tmp [Pipeline] { [Pipeline] sh [2023-06-30T18:27:45.723Z] + set +x [2023-06-30T18:27:45.723Z] + curl -s https://codecov.io/bash [2023-06-30T18:27:45.723Z] + bash -s -- [2023-06-30T18:27:45.982Z] [2023-06-30T18:27:45.982Z] _____ _ [2023-06-30T18:27:45.982Z] / ____| | | [2023-06-30T18:27:45.982Z] | | ___ __| | ___ ___ _____ __ [2023-06-30T18:27:45.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-30T18:27:45.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-30T18:27:45.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-30T18:27:45.982Z] Bash-1.0.6 [2023-06-30T18:27:45.982Z] [2023-06-30T18:27:45.982Z] [2023-06-30T18:27:45.982Z] ==> git version 2.25.1 found [2023-06-30T18:27:45.982Z] ==> 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-06-30T18:27:45.982Z] Release-Date: 2020-01-08 [2023-06-30T18:27:45.982Z] 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-06-30T18:27:45.982Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-30T18:27:45.982Z] ==> Jenkins CI detected. [2023-06-30T18:27:45.982Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-262 [2023-06-30T18:27:45.982Z] project root: . [2023-06-30T18:27:45.982Z] --> token set from env [2023-06-30T18:27:45.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-30T18:27:45.982Z] ==> Running gcov in . (disable via -X gcov) [2023-06-30T18:27:45.982Z] ==> Python coveragepy not found [2023-06-30T18:27:45.982Z] ==> Searching for coverage reports in: [2023-06-30T18:27:45.982Z] + . [2023-06-30T18:27:45.982Z] -> Found 1 reports [2023-06-30T18:27:45.982Z] ==> Detecting git/mercurial file structure [2023-06-30T18:27:45.982Z] ==> Reading reports [2023-06-30T18:27:45.982Z] + ./coverage.out bytes=37441 [2023-06-30T18:27:45.982Z] ==> Appending adjustments [2023-06-30T18:27:45.982Z] https://docs.codecov.io/docs/fixing-reports [2023-06-30T18:27:46.242Z] + Found adjustments [2023-06-30T18:27:46.242Z] ==> Gzipping contents [2023-06-30T18:27:46.242Z] 8.0K /tmp/codecov.4vqMql.gz [2023-06-30T18:27:46.242Z] ==> Uploading reports [2023-06-30T18:27:46.242Z] url: https://codecov.io [2023-06-30T18:27:46.242Z] query: branch=PR-262&commit=c54c24dfec6d4d8becd6dd23052bc72f28e30695&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-06-30T18:27:46.242Z] -> Pinging Codecov [2023-06-30T18:27:46.242Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-262&commit=c54c24dfec6d4d8becd6dd23052bc72f28e30695&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-06-30T18:27:46.242Z] -> Uploading to [2023-06-30T18:27:46.242Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-30/73D8F5FF140700D3E01443B452E23636/c54c24dfec6d4d8becd6dd23052bc72f28e30695/bd46bf23-6bed-4807-b72b-0e44e6960a8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230630T182746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3486e7c03749b5b52ab8e6c17ee1b702afbdf9adcca92658c79dea184fbb4350 [2023-06-30T18:27:46.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T18:27:46.242Z] Dload Upload Total Spent Left Speed [2023-06-30T18:27:46.501Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5137 0 0 100 5137 0 24697 --:--:-- --:--:-- --:--:-- 24697 [2023-06-30T18:27:46.501Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c54c24dfec6d4d8becd6dd23052bc72f28e30695 [Pipeline] } [2023-06-30T18:27:46.509Z] 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-06-30T18:27:47.360Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-30T18:27:47.361Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-30T18:27:47.361Z] total 16 [2023-06-30T18:27:47.361Z] drwxr-xr-x 3 root root 4096 Jun 30 18:19 . [2023-06-30T18:27:47.361Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 18:19 .. [2023-06-30T18:27:47.361Z] drwxr-xr-x 2 root root 4096 Jun 30 18:19 cost [2023-06-30T18:27:47.361Z] -rw-r--r-- 1 root root 90 Jun 30 18:19 cost.csv [2023-06-30T18:27:47.361Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-30T18:27:47.361Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-30T18:27:47.361Z] total 16 [2023-06-30T18:27:47.361Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 18:19 . [2023-06-30T18:27:47.361Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 18:19 .. [2023-06-30T18:27:47.361Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 18:19 cost [2023-06-30T18:27:47.361Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 30 18:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:47.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:48.526Z] ---> package-listing.sh [2023-06-30T18:27:48.526Z] ++ facter osfamily [2023-06-30T18:27:48.526Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-30T18:27:48.785Z] + OS_FAMILY=debian [2023-06-30T18:27:48.785Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-30T18:27:48.785Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-30T18:27:48.785Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-30T18:27:48.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-30T18:27:48.785Z] + PACKAGES=/tmp/packages_start.txt [2023-06-30T18:27:48.785Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-30T18:27:48.785Z] + PACKAGES=/tmp/packages_end.txt [2023-06-30T18:27:48.785Z] + case "${OS_FAMILY}" in [2023-06-30T18:27:48.785Z] + dpkg -l [2023-06-30T18:27:48.785Z] + grep '^ii' [2023-06-30T18:27:48.785Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-30T18:27:48.785Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-30T18:27:48.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-30T18:27:48.785Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-30T18:27:48.785Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-30T18:27:48.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo [2023-06-30T18:27:48.797Z] 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-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-30T18:27:49.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T18:27:49.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T18:27:49.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T18:27:49.704Z] prd-ubuntu20.04-docker-8c-8g-237 does not seem to be running inside a container [2023-06-30T18:27:49.730Z] $ 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-262/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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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-06-30T18:27:49.921Z] $ docker top 10abc9a476b2bdd7f59aa14ce6ff989d2d98f64d17eda4bcf365e957e0fc8fce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T18:27:50.264Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-30T18:27:50.550Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-30T18:27:50.839Z] + ls /var/log/sa-host [2023-06-30T18:27:50.839Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T18:27:50.987Z] provisioning config files... [2023-06-30T18:27:50.995Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config4165912602083538781tmp [Pipeline] { [Pipeline] echo [2023-06-30T18:27:51.005Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:51.289Z] ---> create-netrc.sh [Pipeline] } [2023-06-30T18:27:51.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:51.632Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-30T18:27:51.641Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:51.927Z] ---> sudo-logs.sh [2023-06-30T18:27:51.927Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-30T18:27:51.959Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:52.245Z] ---> job-cost.sh [2023-06-30T18:27:52.245Z] lf-activate-venv: SKIPPING [2023-06-30T18:27:52.245Z] DEBUG: total: 0.2199999988079071 [2023-06-30T18:27:52.245Z] INFO: Retrieving Stack Cost... [2023-06-30T18:27:52.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-30T18:27:53.070Z] INFO: Archiving Costs [Pipeline] echo [2023-06-30T18:27:53.081Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T18:27:53.365Z] ---> logs-deploy.sh [2023-06-30T18:27:53.365Z] lf-activate-venv: SKIPPING [2023-06-30T18:27:53.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/23 [2023-06-30T18:27:53.365Z] INFO: archiving workspace using pattern(s): [2023-06-30T18:27:54.303Z] Archives upload complete. [2023-06-30T18:27:54.303Z] INFO: archiving logs to Nexus