Pull request #248 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf1dd36940fe9a7623b1925923297d620b767622+7a1cf3250193716800d70f0cf90cebef309e38f0 (b56dd7e4d1a0f2cf35291d60a464bbe436610669) 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-ssh10282384434968080779.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5208522792792840751.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-248/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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14193325293723955265.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3125420723210297566.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-248/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-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5079079574198916327.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15682 in /w/workspace/foundry_device-usb-camera_PR-248 [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-248 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit bf1dd36940fe9a7623b1925923297d620b767622 Merge succeeded, producing bf1dd36940fe9a7623b1925923297d620b767622 Checking out Revision bf1dd36940fe9a7623b1925923297d620b767622 (PR-248) > 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/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # 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 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # timeout=10 Commit message: "build(snap): Bump epoch for major v3 upgrade" > git rev-list --no-walk 397f74a9d669c0142bc715997d2769cba4f3ecff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T10:24:00.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T10:24:00.121Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T10:24:00.140Z] ========================================================= [2023-05-16T10:24:00.140Z] EdgeX Global Pipelines Version Info [2023-05-16T10:24:00.140Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:24:00.871Z] ------------------- [2023-05-16T10:24:00.871Z] stable info: [2023-05-16T10:24:00.871Z] ------------------- [2023-05-16T10:24:00.871Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T10:24:00.871Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:24:00.871Z] Message: update stable to v1.0.249 [2023-05-16T10:24:01.443Z] ------------------- [2023-05-16T10:24:01.443Z] experimental info: [2023-05-16T10:24:01.443Z] ------------------- [2023-05-16T10:24:01.443Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T10:24:01.443Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:24:01.443Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T10:24:01.617Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-16T10:24:01.627Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-16T10:24:01.637Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T10:24:01.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T10:24:01.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T10:24:01.668Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T10:24:01.681Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T10:24:01.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T10:24:01.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T10:24:01.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T10:24:01.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T10:24:01.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-16T10:24:01.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T10:24:01.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T10:24:01.828Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:24:01.847Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:24:01.868Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:24:01.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:24:01.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T10:24:01.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T10:24:01.933Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T10:24:01.947Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T10:24:01.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T10:24:01.978Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T10:24:01.991Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T10:24:02.004Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T10:24:02.016Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T10:24:02.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-248 [Pipeline] echo [2023-05-16T10:24:02.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-248 [Pipeline] echo [2023-05-16T10:24:02.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-248 [Pipeline] echo [2023-05-16T10:24:02.080Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo [2023-05-16T10:24:02.090Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf1dd36 [Pipeline] echo [2023-05-16T10:24:02.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:24:02.151Z] provisioning config files... [2023-05-16T10:24:02.168Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config279280076706363557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:24:02.471Z] ---> docker-login.sh [2023-05-16T10:24:02.471Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:24:02.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:02.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:02.732Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:02.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:02.732Z] [2023-05-16T10:24:02.732Z] Login Succeeded [2023-05-16T10:24:02.732Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:24:02.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:02.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:02.732Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:02.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:02.732Z] [2023-05-16T10:24:02.732Z] Login Succeeded [2023-05-16T10:24:02.732Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:24:02.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:02.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:02.993Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:02.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:02.993Z] [2023-05-16T10:24:02.993Z] Login Succeeded [2023-05-16T10:24:02.993Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:24:02.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:02.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:02.993Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:02.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:02.993Z] [2023-05-16T10:24:02.993Z] Login Succeeded [2023-05-16T10:24:02.993Z] docker.io [2023-05-16T10:24:02.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:03.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:03.254Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:03.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:03.254Z] [2023-05-16T10:24:03.254Z] Login Succeeded [2023-05-16T10:24:03.254Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:24:03.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T10:24:03.645Z] + git rev-list -1 --merges bf1dd36940fe9a7623b1925923297d620b767622~1..bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo [2023-05-16T10:24:03.722Z] -----------> git rev-list -1 --merges bf1dd36940fe9a7623b1925923297d620b767622~1..bf1dd36940fe9a7623b1925923297d620b767622 bf1dd36940fe9a7623b1925923297d620b767622 [false] [Pipeline] sh [2023-05-16T10:24:04.016Z] + git log --format=format:%s -1 bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo [2023-05-16T10:24:04.034Z] ========================================================= [2023-05-16T10:24:04.034Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T10:24:04.034Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:24:04.358Z] + git log --format=format:%s -1 bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] echo [2023-05-16T10:24:04.370Z] [semverPrep] GIT_COMMIT: bf1dd36940fe9a7623b1925923297d620b767622, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo [2023-05-16T10:24:04.380Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T10:24:04.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:24:04.747Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T10:24:04.747Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T10:24:04.747Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T10:24:04.747Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T10:24:04.747Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T10:24:04.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:24:05.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:24:05.103Z] [2023-05-16T10:24:05.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:24:05.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:24:05.404Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T10:24:05.404Z] b85a868b505f: Pulling fs layer [2023-05-16T10:24:05.404Z] e2be974225ed: Pulling fs layer [2023-05-16T10:24:05.404Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T10:24:05.404Z] 988bab9f4d93: Pulling fs layer [2023-05-16T10:24:05.404Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T10:24:05.404Z] eaf3925da568: Pulling fs layer [2023-05-16T10:24:05.404Z] bab4dde63d76: Pulling fs layer [2023-05-16T10:24:05.404Z] bde34c3a00c8: Pulling fs layer [2023-05-16T10:24:05.404Z] b352a97aabf1: Pulling fs layer [2023-05-16T10:24:05.404Z] 4872d77fe225: Pulling fs layer [2023-05-16T10:24:05.404Z] 5851b861e8e6: Pulling fs layer [2023-05-16T10:24:05.404Z] 4872d77fe225: Waiting [2023-05-16T10:24:05.404Z] bab4dde63d76: Waiting [2023-05-16T10:24:05.404Z] bde34c3a00c8: Waiting [2023-05-16T10:24:05.404Z] b352a97aabf1: Waiting [2023-05-16T10:24:05.404Z] 988bab9f4d93: Waiting [2023-05-16T10:24:05.404Z] 1469e6f7b9e6: Waiting [2023-05-16T10:24:05.404Z] eaf3925da568: Waiting [2023-05-16T10:24:05.404Z] 5851b861e8e6: Waiting [2023-05-16T10:24:05.404Z] e2be974225ed: Download complete [2023-05-16T10:24:05.404Z] 988bab9f4d93: Download complete [2023-05-16T10:24:05.404Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T10:24:05.404Z] 1469e6f7b9e6: Download complete [2023-05-16T10:24:05.404Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T10:24:05.404Z] 339a4e72a1f5: Download complete [2023-05-16T10:24:05.404Z] eaf3925da568: Download complete [2023-05-16T10:24:05.404Z] bde34c3a00c8: Verifying Checksum [2023-05-16T10:24:05.404Z] bde34c3a00c8: Download complete [2023-05-16T10:24:05.665Z] b352a97aabf1: Verifying Checksum [2023-05-16T10:24:05.665Z] b352a97aabf1: Download complete [2023-05-16T10:24:05.665Z] 4872d77fe225: Verifying Checksum [2023-05-16T10:24:05.665Z] 4872d77fe225: Download complete [2023-05-16T10:24:05.665Z] 5851b861e8e6: Download complete [2023-05-16T10:24:05.665Z] b85a868b505f: Verifying Checksum [2023-05-16T10:24:05.665Z] b85a868b505f: Download complete [2023-05-16T10:24:05.928Z] bab4dde63d76: Verifying Checksum [2023-05-16T10:24:05.928Z] bab4dde63d76: Download complete [2023-05-16T10:24:06.865Z] b85a868b505f: Pull complete [2023-05-16T10:24:07.123Z] e2be974225ed: Pull complete [2023-05-16T10:24:07.385Z] 339a4e72a1f5: Pull complete [2023-05-16T10:24:07.652Z] 988bab9f4d93: Pull complete [2023-05-16T10:24:07.918Z] 1469e6f7b9e6: Pull complete [2023-05-16T10:24:07.918Z] eaf3925da568: Pull complete [2023-05-16T10:24:09.824Z] bab4dde63d76: Pull complete [2023-05-16T10:24:09.824Z] bde34c3a00c8: Pull complete [2023-05-16T10:24:09.824Z] b352a97aabf1: Pull complete [2023-05-16T10:24:09.824Z] 4872d77fe225: Pull complete [2023-05-16T10:24:09.824Z] 5851b861e8e6: Pull complete [2023-05-16T10:24:10.087Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T10:24:10.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:24:10.087Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:24:10.189Z] prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container [2023-05-16T10:24:10.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T10:24:13.569Z] $ docker top f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce -eo pid,comm [2023-05-16T10:24:13.623Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-16T10:24:13.623Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:24:13.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:24:13.667Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:24:13.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:24:13.780Z] $ docker exec f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent [2023-05-16T10:24:13.892Z] SSH_AUTH_SOCK=/tmp/ssh-hxC2gEZ1Fi22/agent.31 [2023-05-16T10:24:13.892Z] SSH_AGENT_PID=37 [2023-05-16T10:24:13.899Z] Running ssh-add (command line suppressed) [2023-05-16T10:24:14.002Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_15723789618815874933.key (/w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_15723789618815874933.key) [2023-05-16T10:24:14.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:24:14.307Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T10:24:14.321Z] $ docker exec --env ******** --env ******** f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent -k [2023-05-16T10:24:14.429Z] unset SSH_AUTH_SOCK; [2023-05-16T10:24:14.430Z] unset SSH_AGENT_PID; [2023-05-16T10:24:14.431Z] echo Agent pid 37 killed; [2023-05-16T10:24:14.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T10:24:14.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:24:14.468Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:24:14.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:24:14.575Z] $ docker exec f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent [2023-05-16T10:24:14.691Z] SSH_AUTH_SOCK=/tmp/ssh-gmXSIA5dwvFb/agent.70 [2023-05-16T10:24:14.691Z] SSH_AGENT_PID=76 [2023-05-16T10:24:14.695Z] Running ssh-add (command line suppressed) [2023-05-16T10:24:14.792Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_8903738936775768483.key (/w/workspace/foundry_device-usb-camera_PR-248@tmp/private_key_8903738936775768483.key) [2023-05-16T10:24:14.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:24:15.096Z] + git semver init [2023-05-16T10:24:15.356Z] 2023-05-16 10:24:15,264 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T10:24:15.356Z] 2023-05-16 10:24:15,265 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-248/.semver [2023-05-16T10:24:15.356Z] 2023-05-16 10:24:15,265 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-248/.semver [2023-05-16T10:24:15.356Z] 2023-05-16 10:24:15,266 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-248/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-248, universal_newlines=False, shell=None, istream=None) [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,933 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-248/.git/info/exclude [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,934 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 with force:False [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,934 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,938 [execute] INFO git cat-file --batch-check [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-248/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,943 [execute] INFO git cat-file --batch [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-248/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:24:16.295Z] 2023-05-16 10:24:15,948 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-248/.semver/PR-248 [2023-05-16T10:24:16.295Z] 0.0.0 [Pipeline] } [2023-05-16T10:24:16.303Z] $ docker exec --env ******** --env ******** f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce ssh-agent -k [2023-05-16T10:24:16.418Z] unset SSH_AUTH_SOCK; [2023-05-16T10:24:16.418Z] unset SSH_AGENT_PID; [2023-05-16T10:24:16.418Z] echo Agent pid 76 killed; [2023-05-16T10:24:16.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:24:16.744Z] + git semver [Pipeline] } [2023-05-16T10:24:17.017Z] $ docker stop --time=1 f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce [2023-05-16T10:24:18.325Z] $ docker rm -f --volumes f35708933f42b43ce8fe6f80a82143efc5f79c49a09a20d5437588439f98a8ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:24:18.683Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T10:24:18.897Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T10:24:18.900Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:24:19.010Z] provisioning config files... [2023-05-16T10:24:19.019Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config7614637269519469228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:24:19.310Z] ---> docker-login.sh [2023-05-16T10:24:19.310Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:24:19.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:19.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:19.310Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:19.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:19.310Z] [2023-05-16T10:24:19.310Z] Login Succeeded [2023-05-16T10:24:19.310Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:24:19.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:19.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:19.311Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:19.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:19.311Z] [2023-05-16T10:24:19.311Z] Login Succeeded [2023-05-16T10:24:19.311Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:24:19.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:19.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:19.569Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:19.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:19.569Z] [2023-05-16T10:24:19.569Z] Login Succeeded [2023-05-16T10:24:19.569Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:24:19.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:19.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:19.569Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:19.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:19.569Z] [2023-05-16T10:24:19.569Z] Login Succeeded [2023-05-16T10:24:19.569Z] docker.io [2023-05-16T10:24:19.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:24:19.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:24:19.829Z] Configure a credential helper to remove this warning. See [2023-05-16T10:24:19.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:24:19.829Z] [2023-05-16T10:24:19.829Z] Login Succeeded [2023-05-16T10:24:19.829Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:24:19.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:24:19.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:24:19.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:24:20.003Z] ========================================================= [2023-05-16T10:24:20.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T10:24:20.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:24:20.312Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T10:24:20.312Z] Sending build context to Docker daemon 1.864MB [2023-05-16T10:24:20.312Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:24:20.312Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T10:24:20.312Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T10:24:20.312Z] f56be85fc22e: Pulling fs layer [2023-05-16T10:24:20.312Z] 85791d961cd3: Pulling fs layer [2023-05-16T10:24:20.312Z] d694b5ae8c79: Pulling fs layer [2023-05-16T10:24:20.312Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T10:24:20.312Z] 4d19c01a9841: Pulling fs layer [2023-05-16T10:24:20.312Z] 9325e15d5711: Pulling fs layer [2023-05-16T10:24:20.312Z] 556b6ee489ea: Pulling fs layer [2023-05-16T10:24:20.312Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T10:24:20.312Z] 9f32a84ed3da: Waiting [2023-05-16T10:24:20.312Z] 4d19c01a9841: Waiting [2023-05-16T10:24:20.312Z] 9325e15d5711: Waiting [2023-05-16T10:24:20.312Z] 556b6ee489ea: Waiting [2023-05-16T10:24:20.312Z] c5a4b2cf53e6: Waiting [2023-05-16T10:24:20.312Z] 85791d961cd3: Verifying Checksum [2023-05-16T10:24:20.312Z] 85791d961cd3: Download complete [2023-05-16T10:24:20.312Z] 9f32a84ed3da: Download complete [2023-05-16T10:24:20.312Z] 4d19c01a9841: Download complete [2023-05-16T10:24:20.312Z] f56be85fc22e: Verifying Checksum [2023-05-16T10:24:20.312Z] f56be85fc22e: Download complete [2023-05-16T10:24:20.573Z] 9325e15d5711: Verifying Checksum [2023-05-16T10:24:20.573Z] 9325e15d5711: Download complete [2023-05-16T10:24:20.573Z] f56be85fc22e: Pull complete [2023-05-16T10:24:20.832Z] 85791d961cd3: Pull complete [2023-05-16T10:24:20.832Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T10:24:20.832Z] c5a4b2cf53e6: Download complete [2023-05-16T10:24:21.090Z] d694b5ae8c79: Verifying Checksum [2023-05-16T10:24:21.091Z] d694b5ae8c79: Download complete [2023-05-16T10:24:21.091Z] 556b6ee489ea: Verifying Checksum [2023-05-16T10:24:21.091Z] 556b6ee489ea: Download complete [2023-05-16T10:24:24.378Z] d694b5ae8c79: Pull complete [2023-05-16T10:24:24.378Z] 9f32a84ed3da: Pull complete [2023-05-16T10:24:24.378Z] 4d19c01a9841: Pull complete [2023-05-16T10:24:24.636Z] 9325e15d5711: Pull complete [2023-05-16T10:24:27.167Z] 556b6ee489ea: Pull complete [2023-05-16T10:24:27.733Z] c5a4b2cf53e6: Pull complete [2023-05-16T10:24:27.733Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T10:24:27.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T10:24:27.733Z] ---> c4be618373d6 [2023-05-16T10:24:27.733Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:24:33.029Z] ---> Running in 2d22899b2ee1 [2023-05-16T10:24:33.029Z] Removing intermediate container 2d22899b2ee1 [2023-05-16T10:24:33.029Z] ---> 26b510edf308 [2023-05-16T10:24:33.029Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:24:33.029Z] ---> Running in a1b37b1636a9 [2023-05-16T10:24:33.029Z] Removing intermediate container a1b37b1636a9 [2023-05-16T10:24:33.029Z] ---> c15f588e2ae4 [2023-05-16T10:24:33.029Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:24:33.288Z] ---> Running in 85fc37b6753c [2023-05-16T10:24:33.550Z] Removing intermediate container 85fc37b6753c [2023-05-16T10:24:33.550Z] ---> ad2d57fe65f7 [2023-05-16T10:24:33.550Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:24:33.550Z] ---> Running in 3f09c2a64098 [2023-05-16T10:24:33.550Z] Removing intermediate container 3f09c2a64098 [2023-05-16T10:24:33.550Z] ---> 4363c5656675 [2023-05-16T10:24:33.550Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:24:33.550Z] ---> Running in f4533693a19c [2023-05-16T10:24:33.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:24:33.981Z] Still waiting to schedule task [2023-05-16T10:24:33.982Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:24:34.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:24:34.072Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T10:24:34.072Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:24:34.331Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:24:34.331Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:24:34.331Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T10:24:34.331Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T10:24:34.331Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T10:24:34.331Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T10:24:34.331Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:24:34.331Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T10:24:34.331Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T10:24:34.331Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T10:24:34.331Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T10:24:34.331Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T10:24:34.331Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:24:34.331Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:24:34.331Z] OK: 272 MiB in 67 packages [2023-05-16T10:24:34.899Z] Removing intermediate container f4533693a19c [2023-05-16T10:24:34.899Z] ---> 7f63d25d7921 [2023-05-16T10:24:34.899Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T10:24:34.899Z] ---> Running in 8ccc46e6bb33 [2023-05-16T10:24:35.158Z] Removing intermediate container 8ccc46e6bb33 [2023-05-16T10:24:35.158Z] ---> 26c117cf33fc [2023-05-16T10:24:35.158Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T10:24:35.158Z] ---> 5ce10b20922f [2023-05-16T10:24:35.158Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:24:35.158Z] ---> Running in b9d5dec79dd5 [2023-05-16T10:25:01.731Z] Removing intermediate container b9d5dec79dd5 [2023-05-16T10:25:01.731Z] ---> e788a16b9c8d [2023-05-16T10:25:01.731Z] Step 11/13 : COPY . . [2023-05-16T10:25:01.731Z] ---> 4853a0c951e1 [2023-05-16T10:25:01.731Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:25:01.731Z] ---> Running in 0e6e4685419a [2023-05-16T10:25:01.731Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:25:01.731Z] Dload Upload Total Spent Left Speed [2023-05-16T10:25:01.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7907 0 --:--:-- --:--:-- --:--:-- 7925 [2023-05-16T10:25:01.731Z] Removing intermediate container 0e6e4685419a [2023-05-16T10:25:01.731Z] ---> c488a958d6d9 [2023-05-16T10:25:01.731Z] Step 13/13 : RUN ${MAKE} [2023-05-16T10:25:01.731Z] ---> Running in 139b6e7bab27 [2023-05-16T10:25:01.731Z] noop [2023-05-16T10:25:01.991Z] Removing intermediate container 139b6e7bab27 [2023-05-16T10:25:01.991Z] ---> 2869be1b360a [2023-05-16T10:25:01.991Z] Successfully built 2869be1b360a [2023-05-16T10:25:01.991Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:25:02.322Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:25:02.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:25:02.403Z] prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container [2023-05-16T10:25:02.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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 ******** ci-base-image-x86_64 cat [2023-05-16T10:25:02.913Z] $ docker top ebcd91a1f50e7a865abfa7fc73dc780ff89d71a88a44be287e7d079d71dbe622 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:25:03.257Z] + go version [2023-05-16T10:25:03.257Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T10:25:03.269Z] $ docker stop --time=1 ebcd91a1f50e7a865abfa7fc73dc780ff89d71a88a44be287e7d079d71dbe622 [2023-05-16T10:25:04.532Z] $ docker rm -f --volumes ebcd91a1f50e7a865abfa7fc73dc780ff89d71a88a44be287e7d079d71dbe622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:25:04.922Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:25:04.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:25:04.993Z] prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container [2023-05-16T10:25:05.028Z] $ 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-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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 ******** ci-base-image-x86_64 cat [2023-05-16T10:25:05.338Z] $ docker top e1a700ec960caeddb396d9bb0c0156b959c68e5de97bbf3a78a6018eae08491a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:25:05.682Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:25:05.980Z] + make test [2023-05-16T10:25:05.980Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:25:10.165Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T10:25:20.129Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T10:25:20.129Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.8% of statements [2023-05-16T10:25:25.458Z] go vet ./... [2023-05-16T10:25:28.824Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:25:28.824Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:25:28.824Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:25:28.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:25:28.847Z] $ docker stop --time=1 e1a700ec960caeddb396d9bb0c0156b959c68e5de97bbf3a78a6018eae08491a [2023-05-16T10:25:31.719Z] $ docker rm -f --volumes e1a700ec960caeddb396d9bb0c0156b959c68e5de97bbf3a78a6018eae08491a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:25:32.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:25:32.223Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T10:25:32.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:25:33.049Z] + ls -al . [2023-05-16T10:25:33.049Z] total 188 [2023-05-16T10:25:33.049Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:25 . [2023-05-16T10:25:33.049Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:23 .. [2023-05-16T10:25:33.049Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:24 .git [2023-05-16T10:25:33.049Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:23 .github [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 10:23 .gitignore [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:23 .golangci.yml [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 10:23 .hadolint.yml [2023-05-16T10:25:33.049Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:24 .semver [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 10:23 Attribution.txt [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 10:23 CHANGELOG.md [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 10:23 Dockerfile [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:23 GOVERNANCE.md [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 10:23 Jenkinsfile [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:23 LICENSE [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 10:23 Makefile [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 10:23 OWNERS.md [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 10:23 README.md [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:24 VERSION [2023-05-16T10:25:33.049Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:23 bin [2023-05-16T10:25:33.049Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:23 cmd [2023-05-16T10:25:33.049Z] -rw-r--r-- 1 jenkins jenkins 31521 May 16 10:25 coverage.out [2023-05-16T10:25:33.049Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 10:23 docker-entrypoint.sh [2023-05-16T10:25:33.049Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:23 docs [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 10:23 go.mod [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 10:23 go.sum [2023-05-16T10:25:33.049Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:23 internal [2023-05-16T10:25:33.049Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:23 snap [2023-05-16T10:25:33.049Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 10:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:25:33.355Z] + 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=bf1dd36940fe9a7623b1925923297d620b767622 --label arch=amd64 --label version=0.0.0 . [2023-05-16T10:25:33.355Z] Sending build context to Docker daemon 1.896MB [2023-05-16T10:25:33.355Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:25:33.355Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T10:25:33.355Z] ---> 2869be1b360a [2023-05-16T10:25:33.355Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:25:33.355Z] ---> Running in 45601d34df7d [2023-05-16T10:25:33.355Z] Removing intermediate container 45601d34df7d [2023-05-16T10:25:33.355Z] ---> 9813e0b076f0 [2023-05-16T10:25:33.355Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:25:33.355Z] ---> Running in 50d48d7e0930 [2023-05-16T10:25:33.614Z] Removing intermediate container 50d48d7e0930 [2023-05-16T10:25:33.614Z] ---> 9fd622937f42 [2023-05-16T10:25:33.614Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:25:33.614Z] ---> Running in 264cae21877f [2023-05-16T10:25:33.614Z] Removing intermediate container 264cae21877f [2023-05-16T10:25:33.614Z] ---> ced25849e4c3 [2023-05-16T10:25:33.614Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:25:33.614Z] ---> Running in bb4451cf7257 [2023-05-16T10:25:33.614Z] Removing intermediate container bb4451cf7257 [2023-05-16T10:25:33.614Z] ---> e5bd4c0cf9cc [2023-05-16T10:25:33.614Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:25:33.614Z] ---> Running in fdcc94360282 [2023-05-16T10:25:33.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:25:34.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:25:34.132Z] OK: 272 MiB in 67 packages [2023-05-16T10:25:34.701Z] Removing intermediate container fdcc94360282 [2023-05-16T10:25:34.701Z] ---> 893d02c5fb36 [2023-05-16T10:25:34.701Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T10:25:34.701Z] ---> Running in 9854ebc4f7c4 [2023-05-16T10:25:34.701Z] Removing intermediate container 9854ebc4f7c4 [2023-05-16T10:25:34.701Z] ---> 56f542263890 [2023-05-16T10:25:34.701Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T10:25:34.701Z] ---> 2b1350c5ad72 [2023-05-16T10:25:34.701Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:25:34.701Z] ---> Running in f9be06283a14 [2023-05-16T10:25:35.637Z] Removing intermediate container f9be06283a14 [2023-05-16T10:25:35.637Z] ---> 3a79a072fce5 [2023-05-16T10:25:35.637Z] Step 11/36 : COPY . . [2023-05-16T10:25:35.637Z] ---> 897cd9799f52 [2023-05-16T10:25:35.637Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:25:35.637Z] ---> Running in cc05af0a8ff3 [2023-05-16T10:25:35.896Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:25:35.896Z] Dload Upload Total Spent Left Speed [2023-05-16T10:25:35.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20261 0 --:--:-- --:--:-- --:--:-- 20423 [2023-05-16T10:25:36.155Z] Removing intermediate container cc05af0a8ff3 [2023-05-16T10:25:36.155Z] ---> 430a2cb65bad [2023-05-16T10:25:36.155Z] Step 13/36 : RUN ${MAKE} [2023-05-16T10:25:36.155Z] ---> Running in dff242b39867 [2023-05-16T10:25:36.414Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-16T10:25:58.334Z] Removing intermediate container dff242b39867 [2023-05-16T10:25:58.334Z] ---> 88eafca1f25e [2023-05-16T10:25:58.334Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T10:25:58.334Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T10:25:58.334Z] 4acc49c71d14: Pulling fs layer [2023-05-16T10:25:58.334Z] 4acc49c71d14: Verifying Checksum [2023-05-16T10:25:58.334Z] 4acc49c71d14: Download complete [2023-05-16T10:25:58.334Z] 4acc49c71d14: Pull complete [2023-05-16T10:25:58.334Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T10:25:58.334Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T10:25:58.334Z] ---> 01a2bd3e5fff [2023-05-16T10:25:58.334Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T10:25:58.334Z] 3.17: Pulling from library/alpine [2023-05-16T10:25:58.334Z] f56be85fc22e: Already exists [2023-05-16T10:25:58.334Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:25:58.334Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:25:58.334Z] ---> 9ed4aefc74f6 [2023-05-16T10:25:58.334Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T10:25:58.334Z] ---> Running in 50b54a6e6617 [2023-05-16T10:25:58.334Z] Removing intermediate container 50b54a6e6617 [2023-05-16T10:25:58.334Z] ---> 7b6576546f43 [2023-05-16T10:25:58.334Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T10:25:58.334Z] ---> Running in 1fff9af7c3fe [2023-05-16T10:25:58.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:25:58.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:25:58.334Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-16T10:25:58.334Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-16T10:25:58.334Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-16T10:25:58.334Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-16T10:25:58.334Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-16T10:25:58.334Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-16T10:25:58.334Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-16T10:25:58.334Z] (8/86) Installing libxcb (1.15-r0) [2023-05-16T10:25:58.334Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-16T10:25:58.334Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-16T10:25:58.334Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-16T10:25:58.334Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-16T10:25:58.334Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-16T10:25:58.334Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-16T10:25:58.334Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-16T10:25:58.334Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-16T10:25:58.334Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-16T10:25:58.334Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-16T10:25:58.334Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-16T10:25:58.334Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-16T10:25:58.334Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-16T10:25:58.334Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-16T10:25:58.334Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-16T10:25:58.334Z] (24/86) Installing glib (2.74.6-r0) [2023-05-16T10:25:58.334Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-16T10:25:58.334Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-16T10:25:58.334Z] (27/86) Installing libass (0.16.0-r1) [2023-05-16T10:25:58.334Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-16T10:25:58.334Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-16T10:25:58.334Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-16T10:25:58.334Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-16T10:25:58.334Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-16T10:25:58.334Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-16T10:25:58.334Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-16T10:25:58.334Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-16T10:25:58.334Z] (36/86) Installing libunistring (1.1-r0) [2023-05-16T10:25:58.334Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-16T10:25:58.334Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T10:25:58.334Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T10:25:58.334Z] (40/86) Installing lame (3.100-r2) [2023-05-16T10:25:58.334Z] (41/86) Installing opus (1.3.1-r1) [2023-05-16T10:25:58.334Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-16T10:25:58.334Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-16T10:25:58.334Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-16T10:25:58.334Z] (45/86) Installing orc (0.4.33-r0) [2023-05-16T10:25:58.334Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T10:25:58.334Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-16T10:25:58.334Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T10:25:58.334Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-16T10:25:58.334Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-16T10:25:58.334Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-16T10:25:58.334Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T10:25:58.334Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-16T10:25:58.334Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-16T10:25:58.334Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-16T10:25:58.334Z] (56/86) Installing libpulse (16.1-r6) [2023-05-16T10:25:58.334Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-16T10:25:58.334Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-16T10:25:58.334Z] (59/86) Installing librist (0.2.7-r0) [2023-05-16T10:25:58.334Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-16T10:25:58.334Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-16T10:25:58.334Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-16T10:25:58.334Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:25:58.334Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:25:58.334Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-16T10:25:58.334Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-16T10:25:58.334Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T10:25:58.334Z] (68/86) Installing libva (2.16.0-r0) [2023-05-16T10:25:58.594Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-16T10:25:58.594Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-16T10:25:58.594Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-16T10:25:58.594Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-16T10:25:58.594Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T10:25:58.594Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-16T10:25:58.594Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-16T10:25:58.594Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-16T10:25:58.594Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-16T10:25:58.594Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-16T10:25:58.594Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T10:25:58.854Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-16T10:25:58.854Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-16T10:25:58.854Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:25:58.854Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-16T10:25:58.854Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:25:58.854Z] (85/86) Installing kmod-libs (30-r1) [2023-05-16T10:25:58.854Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-16T10:25:58.854Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:25:58.854Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:25:58.854Z] OK: 112 MiB in 101 packages [2023-05-16T10:26:01.387Z] Removing intermediate container 1fff9af7c3fe [2023-05-16T10:26:01.387Z] ---> f02d756a1bd9 [2023-05-16T10:26:01.387Z] Step 18/36 : WORKDIR / [2023-05-16T10:26:01.387Z] ---> Running in 758558ef1586 [2023-05-16T10:26:01.387Z] Removing intermediate container 758558ef1586 [2023-05-16T10:26:01.387Z] ---> 61ce05aba2c8 [2023-05-16T10:26:01.387Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T10:26:01.645Z] ---> 5d04e6fc76e8 [2023-05-16T10:26:01.645Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T10:26:01.904Z] ---> fe56dda8b7b7 [2023-05-16T10:26:01.904Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T10:26:01.904Z] ---> b7b9c51e16cb [2023-05-16T10:26:01.904Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T10:26:01.904Z] ---> a8308b29a204 [2023-05-16T10:26:01.904Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T10:26:02.163Z] ---> 40903848e35d [2023-05-16T10:26:02.163Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T10:26:02.163Z] ---> f6a6231427dd [2023-05-16T10:26:02.163Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T10:26:03.105Z] ---> c6fad392b965 [2023-05-16T10:26:03.105Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:26:03.105Z] ---> Running in bf228355ece6 [2023-05-16T10:26:04.051Z] Removing intermediate container bf228355ece6 [2023-05-16T10:26:04.051Z] ---> 10b16fb22075 [2023-05-16T10:26:04.051Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:26:04.310Z] ---> Running in 787bfbc1375f [2023-05-16T10:26:04.876Z] Removing intermediate container 787bfbc1375f [2023-05-16T10:26:04.876Z] ---> 9fb990adfb28 [2023-05-16T10:26:04.876Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T10:26:04.876Z] ---> Running in 706e933355f7 [2023-05-16T10:26:05.443Z] Removing intermediate container 706e933355f7 [2023-05-16T10:26:05.443Z] ---> de806d32fdeb [2023-05-16T10:26:05.443Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T10:26:05.443Z] ---> Running in 664fe307642c [2023-05-16T10:26:06.010Z] Removing intermediate container 664fe307642c [2023-05-16T10:26:06.011Z] ---> d4e92b11fecb [2023-05-16T10:26:06.011Z] Step 30/36 : EXPOSE 59983 [2023-05-16T10:26:06.011Z] ---> Running in cedd820c3d8a [2023-05-16T10:26:06.011Z] Removing intermediate container cedd820c3d8a [2023-05-16T10:26:06.011Z] ---> 74289aafdbdd [2023-05-16T10:26:06.011Z] Step 31/36 : EXPOSE 8554 [2023-05-16T10:26:06.011Z] ---> Running in 05a5f1fed099 [2023-05-16T10:26:06.011Z] Removing intermediate container 05a5f1fed099 [2023-05-16T10:26:06.011Z] ---> 9e2f76f48e3b [2023-05-16T10:26:06.011Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T10:26:06.011Z] ---> Running in 2fadb58e0f7f [2023-05-16T10:26:06.011Z] Removing intermediate container 2fadb58e0f7f [2023-05-16T10:26:06.011Z] ---> 1670a8ca03c9 [2023-05-16T10:26:06.011Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T10:26:06.011Z] ---> Running in 9a1973ef54ff [2023-05-16T10:26:06.270Z] Removing intermediate container 9a1973ef54ff [2023-05-16T10:26:06.270Z] ---> 50d5ea9d3524 [2023-05-16T10:26:06.270Z] Step 34/36 : LABEL arch=amd64 [2023-05-16T10:26:06.270Z] ---> Running in 88b0ec5a0b2d [2023-05-16T10:26:06.270Z] Removing intermediate container 88b0ec5a0b2d [2023-05-16T10:26:06.270Z] ---> b9175ba42488 [2023-05-16T10:26:06.270Z] Step 35/36 : LABEL git_sha=bf1dd36940fe9a7623b1925923297d620b767622 [2023-05-16T10:26:06.270Z] ---> Running in 4a9c6bb3bebe [2023-05-16T10:26:06.270Z] Removing intermediate container 4a9c6bb3bebe [2023-05-16T10:26:06.270Z] ---> 033b51346a50 [2023-05-16T10:26:06.270Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T10:26:06.270Z] ---> Running in 82c893a37347 [2023-05-16T10:26:06.552Z] Removing intermediate container 82c893a37347 [2023-05-16T10:26:06.552Z] ---> caf8932a5d6c [2023-05-16T10:26:06.552Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:26:06.552Z] Successfully built caf8932a5d6c [2023-05-16T10:26:06.552Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:26:06.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:26:06.993Z] [2023-05-16T10:26:06.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:26:07.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:26:07.293Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T10:26:07.293Z] 5eb5b503b376: Pulling fs layer [2023-05-16T10:26:07.293Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T10:26:07.293Z] ec43610c2a17: Pulling fs layer [2023-05-16T10:26:07.293Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T10:26:07.293Z] 33b1e0a273af: Pulling fs layer [2023-05-16T10:26:07.293Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T10:26:07.293Z] 2f39f015ded8: Pulling fs layer [2023-05-16T10:26:07.293Z] 33b1e0a273af: Waiting [2023-05-16T10:26:07.293Z] 5d3b04190fa2: Waiting [2023-05-16T10:26:07.293Z] 2f39f015ded8: Waiting [2023-05-16T10:26:07.293Z] 3a2ae6a8a46f: Waiting [2023-05-16T10:26:07.293Z] 5c69ac0246d0: Verifying Checksum [2023-05-16T10:26:07.293Z] 5c69ac0246d0: Download complete [2023-05-16T10:26:07.293Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T10:26:07.293Z] 3a2ae6a8a46f: Download complete [2023-05-16T10:26:07.293Z] 33b1e0a273af: Verifying Checksum [2023-05-16T10:26:07.293Z] 33b1e0a273af: Download complete [2023-05-16T10:26:07.293Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T10:26:07.293Z] 5d3b04190fa2: Download complete [2023-05-16T10:26:07.293Z] ec43610c2a17: Download complete [2023-05-16T10:26:07.552Z] 5eb5b503b376: Verifying Checksum [2023-05-16T10:26:07.552Z] 5eb5b503b376: Download complete [2023-05-16T10:26:08.118Z] 2f39f015ded8: Download complete [2023-05-16T10:26:08.686Z] 5eb5b503b376: Pull complete [2023-05-16T10:26:08.686Z] 5c69ac0246d0: Pull complete [2023-05-16T10:26:08.944Z] ec43610c2a17: Pull complete [2023-05-16T10:26:09.202Z] 3a2ae6a8a46f: Pull complete [2023-05-16T10:26:09.202Z] 33b1e0a273af: Pull complete [2023-05-16T10:26:09.202Z] 5d3b04190fa2: Pull complete [2023-05-16T10:26:13.382Z] 2f39f015ded8: Pull complete [2023-05-16T10:26:13.382Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T10:26:13.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:26:13.382Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:26:13.461Z] prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container [2023-05-16T10:26:13.492Z] $ 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-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T10:26:17.050Z] $ docker top 82c2839d17d7540ccd6ad8ffdfe7653602ce4e225eda008692fe7d24a96e0ef0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:26:17.462Z] ---> job-cost.sh [2023-05-16T10:26:17.462Z] lf-activate-venv: SKIPPING [2023-05-16T10:26:17.462Z] INFO: No Stack... [2023-05-16T10:26:18.028Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:26:18.287Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:26:18.576Z] + cat /w/workspace/foundry_device-usb-camera_PR-248/archives/cost.csv [2023-05-16T10:26:18.576Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:26:18.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [2023-05-16T10:26:18.601Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] did not exist. Created. [2023-05-16T10:26:18.601Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:26:18.905Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T10:26:18.938Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:26:18.950Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:26:18.977Z] $ docker stop --time=1 82c2839d17d7540ccd6ad8ffdfe7653602ce4e225eda008692fe7d24a96e0ef0 [2023-05-16T10:26:20.134Z] $ docker rm -f --volumes 82c2839d17d7540ccd6ad8ffdfe7653602ce4e225eda008692fe7d24a96e0ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T10:29:31.329Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15687 in /w/workspace/foundry_device-usb-camera_PR-248 [Pipeline] { [Pipeline] ws [2023-05-16T10:29:31.347Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-05-16T10:29:31.394Z] Selected Git installation does not exist. Using Default [2023-05-16T10:29:31.394Z] The recommended git tool is: NONE [2023-05-16T10:29:38.998Z] using credential edgex-jenkins-ssh [2023-05-16T10:29:39.022Z] Cloning the remote Git repository [2023-05-16T10:29:39.086Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T10:29:39.208Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-05-16T10:29:39.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T10:29:39.409Z] > git --version # timeout=10 [2023-05-16T10:29:39.436Z] > git --version # 'git version 2.25.1' [2023-05-16T10:29:39.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:29:39.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:29:40.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T10:29:40.543Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:29:42.692Z] Merging remotes/origin/main commit 7a1cf3250193716800d70f0cf90cebef309e38f0 into PR head commit bf1dd36940fe9a7623b1925923297d620b767622 [2023-05-16T10:29:43.090Z] Merge succeeded, producing bf1dd36940fe9a7623b1925923297d620b767622 [2023-05-16T10:29:43.091Z] Checking out Revision bf1dd36940fe9a7623b1925923297d620b767622 (PR-248) [2023-05-16T10:29:41.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-16T10:29:42.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-16T10:29:42.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:29:42.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T10:29:42.724Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:29:42.830Z] > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # timeout=10 [2023-05-16T10:29:42.945Z] > git remote # timeout=10 [2023-05-16T10:29:42.976Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T10:29:43.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:29:43.032Z] > git merge 7a1cf3250193716800d70f0cf90cebef309e38f0 # timeout=10 [2023-05-16T10:29:43.066Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T10:29:43.103Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:29:43.131Z] > git checkout -f bf1dd36940fe9a7623b1925923297d620b767622 # timeout=10 [2023-05-16T10:29:43.823Z] Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:29:44.853Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T10:29:44.853Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:29:44.853Z] Dload Upload Total Spent Left Speed [2023-05-16T10:29:44.853Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2023-05-16T10:29:45.597Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T10:29:46.095Z] + sudo tee /etc/docker/daemon.new [2023-05-16T10:29:46.095Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T10:29:46.095Z] { [2023-05-16T10:29:46.095Z] "registry-mirrors": [ [2023-05-16T10:29:46.095Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T10:29:46.095Z] ], [2023-05-16T10:29:46.095Z] "bip": "10.250.0.254/24", [2023-05-16T10:29:46.095Z] "hosts": [ [2023-05-16T10:29:46.095Z] "tcp://0.0.0.0:5555", [2023-05-16T10:29:46.095Z] "unix:///var/run/docker.sock" [2023-05-16T10:29:46.095Z] ], [2023-05-16T10:29:46.095Z] "mtu": 1458, [2023-05-16T10:29:46.095Z] "selinux-enabled": true, [2023-05-16T10:29:46.095Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T10:29:46.095Z] } [Pipeline] sh [2023-05-16T10:29:46.441Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T10:29:46.786Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:30:05.102Z] provisioning config files... [2023-05-16T10:30:05.136Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config1507575065530316350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:30:05.512Z] ---> docker-login.sh [2023-05-16T10:30:05.512Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:30:06.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:30:06.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:30:06.112Z] Configure a credential helper to remove this warning. See [2023-05-16T10:30:06.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:30:06.112Z] [2023-05-16T10:30:06.112Z] Login Succeeded [2023-05-16T10:30:06.385Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:30:06.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:30:06.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:30:06.659Z] Configure a credential helper to remove this warning. See [2023-05-16T10:30:06.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:30:06.659Z] [2023-05-16T10:30:06.659Z] Login Succeeded [2023-05-16T10:30:06.659Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:30:06.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:30:07.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:30:07.204Z] Configure a credential helper to remove this warning. See [2023-05-16T10:30:07.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:30:07.204Z] [2023-05-16T10:30:07.204Z] Login Succeeded [2023-05-16T10:30:07.204Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:30:07.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:30:07.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:30:07.483Z] Configure a credential helper to remove this warning. See [2023-05-16T10:30:07.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:30:07.483Z] [2023-05-16T10:30:07.483Z] Login Succeeded [2023-05-16T10:30:07.483Z] docker.io [2023-05-16T10:30:07.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:30:08.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:30:08.038Z] Configure a credential helper to remove this warning. See [2023-05-16T10:30:08.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:30:08.038Z] [2023-05-16T10:30:08.038Z] Login Succeeded [2023-05-16T10:30:08.038Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:30:08.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:30:08.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:30:08.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:30:08.417Z] ========================================================= [2023-05-16T10:30:08.417Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T10:30:08.417Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:30:08.793Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T10:30:09.067Z] Sending build context to Docker daemon 1.096MB [2023-05-16T10:30:09.068Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:30:09.068Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-16T10:30:09.442Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T10:30:09.442Z] c41833b44d91: Pulling fs layer [2023-05-16T10:30:09.442Z] ed15518f5707: Pulling fs layer [2023-05-16T10:30:09.442Z] feae8fd75edb: Pulling fs layer [2023-05-16T10:30:09.442Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T10:30:09.442Z] 3cdef696dda3: Pulling fs layer [2023-05-16T10:30:09.442Z] 2ced38df9373: Pulling fs layer [2023-05-16T10:30:09.442Z] 58f1dce35555: Pulling fs layer [2023-05-16T10:30:09.442Z] 3cdef696dda3: Waiting [2023-05-16T10:30:09.442Z] 2ced38df9373: Waiting [2023-05-16T10:30:09.442Z] 58f1dce35555: Waiting [2023-05-16T10:30:09.442Z] 242c74f7c9fa: Waiting [2023-05-16T10:30:09.442Z] ed15518f5707: Verifying Checksum [2023-05-16T10:30:09.442Z] ed15518f5707: Download complete [2023-05-16T10:30:09.442Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T10:30:09.442Z] 242c74f7c9fa: Download complete [2023-05-16T10:30:09.442Z] 3cdef696dda3: Verifying Checksum [2023-05-16T10:30:09.442Z] 3cdef696dda3: Download complete [2023-05-16T10:30:09.442Z] c41833b44d91: Verifying Checksum [2023-05-16T10:30:09.442Z] c41833b44d91: Download complete [2023-05-16T10:30:10.915Z] c41833b44d91: Pull complete [2023-05-16T10:30:11.189Z] 58f1dce35555: Verifying Checksum [2023-05-16T10:30:11.189Z] 58f1dce35555: Download complete [2023-05-16T10:30:11.468Z] ed15518f5707: Pull complete [2023-05-16T10:30:12.451Z] feae8fd75edb: Verifying Checksum [2023-05-16T10:30:12.451Z] feae8fd75edb: Download complete [2023-05-16T10:30:12.451Z] 2ced38df9373: Verifying Checksum [2023-05-16T10:30:12.451Z] 2ced38df9373: Download complete [2023-05-16T10:30:24.830Z] feae8fd75edb: Pull complete [2023-05-16T10:30:24.830Z] 242c74f7c9fa: Pull complete [2023-05-16T10:30:24.830Z] 3cdef696dda3: Pull complete [2023-05-16T10:30:33.141Z] 2ced38df9373: Pull complete [2023-05-16T10:30:34.587Z] 58f1dce35555: Pull complete [2023-05-16T10:30:34.587Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T10:30:34.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T10:30:34.868Z] ---> fadd8f120f05 [2023-05-16T10:30:34.868Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:30:36.874Z] ---> Running in 8fe9ef5a102a [2023-05-16T10:30:37.478Z] Removing intermediate container 8fe9ef5a102a [2023-05-16T10:30:37.478Z] ---> 0c8583250528 [2023-05-16T10:30:37.478Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:30:37.478Z] ---> Running in d52e7553569e [2023-05-16T10:30:38.075Z] Removing intermediate container d52e7553569e [2023-05-16T10:30:38.075Z] ---> 2fdc5f5013b1 [2023-05-16T10:30:38.075Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:30:38.075Z] ---> Running in cd123bda9631 [2023-05-16T10:30:38.670Z] Removing intermediate container cd123bda9631 [2023-05-16T10:30:38.670Z] ---> 11cf4c636aa6 [2023-05-16T10:30:38.670Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:30:38.670Z] ---> Running in 2093e9f290b0 [2023-05-16T10:30:38.948Z] Removing intermediate container 2093e9f290b0 [2023-05-16T10:30:38.948Z] ---> c24211de8c62 [2023-05-16T10:30:38.948Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:30:39.222Z] ---> Running in fd24a60fe2d0 [2023-05-16T10:30:40.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:30:41.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:30:43.077Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-16T10:30:43.077Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:30:43.077Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:30:43.077Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:30:43.077Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-16T10:30:43.077Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-16T10:30:43.077Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-16T10:30:43.077Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-16T10:30:43.077Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:30:43.077Z] (10/14) Installing kmod-libs (30-r1) [2023-05-16T10:30:43.077Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-16T10:30:43.077Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-16T10:30:43.077Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-16T10:30:43.077Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-16T10:30:43.077Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:30:43.077Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:30:43.348Z] OK: 271 MiB in 67 packages [2023-05-16T10:30:44.794Z] Removing intermediate container fd24a60fe2d0 [2023-05-16T10:30:44.794Z] ---> 01cc45b6d660 [2023-05-16T10:30:44.794Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-16T10:30:44.794Z] ---> Running in 960f45e9b000 [2023-05-16T10:30:45.066Z] Removing intermediate container 960f45e9b000 [2023-05-16T10:30:45.066Z] ---> cb0814da7123 [2023-05-16T10:30:45.066Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-16T10:30:45.657Z] ---> 90f5b50d8ae0 [2023-05-16T10:30:45.657Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:30:45.657Z] ---> Running in 3e3023157201 [2023-05-16T10:31:53.914Z] Removing intermediate container 3e3023157201 [2023-05-16T10:31:53.914Z] ---> 3ad4c0dada10 [2023-05-16T10:31:53.914Z] Step 11/13 : COPY . . [2023-05-16T10:31:53.914Z] ---> 9238fd0d3c9b [2023-05-16T10:31:53.914Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:31:53.914Z] ---> Running in 81bcca3d33b3 [2023-05-16T10:31:53.914Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:31:53.914Z]  Dload Upload Total Spent Left Speed [2023-05-16T10:31:53.914Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2484 0 --:--:-- --:--:-- --:--:-- 2492 [2023-05-16T10:31:53.914Z] Removing intermediate container 81bcca3d33b3 [2023-05-16T10:31:53.914Z] ---> 51185eee7a6e [2023-05-16T10:31:53.914Z] Step 13/13 : RUN ${MAKE} [2023-05-16T10:31:53.914Z] ---> Running in 434594e4fd01 [2023-05-16T10:31:53.914Z] noop [2023-05-16T10:31:53.914Z] Removing intermediate container 434594e4fd01 [2023-05-16T10:31:53.914Z] ---> 0739fcb8b5e3 [2023-05-16T10:31:53.914Z] Successfully built 0739fcb8b5e3 [2023-05-16T10:31:53.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:31:54.274Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:31:54.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:31:54.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-15687 does not seem to be running inside a container [2023-05-16T10:31:54.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T10:31:55.968Z] $ docker top 87f5e36876c2a264f2324a297c55c1aee3f7422ff1f70bdca96c60f3b26d5fe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:31:56.851Z] + go version [2023-05-16T10:31:56.851Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T10:31:56.880Z] $ docker stop --time=1 87f5e36876c2a264f2324a297c55c1aee3f7422ff1f70bdca96c60f3b26d5fe7 [2023-05-16T10:31:58.662Z] $ docker rm -f --volumes 87f5e36876c2a264f2324a297c55c1aee3f7422ff1f70bdca96c60f3b26d5fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:31:59.270Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:31:59.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:31:59.474Z] prd-ubuntu20.04-docker-arm64-4c-16g-15687 does not seem to be running inside a container [2023-05-16T10:31:59.551Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T10:32:00.832Z] $ docker top 9a1b8f5dd3469fa30c8a05b36720a1a78df54109dec632c32e13980da8081854 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:32:01.693Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:32:02.364Z] + make test [2023-05-16T10:32:02.364Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:32:41.349Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-16T10:35:18.161Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-16T10:35:26.410Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 1.8% of statements [2023-05-16T10:35:27.379Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T10:35:27.379Z] go vet ./... [2023-05-16T10:35:59.698Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:35:59.699Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:35:59.699Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:36:00.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:36:00.336Z] $ docker stop --time=1 9a1b8f5dd3469fa30c8a05b36720a1a78df54109dec632c32e13980da8081854 [2023-05-16T10:36:03.816Z] $ docker rm -f --volumes 9a1b8f5dd3469fa30c8a05b36720a1a78df54109dec632c32e13980da8081854 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:36:05.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:36:05.166Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T10:36:05.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:36:06.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:36:06.552Z] + ls -al . [2023-05-16T10:36:06.552Z] total 184 [2023-05-16T10:36:06.552Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:32 . [2023-05-16T10:36:06.552Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:29 .. [2023-05-16T10:36:06.552Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:29 .git [2023-05-16T10:36:06.552Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:29 .github [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 414 May 16 10:29 .gitignore [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 10:29 .golangci.yml [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 77 May 16 10:29 .hadolint.yml [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 16 10:29 Attribution.txt [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 16 10:29 CHANGELOG.md [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 16 10:29 Dockerfile [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 678 May 16 10:29 GOVERNANCE.md [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 659 May 16 10:29 Jenkinsfile [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 16 10:29 LICENSE [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 16 10:29 Makefile [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 10:29 OWNERS.md [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 16 10:29 README.md [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:24 VERSION [2023-05-16T10:36:06.552Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:29 bin [2023-05-16T10:36:06.552Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:29 cmd [2023-05-16T10:36:06.552Z] -rw-r--r-- 1 jenkins jenkins 31521 May 16 10:35 coverage.out [2023-05-16T10:36:06.552Z] -rwxrwxr-x 1 jenkins jenkins 140 May 16 10:29 docker-entrypoint.sh [2023-05-16T10:36:06.552Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:29 docs [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 16 10:29 go.mod [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 16 10:29 go.sum [2023-05-16T10:36:06.552Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:29 internal [2023-05-16T10:36:06.552Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:29 snap [2023-05-16T10:36:06.552Z] -rw-rw-r-- 1 jenkins jenkins 231 May 16 10:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:36:06.908Z] + 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=bf1dd36940fe9a7623b1925923297d620b767622 --label arch=arm64 --label version=0.0.0 . [2023-05-16T10:36:07.179Z] Sending build context to Docker daemon 1.128MB [2023-05-16T10:36:07.453Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:36:07.453Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-16T10:36:07.453Z] ---> 0739fcb8b5e3 [2023-05-16T10:36:07.453Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:36:07.453Z] ---> Running in c57d36b9a799 [2023-05-16T10:36:07.724Z] Removing intermediate container c57d36b9a799 [2023-05-16T10:36:07.724Z] ---> 1955b80a0d40 [2023-05-16T10:36:07.724Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:36:07.996Z] ---> Running in e5f3b21323c5 [2023-05-16T10:36:08.266Z] Removing intermediate container e5f3b21323c5 [2023-05-16T10:36:08.266Z] ---> cadc5e991609 [2023-05-16T10:36:08.266Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-16T10:36:08.266Z] ---> Running in 787ebe482bc5 [2023-05-16T10:36:08.549Z] Removing intermediate container 787ebe482bc5 [2023-05-16T10:36:08.549Z] ---> e266f284943d [2023-05-16T10:36:08.549Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-16T10:36:08.826Z] ---> Running in 5b0526a94f45 [2023-05-16T10:36:09.104Z] Removing intermediate container 5b0526a94f45 [2023-05-16T10:36:09.104Z] ---> b4dce2db484c [2023-05-16T10:36:09.104Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:36:09.104Z] ---> Running in 8ff9ca42b5d1 [2023-05-16T10:36:10.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:36:11.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:36:12.547Z] OK: 271 MiB in 67 packages [2023-05-16T10:36:13.523Z] Removing intermediate container 8ff9ca42b5d1 [2023-05-16T10:36:13.523Z] ---> 586cb1087837 [2023-05-16T10:36:13.523Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-16T10:36:13.523Z] ---> Running in 0e2ed4228aa4 [2023-05-16T10:36:14.114Z] Removing intermediate container 0e2ed4228aa4 [2023-05-16T10:36:14.114Z] ---> 7d58d9fa06e6 [2023-05-16T10:36:14.114Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-16T10:36:14.715Z] ---> 2f73971b8434 [2023-05-16T10:36:14.715Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:36:14.715Z] ---> Running in b3220fb29f61 [2023-05-16T10:36:18.992Z] Removing intermediate container b3220fb29f61 [2023-05-16T10:36:18.993Z] ---> b19f4578a7c6 [2023-05-16T10:36:18.993Z] Step 11/36 : COPY . . [2023-05-16T10:36:19.960Z] ---> 50ae0dd65839 [2023-05-16T10:36:19.960Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-16T10:36:19.960Z] ---> Running in 6af64a2dc03c [2023-05-16T10:36:20.930Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:36:20.930Z] Dload Upload Total Spent Left Speed [2023-05-16T10:36:21.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3421 0 --:--:-- --:--:-- --:--:-- 3436 [2023-05-16T10:36:22.179Z] Removing intermediate container 6af64a2dc03c [2023-05-16T10:36:22.179Z] ---> 1840102bd122 [2023-05-16T10:36:22.179Z] Step 13/36 : RUN ${MAKE} [2023-05-16T10:36:22.179Z] ---> Running in d3bc11a39e0f [2023-05-16T10:36:23.150Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-16T10:39:15.202Z] Removing intermediate container d3bc11a39e0f [2023-05-16T10:39:15.202Z] ---> fa9ea5977079 [2023-05-16T10:39:15.202Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-16T10:39:15.202Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-16T10:39:15.202Z] 8766b47fe142: Pulling fs layer [2023-05-16T10:39:15.202Z] 8766b47fe142: Verifying Checksum [2023-05-16T10:39:15.202Z] 8766b47fe142: Download complete [2023-05-16T10:39:15.803Z] 8766b47fe142: Pull complete [2023-05-16T10:39:16.076Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-16T10:39:16.076Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-16T10:39:16.076Z] ---> 69d40e2cb93c [2023-05-16T10:39:16.076Z] Step 15/36 : FROM alpine:3.17 [2023-05-16T10:39:16.351Z] 3.17: Pulling from library/alpine [2023-05-16T10:39:16.626Z] c41833b44d91: Already exists [2023-05-16T10:39:16.626Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:39:16.626Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:39:16.626Z] ---> 51e60588ff2c [2023-05-16T10:39:16.626Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-16T10:39:16.904Z] ---> Running in bb400a10040f [2023-05-16T10:39:17.178Z] Removing intermediate container bb400a10040f [2023-05-16T10:39:17.178Z] ---> 0578a5274874 [2023-05-16T10:39:17.178Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-16T10:39:17.178Z] ---> Running in b00515ee5346 [2023-05-16T10:39:18.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:39:18.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:39:20.150Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-16T10:39:20.150Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-16T10:39:20.150Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-16T10:39:20.150Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-16T10:39:20.150Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-16T10:39:20.150Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-16T10:39:20.150Z] (7/83) Installing libxcb (1.15-r0) [2023-05-16T10:39:20.150Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-16T10:39:20.150Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-16T10:39:20.420Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-16T10:39:20.420Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-16T10:39:20.420Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-16T10:39:20.420Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-16T10:39:20.420Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-16T10:39:20.420Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-16T10:39:20.690Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-16T10:39:20.690Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-16T10:39:20.690Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-16T10:39:20.690Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-16T10:39:20.690Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-16T10:39:20.690Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-16T10:39:20.690Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-16T10:39:20.690Z] (23/83) Installing glib (2.74.6-r0) [2023-05-16T10:39:20.690Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-16T10:39:20.690Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-16T10:39:20.958Z] (26/83) Installing libass (0.16.0-r1) [2023-05-16T10:39:20.958Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-16T10:39:20.958Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-16T10:39:20.958Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-16T10:39:20.958Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-16T10:39:20.958Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-16T10:39:20.958Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-16T10:39:20.958Z] (33/83) Installing libunistring (1.1-r0) [2023-05-16T10:39:20.958Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-16T10:39:20.958Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-16T10:39:21.229Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-16T10:39:21.229Z] (37/83) Installing lame (3.100-r2) [2023-05-16T10:39:21.229Z] (38/83) Installing opus (1.3.1-r1) [2023-05-16T10:39:21.229Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-16T10:39:21.229Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-16T10:39:21.229Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-16T10:39:21.229Z] (42/83) Installing orc (0.4.33-r0) [2023-05-16T10:39:21.229Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-16T10:39:21.229Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-16T10:39:21.229Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-16T10:39:21.229Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-16T10:39:21.229Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-16T10:39:21.229Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-16T10:39:21.229Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-16T10:39:21.229Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-16T10:39:21.497Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-16T10:39:21.498Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-16T10:39:21.498Z] (53/83) Installing libpulse (16.1-r6) [2023-05-16T10:39:21.498Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-16T10:39:21.498Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-16T10:39:21.498Z] (56/83) Installing librist (0.2.7-r0) [2023-05-16T10:39:21.498Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-16T10:39:21.498Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-16T10:39:21.498Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-16T10:39:21.498Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-16T10:39:21.498Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-16T10:39:21.498Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-16T10:39:21.498Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-16T10:39:21.498Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-16T10:39:21.498Z] (65/83) Installing libva (2.16.0-r0) [2023-05-16T10:39:21.766Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-16T10:39:21.766Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-16T10:39:21.766Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-16T10:39:21.766Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-16T10:39:21.766Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-16T10:39:21.766Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-16T10:39:21.766Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-16T10:39:22.034Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-16T10:39:22.034Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-16T10:39:22.034Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-16T10:39:22.034Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-16T10:39:22.620Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-16T10:39:22.620Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-16T10:39:22.620Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-16T10:39:22.620Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-16T10:39:22.620Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-16T10:39:22.620Z] (82/83) Installing kmod-libs (30-r1) [2023-05-16T10:39:22.620Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-16T10:39:22.620Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:39:22.620Z] Executing eudev-3.2.11-r4.trigger [2023-05-16T10:39:22.620Z] OK: 86 MiB in 98 packages [2023-05-16T10:39:26.881Z] Removing intermediate container b00515ee5346 [2023-05-16T10:39:26.881Z] ---> ee1f23dee311 [2023-05-16T10:39:26.881Z] Step 18/36 : WORKDIR / [2023-05-16T10:39:26.881Z] ---> Running in 9f0b5ef87f9f [2023-05-16T10:39:26.881Z] Removing intermediate container 9f0b5ef87f9f [2023-05-16T10:39:26.881Z] ---> d5ac09580320 [2023-05-16T10:39:26.881Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-16T10:39:27.846Z] ---> 6e7c4f624d97 [2023-05-16T10:39:27.846Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-16T10:39:28.435Z] ---> e91a8d345fed [2023-05-16T10:39:28.435Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-16T10:39:29.020Z] ---> 40d0adcac835 [2023-05-16T10:39:29.020Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-16T10:39:29.605Z] ---> 455c215d0ea2 [2023-05-16T10:39:29.605Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-16T10:39:30.194Z] ---> 5736e74d2052 [2023-05-16T10:39:30.194Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-16T10:39:30.779Z] ---> 4603967e2a9c [2023-05-16T10:39:30.779Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-16T10:39:32.195Z] ---> 81be937298ad [2023-05-16T10:39:32.195Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:39:32.195Z] ---> Running in bdbccc6ebd29 [2023-05-16T10:39:34.145Z] Removing intermediate container bdbccc6ebd29 [2023-05-16T10:39:34.145Z] ---> d4643bfee060 [2023-05-16T10:39:34.145Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-16T10:39:34.145Z] ---> Running in 71b9b3e497b7 [2023-05-16T10:39:35.561Z] Removing intermediate container 71b9b3e497b7 [2023-05-16T10:39:35.561Z] ---> b191cded012f [2023-05-16T10:39:35.561Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-16T10:39:35.830Z] ---> Running in ac63799ab639 [2023-05-16T10:39:37.248Z] Removing intermediate container ac63799ab639 [2023-05-16T10:39:37.248Z] ---> 8d995232a4d5 [2023-05-16T10:39:37.248Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-16T10:39:37.518Z] ---> Running in b839a3e8f12b [2023-05-16T10:39:39.466Z] Removing intermediate container b839a3e8f12b [2023-05-16T10:39:39.466Z] ---> 973bf1ca350a [2023-05-16T10:39:39.466Z] Step 30/36 : EXPOSE 59983 [2023-05-16T10:39:39.466Z] ---> Running in c9ce496bc151 [2023-05-16T10:39:39.466Z] Removing intermediate container c9ce496bc151 [2023-05-16T10:39:39.466Z] ---> cf99236df091 [2023-05-16T10:39:39.466Z] Step 31/36 : EXPOSE 8554 [2023-05-16T10:39:39.466Z] ---> Running in 59f5b9c31d1d [2023-05-16T10:39:39.748Z] Removing intermediate container 59f5b9c31d1d [2023-05-16T10:39:39.748Z] ---> a132bb9453df [2023-05-16T10:39:39.748Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-16T10:39:40.018Z] ---> Running in 2a23d94318cc [2023-05-16T10:39:40.287Z] Removing intermediate container 2a23d94318cc [2023-05-16T10:39:40.287Z] ---> b6c3723ebb4e [2023-05-16T10:39:40.287Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-16T10:39:40.287Z] ---> Running in b9deeadc7b6a [2023-05-16T10:39:40.557Z] Removing intermediate container b9deeadc7b6a [2023-05-16T10:39:40.557Z] ---> a493723c6414 [2023-05-16T10:39:40.557Z] Step 34/36 : LABEL arch=arm64 [2023-05-16T10:39:40.825Z] ---> Running in f37ea5fb0053 [2023-05-16T10:39:41.096Z] Removing intermediate container f37ea5fb0053 [2023-05-16T10:39:41.096Z] ---> 760a6f3ffc2b [2023-05-16T10:39:41.096Z] Step 35/36 : LABEL git_sha=bf1dd36940fe9a7623b1925923297d620b767622 [2023-05-16T10:39:41.096Z] ---> Running in c40081b9e586 [2023-05-16T10:39:41.376Z] Removing intermediate container c40081b9e586 [2023-05-16T10:39:41.376Z] ---> 0901847d7f08 [2023-05-16T10:39:41.376Z] Step 36/36 : LABEL version=0.0.0 [2023-05-16T10:39:41.645Z] ---> Running in b9a02e30e256 [2023-05-16T10:39:41.913Z] Removing intermediate container b9a02e30e256 [2023-05-16T10:39:41.913Z] ---> 4705faedac41 [2023-05-16T10:39:41.914Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:39:41.914Z] Successfully built 4705faedac41 [2023-05-16T10:39:41.914Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:39:42.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:39:42.349Z] [2023-05-16T10:39:42.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:39:42.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:39:42.689Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T10:39:42.689Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T10:39:42.689Z] 04944245beec: Pulling fs layer [2023-05-16T10:39:42.689Z] 699f458cf7ca: Pulling fs layer [2023-05-16T10:39:42.689Z] 765212b225bb: Pulling fs layer [2023-05-16T10:39:42.689Z] f23df028b6ca: Pulling fs layer [2023-05-16T10:39:42.689Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T10:39:42.689Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T10:39:42.689Z] f23df028b6ca: Waiting [2023-05-16T10:39:42.689Z] d65c8cfc05b1: Waiting [2023-05-16T10:39:42.689Z] 2437ff75d9bd: Waiting [2023-05-16T10:39:42.689Z] 765212b225bb: Waiting [2023-05-16T10:39:42.961Z] 04944245beec: Verifying Checksum [2023-05-16T10:39:42.961Z] 04944245beec: Download complete [2023-05-16T10:39:42.961Z] 765212b225bb: Verifying Checksum [2023-05-16T10:39:42.961Z] 765212b225bb: Download complete [2023-05-16T10:39:42.961Z] f23df028b6ca: Verifying Checksum [2023-05-16T10:39:42.961Z] f23df028b6ca: Download complete [2023-05-16T10:39:42.961Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T10:39:42.961Z] d65c8cfc05b1: Download complete [2023-05-16T10:39:43.233Z] 699f458cf7ca: Verifying Checksum [2023-05-16T10:39:43.233Z] 699f458cf7ca: Download complete [2023-05-16T10:39:43.501Z] 8998bd30e6a1: Download complete [2023-05-16T10:39:46.087Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T10:39:46.087Z] 2437ff75d9bd: Download complete [2023-05-16T10:39:47.494Z] 8998bd30e6a1: Pull complete [2023-05-16T10:39:48.079Z] 04944245beec: Pull complete [2023-05-16T10:39:49.493Z] 699f458cf7ca: Pull complete [2023-05-16T10:39:49.493Z] 765212b225bb: Pull complete [2023-05-16T10:39:50.456Z] f23df028b6ca: Pull complete [2023-05-16T10:39:50.456Z] d65c8cfc05b1: Pull complete [2023-05-16T10:40:05.456Z] 2437ff75d9bd: Pull complete [2023-05-16T10:40:05.456Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T10:40:05.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:40:05.456Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:40:05.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-15687 does not seem to be running inside a container [2023-05-16T10:40:05.733Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T10:40:08.488Z] $ docker top 50206f52345fbad80aafb9f271ac4dfb575046f6636b8b23510b71be80cf6d39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:09.344Z] ---> job-cost.sh [2023-05-16T10:40:09.344Z] lf-activate-venv: SKIPPING [2023-05-16T10:40:09.344Z] INFO: No Stack... [2023-05-16T10:40:09.927Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T10:40:10.888Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:40:11.526Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-05-16T10:40:11.526Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:40:11.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [2023-05-16T10:40:11.604Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] did not exist. Created. [2023-05-16T10:40:11.604Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:40:12.270Z] /w/workspace/device-usb-camera/2@tmp/durable-21b8dca1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T10:40:12.927Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T10:40:12.952Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T10:40:13.005Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:40:13.014Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-248-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:40:13.040Z] $ docker stop --time=1 50206f52345fbad80aafb9f271ac4dfb575046f6636b8b23510b71be80cf6d39 [2023-05-16T10:40:14.560Z] $ docker rm -f --volumes 50206f52345fbad80aafb9f271ac4dfb575046f6636b8b23510b71be80cf6d39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-16T10:40:14.931Z] provisioning config files... [2023-05-16T10:40:14.937Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config11031582612752612749tmp [Pipeline] { [Pipeline] sh [2023-05-16T10:40:15.225Z] + set +x [2023-05-16T10:40:15.225Z] + curl -s https://codecov.io/bash [2023-05-16T10:40:15.225Z] + bash -s -- [2023-05-16T10:40:15.225Z] [2023-05-16T10:40:15.225Z] _____ _ [2023-05-16T10:40:15.225Z] / ____| | | [2023-05-16T10:40:15.225Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T10:40:15.225Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T10:40:15.225Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T10:40:15.225Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T10:40:15.225Z] Bash-1.0.6 [2023-05-16T10:40:15.225Z] [2023-05-16T10:40:15.225Z] [2023-05-16T10:40:15.225Z] ==> git version 2.25.1 found [2023-05-16T10:40:15.225Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-16T10:40:15.225Z] Release-Date: 2020-01-08 [2023-05-16T10:40:15.225Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-16T10:40:15.225Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T10:40:15.225Z] ==> Jenkins CI detected. [2023-05-16T10:40:15.225Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-248 [2023-05-16T10:40:15.225Z] project root: . [2023-05-16T10:40:15.225Z] --> token set from env [2023-05-16T10:40:15.226Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T10:40:15.226Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T10:40:15.226Z] ==> Python coveragepy not found [2023-05-16T10:40:15.226Z] ==> Searching for coverage reports in: [2023-05-16T10:40:15.226Z] + . [2023-05-16T10:40:15.226Z] -> Found 1 reports [2023-05-16T10:40:15.226Z] ==> Detecting git/mercurial file structure [2023-05-16T10:40:15.226Z] ==> Reading reports [2023-05-16T10:40:15.226Z] + ./coverage.out bytes=31521 [2023-05-16T10:40:15.226Z] ==> Appending adjustments [2023-05-16T10:40:15.226Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T10:40:15.484Z] + Found adjustments [2023-05-16T10:40:15.484Z] ==> Gzipping contents [2023-05-16T10:40:15.484Z] 8.0K /tmp/codecov.reIQ9u.gz [2023-05-16T10:40:15.484Z] ==> Uploading reports [2023-05-16T10:40:15.484Z] url: https://codecov.io [2023-05-16T10:40:15.484Z] query: branch=PR-248&commit=bf1dd36940fe9a7623b1925923297d620b767622&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-248%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=248&job=&cmd_args= [2023-05-16T10:40:15.484Z] -> Pinging Codecov [2023-05-16T10:40:15.484Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-248&commit=bf1dd36940fe9a7623b1925923297d620b767622&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-248%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=248&job=&cmd_args= [2023-05-16T10:40:15.484Z] -> Uploading to [2023-05-16T10:40:15.484Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/73D8F5FF140700D3E01443B452E23636/bf1dd36940fe9a7623b1925923297d620b767622/458248c6-09b2-497e-afd6-7da1381f5005.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T104015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e283d722d4431726c0036d5afbc8208c0bb717b8376362be26fdb96dfae75d0 [2023-05-16T10:40:15.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:40:15.484Z] Dload Upload Total Spent Left Speed [2023-05-16T10:40:15.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4334 0 0 100 4334 0 23427 --:--:-- --:--:-- --:--:-- 23301 100 4334 0 0 100 4334 0 23301 --:--:-- --:--:-- --:--:-- 23301 [2023-05-16T10:40:15.742Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bf1dd36940fe9a7623b1925923297d620b767622 [Pipeline] } [2023-05-16T10:40:15.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-16T10:40:16.480Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-248/archives ] [2023-05-16T10:40:16.481Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-248/archives [2023-05-16T10:40:16.481Z] total 16 [2023-05-16T10:40:16.481Z] drwxr-xr-x 3 root root 4096 May 16 10:26 . [2023-05-16T10:40:16.481Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:26 .. [2023-05-16T10:40:16.481Z] drwxr-xr-x 2 root root 4096 May 16 10:26 cost [2023-05-16T10:40:16.481Z] -rw-r--r-- 1 root root 89 May 16 10:26 cost.csv [2023-05-16T10:40:16.481Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-248/archives [2023-05-16T10:40:16.481Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-248/archives [2023-05-16T10:40:16.481Z] total 16 [2023-05-16T10:40:16.481Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:26 . [2023-05-16T10:40:16.481Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 10:26 .. [2023-05-16T10:40:16.481Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:26 cost [2023-05-16T10:40:16.481Z] -rw-r--r-- 1 jenkins jenkins 89 May 16 10:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:16.771Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:17.632Z] ---> package-listing.sh [2023-05-16T10:40:17.632Z] ++ facter osfamily [2023-05-16T10:40:17.632Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T10:40:17.891Z] + OS_FAMILY=debian [2023-05-16T10:40:17.891Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-248 [2023-05-16T10:40:17.891Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T10:40:17.891Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T10:40:17.891Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T10:40:17.891Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T10:40:17.891Z] + '[' /w/workspace/foundry_device-usb-camera_PR-248 ']' [2023-05-16T10:40:17.891Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T10:40:17.891Z] + case "${OS_FAMILY}" in [2023-05-16T10:40:17.891Z] + dpkg -l [2023-05-16T10:40:17.891Z] + grep '^ii' [2023-05-16T10:40:17.891Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T10:40:17.891Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T10:40:17.891Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T10:40:17.891Z] + '[' /w/workspace/foundry_device-usb-camera_PR-248 ']' [2023-05-16T10:40:17.891Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-248/archives/ [2023-05-16T10:40:17.891Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-248/archives/ [Pipeline] echo [2023-05-16T10:40:17.903Z] 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-248/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T10:40:18.182Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:40:18.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:40:18.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:40:18.816Z] prd-ubuntu20.04-docker-8c-8g-15682 does not seem to be running inside a container [2023-05-16T10:40:18.847Z] $ 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-248/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-248 -v /w/workspace/foundry_device-usb-camera_PR-248:/w/workspace/foundry_device-usb-camera_PR-248:rw,z -v /w/workspace/foundry_device-usb-camera_PR-248@tmp:/w/workspace/foundry_device-usb-camera_PR-248@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-lftools-log-publisher:latest cat [2023-05-16T10:40:19.025Z] $ docker top 6b0106e1a27ff80388e7c9a4368233d90e3ffb3de219a5c3621ed837c01bbc37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:40:19.358Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T10:40:19.641Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T10:40:19.925Z] + ls /var/log/sa-host [2023-05-16T10:40:19.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:40:19.994Z] provisioning config files... [2023-05-16T10:40:20.004Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-248@tmp/config10728089470485651071tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:40:20.020Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:20.308Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T10:40:20.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:20.631Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T10:40:20.639Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:20.925Z] ---> sudo-logs.sh [2023-05-16T10:40:20.925Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T10:40:20.958Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:21.243Z] ---> job-cost.sh [2023-05-16T10:40:21.244Z] lf-activate-venv: SKIPPING [2023-05-16T10:40:21.244Z] DEBUG: total: 0.2199999988079071 [2023-05-16T10:40:21.244Z] INFO: Retrieving Stack Cost... [2023-05-16T10:40:21.812Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:40:22.075Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T10:40:22.088Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:40:22.372Z] ---> logs-deploy.sh [2023-05-16T10:40:22.372Z] lf-activate-venv: SKIPPING [2023-05-16T10:40:22.372Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-248/2 [2023-05-16T10:40:22.372Z] INFO: archiving workspace using pattern(s): [2023-05-16T10:40:23.313Z] Archives upload complete. [2023-05-16T10:40:23.313Z] INFO: archiving logs to Nexus [2023-05-16T10:40:23.881Z] ---> uname -a: [2023-05-16T10:40:23.881Z] Linux prd-ubuntu20-04-docker-8c-8g-15682 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z] ---> lscpu: [2023-05-16T10:40:23.881Z] Architecture: x86_64 [2023-05-16T10:40:23.881Z] CPU op-mode(s): 32-bit, 64-bit [2023-05-16T10:40:23.881Z] Byte Order: Little Endian [2023-05-16T10:40:23.881Z] Address sizes: 40 bits physical, 48 bits virtual [2023-05-16T10:40:23.881Z] CPU(s): 8 [2023-05-16T10:40:23.881Z] On-line CPU(s) list: 0-7 [2023-05-16T10:40:23.881Z] Thread(s) per core: 1 [2023-05-16T10:40:23.881Z] Core(s) per socket: 1 [2023-05-16T10:40:23.881Z] Socket(s): 8 [2023-05-16T10:40:23.881Z] NUMA node(s): 1 [2023-05-16T10:40:23.881Z] Vendor ID: AuthenticAMD [2023-05-16T10:40:23.881Z] CPU family: 23 [2023-05-16T10:40:23.881Z] Model: 49 [2023-05-16T10:40:23.881Z] Model name: AMD EPYC-Rome Processor [2023-05-16T10:40:23.881Z] Stepping: 0 [2023-05-16T10:40:23.881Z] CPU MHz: 2799.998 [2023-05-16T10:40:23.881Z] BogoMIPS: 5599.99 [2023-05-16T10:40:23.881Z] Virtualization: AMD-V [2023-05-16T10:40:23.881Z] Hypervisor vendor: KVM [2023-05-16T10:40:23.881Z] Virtualization type: full [2023-05-16T10:40:23.881Z] L1d cache: 256 KiB [2023-05-16T10:40:23.881Z] L1i cache: 256 KiB [2023-05-16T10:40:23.881Z] L2 cache: 4 MiB [2023-05-16T10:40:23.881Z] L3 cache: 128 MiB [2023-05-16T10:40:23.881Z] NUMA node0 CPU(s): 0-7 [2023-05-16T10:40:23.881Z] Vulnerability Itlb multihit: Not affected [2023-05-16T10:40:23.881Z] Vulnerability L1tf: Not affected [2023-05-16T10:40:23.881Z] Vulnerability Mds: Not affected [2023-05-16T10:40:23.881Z] Vulnerability Meltdown: Not affected [2023-05-16T10:40:23.881Z] Vulnerability Mmio stale data: Not affected [2023-05-16T10:40:23.881Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-05-16T10:40:23.881Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-05-16T10:40:23.881Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-05-16T10:40:23.881Z] Vulnerability Srbds: Not affected [2023-05-16T10:40:23.881Z] Vulnerability Tsx async abort: Not affected [2023-05-16T10:40:23.881Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z] ---> nproc: [2023-05-16T10:40:23.881Z] 8 [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z] ---> df -h: [2023-05-16T10:40:23.881Z] Filesystem Size Used Avail Use% Mounted on [2023-05-16T10:40:23.881Z] overlay 155G 12G 144G 8% / [2023-05-16T10:40:23.881Z] tmpfs 64M 0 64M 0% /dev [2023-05-16T10:40:23.881Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-05-16T10:40:23.881Z] shm 64M 0 64M 0% /dev/shm [2023-05-16T10:40:23.881Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-05-16T10:40:23.881Z] [2023-05-16T10:40:23.881Z]