Pull request #265 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than d17106607db89530e4e0b5bc8b7f530778fb0886 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13701404059616503581.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-ssh10692037500281800787.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10939784717271997496.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-ssh11753178681112279107.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7613827201077174888.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2114 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit d17106607db89530e4e0b5bc8b7f530778fb0886 Merge succeeded, producing d17106607db89530e4e0b5bc8b7f530778fb0886 Checking out Revision d17106607db89530e4e0b5bc8b7f530778fb0886 (PR-265) Commit message: "feat: updated an error message to make it more user friendly" > git config core.sparsecheckout # timeout=10 > git checkout -f d17106607db89530e4e0b5bc8b7f530778fb0886 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d17106607db89530e4e0b5bc8b7f530778fb0886 # timeout=10 > git rev-list --no-walk 83e9707236a128b7f24f90fff0386f1429231f2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-25T18:08:03.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-25T18:08:03.121Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-25T18:08:03.138Z] ========================================================= [2023-07-25T18:08:03.138Z] EdgeX Global Pipelines Version Info [2023-07-25T18:08:03.138Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:08:03.864Z] ------------------- [2023-07-25T18:08:03.864Z] stable info: [2023-07-25T18:08:03.864Z] ------------------- [2023-07-25T18:08:03.864Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-25T18:08:03.864Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-25T18:08:03.864Z] Message: update stable to v1.0.250 [2023-07-25T18:08:04.433Z] ------------------- [2023-07-25T18:08:04.433Z] experimental info: [2023-07-25T18:08:04.433Z] ------------------- [2023-07-25T18:08:04.433Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-25T18:08:04.433Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-25T18:08:04.433Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-25T18:08:04.603Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-25T18:08:04.617Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-25T18:08:04.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-25T18:08:04.650Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-25T18:08:04.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-25T18:08:04.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-25T18:08:04.705Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-25T18:08:04.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-25T18:08:04.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-25T18:08:04.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-25T18:08:04.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-25T18:08:04.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-25T18:08:04.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-25T18:08:04.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-25T18:08:04.849Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-25T18:08:04.864Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-25T18:08:04.881Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-25T18:08:04.899Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-25T18:08:04.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-25T18:08:04.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-25T18:08:04.945Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-25T18:08:04.960Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-25T18:08:04.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-25T18:08:04.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-25T18:08:05.017Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-25T18:08:05.035Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-25T18:08:05.053Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-25T18:08:05.072Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-25T18:08:05.090Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-25T18:08:05.101Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-25T18:08:05.114Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d17106607db89530e4e0b5bc8b7f530778fb0886 [Pipeline] echo [2023-07-25T18:08:05.126Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d171066 [Pipeline] echo [2023-07-25T18:08:05.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T18:08:05.191Z] provisioning config files... [2023-07-25T18:08:05.205Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config5867803384291383996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:08:05.507Z] ---> docker-login.sh [2023-07-25T18:08:05.507Z] nexus3.edgexfoundry.org:10001 [2023-07-25T18:08:05.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:05.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:05.768Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:05.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:05.768Z] [2023-07-25T18:08:05.768Z] Login Succeeded [2023-07-25T18:08:05.768Z] nexus3.edgexfoundry.org:10002 [2023-07-25T18:08:05.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:05.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:05.768Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:05.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:05.768Z] [2023-07-25T18:08:05.768Z] Login Succeeded [2023-07-25T18:08:06.028Z] nexus3.edgexfoundry.org:10003 [2023-07-25T18:08:06.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:06.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:06.028Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:06.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:06.028Z] [2023-07-25T18:08:06.028Z] Login Succeeded [2023-07-25T18:08:06.028Z] nexus3.edgexfoundry.org:10004 [2023-07-25T18:08:06.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:06.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:06.028Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:06.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:06.028Z] [2023-07-25T18:08:06.028Z] Login Succeeded [2023-07-25T18:08:06.028Z] docker.io [2023-07-25T18:08:06.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:06.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:06.549Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:06.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:06.549Z] [2023-07-25T18:08:06.549Z] Login Succeeded [2023-07-25T18:08:06.549Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T18:08:06.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-25T18:08:06.938Z] + git rev-list -1 --merges d17106607db89530e4e0b5bc8b7f530778fb0886~1..d17106607db89530e4e0b5bc8b7f530778fb0886 [Pipeline] echo [2023-07-25T18:08:06.988Z] -----------> git rev-list -1 --merges d17106607db89530e4e0b5bc8b7f530778fb0886~1..d17106607db89530e4e0b5bc8b7f530778fb0886 d17106607db89530e4e0b5bc8b7f530778fb0886 [false] [Pipeline] sh [2023-07-25T18:08:07.279Z] + git log --format=format:%s -1 d17106607db89530e4e0b5bc8b7f530778fb0886 [Pipeline] echo [2023-07-25T18:08:07.296Z] ========================================================= [2023-07-25T18:08:07.296Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-25T18:08:07.296Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T18:08:07.677Z] + git log --format=format:%s -1 d17106607db89530e4e0b5bc8b7f530778fb0886 [Pipeline] echo [2023-07-25T18:08:07.687Z] [semverPrep] GIT_COMMIT: d17106607db89530e4e0b5bc8b7f530778fb0886, Commit Message: feat: updated an error message to make it more user friendly [Pipeline] echo [2023-07-25T18:08:07.699Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-25T18:08:08.066Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-25T18:08:08.066Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-25T18:08:08.066Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-25T18:08:08.066Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-25T18:08:08.066Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-07-25T18:08:08.066Z] -a /etc/ssh/ssh_known_hosts [2023-07-25T18:08:08.066Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:08:08.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T18:08:08.477Z] [2023-07-25T18:08:08.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:08:08.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T18:08:08.777Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-25T18:08:08.777Z] b85a868b505f: Pulling fs layer [2023-07-25T18:08:08.777Z] e2be974225ed: Pulling fs layer [2023-07-25T18:08:08.777Z] 339a4e72a1f5: Pulling fs layer [2023-07-25T18:08:08.777Z] 988bab9f4d93: Pulling fs layer [2023-07-25T18:08:08.777Z] 1469e6f7b9e6: Pulling fs layer [2023-07-25T18:08:08.777Z] eaf3925da568: Pulling fs layer [2023-07-25T18:08:08.777Z] bab4dde63d76: Pulling fs layer [2023-07-25T18:08:08.777Z] bde34c3a00c8: Pulling fs layer [2023-07-25T18:08:08.777Z] b352a97aabf1: Pulling fs layer [2023-07-25T18:08:08.777Z] 4872d77fe225: Pulling fs layer [2023-07-25T18:08:08.777Z] 5851b861e8e6: Pulling fs layer [2023-07-25T18:08:08.777Z] bde34c3a00c8: Waiting [2023-07-25T18:08:08.777Z] 4872d77fe225: Waiting [2023-07-25T18:08:08.777Z] eaf3925da568: Waiting [2023-07-25T18:08:08.777Z] bab4dde63d76: Waiting [2023-07-25T18:08:08.777Z] b352a97aabf1: Waiting [2023-07-25T18:08:08.777Z] 5851b861e8e6: Waiting [2023-07-25T18:08:08.777Z] 988bab9f4d93: Waiting [2023-07-25T18:08:08.777Z] e2be974225ed: Verifying Checksum [2023-07-25T18:08:08.777Z] e2be974225ed: Download complete [2023-07-25T18:08:08.777Z] 988bab9f4d93: Verifying Checksum [2023-07-25T18:08:08.777Z] 988bab9f4d93: Download complete [2023-07-25T18:08:09.036Z] 1469e6f7b9e6: Verifying Checksum [2023-07-25T18:08:09.036Z] 1469e6f7b9e6: Download complete [2023-07-25T18:08:09.036Z] 339a4e72a1f5: Download complete [2023-07-25T18:08:09.036Z] eaf3925da568: Verifying Checksum [2023-07-25T18:08:09.036Z] eaf3925da568: Download complete [2023-07-25T18:08:09.036Z] bde34c3a00c8: Verifying Checksum [2023-07-25T18:08:09.036Z] bde34c3a00c8: Download complete [2023-07-25T18:08:09.036Z] b352a97aabf1: Verifying Checksum [2023-07-25T18:08:09.036Z] 4872d77fe225: Download complete [2023-07-25T18:08:09.036Z] 5851b861e8e6: Verifying Checksum [2023-07-25T18:08:09.036Z] 5851b861e8e6: Download complete [2023-07-25T18:08:09.036Z] b85a868b505f: Download complete [2023-07-25T18:08:09.296Z] bab4dde63d76: Verifying Checksum [2023-07-25T18:08:09.296Z] bab4dde63d76: Download complete [2023-07-25T18:08:10.675Z] b85a868b505f: Pull complete [2023-07-25T18:08:10.675Z] e2be974225ed: Pull complete [2023-07-25T18:08:10.933Z] 339a4e72a1f5: Pull complete [2023-07-25T18:08:11.193Z] 988bab9f4d93: Pull complete [2023-07-25T18:08:11.454Z] 1469e6f7b9e6: Pull complete [2023-07-25T18:08:11.454Z] eaf3925da568: Pull complete [2023-07-25T18:08:13.357Z] bab4dde63d76: Pull complete [2023-07-25T18:08:13.357Z] bde34c3a00c8: Pull complete [2023-07-25T18:08:13.357Z] b352a97aabf1: Pull complete [2023-07-25T18:08:13.357Z] 4872d77fe225: Pull complete [2023-07-25T18:08:13.357Z] 5851b861e8e6: Pull complete [2023-07-25T18:08:13.357Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-25T18:08:13.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-25T18:08:13.357Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:08:13.449Z] prd-ubuntu20.04-docker-8c-8g-2114 does not seem to be running inside a container [2023-07-25T18:08:13.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-25T18:08:16.275Z] $ docker top 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab -eo pid,comm [2023-07-25T18:08:16.333Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-25T18:08:16.333Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-25T18:08:16.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-25T18:08:16.377Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-25T18:08:16.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-25T18:08:16.481Z] $ docker exec 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab ssh-agent [2023-07-25T18:08:16.583Z] SSH_AUTH_SOCK=/tmp/ssh-KUj9EMzwVH9M/agent.32 [2023-07-25T18:08:16.583Z] SSH_AGENT_PID=38 [2023-07-25T18:08:16.590Z] Running ssh-add (command line suppressed) [2023-07-25T18:08:16.706Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_16495646572808113589.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_16495646572808113589.key) [2023-07-25T18:08:16.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-25T18:08:17.005Z] + git tag --points-at HEAD [Pipeline] } [2023-07-25T18:08:17.017Z] $ docker exec --env ******** --env ******** 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab ssh-agent -k [2023-07-25T18:08:17.126Z] unset SSH_AUTH_SOCK; [2023-07-25T18:08:17.127Z] unset SSH_AGENT_PID; [2023-07-25T18:08:17.127Z] echo Agent pid 38 killed; [2023-07-25T18:08:17.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-25T18:08:17.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-25T18:08:17.160Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-25T18:08:17.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-25T18:08:17.268Z] $ docker exec 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab ssh-agent [2023-07-25T18:08:17.392Z] SSH_AUTH_SOCK=/tmp/ssh-3A8GqONO3ak4/agent.70 [2023-07-25T18:08:17.392Z] SSH_AGENT_PID=77 [2023-07-25T18:08:17.397Z] Running ssh-add (command line suppressed) [2023-07-25T18:08:17.501Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_56312179563588333.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_56312179563588333.key) [2023-07-25T18:08:17.522Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-25T18:08:17.812Z] + git semver init [2023-07-25T18:08:18.071Z] 2023-07-25 18:08:17,987 [run_init] DEBUG init version:0.0.0 force:False [2023-07-25T18:08:18.071Z] 2023-07-25 18:08:17,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-25T18:08:18.071Z] 2023-07-25 18:08:17,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-25T18:08:18.071Z] 2023-07-25 18:08:17,989 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,836 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,837 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,837 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,841 [execute] INFO git cat-file --batch-check [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,847 [execute] INFO git cat-file --batch [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-25T18:08:19.009Z] 2023-07-25 18:08:18,852 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-25T18:08:19.009Z] 0.0.0 [Pipeline] } [2023-07-25T18:08:19.019Z] $ docker exec --env ******** --env ******** 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab ssh-agent -k [2023-07-25T18:08:19.123Z] unset SSH_AUTH_SOCK; [2023-07-25T18:08:19.124Z] unset SSH_AGENT_PID; [2023-07-25T18:08:19.124Z] echo Agent pid 77 killed; [2023-07-25T18:08:19.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-25T18:08:19.432Z] + git semver [Pipeline] } [2023-07-25T18:08:19.705Z] $ docker stop --time=1 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab [2023-07-25T18:08:20.988Z] $ docker rm -f --volumes 0dfa20fbd7eeef0414f22e4ba9ff25736f4632eeebf11015e6aabf218aa028ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T18:08:21.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-25T18:08:21.529Z] Stashed 1 file(s) [Pipeline] echo [2023-07-25T18:08:21.532Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T18:08:21.703Z] provisioning config files... [2023-07-25T18:08:21.713Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9983418148863301781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:08:22.009Z] ---> docker-login.sh [2023-07-25T18:08:22.009Z] nexus3.edgexfoundry.org:10001 [2023-07-25T18:08:22.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:22.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:22.009Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:22.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:22.009Z] [2023-07-25T18:08:22.009Z] Login Succeeded [2023-07-25T18:08:22.009Z] nexus3.edgexfoundry.org:10002 [2023-07-25T18:08:22.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:22.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:22.009Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:22.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:22.009Z] [2023-07-25T18:08:22.009Z] Login Succeeded [2023-07-25T18:08:22.009Z] nexus3.edgexfoundry.org:10003 [2023-07-25T18:08:22.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:22.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:22.270Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:22.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:22.270Z] [2023-07-25T18:08:22.270Z] Login Succeeded [2023-07-25T18:08:22.270Z] nexus3.edgexfoundry.org:10004 [2023-07-25T18:08:22.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:22.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:22.270Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:22.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:22.270Z] [2023-07-25T18:08:22.270Z] Login Succeeded [2023-07-25T18:08:22.270Z] docker.io [2023-07-25T18:08:22.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:08:22.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:08:22.530Z] Configure a credential helper to remove this warning. See [2023-07-25T18:08:22.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:08:22.530Z] [2023-07-25T18:08:22.530Z] Login Succeeded [2023-07-25T18:08:22.530Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T18:08:22.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-25T18:08:22.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T18:08:22.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T18:08:22.723Z] ========================================================= [2023-07-25T18:08:22.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-25T18:08:22.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:08:23.035Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-25T18:08:23.035Z] Sending build context to Docker daemon 2.064MB [2023-07-25T18:08:23.035Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T18:08:23.035Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-25T18:08:23.035Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-25T18:08:23.035Z] 4db1b89c0bd1: Pulling fs layer [2023-07-25T18:08:23.035Z] 6911f1a30b25: Pulling fs layer [2023-07-25T18:08:23.035Z] e194b8c5c2a9: Pulling fs layer [2023-07-25T18:08:23.035Z] 6863d3e3a2b1: Pulling fs layer [2023-07-25T18:08:23.035Z] ec0bb842ea78: Pulling fs layer [2023-07-25T18:08:23.035Z] 40a00589a448: Pulling fs layer [2023-07-25T18:08:23.035Z] 6c08303d61cc: Pulling fs layer [2023-07-25T18:08:23.035Z] 798269fcf238: Pulling fs layer [2023-07-25T18:08:23.035Z] ec0bb842ea78: Waiting [2023-07-25T18:08:23.035Z] 40a00589a448: Waiting [2023-07-25T18:08:23.035Z] 6c08303d61cc: Waiting [2023-07-25T18:08:23.035Z] 798269fcf238: Waiting [2023-07-25T18:08:23.035Z] 6863d3e3a2b1: Waiting [2023-07-25T18:08:23.035Z] 6911f1a30b25: Verifying Checksum [2023-07-25T18:08:23.035Z] 6911f1a30b25: Download complete [2023-07-25T18:08:23.035Z] 6863d3e3a2b1: Verifying Checksum [2023-07-25T18:08:23.035Z] 6863d3e3a2b1: Download complete [2023-07-25T18:08:23.035Z] ec0bb842ea78: Download complete [2023-07-25T18:08:23.295Z] 4db1b89c0bd1: Verifying Checksum [2023-07-25T18:08:23.295Z] 4db1b89c0bd1: Download complete [2023-07-25T18:08:23.295Z] 40a00589a448: Verifying Checksum [2023-07-25T18:08:23.295Z] 40a00589a448: Download complete [2023-07-25T18:08:23.295Z] 4db1b89c0bd1: Pull complete [2023-07-25T18:08:23.553Z] 6911f1a30b25: Pull complete [2023-07-25T18:08:23.553Z] 798269fcf238: Verifying Checksum [2023-07-25T18:08:23.553Z] 798269fcf238: Download complete [2023-07-25T18:08:23.812Z] e194b8c5c2a9: Verifying Checksum [2023-07-25T18:08:23.812Z] e194b8c5c2a9: Download complete [2023-07-25T18:08:24.069Z] 6c08303d61cc: Verifying Checksum [2023-07-25T18:08:24.069Z] 6c08303d61cc: Download complete [2023-07-25T18:08:27.352Z] e194b8c5c2a9: Pull complete [2023-07-25T18:08:27.353Z] 6863d3e3a2b1: Pull complete [2023-07-25T18:08:27.353Z] ec0bb842ea78: Pull complete [2023-07-25T18:08:27.353Z] 40a00589a448: Pull complete [2023-07-25T18:08:29.883Z] 6c08303d61cc: Pull complete [2023-07-25T18:08:30.817Z] 798269fcf238: Pull complete [2023-07-25T18:08:30.817Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-25T18:08:30.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-25T18:08:30.817Z] ---> ec979cd7f677 [2023-07-25T18:08:30.817Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-25T18:08:35.018Z] ---> Running in 44084d6b6cef [2023-07-25T18:08:35.018Z] Removing intermediate container 44084d6b6cef [2023-07-25T18:08:35.018Z] ---> 22b30de0983e [2023-07-25T18:08:35.018Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T18:08:35.018Z] ---> Running in 3dc32189b0a9 [2023-07-25T18:08:35.018Z] Removing intermediate container 3dc32189b0a9 [2023-07-25T18:08:35.018Z] ---> ea1883726cc4 [2023-07-25T18:08:35.018Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T18:08:35.018Z] ---> Running in a2b4a6a6980f [2023-07-25T18:08:35.018Z] Removing intermediate container a2b4a6a6980f [2023-07-25T18:08:35.018Z] ---> 6a5605c8809d [2023-07-25T18:08:35.018Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T18:08:35.018Z] ---> Running in e06361098df8 [2023-07-25T18:08:35.285Z] Removing intermediate container e06361098df8 [2023-07-25T18:08:35.285Z] ---> c1a0e7ffd640 [2023-07-25T18:08:35.285Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T18:08:35.285Z] ---> Running in bbe4bd28945a [2023-07-25T18:08:35.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-25T18:08:35.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-25T18:08:35.803Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-25T18:08:35.803Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-25T18:08:35.803Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T18:08:36.062Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T18:08:36.062Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-25T18:08:36.062Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-25T18:08:36.062Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-25T18:08:36.062Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-25T18:08:36.062Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-25T18:08:36.062Z] (10/14) Installing kmod-libs (30-r1) [2023-07-25T18:08:36.062Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-25T18:08:36.062Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-25T18:08:36.062Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-25T18:08:36.062Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-25T18:08:36.062Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T18:08:36.062Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T18:08:36.062Z] OK: 272 MiB in 67 packages [2023-07-25T18:08:36.629Z] Removing intermediate container bbe4bd28945a [2023-07-25T18:08:36.629Z] ---> 8066d0b3243f [2023-07-25T18:08:36.629Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-25T18:08:36.629Z] ---> Running in 8f81e9dadf59 [2023-07-25T18:08:36.652Z] Still waiting to schedule task [2023-07-25T18:08:36.653Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-25T18:08:36.888Z] Removing intermediate container 8f81e9dadf59 [2023-07-25T18:08:36.888Z] ---> e9d40ed1769d [2023-07-25T18:08:36.888Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-25T18:08:36.888Z] ---> 6413e08a5f1a [2023-07-25T18:08:36.888Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T18:08:36.888Z] ---> Running in e8053dfecb62 [2023-07-25T18:09:08.968Z] Removing intermediate container e8053dfecb62 [2023-07-25T18:09:08.968Z] ---> 44ecfe3c5670 [2023-07-25T18:09:08.968Z] Step 11/13 : COPY . . [2023-07-25T18:09:08.968Z] ---> 6553e8d632ab [2023-07-25T18:09:08.968Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T18:09:08.968Z] ---> Running in b27d67398d10 [2023-07-25T18:09:08.968Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T18:09:08.968Z]  Dload Upload Total Spent Left Speed [2023-07-25T18:09:08.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7960 0 --:--:-- --:--:-- --:--:-- 7984 [2023-07-25T18:09:09.227Z] Removing intermediate container b27d67398d10 [2023-07-25T18:09:09.227Z] ---> 0785488479ab [2023-07-25T18:09:09.227Z] Step 13/13 : RUN ${MAKE} [2023-07-25T18:09:09.227Z] ---> Running in f14ecf2f8a26 [2023-07-25T18:09:09.490Z] noop [2023-07-25T18:09:09.753Z] Removing intermediate container f14ecf2f8a26 [2023-07-25T18:09:09.753Z] ---> 37e1d03a24a4 [2023-07-25T18:09:09.753Z] Successfully built 37e1d03a24a4 [2023-07-25T18:09:09.753Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:09:10.060Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-25T18:09:10.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:09:10.130Z] prd-ubuntu20.04-docker-8c-8g-2114 does not seem to be running inside a container [2023-07-25T18:09:10.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-25T18:09:10.511Z] $ docker top 6dd5b9513ff282327800b68fc50ae405eabfe64ddc799cee30bae927ae0e266c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T18:09:10.856Z] + go version [2023-07-25T18:09:10.857Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-25T18:09:10.869Z] $ docker stop --time=1 6dd5b9513ff282327800b68fc50ae405eabfe64ddc799cee30bae927ae0e266c [2023-07-25T18:09:12.123Z] $ docker rm -f --volumes 6dd5b9513ff282327800b68fc50ae405eabfe64ddc799cee30bae927ae0e266c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:09:12.522Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-25T18:09:12.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:09:12.587Z] prd-ubuntu20.04-docker-8c-8g-2114 does not seem to be running inside a container [2023-07-25T18:09:12.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-25T18:09:12.938Z] $ docker top 61a87181c880c9724c4833bed16d8cd7c71283c6ec783a47a97821d5f2141af0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T18:09:13.273Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-25T18:09:13.564Z] + make test [2023-07-25T18:09:13.564Z] go test ./... -coverprofile=coverage.out ./... [2023-07-25T18:09:18.831Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-25T18:09:28.801Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-25T18:09:29.061Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.6% of statements [2023-07-25T18:09:35.622Z] go vet ./... [2023-07-25T18:09:39.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-25T18:09:39.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-25T18:09:39.872Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-25T18:09:39.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-25T18:09:39.900Z] $ docker stop --time=1 61a87181c880c9724c4833bed16d8cd7c71283c6ec783a47a97821d5f2141af0 [2023-07-25T18:09:43.527Z] $ docker rm -f --volumes 61a87181c880c9724c4833bed16d8cd7c71283c6ec783a47a97821d5f2141af0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T18:09:44.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-25T18:09:44.081Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-25T18:09:44.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-25T18:09:44.888Z] + ls -al . [2023-07-25T18:09:44.888Z] total 204 [2023-07-25T18:09:44.888Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 18:09 . [2023-07-25T18:09:44.888Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:08 .. [2023-07-25T18:09:44.888Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:08 .git [2023-07-25T18:09:44.888Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:08 .github [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 25 18:08 .gitignore [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 25 18:08 .golangci.yml [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 25 18:08 .hadolint.yml [2023-07-25T18:09:44.888Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 18:08 .semver [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 25 18:08 Attribution.txt [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 25 18:08 CHANGELOG.md [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 25 18:08 Dockerfile [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 25 18:08 GOVERNANCE.md [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 25 18:08 Jenkinsfile [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 25 18:08 LICENSE [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 25 18:08 Makefile [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 18:08 OWNERS.md [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 25 18:08 README.md [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 18:08 VERSION [2023-07-25T18:09:44.888Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:08 bin [2023-07-25T18:09:44.888Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:08 cmd [2023-07-25T18:09:44.888Z] -rw-r--r-- 1 jenkins jenkins 42931 Jul 25 18:09 coverage.out [2023-07-25T18:09:44.888Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 25 18:08 docker-entrypoint.sh [2023-07-25T18:09:44.888Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:08 docs [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 25 18:08 go.mod [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 25 18:08 go.sum [2023-07-25T18:09:44.888Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:08 internal [2023-07-25T18:09:44.888Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:08 snap [2023-07-25T18:09:44.888Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 25 18:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:09:45.192Z] + 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=d17106607db89530e4e0b5bc8b7f530778fb0886 --label arch=amd64 --label version=0.0.0 . [2023-07-25T18:09:45.192Z] Sending build context to Docker daemon 2.107MB [2023-07-25T18:09:45.192Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T18:09:45.192Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-25T18:09:45.192Z] ---> 37e1d03a24a4 [2023-07-25T18:09:45.192Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-25T18:09:45.192Z] ---> Running in 420ef1cbece5 [2023-07-25T18:09:45.451Z] Removing intermediate container 420ef1cbece5 [2023-07-25T18:09:45.451Z] ---> b2966f369c8f [2023-07-25T18:09:45.452Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T18:09:45.452Z] ---> Running in c6c250f26686 [2023-07-25T18:09:45.452Z] Removing intermediate container c6c250f26686 [2023-07-25T18:09:45.452Z] ---> 52e37dc9fd38 [2023-07-25T18:09:45.452Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T18:09:45.452Z] ---> Running in 419aa2312337 [2023-07-25T18:09:45.452Z] Removing intermediate container 419aa2312337 [2023-07-25T18:09:45.452Z] ---> 6f0a1d2046fc [2023-07-25T18:09:45.452Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T18:09:45.452Z] ---> Running in 1e9c4bc3593b [2023-07-25T18:09:45.710Z] Removing intermediate container 1e9c4bc3593b [2023-07-25T18:09:45.710Z] ---> bc95b9e2d2a4 [2023-07-25T18:09:45.710Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T18:09:45.710Z] ---> Running in 0959b97ed206 [2023-07-25T18:09:45.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-25T18:09:46.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-25T18:09:46.487Z] OK: 272 MiB in 67 packages [2023-07-25T18:09:46.745Z] Removing intermediate container 0959b97ed206 [2023-07-25T18:09:46.745Z] ---> 7dd9591708cf [2023-07-25T18:09:46.745Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-25T18:09:46.745Z] ---> Running in fddaf73764b3 [2023-07-25T18:09:46.745Z] Removing intermediate container fddaf73764b3 [2023-07-25T18:09:46.745Z] ---> 6266be6af6b5 [2023-07-25T18:09:46.745Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-25T18:09:47.005Z] ---> 79d53937581a [2023-07-25T18:09:47.005Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T18:09:47.005Z] ---> Running in 7e3451a47377 [2023-07-25T18:09:47.571Z] Removing intermediate container 7e3451a47377 [2023-07-25T18:09:47.571Z] ---> f8732459558f [2023-07-25T18:09:47.571Z] Step 11/36 : COPY . . [2023-07-25T18:09:47.828Z] ---> b1ffadee57a1 [2023-07-25T18:09:47.828Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T18:09:47.828Z] ---> Running in 33c6f7ba727a [2023-07-25T18:09:48.086Z]  % Total % Received % Xferd Average Speed Time  Time  Time Current [2023-07-25T18:09:48.086Z]       Dload Upload Total  Spent Left Speed [2023-07-25T18:09:48.086Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20976 0 --:--:-- --:--:-- --:--:-- 21240 [2023-07-25T18:09:48.345Z] Removing intermediate container 33c6f7ba727a [2023-07-25T18:09:48.345Z] ---> 4f421be59695 [2023-07-25T18:09:48.345Z] Step 13/36 : RUN ${MAKE} [2023-07-25T18:09:48.345Z] ---> Running in 2fc7b2851a74 [2023-07-25T18:09:48.603Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-07-25T18:10:10.590Z] Removing intermediate container 2fc7b2851a74 [2023-07-25T18:10:10.591Z] ---> 3673b1780ac4 [2023-07-25T18:10:10.591Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-25T18:10:10.591Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-25T18:10:10.591Z] 4acc49c71d14: Pulling fs layer [2023-07-25T18:10:10.591Z] 4acc49c71d14: Download complete [2023-07-25T18:10:10.591Z] 4acc49c71d14: Pull complete [2023-07-25T18:10:10.591Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-25T18:10:10.591Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-25T18:10:10.591Z] ---> 01a2bd3e5fff [2023-07-25T18:10:10.591Z] Step 15/36 : FROM alpine:3.17 [2023-07-25T18:10:10.591Z] 3.17: Pulling from library/alpine [2023-07-25T18:10:10.591Z] 4db1b89c0bd1: Already exists [2023-07-25T18:10:10.591Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-25T18:10:10.591Z] Status: Downloaded newer image for alpine:3.17 [2023-07-25T18:10:10.591Z] ---> 1f73a9d63274 [2023-07-25T18:10:10.591Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-25T18:10:10.848Z] ---> Running in 5256eea3bb3d [2023-07-25T18:10:10.848Z] Removing intermediate container 5256eea3bb3d [2023-07-25T18:10:10.848Z] ---> 198aabd11b43 [2023-07-25T18:10:10.848Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-25T18:10:10.848Z] ---> Running in 076d05ff1382 [2023-07-25T18:10:11.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-25T18:10:11.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-25T18:10:11.630Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-07-25T18:10:11.630Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-07-25T18:10:11.630Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-07-25T18:10:11.630Z] (4/86) Installing libxau (1.0.10-r0) [2023-07-25T18:10:11.630Z] (5/86) Installing libmd (1.0.4-r0) [2023-07-25T18:10:11.630Z] (6/86) Installing libbsd (0.11.7-r0) [2023-07-25T18:10:11.630Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-07-25T18:10:11.630Z] (8/86) Installing libxcb (1.15-r0) [2023-07-25T18:10:11.630Z] (9/86) Installing libx11 (1.8.4-r1) [2023-07-25T18:10:11.630Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-07-25T18:10:11.630Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-07-25T18:10:11.630Z] (12/86) Installing libexpat (2.5.0-r0) [2023-07-25T18:10:11.630Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-07-25T18:10:11.630Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-07-25T18:10:11.630Z] (15/86) Installing libpng (1.6.38-r0) [2023-07-25T18:10:11.630Z] (16/86) Installing freetype (2.12.1-r0) [2023-07-25T18:10:11.630Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-07-25T18:10:11.890Z] (18/86) Installing fribidi (1.0.12-r0) [2023-07-25T18:10:11.890Z] (19/86) Installing libffi (3.4.4-r0) [2023-07-25T18:10:11.890Z] (20/86) Installing libintl (0.21.1-r1) [2023-07-25T18:10:11.890Z] (21/86) Installing libblkid (2.38.1-r1) [2023-07-25T18:10:11.890Z] (22/86) Installing libmount (2.38.1-r1) [2023-07-25T18:10:11.890Z] (23/86) Installing pcre2 (10.42-r0) [2023-07-25T18:10:11.890Z] (24/86) Installing glib (2.74.7-r0) [2023-07-25T18:10:11.890Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-07-25T18:10:11.890Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-07-25T18:10:11.890Z] (27/86) Installing libass (0.16.0-r1) [2023-07-25T18:10:11.890Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-07-25T18:10:11.890Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-07-25T18:10:11.890Z] (30/86) Installing libpciaccess (0.17-r0) [2023-07-25T18:10:11.890Z] (31/86) Installing libdrm (2.4.114-r0) [2023-07-25T18:10:11.890Z] (32/86) Installing gmp (6.2.1-r2) [2023-07-25T18:10:11.890Z] (33/86) Installing nettle (3.8.1-r0) [2023-07-25T18:10:11.890Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-07-25T18:10:11.890Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-07-25T18:10:11.890Z] (36/86) Installing libunistring (1.1-r0) [2023-07-25T18:10:11.890Z] (37/86) Installing gnutls (3.7.8-r3) [2023-07-25T18:10:11.890Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-25T18:10:11.890Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-25T18:10:11.890Z] (40/86) Installing lame (3.100-r2) [2023-07-25T18:10:11.890Z] (41/86) Installing opus (1.3.1-r1) [2023-07-25T18:10:12.150Z] (42/86) Installing libasyncns (0.8-r1) [2023-07-25T18:10:12.150Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-07-25T18:10:12.150Z] (44/86) Installing libltdl (2.4.7-r1) [2023-07-25T18:10:12.150Z] (45/86) Installing orc (0.4.33-r0) [2023-07-25T18:10:12.150Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-07-25T18:10:12.150Z] (47/86) Installing libogg (1.3.5-r2) [2023-07-25T18:10:12.150Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-25T18:10:12.150Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-07-25T18:10:12.150Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-07-25T18:10:12.150Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-07-25T18:10:12.150Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-07-25T18:10:12.150Z] (53/86) Installing soxr (0.1.3-r3) [2023-07-25T18:10:12.150Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-07-25T18:10:12.150Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-07-25T18:10:12.150Z] (56/86) Installing libpulse (16.1-r6) [2023-07-25T18:10:12.150Z] (57/86) Installing cjson (1.7.15-r3) [2023-07-25T18:10:12.150Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-07-25T18:10:12.150Z] (59/86) Installing librist (0.2.7-r0) [2023-07-25T18:10:12.150Z] (60/86) Installing libsrt (1.5.1-r0) [2023-07-25T18:10:12.150Z] (61/86) Installing libssh (0.10.5-r0) [2023-07-25T18:10:12.150Z] (62/86) Installing libtheora (1.1.1-r16) [2023-07-25T18:10:12.150Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T18:10:12.150Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T18:10:12.409Z] (65/86) Installing libxext (1.3.5-r0) [2023-07-25T18:10:12.409Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-07-25T18:10:12.409Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-07-25T18:10:12.409Z] (68/86) Installing libva (2.16.0-r0) [2023-07-25T18:10:12.409Z] (69/86) Installing libvdpau (1.5-r0) [2023-07-25T18:10:12.409Z] (70/86) Installing vidstab (1.1.0-r2) [2023-07-25T18:10:12.409Z] (71/86) Installing libvpx (1.12.0-r1) [2023-07-25T18:10:12.409Z] (72/86) Installing libwebp (1.2.4-r2) [2023-07-25T18:10:12.409Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-07-25T18:10:12.409Z] (74/86) Installing numactl (2.0.16-r1) [2023-07-25T18:10:12.409Z] (75/86) Installing x265-libs (3.5-r3) [2023-07-25T18:10:12.409Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-07-25T18:10:12.409Z] (77/86) Installing libsodium (1.0.18-r2) [2023-07-25T18:10:12.409Z] (78/86) Installing libzmq (4.3.4-r1) [2023-07-25T18:10:12.409Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-07-25T18:10:12.669Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-07-25T18:10:12.669Z] (81/86) Installing udev-init-scripts (35-r1) [2023-07-25T18:10:12.669Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-07-25T18:10:12.669Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-07-25T18:10:12.669Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-07-25T18:10:12.669Z] (85/86) Installing kmod-libs (30-r1) [2023-07-25T18:10:12.669Z] (86/86) Installing eudev (3.2.11-r4) [2023-07-25T18:10:12.669Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T18:10:12.669Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T18:10:12.669Z] OK: 112 MiB in 101 packages [2023-07-25T18:10:14.718Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2115 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-25T18:10:14.731Z] Running in /w/workspace/device-usb-camera/16 [Pipeline] { [Pipeline] checkout [2023-07-25T18:10:14.771Z] Selected Git installation does not exist. Using Default [2023-07-25T18:10:14.771Z] The recommended git tool is: NONE [2023-07-25T18:10:15.311Z] Removing intermediate container 076d05ff1382 [2023-07-25T18:10:15.311Z] ---> 1e056a501079 [2023-07-25T18:10:15.311Z] Step 18/36 : WORKDIR / [2023-07-25T18:10:15.311Z] ---> Running in e61beb2e3340 [2023-07-25T18:10:15.568Z] Removing intermediate container e61beb2e3340 [2023-07-25T18:10:15.568Z] ---> 0934fe0152db [2023-07-25T18:10:15.568Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-25T18:10:16.502Z] ---> 6befed1e772a [2023-07-25T18:10:16.502Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-25T18:10:16.502Z] ---> 8e6e3b83c7f1 [2023-07-25T18:10:16.502Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-25T18:10:16.760Z] ---> ee75e8283505 [2023-07-25T18:10:16.760Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-25T18:10:16.760Z] ---> 68752bede918 [2023-07-25T18:10:16.760Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-25T18:10:16.760Z] ---> 04420ab522a0 [2023-07-25T18:10:16.760Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-25T18:10:17.017Z] ---> 3804e1b0cbfd [2023-07-25T18:10:17.017Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-25T18:10:17.950Z] ---> 5ae80b30c0e0 [2023-07-25T18:10:17.950Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-25T18:10:17.950Z] ---> Running in d6153e7af20b [2023-07-25T18:10:18.210Z] Removing intermediate container d6153e7af20b [2023-07-25T18:10:18.211Z] ---> 858cb3c3afae [2023-07-25T18:10:18.211Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-25T18:10:18.469Z] ---> Running in 2b573d3d8d0f [2023-07-25T18:10:18.728Z] Removing intermediate container 2b573d3d8d0f [2023-07-25T18:10:18.728Z] ---> e80e5730a7e1 [2023-07-25T18:10:18.728Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-25T18:10:18.728Z] ---> Running in 2694cd3aa2b9 [2023-07-25T18:10:19.293Z] Removing intermediate container 2694cd3aa2b9 [2023-07-25T18:10:19.293Z] ---> 05a3801245a3 [2023-07-25T18:10:19.293Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-25T18:10:19.293Z] ---> Running in 4554df143216 [2023-07-25T18:10:19.861Z] Removing intermediate container 4554df143216 [2023-07-25T18:10:19.861Z] ---> 562e7e9136dc [2023-07-25T18:10:19.861Z] Step 30/36 : EXPOSE 59983 [2023-07-25T18:10:19.861Z] ---> Running in 12f9408abf62 [2023-07-25T18:10:19.861Z] Removing intermediate container 12f9408abf62 [2023-07-25T18:10:19.861Z] ---> 8de9472a0459 [2023-07-25T18:10:19.861Z] Step 31/36 : EXPOSE 8554 [2023-07-25T18:10:19.861Z] ---> Running in 0ad21e0350f4 [2023-07-25T18:10:20.119Z] Removing intermediate container 0ad21e0350f4 [2023-07-25T18:10:20.119Z] ---> 6defeffb0fdb [2023-07-25T18:10:20.119Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-25T18:10:20.119Z] ---> Running in 2f58fd6338eb [2023-07-25T18:10:20.119Z] Removing intermediate container 2f58fd6338eb [2023-07-25T18:10:20.119Z] ---> 04ddaaf2889a [2023-07-25T18:10:20.119Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-25T18:10:20.119Z] ---> Running in db0ac5c6ed77 [2023-07-25T18:10:20.119Z] Removing intermediate container db0ac5c6ed77 [2023-07-25T18:10:20.119Z] ---> bc6e101db95c [2023-07-25T18:10:20.119Z] Step 34/36 : LABEL arch=amd64 [2023-07-25T18:10:20.119Z] ---> Running in 3f2998411114 [2023-07-25T18:10:20.377Z] Removing intermediate container 3f2998411114 [2023-07-25T18:10:20.377Z] ---> 9c6149c17fef [2023-07-25T18:10:20.377Z] Step 35/36 : LABEL git_sha=d17106607db89530e4e0b5bc8b7f530778fb0886 [2023-07-25T18:10:20.377Z] ---> Running in 16aac681d5c5 [2023-07-25T18:10:20.377Z] Removing intermediate container 16aac681d5c5 [2023-07-25T18:10:20.377Z] ---> 28316c0161f6 [2023-07-25T18:10:20.377Z] Step 36/36 : LABEL version=0.0.0 [2023-07-25T18:10:20.377Z] ---> Running in 2cec9659827f [2023-07-25T18:10:20.377Z] Removing intermediate container 2cec9659827f [2023-07-25T18:10:20.377Z] ---> ad36b4667a1b [2023-07-25T18:10:20.377Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-25T18:10:20.377Z] Successfully built ad36b4667a1b [2023-07-25T18:10:20.377Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:10:20.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T18:10:20.842Z] [2023-07-25T18:10:20.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:10:21.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T18:10:21.136Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-25T18:10:21.136Z] 5eb5b503b376: Pulling fs layer [2023-07-25T18:10:21.136Z] 5c69ac0246d0: Pulling fs layer [2023-07-25T18:10:21.136Z] ec43610c2a17: Pulling fs layer [2023-07-25T18:10:21.136Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-25T18:10:21.136Z] 33b1e0a273af: Pulling fs layer [2023-07-25T18:10:21.136Z] 5d3b04190fa2: Pulling fs layer [2023-07-25T18:10:21.136Z] 2f39f015ded8: Pulling fs layer [2023-07-25T18:10:21.136Z] 3a2ae6a8a46f: Waiting [2023-07-25T18:10:21.136Z] 33b1e0a273af: Waiting [2023-07-25T18:10:21.137Z] 5d3b04190fa2: Waiting [2023-07-25T18:10:21.137Z] 2f39f015ded8: Waiting [2023-07-25T18:10:21.137Z] 5c69ac0246d0: Verifying Checksum [2023-07-25T18:10:21.137Z] 5c69ac0246d0: Download complete [2023-07-25T18:10:21.137Z] 3a2ae6a8a46f: Download complete [2023-07-25T18:10:21.137Z] 33b1e0a273af: Verifying Checksum [2023-07-25T18:10:21.137Z] 33b1e0a273af: Download complete [2023-07-25T18:10:21.137Z] 5d3b04190fa2: Verifying Checksum [2023-07-25T18:10:21.137Z] 5d3b04190fa2: Download complete [2023-07-25T18:10:21.137Z] ec43610c2a17: Download complete [2023-07-25T18:10:21.265Z] using credential edgex-jenkins-ssh [2023-07-25T18:10:21.283Z] Cloning the remote Git repository [2023-07-25T18:10:21.396Z] 5eb5b503b376: Download complete [2023-07-25T18:10:21.962Z] 2f39f015ded8: Verifying Checksum [2023-07-25T18:10:21.962Z] 2f39f015ded8: Download complete [2023-07-25T18:10:21.355Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-25T18:10:21.509Z] > git init /w/workspace/device-usb-camera/16 # timeout=10 [2023-07-25T18:10:21.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-25T18:10:21.729Z] > git --version # timeout=10 [2023-07-25T18:10:21.776Z] > git --version # 'git version 2.25.1' [2023-07-25T18:10:21.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T18:10:22.005Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-25T18:10:22.528Z] 5eb5b503b376: Pull complete [2023-07-25T18:10:22.528Z] 5c69ac0246d0: Pull complete [2023-07-25T18:10:23.092Z] ec43610c2a17: Pull complete [2023-07-25T18:10:23.092Z] 3a2ae6a8a46f: Pull complete [2023-07-25T18:10:23.350Z] 33b1e0a273af: Pull complete [2023-07-25T18:10:23.350Z] 5d3b04190fa2: Pull complete [2023-07-25T18:10:22.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-25T18:10:22.944Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-25T18:10:26.990Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit d17106607db89530e4e0b5bc8b7f530778fb0886 [2023-07-25T18:10:26.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-25T18:10:26.169Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-25T18:10:26.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T18:10:26.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-25T18:10:27.009Z] > git config core.sparsecheckout # timeout=10 [2023-07-25T18:10:27.089Z] > git checkout -f d17106607db89530e4e0b5bc8b7f530778fb0886 # timeout=10 [2023-07-25T18:10:27.174Z] > git remote # timeout=10 [2023-07-25T18:10:27.204Z] > git config --get remote.origin.url # timeout=10 [2023-07-25T18:10:27.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-25T18:10:27.254Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-25T18:10:27.466Z] Merge succeeded, producing d17106607db89530e4e0b5bc8b7f530778fb0886 [2023-07-25T18:10:27.466Z] Checking out Revision d17106607db89530e4e0b5bc8b7f530778fb0886 (PR-265) [2023-07-25T18:10:27.530Z] 2f39f015ded8: Pull complete [2023-07-25T18:10:27.531Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-25T18:10:27.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T18:10:27.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:10:27.620Z] prd-ubuntu20.04-docker-8c-8g-2114 does not seem to be running inside a container [2023-07-25T18:10:27.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-25T18:10:28.411Z] Commit message: "feat: updated an error message to make it more user friendly" [2023-07-25T18:10:28.857Z] [2023-07-25T18:10:28.857Z] GitHub has been notified of this commit’s build result [2023-07-25T18:10:28.857Z] [2023-07-25T18:10:27.383Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-25T18:10:27.476Z] > git config core.sparsecheckout # timeout=10 [2023-07-25T18:10:27.540Z] > git checkout -f d17106607db89530e4e0b5bc8b7f530778fb0886 # timeout=10 [2023-07-25T18:10:31.974Z] $ docker top 32540054e45f2aab3dbe3da4eaf20d800886fa3305e600bdae00053872d424d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T18:10:32.368Z] ---> job-cost.sh [2023-07-25T18:10:32.368Z] lf-activate-venv: SKIPPING [2023-07-25T18:10:32.368Z] INFO: No Stack... [2023-07-25T18:10:32.626Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-25T18:10:32.886Z] INFO: Archiving Costs [Pipeline] sh [2023-07-25T18:10:33.122Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-25T18:10:33.122Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T18:10:33.122Z] Dload Upload Total Spent Left Speed [2023-07-25T18:10:33.122Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 71 12751 71 9095 0 0 53816 0 --:--:-- --:--:-- --:--:-- 53500 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74133 [2023-07-25T18:10:33.183Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-25T18:10:33.183Z] + cut -d, -f6 [Pipeline] lock [2023-07-25T18:10:33.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] [2023-07-25T18:10:33.203Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] did not exist. Created. [2023-07-25T18:10:33.203Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-25T18:10:33.500Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-25T18:10:33.525Z] Stashed 1 file(s) [Pipeline] } [2023-07-25T18:10:33.531Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-25T18:10:33.550Z] $ docker stop --time=1 32540054e45f2aab3dbe3da4eaf20d800886fa3305e600bdae00053872d424d1 [2023-07-25T18:10:34.697Z] $ docker rm -f --volumes 32540054e45f2aab3dbe3da4eaf20d800886fa3305e600bdae00053872d424d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-25T18:10:35.079Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-25T18:10:35.451Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-25T18:10:35.451Z] + sudo tee /etc/docker/daemon.new [2023-07-25T18:10:35.451Z] { [2023-07-25T18:10:35.451Z] "registry-mirrors": [ [2023-07-25T18:10:35.451Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-25T18:10:35.451Z] ], [2023-07-25T18:10:35.451Z] "bip": "10.250.0.254/24", [2023-07-25T18:10:35.451Z] "hosts": [ [2023-07-25T18:10:35.451Z] "tcp://0.0.0.0:5555", [2023-07-25T18:10:35.451Z] "unix:///var/run/docker.sock" [2023-07-25T18:10:35.451Z] ], [2023-07-25T18:10:35.451Z] "mtu": 1458, [2023-07-25T18:10:35.451Z] "selinux-enabled": true, [2023-07-25T18:10:35.451Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-25T18:10:35.451Z] } [Pipeline] sh [2023-07-25T18:10:35.839Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-25T18:10:36.167Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T18:10:58.316Z] provisioning config files... [2023-07-25T18:10:58.340Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/16@tmp/config9019771150156940337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:10:58.692Z] ---> docker-login.sh [2023-07-25T18:10:58.693Z] nexus3.edgexfoundry.org:10001 [2023-07-25T18:10:58.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:10:59.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:10:59.235Z] Configure a credential helper to remove this warning. See [2023-07-25T18:10:59.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:10:59.235Z] [2023-07-25T18:10:59.235Z] Login Succeeded [2023-07-25T18:10:59.235Z] nexus3.edgexfoundry.org:10002 [2023-07-25T18:10:59.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:10:59.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:10:59.505Z] Configure a credential helper to remove this warning. See [2023-07-25T18:10:59.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:10:59.505Z] [2023-07-25T18:10:59.505Z] Login Succeeded [2023-07-25T18:10:59.505Z] nexus3.edgexfoundry.org:10003 [2023-07-25T18:10:59.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:11:00.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:11:00.042Z] Configure a credential helper to remove this warning. See [2023-07-25T18:11:00.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:11:00.042Z] [2023-07-25T18:11:00.042Z] Login Succeeded [2023-07-25T18:11:00.042Z] nexus3.edgexfoundry.org:10004 [2023-07-25T18:11:00.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:11:00.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:11:00.314Z] Configure a credential helper to remove this warning. See [2023-07-25T18:11:00.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:11:00.314Z] [2023-07-25T18:11:00.314Z] Login Succeeded [2023-07-25T18:11:00.314Z] docker.io [2023-07-25T18:11:00.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-25T18:11:00.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-25T18:11:00.848Z] Configure a credential helper to remove this warning. See [2023-07-25T18:11:00.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-25T18:11:00.848Z] [2023-07-25T18:11:00.848Z] Login Succeeded [2023-07-25T18:11:00.848Z] ---> docker-login.sh ends [Pipeline] } [2023-07-25T18:11:00.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-25T18:11:01.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T18:11:01.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-25T18:11:01.119Z] ========================================================= [2023-07-25T18:11:01.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-25T18:11:01.119Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:11:01.455Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-25T18:11:01.721Z] Sending build context to Docker daemon 1.252MB [2023-07-25T18:11:01.721Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T18:11:01.721Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-25T18:11:01.990Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-25T18:11:01.990Z] edb6bdbacee9: Pulling fs layer [2023-07-25T18:11:01.990Z] 5f9638ab2659: Pulling fs layer [2023-07-25T18:11:01.990Z] 8d51d6327a98: Pulling fs layer [2023-07-25T18:11:01.990Z] 8b374f2dd631: Pulling fs layer [2023-07-25T18:11:01.990Z] ec14aa9079de: Pulling fs layer [2023-07-25T18:11:01.990Z] 2f466654f4bb: Pulling fs layer [2023-07-25T18:11:01.990Z] 554e91adad29: Pulling fs layer [2023-07-25T18:11:01.990Z] ec14aa9079de: Waiting [2023-07-25T18:11:01.990Z] 2f466654f4bb: Waiting [2023-07-25T18:11:01.990Z] 8b374f2dd631: Waiting [2023-07-25T18:11:01.990Z] 554e91adad29: Waiting [2023-07-25T18:11:01.990Z] 5f9638ab2659: Verifying Checksum [2023-07-25T18:11:01.990Z] 5f9638ab2659: Download complete [2023-07-25T18:11:01.990Z] 8b374f2dd631: Verifying Checksum [2023-07-25T18:11:01.990Z] 8b374f2dd631: Download complete [2023-07-25T18:11:01.990Z] ec14aa9079de: Verifying Checksum [2023-07-25T18:11:01.990Z] ec14aa9079de: Download complete [2023-07-25T18:11:01.990Z] edb6bdbacee9: Verifying Checksum [2023-07-25T18:11:01.990Z] edb6bdbacee9: Download complete [2023-07-25T18:11:02.972Z] edb6bdbacee9: Pull complete [2023-07-25T18:11:03.255Z] 554e91adad29: Verifying Checksum [2023-07-25T18:11:03.255Z] 554e91adad29: Download complete [2023-07-25T18:11:03.526Z] 5f9638ab2659: Pull complete [2023-07-25T18:11:04.505Z] 2f466654f4bb: Verifying Checksum [2023-07-25T18:11:04.505Z] 2f466654f4bb: Download complete [2023-07-25T18:11:04.505Z] 8d51d6327a98: Verifying Checksum [2023-07-25T18:11:04.505Z] 8d51d6327a98: Download complete [2023-07-25T18:11:16.840Z] 8d51d6327a98: Pull complete [2023-07-25T18:11:16.840Z] 8b374f2dd631: Pull complete [2023-07-25T18:11:16.840Z] ec14aa9079de: Pull complete [2023-07-25T18:11:22.235Z] 2f466654f4bb: Pull complete [2023-07-25T18:11:24.831Z] 554e91adad29: Pull complete [2023-07-25T18:11:24.831Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-25T18:11:24.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-25T18:11:24.831Z] ---> 1e15ea492957 [2023-07-25T18:11:24.831Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-25T18:11:26.248Z] ---> Running in 936e12366182 [2023-07-25T18:11:26.249Z] Removing intermediate container 936e12366182 [2023-07-25T18:11:26.249Z] ---> 3cc03fa3f658 [2023-07-25T18:11:26.249Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T18:11:26.249Z] ---> Running in 95a5288c0eb5 [2023-07-25T18:11:26.517Z] Removing intermediate container 95a5288c0eb5 [2023-07-25T18:11:26.517Z] ---> 6d54ba216aaf [2023-07-25T18:11:26.517Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T18:11:26.517Z] ---> Running in a8859d691399 [2023-07-25T18:11:26.787Z] Removing intermediate container a8859d691399 [2023-07-25T18:11:26.787Z] ---> 2dde1ac399a2 [2023-07-25T18:11:26.787Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T18:11:26.787Z] ---> Running in a0b8ba344efd [2023-07-25T18:11:27.055Z] Removing intermediate container a0b8ba344efd [2023-07-25T18:11:27.055Z] ---> 33db4a0c0873 [2023-07-25T18:11:27.055Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T18:11:27.324Z] ---> Running in 370699aaa06a [2023-07-25T18:11:28.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-25T18:11:28.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-25T18:11:29.840Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-25T18:11:29.840Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-25T18:11:29.840Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T18:11:29.840Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T18:11:29.840Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-25T18:11:29.840Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-25T18:11:29.840Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-25T18:11:29.840Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-25T18:11:29.840Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-25T18:11:29.840Z] (10/14) Installing kmod-libs (30-r1) [2023-07-25T18:11:29.840Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-25T18:11:29.840Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-25T18:11:29.840Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-25T18:11:30.105Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-25T18:11:30.105Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T18:11:30.105Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T18:11:30.105Z] OK: 271 MiB in 67 packages [2023-07-25T18:11:34.364Z] Removing intermediate container 370699aaa06a [2023-07-25T18:11:34.364Z] ---> c1bc25a00aa9 [2023-07-25T18:11:34.364Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-25T18:11:34.364Z] ---> Running in 19d0ae690665 [2023-07-25T18:11:34.668Z] Removing intermediate container 19d0ae690665 [2023-07-25T18:11:34.668Z] ---> c0455e5ccc81 [2023-07-25T18:11:34.668Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-25T18:11:35.293Z] ---> b61c8a0eead2 [2023-07-25T18:11:35.293Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T18:11:35.293Z] ---> Running in d8a5b1cc90cd [2023-07-25T18:12:43.193Z] Removing intermediate container d8a5b1cc90cd [2023-07-25T18:12:43.193Z] ---> 99e937ec8ff1 [2023-07-25T18:12:43.193Z] Step 11/13 : COPY . . [2023-07-25T18:12:43.193Z] ---> 72a584a7be53 [2023-07-25T18:12:43.193Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T18:12:43.193Z] ---> Running in 7b91c2d3bc6b [2023-07-25T18:12:43.193Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T18:12:43.193Z] Dload Upload Total Spent Left Speed [2023-07-25T18:12:43.193Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062 0 0 4518 0 --:--:-- --:--:-- --:--:-- 4538 [2023-07-25T18:12:43.193Z] Removing intermediate container 7b91c2d3bc6b [2023-07-25T18:12:43.193Z] ---> 3eddf25944bd [2023-07-25T18:12:43.193Z] Step 13/13 : RUN ${MAKE} [2023-07-25T18:12:43.193Z] ---> Running in b3a2d5aff205 [2023-07-25T18:12:43.193Z] noop [2023-07-25T18:12:43.193Z] Removing intermediate container b3a2d5aff205 [2023-07-25T18:12:43.193Z] ---> 997ed59e4cee [2023-07-25T18:12:43.193Z] Successfully built 997ed59e4cee [2023-07-25T18:12:43.193Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:12:43.545Z] + docker inspect -f . ci-base-image-arm64 [2023-07-25T18:12:43.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:12:43.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-2115 does not seem to be running inside a container [2023-07-25T18:12:43.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-25T18:12:44.986Z] $ docker top c713008adc599c68614786163214069da18f9726258bef8c0d7bac95e07e36f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T18:12:45.807Z] + go version [2023-07-25T18:12:45.807Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-25T18:12:45.827Z] $ docker stop --time=1 c713008adc599c68614786163214069da18f9726258bef8c0d7bac95e07e36f8 [2023-07-25T18:12:47.449Z] $ docker rm -f --volumes c713008adc599c68614786163214069da18f9726258bef8c0d7bac95e07e36f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:12:47.974Z] + docker inspect -f . ci-base-image-arm64 [2023-07-25T18:12:47.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:12:48.148Z] prd-ubuntu20.04-docker-arm64-4c-16g-2115 does not seem to be running inside a container [2023-07-25T18:12:48.208Z] $ 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/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-25T18:12:49.325Z] $ docker top 88dac62a62f865bf73ca4ac0d3dde05d6aa49fcda9c11f661e3ee27901feaa3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T18:12:49.821Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/16 [Pipeline] fileExists [Pipeline] sh [2023-07-25T18:12:50.151Z] + make test [2023-07-25T18:12:50.419Z] go test ./... -coverprofile=coverage.out ./... [2023-07-25T18:13:22.655Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-25T18:15:14.347Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-25T18:15:14.347Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.082s coverage: 3.6% of statements [2023-07-25T18:15:14.347Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-25T18:15:14.347Z] go vet ./... [2023-07-25T18:15:36.428Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-25T18:15:36.428Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-25T18:15:36.428Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-25T18:15:36.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-25T18:15:36.459Z] $ docker stop --time=1 88dac62a62f865bf73ca4ac0d3dde05d6aa49fcda9c11f661e3ee27901feaa3d [2023-07-25T18:15:38.251Z] $ docker rm -f --volumes 88dac62a62f865bf73ca4ac0d3dde05d6aa49fcda9c11f661e3ee27901feaa3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-25T18:15:39.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-25T18:15:39.363Z] Warning: overwriting stash ‘coverage-report’ [2023-07-25T18:15:39.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-25T18:15:40.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-25T18:15:40.504Z] + ls -al . [2023-07-25T18:15:40.504Z] total 200 [2023-07-25T18:15:40.504Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 18:12 . [2023-07-25T18:15:40.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:10 .. [2023-07-25T18:15:40.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 18:10 .git [2023-07-25T18:15:40.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:10 .github [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 25 18:10 .gitignore [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 25 18:10 .golangci.yml [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 25 18:10 .hadolint.yml [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jul 25 18:10 Attribution.txt [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jul 25 18:10 CHANGELOG.md [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 25 18:10 Dockerfile [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 25 18:10 GOVERNANCE.md [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 25 18:10 Jenkinsfile [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 25 18:10 LICENSE [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jul 25 18:10 Makefile [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 18:10 OWNERS.md [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 25 18:10 README.md [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 18:08 VERSION [2023-07-25T18:15:40.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:10 bin [2023-07-25T18:15:40.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:10 cmd [2023-07-25T18:15:40.504Z] -rw-r--r-- 1 jenkins jenkins 42931 Jul 25 18:15 coverage.out [2023-07-25T18:15:40.504Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 25 18:10 docker-entrypoint.sh [2023-07-25T18:15:40.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 18:10 docs [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jul 25 18:10 go.mod [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jul 25 18:10 go.sum [2023-07-25T18:15:40.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 18:10 internal [2023-07-25T18:15:40.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 18:10 snap [2023-07-25T18:15:40.504Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 25 18:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:15:40.845Z] + 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=d17106607db89530e4e0b5bc8b7f530778fb0886 --label arch=arm64 --label version=0.0.0 . [2023-07-25T18:15:41.112Z] Sending build context to Docker daemon 1.295MB [2023-07-25T18:15:41.112Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-07-25T18:15:41.112Z] Step 2/36 : FROM ${BASE} AS builder [2023-07-25T18:15:41.112Z] ---> 997ed59e4cee [2023-07-25T18:15:41.112Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-07-25T18:15:41.379Z] ---> Running in d34bf4eb315f [2023-07-25T18:15:41.647Z] Removing intermediate container d34bf4eb315f [2023-07-25T18:15:41.647Z] ---> 04725d83e079 [2023-07-25T18:15:41.647Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-25T18:15:41.647Z] ---> Running in 639f98e4d8a6 [2023-07-25T18:15:41.915Z] Removing intermediate container 639f98e4d8a6 [2023-07-25T18:15:41.915Z] ---> 5eccc2f66db3 [2023-07-25T18:15:41.915Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-25T18:15:41.915Z] ---> Running in 04dd0a194d8b [2023-07-25T18:15:42.182Z] Removing intermediate container 04dd0a194d8b [2023-07-25T18:15:42.182Z] ---> 5855f5d197b4 [2023-07-25T18:15:42.182Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-25T18:15:42.449Z] ---> Running in 0154331e975a [2023-07-25T18:15:42.717Z] Removing intermediate container 0154331e975a [2023-07-25T18:15:42.717Z] ---> bbfd25d2af1b [2023-07-25T18:15:42.717Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-25T18:15:42.717Z] ---> Running in 10647673e8a1 [2023-07-25T18:15:43.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-25T18:15:44.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-25T18:15:45.212Z] OK: 271 MiB in 67 packages [2023-07-25T18:15:46.173Z] Removing intermediate container 10647673e8a1 [2023-07-25T18:15:46.173Z] ---> cba4266eb34d [2023-07-25T18:15:46.173Z] Step 8/36 : WORKDIR /device-usb-camera [2023-07-25T18:15:46.173Z] ---> Running in b197619ba1f1 [2023-07-25T18:15:46.450Z] Removing intermediate container b197619ba1f1 [2023-07-25T18:15:46.450Z] ---> 33f97686bda8 [2023-07-25T18:15:46.450Z] Step 9/36 : COPY go.mod vendor* ./ [2023-07-25T18:15:47.033Z] ---> bf23a5810634 [2023-07-25T18:15:47.033Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-25T18:15:47.033Z] ---> Running in 50d174e69f9d [2023-07-25T18:15:50.369Z] Removing intermediate container 50d174e69f9d [2023-07-25T18:15:50.369Z] ---> 6019809d27ec [2023-07-25T18:15:50.369Z] Step 11/36 : COPY . . [2023-07-25T18:15:51.331Z] ---> 2cc9ba23c0e9 [2023-07-25T18:15:51.331Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-25T18:15:51.331Z] ---> Running in 66cb34e49e9c [2023-07-25T18:15:52.293Z]  % Total  % Received % Xferd Average Speed Time  Time Time Current [2023-07-25T18:15:52.293Z]  Dload Upload Total Spent  Left Speed [2023-07-25T18:15:52.561Z] 0 0 0  0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2876 0 --:--:-- --:--:-- --:--:-- 2885 [2023-07-25T18:15:53.147Z] Removing intermediate container 66cb34e49e9c [2023-07-25T18:15:53.147Z] ---> 037ea5285070 [2023-07-25T18:15:53.147Z] Step 13/36 : RUN ${MAKE} [2023-07-25T18:15:53.414Z] ---> Running in 8198037caafb [2023-07-25T18:15:54.387Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-07-25T18:18:31.105Z] Removing intermediate container 8198037caafb [2023-07-25T18:18:31.105Z] ---> e75cb5367d0e [2023-07-25T18:18:31.105Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-07-25T18:18:31.105Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-07-25T18:18:31.105Z] 8766b47fe142: Pulling fs layer [2023-07-25T18:18:31.105Z] 8766b47fe142: Download complete [2023-07-25T18:18:31.105Z] 8766b47fe142: Pull complete [2023-07-25T18:18:31.105Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-07-25T18:18:31.105Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-07-25T18:18:31.105Z] ---> 69d40e2cb93c [2023-07-25T18:18:31.105Z] Step 15/36 : FROM alpine:3.17 [2023-07-25T18:18:31.105Z] 3.17: Pulling from library/alpine [2023-07-25T18:18:31.105Z] edb6bdbacee9: Already exists [2023-07-25T18:18:31.105Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-25T18:18:31.105Z] Status: Downloaded newer image for alpine:3.17 [2023-07-25T18:18:31.105Z] ---> 779605e5fbc0 [2023-07-25T18:18:31.105Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-25T18:18:31.105Z] ---> Running in a7dcf3340140 [2023-07-25T18:18:31.105Z] Removing intermediate container a7dcf3340140 [2023-07-25T18:18:31.105Z] ---> f8c23151b987 [2023-07-25T18:18:31.105Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-07-25T18:18:31.105Z] ---> Running in 9a00bbaeac25 [2023-07-25T18:18:31.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-25T18:18:31.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-25T18:18:31.105Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-07-25T18:18:31.105Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-07-25T18:18:31.105Z] (3/83) Installing libxau (1.0.10-r0) [2023-07-25T18:18:31.105Z] (4/83) Installing libmd (1.0.4-r0) [2023-07-25T18:18:31.105Z] (5/83) Installing libbsd (0.11.7-r0) [2023-07-25T18:18:31.105Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-07-25T18:18:31.105Z] (7/83) Installing libxcb (1.15-r0) [2023-07-25T18:18:31.105Z] (8/83) Installing libx11 (1.8.4-r1) [2023-07-25T18:18:31.105Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-07-25T18:18:31.105Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-07-25T18:18:31.105Z] (11/83) Installing libexpat (2.5.0-r0) [2023-07-25T18:18:31.105Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-07-25T18:18:31.105Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-07-25T18:18:31.105Z] (14/83) Installing libpng (1.6.38-r0) [2023-07-25T18:18:31.105Z] (15/83) Installing freetype (2.12.1-r0) [2023-07-25T18:18:31.105Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-07-25T18:18:31.105Z] (17/83) Installing fribidi (1.0.12-r0) [2023-07-25T18:18:31.105Z] (18/83) Installing libffi (3.4.4-r0) [2023-07-25T18:18:31.105Z] (19/83) Installing libintl (0.21.1-r1) [2023-07-25T18:18:31.105Z] (20/83) Installing libblkid (2.38.1-r1) [2023-07-25T18:18:31.105Z] (21/83) Installing libmount (2.38.1-r1) [2023-07-25T18:18:31.105Z] (22/83) Installing pcre2 (10.42-r0) [2023-07-25T18:18:31.105Z] (23/83) Installing glib (2.74.7-r0) [2023-07-25T18:18:31.105Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-07-25T18:18:31.105Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-07-25T18:18:31.105Z] (26/83) Installing libass (0.16.0-r1) [2023-07-25T18:18:31.105Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-07-25T18:18:31.105Z] (28/83) Installing libdrm (2.4.114-r0) [2023-07-25T18:18:31.105Z] (29/83) Installing gmp (6.2.1-r2) [2023-07-25T18:18:31.105Z] (30/83) Installing nettle (3.8.1-r0) [2023-07-25T18:18:31.105Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-07-25T18:18:31.105Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-07-25T18:18:31.105Z] (33/83) Installing libunistring (1.1-r0) [2023-07-25T18:18:31.106Z] (34/83) Installing gnutls (3.7.8-r3) [2023-07-25T18:18:31.106Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-07-25T18:18:31.106Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-07-25T18:18:31.106Z] (37/83) Installing lame (3.100-r2) [2023-07-25T18:18:31.106Z] (38/83) Installing opus (1.3.1-r1) [2023-07-25T18:18:31.106Z] (39/83) Installing libasyncns (0.8-r1) [2023-07-25T18:18:31.106Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-07-25T18:18:31.106Z] (41/83) Installing libltdl (2.4.7-r1) [2023-07-25T18:18:31.106Z] (42/83) Installing orc (0.4.33-r0) [2023-07-25T18:18:31.106Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-07-25T18:18:31.106Z] (44/83) Installing libogg (1.3.5-r2) [2023-07-25T18:18:31.106Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-25T18:18:31.106Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-07-25T18:18:31.106Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-07-25T18:18:31.106Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-07-25T18:18:31.106Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-07-25T18:18:31.106Z] (50/83) Installing soxr (0.1.3-r3) [2023-07-25T18:18:31.106Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-07-25T18:18:31.106Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-07-25T18:18:31.106Z] (53/83) Installing libpulse (16.1-r6) [2023-07-25T18:18:31.106Z] (54/83) Installing cjson (1.7.15-r3) [2023-07-25T18:18:31.106Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-07-25T18:18:31.106Z] (56/83) Installing librist (0.2.7-r0) [2023-07-25T18:18:31.106Z] (57/83) Installing libsrt (1.5.1-r0) [2023-07-25T18:18:31.106Z] (58/83) Installing libssh (0.10.5-r0) [2023-07-25T18:18:31.106Z] (59/83) Installing libtheora (1.1.1-r16) [2023-07-25T18:18:31.106Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-07-25T18:18:31.106Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-07-25T18:18:31.106Z] (62/83) Installing libxext (1.3.5-r0) [2023-07-25T18:18:31.106Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-07-25T18:18:31.106Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-07-25T18:18:31.106Z] (65/83) Installing libva (2.16.0-r0) [2023-07-25T18:18:31.106Z] (66/83) Installing libvdpau (1.5-r0) [2023-07-25T18:18:31.106Z] (67/83) Installing vidstab (1.1.0-r2) [2023-07-25T18:18:31.106Z] (68/83) Installing libvpx (1.12.0-r1) [2023-07-25T18:18:31.106Z] (69/83) Installing libwebp (1.2.4-r2) [2023-07-25T18:18:31.106Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-07-25T18:18:31.106Z] (71/83) Installing numactl (2.0.16-r1) [2023-07-25T18:18:31.106Z] (72/83) Installing x265-libs (3.5-r3) [2023-07-25T18:18:31.106Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-07-25T18:18:31.106Z] (74/83) Installing libsodium (1.0.18-r2) [2023-07-25T18:18:31.106Z] (75/83) Installing libzmq (4.3.4-r1) [2023-07-25T18:18:31.106Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-07-25T18:18:31.106Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-07-25T18:18:31.106Z] (78/83) Installing udev-init-scripts (35-r1) [2023-07-25T18:18:31.106Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-07-25T18:18:31.106Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-07-25T18:18:31.106Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-07-25T18:18:31.106Z] (82/83) Installing kmod-libs (30-r1) [2023-07-25T18:18:31.106Z] (83/83) Installing eudev (3.2.11-r4) [2023-07-25T18:18:31.106Z] Executing busybox-1.35.0-r29.trigger [2023-07-25T18:18:31.106Z] Executing eudev-3.2.11-r4.trigger [2023-07-25T18:18:31.106Z] OK: 86 MiB in 98 packages [2023-07-25T18:18:31.106Z] Removing intermediate container 9a00bbaeac25 [2023-07-25T18:18:31.106Z] ---> 95a31fb7dff1 [2023-07-25T18:18:31.106Z] Step 18/36 : WORKDIR / [2023-07-25T18:18:31.106Z] ---> Running in 681a4f9bf8c7 [2023-07-25T18:18:31.106Z] Removing intermediate container 681a4f9bf8c7 [2023-07-25T18:18:31.106Z] ---> 66c849038bfa [2023-07-25T18:18:31.106Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-07-25T18:18:31.106Z] ---> 2e02a23eea1a [2023-07-25T18:18:31.106Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-07-25T18:18:31.372Z] ---> 04677bf258b8 [2023-07-25T18:18:31.372Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-07-25T18:18:31.958Z] ---> b995217644d0 [2023-07-25T18:18:31.958Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-07-25T18:18:32.542Z] ---> 04ddfe8bfbad [2023-07-25T18:18:32.543Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-07-25T18:18:33.129Z] ---> 94057def6609 [2023-07-25T18:18:33.129Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-07-25T18:18:33.399Z] ---> e53a56b6f61b [2023-07-25T18:18:33.399Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-07-25T18:18:35.351Z] ---> a56081fefe57 [2023-07-25T18:18:35.351Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-07-25T18:18:35.351Z] ---> Running in 3ddfb4a9135f [2023-07-25T18:18:36.762Z] Removing intermediate container 3ddfb4a9135f [2023-07-25T18:18:36.762Z] ---> 2127ddb8818c [2023-07-25T18:18:36.762Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-07-25T18:18:36.762Z] ---> Running in 8a0f25b9d120 [2023-07-25T18:18:38.251Z] Removing intermediate container 8a0f25b9d120 [2023-07-25T18:18:38.251Z] ---> 3d5d994b566d [2023-07-25T18:18:38.251Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-07-25T18:18:38.550Z] ---> Running in 9deaa408868c [2023-07-25T18:18:41.912Z] Removing intermediate container 9deaa408868c [2023-07-25T18:18:41.912Z] ---> 6c82a7267cb8 [2023-07-25T18:18:41.912Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-07-25T18:18:41.912Z] ---> Running in d1897f094358 [2023-07-25T18:18:43.318Z] Removing intermediate container d1897f094358 [2023-07-25T18:18:43.318Z] ---> 719925855058 [2023-07-25T18:18:43.318Z] Step 30/36 : EXPOSE 59983 [2023-07-25T18:18:43.318Z] ---> Running in a70b7ed3a237 [2023-07-25T18:18:43.318Z] Removing intermediate container a70b7ed3a237 [2023-07-25T18:18:43.318Z] ---> 4109eeb40b48 [2023-07-25T18:18:43.318Z] Step 31/36 : EXPOSE 8554 [2023-07-25T18:18:43.584Z] ---> Running in 00129cbbd718 [2023-07-25T18:18:43.852Z] Removing intermediate container 00129cbbd718 [2023-07-25T18:18:43.852Z] ---> 9a0cf14c6593 [2023-07-25T18:18:43.852Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-07-25T18:18:43.852Z] ---> Running in 1870f0ff99c1 [2023-07-25T18:18:44.120Z] Removing intermediate container 1870f0ff99c1 [2023-07-25T18:18:44.120Z] ---> 30629bb14615 [2023-07-25T18:18:44.120Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-07-25T18:18:44.120Z] ---> Running in c7a594802563 [2023-07-25T18:18:44.391Z] Removing intermediate container c7a594802563 [2023-07-25T18:18:44.391Z] ---> 93a9046271c2 [2023-07-25T18:18:44.391Z] Step 34/36 : LABEL arch=arm64 [2023-07-25T18:18:44.660Z] ---> Running in 9cc80d2831b2 [2023-07-25T18:18:44.929Z] Removing intermediate container 9cc80d2831b2 [2023-07-25T18:18:44.929Z] ---> 050c6eb1315e [2023-07-25T18:18:44.929Z] Step 35/36 : LABEL git_sha=d17106607db89530e4e0b5bc8b7f530778fb0886 [2023-07-25T18:18:44.929Z] ---> Running in 5de006f05424 [2023-07-25T18:18:45.196Z] Removing intermediate container 5de006f05424 [2023-07-25T18:18:45.196Z] ---> 0b8812366a41 [2023-07-25T18:18:45.196Z] Step 36/36 : LABEL version=0.0.0 [2023-07-25T18:18:45.196Z] ---> Running in 66f837483407 [2023-07-25T18:18:45.462Z] Removing intermediate container 66f837483407 [2023-07-25T18:18:45.462Z] ---> 1661cf7bf33f [2023-07-25T18:18:45.462Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-25T18:18:45.462Z] Successfully built 1661cf7bf33f [2023-07-25T18:18:45.462Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:18:45.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T18:18:45.910Z] [2023-07-25T18:18:45.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:18:46.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T18:18:46.246Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-25T18:18:46.246Z] 8998bd30e6a1: Pulling fs layer [2023-07-25T18:18:46.246Z] 04944245beec: Pulling fs layer [2023-07-25T18:18:46.246Z] 699f458cf7ca: Pulling fs layer [2023-07-25T18:18:46.246Z] 765212b225bb: Pulling fs layer [2023-07-25T18:18:46.246Z] f23df028b6ca: Pulling fs layer [2023-07-25T18:18:46.246Z] d65c8cfc05b1: Pulling fs layer [2023-07-25T18:18:46.246Z] 2437ff75d9bd: Pulling fs layer [2023-07-25T18:18:46.246Z] f23df028b6ca: Waiting [2023-07-25T18:18:46.246Z] d65c8cfc05b1: Waiting [2023-07-25T18:18:46.246Z] 765212b225bb: Waiting [2023-07-25T18:18:46.246Z] 2437ff75d9bd: Waiting [2023-07-25T18:18:46.514Z] 04944245beec: Verifying Checksum [2023-07-25T18:18:46.514Z] 04944245beec: Download complete [2023-07-25T18:18:46.514Z] 765212b225bb: Verifying Checksum [2023-07-25T18:18:46.514Z] 765212b225bb: Download complete [2023-07-25T18:18:46.514Z] f23df028b6ca: Verifying Checksum [2023-07-25T18:18:46.514Z] f23df028b6ca: Download complete [2023-07-25T18:18:46.514Z] d65c8cfc05b1: Verifying Checksum [2023-07-25T18:18:46.514Z] d65c8cfc05b1: Download complete [2023-07-25T18:18:46.782Z] 699f458cf7ca: Verifying Checksum [2023-07-25T18:18:46.782Z] 699f458cf7ca: Download complete [2023-07-25T18:18:47.051Z] 8998bd30e6a1: Verifying Checksum [2023-07-25T18:18:47.051Z] 8998bd30e6a1: Download complete [2023-07-25T18:18:49.634Z] 2437ff75d9bd: Verifying Checksum [2023-07-25T18:18:49.634Z] 2437ff75d9bd: Download complete [2023-07-25T18:18:51.051Z] 8998bd30e6a1: Pull complete [2023-07-25T18:18:51.328Z] 04944245beec: Pull complete [2023-07-25T18:18:54.662Z] 699f458cf7ca: Pull complete [2023-07-25T18:18:54.662Z] 765212b225bb: Pull complete [2023-07-25T18:18:55.245Z] f23df028b6ca: Pull complete [2023-07-25T18:18:55.512Z] d65c8cfc05b1: Pull complete [2023-07-25T18:19:07.810Z] 2437ff75d9bd: Pull complete [2023-07-25T18:19:07.810Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-25T18:19:07.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-25T18:19:07.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:19:07.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-2115 does not seem to be running inside a container [2023-07-25T18:19:08.058Z] $ 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/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-25T18:19:10.657Z] $ docker top 32af6a9f1624fb5f00e45efa5ee93dbedf7f7c4659774426f90e94e615599729 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:11.486Z] ---> job-cost.sh [2023-07-25T18:19:11.486Z] lf-activate-venv: SKIPPING [2023-07-25T18:19:11.486Z] INFO: No Stack... [2023-07-25T18:19:12.067Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-25T18:19:12.647Z] INFO: Archiving Costs [Pipeline] sh [2023-07-25T18:19:12.966Z] + + cut -d,cat -f6 /w/workspace/device-usb-camera/16/archives/cost.csv [2023-07-25T18:19:12.967Z] [Pipeline] lock [2023-07-25T18:19:13.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] [2023-07-25T18:19:13.034Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] did not exist. Created. [2023-07-25T18:19:13.034Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-25T18:19:13.684Z] /w/workspace/device-usb-camera/16@tmp/durable-95265326/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-25T18:19:14.336Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-25T18:19:14.356Z] Warning: overwriting stash ‘stack-cost’ [2023-07-25T18:19:14.417Z] Stashed 1 file(s) [Pipeline] } [2023-07-25T18:19:14.424Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-16-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-25T18:19:14.446Z] $ docker stop --time=1 32af6a9f1624fb5f00e45efa5ee93dbedf7f7c4659774426f90e94e615599729 [2023-07-25T18:19:15.970Z] $ docker rm -f --volumes 32af6a9f1624fb5f00e45efa5ee93dbedf7f7c4659774426f90e94e615599729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-25T18:19:16.385Z] provisioning config files... [2023-07-25T18:19:16.392Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config14211378418313599360tmp [Pipeline] { [Pipeline] sh [2023-07-25T18:19:16.687Z] + set +x [2023-07-25T18:19:16.687Z] + curl -s https://codecov.io/bash [2023-07-25T18:19:16.687Z] + bash -s -- [2023-07-25T18:19:16.687Z] [2023-07-25T18:19:16.687Z] _____ _ [2023-07-25T18:19:16.687Z] / ____| | | [2023-07-25T18:19:16.687Z] | | ___ __| | ___ ___ _____ __ [2023-07-25T18:19:16.687Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-25T18:19:16.687Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-25T18:19:16.687Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-25T18:19:16.687Z] Bash-1.0.6 [2023-07-25T18:19:16.687Z] [2023-07-25T18:19:16.687Z] [2023-07-25T18:19:16.687Z] ==> git version 2.25.1 found [2023-07-25T18:19:16.687Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-25T18:19:16.687Z] Release-Date: 2020-01-08 [2023-07-25T18:19:16.688Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-25T18:19:16.688Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-25T18:19:16.688Z] ==> Jenkins CI detected. [2023-07-25T18:19:16.688Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-265 [2023-07-25T18:19:16.688Z] project root: . [2023-07-25T18:19:16.688Z] --> token set from env [2023-07-25T18:19:16.688Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-25T18:19:16.688Z] ==> Running gcov in . (disable via -X gcov) [2023-07-25T18:19:16.688Z] ==> Python coveragepy not found [2023-07-25T18:19:16.688Z] ==> Searching for coverage reports in: [2023-07-25T18:19:16.688Z] + . [2023-07-25T18:19:16.688Z] -> Found 1 reports [2023-07-25T18:19:16.688Z] ==> Detecting git/mercurial file structure [2023-07-25T18:19:16.947Z] ==> Reading reports [2023-07-25T18:19:16.947Z] + ./coverage.out bytes=42931 [2023-07-25T18:19:16.947Z] ==> Appending adjustments [2023-07-25T18:19:16.947Z] https://docs.codecov.io/docs/fixing-reports [2023-07-25T18:19:16.947Z] + Found adjustments [2023-07-25T18:19:16.947Z] ==> Gzipping contents [2023-07-25T18:19:16.947Z] 8.0K /tmp/codecov.WbdaZR.gz [2023-07-25T18:19:16.947Z] ==> Uploading reports [2023-07-25T18:19:16.947Z] url: https://codecov.io [2023-07-25T18:19:16.947Z] query: branch=PR-265&commit=d17106607db89530e4e0b5bc8b7f530778fb0886&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-25T18:19:16.947Z] -> Pinging Codecov [2023-07-25T18:19:16.947Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=d17106607db89530e4e0b5bc8b7f530778fb0886&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-07-25T18:19:17.205Z] -> Uploading to [2023-07-25T18:19:17.205Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-25/73D8F5FF140700D3E01443B452E23636/d17106607db89530e4e0b5bc8b7f530778fb0886/0b781256-fc80-4d9b-b7d5-0cd2fddc67e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230725%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230725T181916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=041f828d1516b4ac3d918b67c69e6a827f26fd95b24338e1d1d6080b8d305394 [2023-07-25T18:19:17.205Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-25T18:19:17.205Z] Dload Upload Total Spent Left Speed [2023-07-25T18:19:17.466Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5671 0 0 100 5671 0 29847 --:--:-- --:--:-- --:--:-- 29847 [2023-07-25T18:19:17.466Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d17106607db89530e4e0b5bc8b7f530778fb0886 [Pipeline] } [2023-07-25T18:19:17.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-25T18:19:18.204Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-25T18:19:18.204Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-25T18:19:18.204Z] total 16 [2023-07-25T18:19:18.204Z] drwxr-xr-x 3 root root 4096 Jul 25 18:10 . [2023-07-25T18:19:18.204Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 18:10 .. [2023-07-25T18:19:18.204Z] drwxr-xr-x 2 root root 4096 Jul 25 18:10 cost [2023-07-25T18:19:18.204Z] -rw-r--r-- 1 root root 90 Jul 25 18:10 cost.csv [2023-07-25T18:19:18.204Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-25T18:19:18.204Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-25T18:19:18.204Z] total 16 [2023-07-25T18:19:18.204Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 18:10 . [2023-07-25T18:19:18.204Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 18:10 .. [2023-07-25T18:19:18.204Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 18:10 cost [2023-07-25T18:19:18.204Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 25 18:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:18.494Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:19.351Z] ---> package-listing.sh [2023-07-25T18:19:19.351Z] ++ facter osfamily [2023-07-25T18:19:19.351Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-25T18:19:19.611Z] + OS_FAMILY=debian [2023-07-25T18:19:19.611Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-25T18:19:19.611Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-25T18:19:19.611Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-25T18:19:19.611Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-25T18:19:19.611Z] + PACKAGES=/tmp/packages_start.txt [2023-07-25T18:19:19.611Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-25T18:19:19.611Z] + PACKAGES=/tmp/packages_end.txt [2023-07-25T18:19:19.611Z] + case "${OS_FAMILY}" in [2023-07-25T18:19:19.611Z] + dpkg -l [2023-07-25T18:19:19.611Z] + grep '^ii' [2023-07-25T18:19:19.611Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-25T18:19:19.611Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-25T18:19:19.611Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-25T18:19:19.611Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-25T18:19:19.611Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-25T18:19:19.611Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo [2023-07-25T18:19:19.620Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-25T18:19:19.900Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-25T18:19:20.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-25T18:19:20.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-25T18:19:20.531Z] prd-ubuntu20.04-docker-8c-8g-2114 does not seem to be running inside a container [2023-07-25T18:19:20.564Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-25T18:19:20.750Z] $ docker top b5534810ca250f5f335f324dd767a496906d87f25a404bae5cd8b642b2b7cdac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-25T18:19:21.093Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-25T18:19:21.380Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-25T18:19:21.666Z] + ls /var/log/sa-host [2023-07-25T18:19:21.666Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-25T18:19:21.821Z] provisioning config files... [2023-07-25T18:19:21.830Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config12810429902288441243tmp [Pipeline] { [Pipeline] echo [2023-07-25T18:19:21.841Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:22.124Z] ---> create-netrc.sh [Pipeline] } [2023-07-25T18:19:22.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:22.456Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-25T18:19:22.465Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:22.753Z] ---> sudo-logs.sh [2023-07-25T18:19:22.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-25T18:19:22.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:23.066Z] ---> job-cost.sh [2023-07-25T18:19:23.066Z] lf-activate-venv: SKIPPING [2023-07-25T18:19:23.066Z] DEBUG: total: 0.2199999988079071 [2023-07-25T18:19:23.066Z] INFO: Retrieving Stack Cost... [2023-07-25T18:19:23.325Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-25T18:19:23.893Z] INFO: Archiving Costs [Pipeline] echo [2023-07-25T18:19:23.902Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-25T18:19:24.186Z] ---> logs-deploy.sh [2023-07-25T18:19:24.186Z] lf-activate-venv: SKIPPING [2023-07-25T18:19:24.186Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/16 [2023-07-25T18:19:24.186Z] INFO: archiving workspace using pattern(s): [2023-07-25T18:19:25.124Z] Archives upload complete. [2023-07-25T18:19:25.124Z] INFO: archiving logs to Nexus