Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than a5ce76ab22246a4a44a94dfb472e600c055de9c1 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10052183416425625571.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10550496314166573203.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12146694193468514842.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14516582490190274864.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2163944895649515356.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-19272 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-262 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit a5ce76ab22246a4a44a94dfb472e600c055de9c1 Merge succeeded, producing a5ce76ab22246a4a44a94dfb472e600c055de9c1 Checking out Revision a5ce76ab22246a4a44a94dfb472e600c055de9c1 (PR-262) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5ce76ab22246a4a44a94dfb472e600c055de9c1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5ce76ab22246a4a44a94dfb472e600c055de9c1 # timeout=10 Commit message: "refactor: incorporate panic fixes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk d047ebfebda34aae1c24a07cac61fbfd5d78d65d # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:37:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:37:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:37:25 ========================================================= 20:37:25 EdgeX Global Pipelines Version Info 20:37:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:37:26 ------------------- 20:37:26 stable info: 20:37:26 ------------------- 20:37:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:37:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:37:26 Message: update stable to v1.0.250 20:37:27 ------------------- 20:37:27 experimental info: 20:37:27 ------------------- 20:37:27 Commited By: **** collab-it+edgex@linuxfoundation.org 20:37:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:37:27 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5ce76ab22246a4a44a94dfb472e600c055de9c1 [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5ce76a [Pipeline] echo 20:37:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:27 provisioning config files... 20:37:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config14567032568230348565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:28 ---> docker-login.sh 20:37:28 nexus3.edgexfoundry.org:10001 20:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:28 Configure a credential helper to remove this warning. See 20:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:28 20:37:28 Login Succeeded 20:37:28 nexus3.edgexfoundry.org:10002 20:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:28 Configure a credential helper to remove this warning. See 20:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:28 20:37:28 Login Succeeded 20:37:28 nexus3.edgexfoundry.org:10003 20:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:28 Configure a credential helper to remove this warning. See 20:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:28 20:37:28 Login Succeeded 20:37:28 nexus3.edgexfoundry.org:10004 20:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:28 Configure a credential helper to remove this warning. See 20:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:28 20:37:28 Login Succeeded 20:37:28 docker.io 20:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:29 Configure a credential helper to remove this warning. See 20:37:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:29 20:37:29 Login Succeeded 20:37:29 ---> docker-login.sh ends [Pipeline] } 20:37:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:37:29 + git rev-list -1 --merges a5ce76ab22246a4a44a94dfb472e600c055de9c1~1..a5ce76ab22246a4a44a94dfb472e600c055de9c1 [Pipeline] echo 20:37:29 -----------> git rev-list -1 --merges a5ce76ab22246a4a44a94dfb472e600c055de9c1~1..a5ce76ab22246a4a44a94dfb472e600c055de9c1 a5ce76ab22246a4a44a94dfb472e600c055de9c1 [false] [Pipeline] sh 20:37:29 + git log --format=format:%s -1 a5ce76ab22246a4a44a94dfb472e600c055de9c1 [Pipeline] echo 20:37:29 ========================================================= 20:37:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:37:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:30 + git log --format=format:%s -1 a5ce76ab22246a4a44a94dfb472e600c055de9c1 [Pipeline] echo 20:37:30 [semverPrep] GIT_COMMIT: a5ce76ab22246a4a44a94dfb472e600c055de9c1, Commit Message: refactor: incorporate panic fixes [Pipeline] echo 20:37:30 [semverPrep] This is not a build commit. [Pipeline] sh 20:37:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:37:30 + grep -v github /etc/ssh/ssh_known_hosts 20:37:30 + [ -e /tmp/ssh_known_hosts ] 20:37:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:37:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:37:30 + sudo tee -a /etc/ssh/ssh_known_hosts 20:37:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:30 20:37:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:31 0.1.4: Pulling from edgex-devops/py-git-semver 20:37:31 b85a868b505f: Pulling fs layer 20:37:31 e2be974225ed: Pulling fs layer 20:37:31 339a4e72a1f5: Pulling fs layer 20:37:31 988bab9f4d93: Pulling fs layer 20:37:31 1469e6f7b9e6: Pulling fs layer 20:37:31 eaf3925da568: Pulling fs layer 20:37:31 bab4dde63d76: Pulling fs layer 20:37:31 bde34c3a00c8: Pulling fs layer 20:37:31 b352a97aabf1: Pulling fs layer 20:37:31 4872d77fe225: Pulling fs layer 20:37:31 5851b861e8e6: Pulling fs layer 20:37:31 bab4dde63d76: Waiting 20:37:31 1469e6f7b9e6: Waiting 20:37:31 988bab9f4d93: Waiting 20:37:31 eaf3925da568: Waiting 20:37:31 bde34c3a00c8: Waiting 20:37:31 b352a97aabf1: Waiting 20:37:31 5851b861e8e6: Waiting 20:37:31 e2be974225ed: Download complete 20:37:31 988bab9f4d93: Download complete 20:37:31 1469e6f7b9e6: Verifying Checksum 20:37:31 1469e6f7b9e6: Download complete 20:37:31 eaf3925da568: Verifying Checksum 20:37:31 eaf3925da568: Download complete 20:37:31 339a4e72a1f5: Verifying Checksum 20:37:31 339a4e72a1f5: Download complete 20:37:31 bde34c3a00c8: Download complete 20:37:31 b352a97aabf1: Verifying Checksum 20:37:31 b352a97aabf1: Download complete 20:37:31 4872d77fe225: Verifying Checksum 20:37:31 4872d77fe225: Download complete 20:37:31 5851b861e8e6: Verifying Checksum 20:37:31 5851b861e8e6: Download complete 20:37:31 b85a868b505f: Verifying Checksum 20:37:31 b85a868b505f: Download complete 20:37:31 bab4dde63d76: Verifying Checksum 20:37:31 bab4dde63d76: Download complete 20:37:32 b85a868b505f: Pull complete 20:37:32 e2be974225ed: Pull complete 20:37:33 339a4e72a1f5: Pull complete 20:37:33 988bab9f4d93: Pull complete 20:37:33 1469e6f7b9e6: Pull complete 20:37:34 eaf3925da568: Pull complete 20:37:35 bab4dde63d76: Pull complete 20:37:35 bde34c3a00c8: Pull complete 20:37:35 b352a97aabf1: Pull complete 20:37:35 4872d77fe225: Pull complete 20:37:36 5851b861e8e6: Pull complete 20:37:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:37:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:36 prd-ubuntu20.04-docker-8c-8g-19272 does not seem to be running inside a container 20:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:37:39 $ docker top 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 -eo pid,comm 20:37:39 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). 20:37:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:37:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:39 [ssh-agent] Looking for ssh-agent implementation... 20:37:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:39 $ docker exec 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 ssh-agent 20:37:39 SSH_AUTH_SOCK=/tmp/ssh-1ZRsf0lTfQv0/agent.33 20:37:39 SSH_AGENT_PID=39 20:37:39 Running ssh-add (command line suppressed) 20:37:39 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12461970216070466358.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12461970216070466358.key) 20:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:39 + git tag --points-at HEAD [Pipeline] } 20:37:39 $ docker exec --env ******** --env ******** 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 ssh-agent -k 20:37:40 unset SSH_AUTH_SOCK; 20:37:40 unset SSH_AGENT_PID; 20:37:40 echo Agent pid 39 killed; 20:37:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:37:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:40 [ssh-agent] Looking for ssh-agent implementation... 20:37:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:40 $ docker exec 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 ssh-agent 20:37:40 SSH_AUTH_SOCK=/tmp/ssh-EsALFFcUeMdQ/agent.71 20:37:40 SSH_AGENT_PID=77 20:37:40 Running ssh-add (command line suppressed) 20:37:40 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_5977240739773312548.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_5977240739773312548.key) 20:37:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:40 + git semver init 20:37:41 2023-06-26 20:37:40,915 [run_init] DEBUG init version:0.0.0 force:False 20:37:41 2023-06-26 20:37:40,915 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver 20:37:41 2023-06-26 20:37:40,916 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver 20:37:41 2023-06-26 20:37:40,916 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) 20:37:41 2023-06-26 20:37:41,637 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude 20:37:41 2023-06-26 20:37:41,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False 20:37:41 2023-06-26 20:37:41,638 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 20:37:41 2023-06-26 20:37:41,642 [execute] INFO git cat-file --batch-check 20:37:41 2023-06-26 20:37:41,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 20:37:41 2023-06-26 20:37:41,649 [execute] INFO git cat-file --batch 20:37:41 2023-06-26 20:37:41,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 20:37:41 2023-06-26 20:37:41,654 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 20:37:41 0.0.0 [Pipeline] } 20:37:41 $ docker exec --env ******** --env ******** 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 ssh-agent -k 20:37:42 unset SSH_AUTH_SOCK; 20:37:42 unset SSH_AGENT_PID; 20:37:42 echo Agent pid 77 killed; 20:37:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:37:42 + git semver [Pipeline] } 20:37:42 $ docker stop --time=1 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 20:37:43 $ docker rm -f --volumes 1d419a3d02f11cfadc689d5d0a04ac473624ad734584021a454e16ca432339c1 [Pipeline] // withDockerContainer [Pipeline] sh 20:37:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:37:44 Stashed 1 file(s) [Pipeline] echo 20:37:44 [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 20:37:44 provisioning config files... 20:37:44 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config13213559721586087948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:45 ---> docker-login.sh 20:37:45 nexus3.edgexfoundry.org:10001 20:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:45 Configure a credential helper to remove this warning. See 20:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:45 20:37:45 Login Succeeded 20:37:45 nexus3.edgexfoundry.org:10002 20:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:45 Configure a credential helper to remove this warning. See 20:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:45 20:37:45 Login Succeeded 20:37:45 nexus3.edgexfoundry.org:10003 20:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:45 Configure a credential helper to remove this warning. See 20:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:45 20:37:45 Login Succeeded 20:37:45 nexus3.edgexfoundry.org:10004 20:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:45 Configure a credential helper to remove this warning. See 20:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:45 20:37:45 Login Succeeded 20:37:45 docker.io 20:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:45 Configure a credential helper to remove this warning. See 20:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:45 20:37:45 Login Succeeded 20:37:45 ---> docker-login.sh ends [Pipeline] } 20:37:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:45 ========================================================= 20:37:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:37:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:45 + 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 . 20:37:45 Sending build context to Docker daemon 2.211MB 20:37:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:37:45 Step 2/13 : FROM ${BASE} AS builder 20:37:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:37:45 f56be85fc22e: Pulling fs layer 20:37:45 85791d961cd3: Pulling fs layer 20:37:45 d694b5ae8c79: Pulling fs layer 20:37:45 9f32a84ed3da: Pulling fs layer 20:37:45 4d19c01a9841: Pulling fs layer 20:37:45 9325e15d5711: Pulling fs layer 20:37:45 556b6ee489ea: Pulling fs layer 20:37:45 c5a4b2cf53e6: Pulling fs layer 20:37:45 9f32a84ed3da: Waiting 20:37:45 556b6ee489ea: Waiting 20:37:45 c5a4b2cf53e6: Waiting 20:37:45 85791d961cd3: Download complete 20:37:46 9f32a84ed3da: Download complete 20:37:46 4d19c01a9841: Download complete 20:37:46 f56be85fc22e: Verifying Checksum 20:37:46 f56be85fc22e: Download complete 20:37:46 9325e15d5711: Verifying Checksum 20:37:46 9325e15d5711: Download complete 20:37:46 f56be85fc22e: Pull complete 20:37:46 85791d961cd3: Pull complete 20:37:46 d694b5ae8c79: Verifying Checksum 20:37:46 d694b5ae8c79: Download complete 20:37:46 c5a4b2cf53e6: Verifying Checksum 20:37:46 c5a4b2cf53e6: Download complete 20:37:46 556b6ee489ea: Verifying Checksum 20:37:50 d694b5ae8c79: Pull complete 20:37:50 9f32a84ed3da: Pull complete 20:37:50 4d19c01a9841: Pull complete 20:37:50 9325e15d5711: Pull complete 20:37:53 556b6ee489ea: Pull complete 20:37:53 c5a4b2cf53e6: Pull complete 20:37:53 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:37:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:37:53 ---> c4be618373d6 20:37:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:37:59 ---> Running in c47e38f3d360 20:37:59 Removing intermediate container c47e38f3d360 20:37:59 ---> d696888ff316 20:37:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:59 ---> Running in 0365b6b4432d 20:37:59 Removing intermediate container 0365b6b4432d 20:37:59 ---> 7a5c6f96ac08 20:37:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:37:59 ---> Running in c14ed73ae69e 20:37:59 Removing intermediate container c14ed73ae69e 20:37:59 ---> abcb4d596a60 20:37:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:37:59 ---> Running in fd445e6f5c50 20:37:59 Removing intermediate container fd445e6f5c50 20:37:59 ---> 744bac878516 20:37:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:59 ---> Running in 0b363a7ccd0d 20:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:37:59 Still waiting to schedule task 20:37:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19271’ 20:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:00 (1/14) Installing libintl (0.21.1-r1) 20:38:00 (2/14) Installing eudev-libs (3.2.11-r4) 20:38:00 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:38:00 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:38:00 (5/14) Installing v4l-utils (1.22.1-r2) 20:38:00 (6/14) Installing udev-init-scripts (35-r1) 20:38:00 (7/14) Installing libblkid (2.38.1-r1) 20:38:00 (8/14) Installing xz-libs (5.2.9-r0) 20:38:00 (9/14) Installing zstd-libs (1.5.5-r0) 20:38:00 (10/14) Installing kmod-libs (30-r1) 20:38:00 (11/14) Installing eudev (3.2.11-r4) 20:38:00 (12/14) Installing eudev-dev (3.2.11-r4) 20:38:00 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:38:00 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:38:00 Executing busybox-1.35.0-r29.trigger 20:38:00 Executing eudev-3.2.11-r4.trigger 20:38:00 OK: 272 MiB in 67 packages 20:38:00 Removing intermediate container 0b363a7ccd0d 20:38:00 ---> 0857615b22fc 20:38:00 Step 8/13 : WORKDIR /device-usb-camera 20:38:00 ---> Running in 529200df525a 20:38:00 Removing intermediate container 529200df525a 20:38:00 ---> c6d0dec8e841 20:38:00 Step 9/13 : COPY go.mod vendor* ./ 20:38:01 ---> b5b037122560 20:38:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:01 ---> Running in 112abaf73521 20:38:27 Removing intermediate container 112abaf73521 20:38:27 ---> 0b817198a74a 20:38:27 Step 11/13 : COPY . . 20:38:27 ---> 1850f504f958 20:38:27 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:38:27 ---> Running in 3a980303476d 20:38:27  % Total % Received % Xferd Average Speed Time Time Time Current 20:38:27 Dload Upload Total Spent Left Speed 20:38:27 0  0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7802 0 --:--:-- --:--:-- --:--:-- 7866 20:38:27 Removing intermediate container 3a980303476d 20:38:27 ---> 7f407c88a1d0 20:38:27 Step 13/13 : RUN ${MAKE} 20:38:27 ---> Running in 0b9d2617b135 20:38:27 noop 20:38:27 Removing intermediate container 0b9d2617b135 20:38:27 ---> 9661bc30bec3 20:38:27 Successfully built 9661bc30bec3 20:38:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:27 + docker inspect -f . ci-base-image-x86_64 20:38:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:28 prd-ubuntu20.04-docker-8c-8g-19272 does not seem to be running inside a container 20:38:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:38:28 $ docker top 69b269bd3a117c1ad71e662d860c5137b905b01e0387e483b32abf6b94a9f2f8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:29 + go version 20:38:29 go version go1.20.2 linux/amd64 [Pipeline] } 20:38:29 $ docker stop --time=1 69b269bd3a117c1ad71e662d860c5137b905b01e0387e483b32abf6b94a9f2f8 20:38:30 $ docker rm -f --volumes 69b269bd3a117c1ad71e662d860c5137b905b01e0387e483b32abf6b94a9f2f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:30 + docker inspect -f . ci-base-image-x86_64 20:38:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:30 prd-ubuntu20.04-docker-8c-8g-19272 does not seem to be running inside a container 20:38:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:38:31 $ docker top 418d739a6ab9327bc2ca2c37b8920e5d47f7c8f44ab242eb65c685640e29bee4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:31 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh 20:38:31 + make test 20:38:31 go test ./... -coverprofile=coverage.out ./... 20:38:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:38:47 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:38:47 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.6% of statements 20:38:55 go vet ./... 20:38:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:38:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:38:59 ./bin/test-attribution-txt.sh 20:38:59 An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add 20:38:59 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:38:59 An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add 20:38:59 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:38:59 $ docker stop --time=1 418d739a6ab9327bc2ca2c37b8920e5d47f7c8f44ab242eb65c685640e29bee4 20:39:02 $ docker rm -f --volumes 418d739a6ab9327bc2ca2c37b8920e5d47f7c8f44ab242eb65c685640e29bee4 [Pipeline] // withDockerContainer [Pipeline] sh 20:39:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:39:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:39:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:04 + ls -al . 20:39:04 total 200 20:39:04 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 20:38 . 20:39:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 20:37 .. 20:39:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 20:37 .git 20:39:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:37 .github 20:39:04 -rw-rw-r-- 1 jenkins jenkins 414 Jun 26 20:37 .gitignore 20:39:04 -rw-rw-r-- 1 jenkins jenkins 45 Jun 26 20:37 .golangci.yml 20:39:04 -rw-rw-r-- 1 jenkins jenkins 77 Jun 26 20:37 .hadolint.yml 20:39:04 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 20:37 .semver 20:39:04 -rw-rw-r-- 1 jenkins jenkins 9665 Jun 26 20:37 Attribution.txt 20:39:04 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 26 20:37 CHANGELOG.md 20:39:04 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 26 20:37 Dockerfile 20:39:04 -rw-rw-r-- 1 jenkins jenkins 678 Jun 26 20:37 GOVERNANCE.md 20:39:04 -rw-rw-r-- 1 jenkins jenkins 659 Jun 26 20:37 Jenkinsfile 20:39:04 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 26 20:37 LICENSE 20:39:04 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 26 20:37 Makefile 20:39:04 -rw-rw-r-- 1 jenkins jenkins 622 Jun 26 20:37 OWNERS.md 20:39:04 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 26 20:37 README.md 20:39:04 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 20:37 VERSION 20:39:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:37 bin 20:39:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:37 cmd 20:39:04 -rw-r--r-- 1 jenkins jenkins 37610 Jun 26 20:38 coverage.out 20:39:04 -rwxrwxr-x 1 jenkins jenkins 140 Jun 26 20:37 docker-entrypoint.sh 20:39:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:37 docs 20:39:04 -rw-rw-r-- 1 jenkins jenkins 3541 Jun 26 20:37 go.mod 20:39:04 -rw-rw-r-- 1 jenkins jenkins 32704 Jun 26 20:37 go.sum 20:39:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:37 internal 20:39:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 20:37 snap 20:39:04 -rw-rw-r-- 1 jenkins jenkins 231 Jun 26 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:04 + 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=a5ce76ab22246a4a44a94dfb472e600c055de9c1 --label arch=amd64 --label version=0.0.0 . 20:39:04 Sending build context to Docker daemon 2.25MB 20:39:04 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:39:04 Step 2/36 : FROM ${BASE} AS builder 20:39:04 ---> 9661bc30bec3 20:39:04 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:39:04 ---> Running in b45c267173a8 20:39:04 Removing intermediate container b45c267173a8 20:39:04 ---> 734960a399e4 20:39:04 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:04 ---> Running in 166294f3a7a5 20:39:04 Removing intermediate container 166294f3a7a5 20:39:04 ---> 32992478727f 20:39:04 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:39:04 ---> Running in dc9ff8694633 20:39:04 Removing intermediate container dc9ff8694633 20:39:04 ---> d671f80a1fa2 20:39:04 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:39:04 ---> Running in aea21b87e792 20:39:04 Removing intermediate container aea21b87e792 20:39:04 ---> f73ead840ca8 20:39:04 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:04 ---> Running in 8f60ad29f576 20:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:05 OK: 272 MiB in 67 packages 20:39:06 Removing intermediate container 8f60ad29f576 20:39:06 ---> 434a15e0172e 20:39:06 Step 8/36 : WORKDIR /device-usb-camera 20:39:06 ---> Running in 4ca7154e73c9 20:39:06 Removing intermediate container 4ca7154e73c9 20:39:06 ---> a557c45dcd9f 20:39:06 Step 9/36 : COPY go.mod vendor* ./ 20:39:06 ---> 1118ae1ad893 20:39:06 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:06 ---> Running in e5df8e2fa70c 20:39:06 Removing intermediate container e5df8e2fa70c 20:39:06 ---> 5dbb262545a4 20:39:06 Step 11/36 : COPY . . 20:39:07 ---> ddbca9bd8319 20:39:07 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:39:07 ---> Running in 8dde931ff6dc 20:39:07  % Total % Received % Xferd Average Speed Time Time Time Current 20:39:07 Dload Upload Total Spent Left Speed 20:39:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 22260 0 --:--:-- --:--:-- --:--:-- 22595 20:39:07 Removing intermediate container 8dde931ff6dc 20:39:07 ---> c3751b9e70b0 20:39:07 Step 13/36 : RUN ${MAKE} 20:39:07 ---> Running in 907778bbac2e 20:39:08 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:39:34 Removing intermediate container 907778bbac2e 20:39:34 ---> 76b9d9c47a4b 20:39:34 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:39:34 v0.21.6: Pulling from aler9/rtsp-simple-server 20:39:34 4acc49c71d14: Pulling fs layer 20:39:34 4acc49c71d14: Verifying Checksum 20:39:34 4acc49c71d14: Download complete 20:39:34 4acc49c71d14: Pull complete 20:39:34 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:39:34 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:39:34 ---> 01a2bd3e5fff 20:39:34 Step 15/36 : FROM alpine:3.17 20:39:34 3.17: Pulling from library/alpine 20:39:34 4db1b89c0bd1: Pulling fs layer 20:39:34 4db1b89c0bd1: Verifying Checksum 20:39:34 4db1b89c0bd1: Download complete 20:39:34 4db1b89c0bd1: Pull complete 20:39:34 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:39:34 Status: Downloaded newer image for alpine:3.17 20:39:34 ---> 1f73a9d63274 20:39:34 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:39:34 ---> Running in 4ae8f54d3407 20:39:34 Removing intermediate container 4ae8f54d3407 20:39:34 ---> f8dbce467d6f 20:39:34 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:39:34 ---> Running in 5d70e6c1c24b 20:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:35 (1/86) Installing dumb-init (1.2.5-r2) 20:39:35 (2/86) Installing sdl2 (2.26.5-r0) 20:39:35 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:39:35 (4/86) Installing libxau (1.0.10-r0) 20:39:35 (5/86) Installing libmd (1.0.4-r0) 20:39:35 (6/86) Installing libbsd (0.11.7-r0) 20:39:35 (7/86) Installing libxdmcp (1.1.4-r0) 20:39:35 (8/86) Installing libxcb (1.15-r0) 20:39:35 (9/86) Installing libx11 (1.8.4-r1) 20:39:35 (10/86) Installing aom-libs (3.5.0-r0) 20:39:35 (11/86) Installing alsa-lib (1.2.8-r0) 20:39:35 (12/86) Installing libexpat (2.5.0-r0) 20:39:35 (13/86) Installing brotli-libs (1.0.9-r9) 20:39:35 (14/86) Installing libbz2 (1.0.8-r4) 20:39:35 (15/86) Installing libpng (1.6.38-r0) 20:39:35 (16/86) Installing freetype (2.12.1-r0) 20:39:35 (17/86) Installing fontconfig (2.14.1-r0) 20:39:35 (18/86) Installing fribidi (1.0.12-r0) 20:39:35 (19/86) Installing libffi (3.4.4-r0) 20:39:35 (20/86) Installing libintl (0.21.1-r1) 20:39:35 (21/86) Installing libblkid (2.38.1-r1) 20:39:35 (22/86) Installing libmount (2.38.1-r1) 20:39:35 (23/86) Installing pcre2 (10.42-r0) 20:39:35 (24/86) Installing glib (2.74.7-r0) 20:39:35 (25/86) Installing graphite2 (1.3.14-r2) 20:39:35 (26/86) Installing harfbuzz (5.3.1-r1) 20:39:35 (27/86) Installing libass (0.16.0-r1) 20:39:35 (28/86) Installing libdav1d (1.0.0-r2) 20:39:35 (29/86) Installing hwdata-pci (0.364-r0) 20:39:35 (30/86) Installing libpciaccess (0.17-r0) 20:39:35 (31/86) Installing libdrm (2.4.114-r0) 20:39:35 (32/86) Installing gmp (6.2.1-r2) 20:39:35 (33/86) Installing nettle (3.8.1-r0) 20:39:35 (34/86) Installing p11-kit (0.24.1-r1) 20:39:35 (35/86) Installing libtasn1 (4.19.0-r0) 20:39:35 (36/86) Installing libunistring (1.1-r0) 20:39:35 (37/86) Installing gnutls (3.7.8-r3) 20:39:35 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 20:39:35 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 20:39:35 (40/86) Installing lame (3.100-r2) 20:39:35 (41/86) Installing opus (1.3.1-r1) 20:39:35 (42/86) Installing libasyncns (0.8-r1) 20:39:35 (43/86) Installing dbus-libs (1.14.8-r0) 20:39:35 (44/86) Installing libltdl (2.4.7-r1) 20:39:35 (45/86) Installing orc (0.4.33-r0) 20:39:35 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:39:35 (47/86) Installing libogg (1.3.5-r2) 20:39:35 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:39:35 (49/86) Installing flac-libs (1.4.2-r0) 20:39:35 (50/86) Installing libvorbis (1.3.7-r0) 20:39:35 (51/86) Installing libsndfile (1.1.0-r2) 20:39:35 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:39:35 (53/86) Installing soxr (0.1.3-r3) 20:39:35 (54/86) Installing speexdsp (1.2.1-r0) 20:39:35 (55/86) Installing tdb-libs (1.4.6-r0) 20:39:35 (56/86) Installing libpulse (16.1-r6) 20:39:35 (57/86) Installing cjson (1.7.15-r3) 20:39:35 (58/86) Installing mbedtls (2.28.3-r0) 20:39:35 (59/86) Installing librist (0.2.7-r0) 20:39:35 (60/86) Installing libsrt (1.5.1-r0) 20:39:36 (61/86) Installing libssh (0.10.5-r0) 20:39:36 (62/86) Installing libtheora (1.1.1-r16) 20:39:36 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:39:36 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:39:36 (65/86) Installing libxext (1.3.5-r0) 20:39:36 (66/86) Installing libxfixes (6.0.0-r0) 20:39:36 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:39:36 (68/86) Installing libva (2.16.0-r0) 20:39:36 (69/86) Installing libvdpau (1.5-r0) 20:39:36 (70/86) Installing vidstab (1.1.0-r2) 20:39:36 (71/86) Installing libvpx (1.12.0-r1) 20:39:36 (72/86) Installing libwebp (1.2.4-r2) 20:39:36 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:39:36 (74/86) Installing numactl (2.0.16-r1) 20:39:36 (75/86) Installing x265-libs (3.5-r3) 20:39:36 (76/86) Installing xvidcore (1.3.7-r1) 20:39:36 (77/86) Installing libsodium (1.0.18-r2) 20:39:36 (78/86) Installing libzmq (4.3.4-r1) 20:39:36 (79/86) Installing ffmpeg-libs (5.1.3-r0) 20:39:36 (80/86) Installing ffmpeg (5.1.3-r0) 20:39:36 (81/86) Installing udev-init-scripts (35-r1) 20:39:36 (82/86) Installing eudev-libs (3.2.11-r4) 20:39:36 (83/86) Installing xz-libs (5.2.9-r0) 20:39:36 (84/86) Installing zstd-libs (1.5.5-r0) 20:39:36 (85/86) Installing kmod-libs (30-r1) 20:39:36 (86/86) Installing eudev (3.2.11-r4) 20:39:36 Executing busybox-1.35.0-r29.trigger 20:39:36 Executing eudev-3.2.11-r4.trigger 20:39:36 OK: 112 MiB in 101 packages 20:39:41 Removing intermediate container 5d70e6c1c24b 20:39:41 ---> 3310f6a00db5 20:39:41 Step 18/36 : WORKDIR / 20:39:41 ---> Running in 89ec86cfc583 20:39:41 Removing intermediate container 89ec86cfc583 20:39:41 ---> 902a2592603e 20:39:41 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:39:43 ---> edbe1c118f7c 20:39:43 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:39:43 ---> 60ba865fcb2f 20:39:43 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:39:43 ---> 312666d768dc 20:39:43 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:39:43 ---> 0d1fcff6d240 20:39:43 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:39:43 ---> f6564137138e 20:39:43 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:39:44 ---> 72211db0df21 20:39:44 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:39:44 ---> 906b8aa1ff93 20:39:44 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:39:44 ---> Running in 81ec2d194c68 20:39:45 Removing intermediate container 81ec2d194c68 20:39:45 ---> 69c64da81ec2 20:39:45 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:39:45 ---> Running in 15b4d8569de6 20:39:45 Removing intermediate container 15b4d8569de6 20:39:45 ---> 0e35f0f1da11 20:39:45 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:39:46 ---> Running in 3f9b5fe51b82 20:39:46 Removing intermediate container 3f9b5fe51b82 20:39:46 ---> 3703a1c18030 20:39:46 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:39:46 ---> Running in dd72162d74c0 20:39:47 Removing intermediate container dd72162d74c0 20:39:47 ---> 510848defa4f 20:39:47 Step 30/36 : EXPOSE 59983 20:39:47 ---> Running in 88495df3b83a 20:39:47 Removing intermediate container 88495df3b83a 20:39:47 ---> 9a4e34277668 20:39:47 Step 31/36 : EXPOSE 8554 20:39:47 ---> Running in 32667cf560c7 20:39:47 Removing intermediate container 32667cf560c7 20:39:47 ---> 265a33a5e0b9 20:39:47 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:39:47 ---> Running in 58f8114b01c5 20:39:47 Removing intermediate container 58f8114b01c5 20:39:47 ---> 105e52f42fec 20:39:47 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:39:47 ---> Running in 1a186f8063b9 20:39:47 Removing intermediate container 1a186f8063b9 20:39:47 ---> 699797275b75 20:39:47 Step 34/36 : LABEL arch=amd64 20:39:47 ---> Running in 7a3285937728 20:39:47 Removing intermediate container 7a3285937728 20:39:47 ---> 408d4bc42b0d 20:39:47 Step 35/36 : LABEL git_sha=a5ce76ab22246a4a44a94dfb472e600c055de9c1 20:39:47 ---> Running in 8f71be85b31d 20:39:47 Removing intermediate container 8f71be85b31d 20:39:47 ---> db2c4246cb6e 20:39:47 Step 36/36 : LABEL version=0.0.0 20:39:48 ---> Running in f8455ae021d8 20:39:48 Removing intermediate container f8455ae021d8 20:39:48 ---> 49ef89e1209d 20:39:48 [Warning] One or more build-args [ARCH] were not consumed 20:39:48 Successfully built 49ef89e1209d 20:39:48 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 20:39:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:48 20:39:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:48 latest: Pulling from edgex-lftools-log-publisher 20:39:48 5eb5b503b376: Pulling fs layer 20:39:48 5c69ac0246d0: Pulling fs layer 20:39:48 ec43610c2a17: Pulling fs layer 20:39:48 3a2ae6a8a46f: Pulling fs layer 20:39:48 33b1e0a273af: Pulling fs layer 20:39:48 5d3b04190fa2: Pulling fs layer 20:39:48 2f39f015ded8: Pulling fs layer 20:39:48 5d3b04190fa2: Waiting 20:39:48 3a2ae6a8a46f: Waiting 20:39:48 33b1e0a273af: Waiting 20:39:48 2f39f015ded8: Waiting 20:39:48 5c69ac0246d0: Verifying Checksum 20:39:48 5c69ac0246d0: Download complete 20:39:48 3a2ae6a8a46f: Verifying Checksum 20:39:48 3a2ae6a8a46f: Download complete 20:39:49 ec43610c2a17: Verifying Checksum 20:39:49 ec43610c2a17: Download complete 20:39:49 33b1e0a273af: Verifying Checksum 20:39:49 33b1e0a273af: Download complete 20:39:49 5d3b04190fa2: Verifying Checksum 20:39:49 5d3b04190fa2: Download complete 20:39:49 5eb5b503b376: Verifying Checksum 20:39:49 5eb5b503b376: Download complete 20:39:49 2f39f015ded8: Download complete 20:39:50 5eb5b503b376: Pull complete 20:39:50 5c69ac0246d0: Pull complete 20:39:50 ec43610c2a17: Pull complete 20:39:50 3a2ae6a8a46f: Pull complete 20:39:51 33b1e0a273af: Pull complete 20:39:51 5d3b04190fa2: Pull complete 20:39:55 2f39f015ded8: Pull complete 20:39:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:39:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:55 prd-ubuntu20.04-docker-8c-8g-19272 does not seem to be running inside a container 20:39:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:40:04 $ docker top 2c73c8845863038a0b0fac38f0159917891a8ec9417dc672fe6c58232b9b7cdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:05 ---> job-cost.sh 20:40:05 lf-activate-venv: SKIPPING 20:40:05 INFO: No Stack... 20:40:05 INFO: Retrieving Pricing Info for: v3-standard-8 20:40:06 INFO: Archiving Costs [Pipeline] sh 20:40:06 + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv 20:40:06 + cut -d, -f6 [Pipeline] lock 20:40:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] 20:40:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] did not exist. Created. 20:40:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:06 + echo total: 0.2199999988079071 [Pipeline] stash 20:40:06 Stashed 1 file(s) [Pipeline] } 20:40:06 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:06 $ docker stop --time=1 2c73c8845863038a0b0fac38f0159917891a8ec9417dc672fe6c58232b9b7cdd 20:40:07 $ docker rm -f --volumes 2c73c8845863038a0b0fac38f0159917891a8ec9417dc672fe6c58232b9b7cdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:40:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19273 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws 20:40:48 Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout 20:40:48 Selected Git installation does not exist. Using Default 20:40:48 The recommended git tool is: NONE 20:40:53 using credential edgex-jenkins-ssh 20:40:53 Cloning the remote Git repository 20:40:53 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:40:53 > git init /w/workspace/device-usb-camera/8 # timeout=10 20:40:53 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:40:53 > git --version # timeout=10 20:40:53 > git --version # 'git version 2.25.1' 20:40:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:40:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:40:55 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:40:55 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:40:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:40:56 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit a5ce76ab22246a4a44a94dfb472e600c055de9c1 20:40:56 Merge succeeded, producing a5ce76ab22246a4a44a94dfb472e600c055de9c1 20:40:56 Checking out Revision a5ce76ab22246a4a44a94dfb472e600c055de9c1 (PR-262) 20:40:56 > git config core.sparsecheckout # timeout=10 20:40:56 > git checkout -f a5ce76ab22246a4a44a94dfb472e600c055de9c1 # timeout=10 20:40:56 > git remote # timeout=10 20:40:56 > git config --get remote.origin.url # timeout=10 20:40:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:40:56 > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 20:40:56 > git rev-parse HEAD^{commit} # timeout=10 20:40:56 > git config core.sparsecheckout # timeout=10 20:40:56 > git checkout -f a5ce76ab22246a4a44a94dfb472e600c055de9c1 # timeout=10 20:41:00 Commit message: "refactor: incorporate panic fixes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:41:01 % Total % Received % Xferd Average Speed Time Time Time Current 20:41:01 Dload Upload Total Spent Left Speed 20:41:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 20:41:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:41:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:41:02 + sudo tee /etc/docker/daemon.new 20:41:02 { 20:41:02 "registry-mirrors": [ 20:41:02 "https://nexus3.edgexfoundry.org:10001" 20:41:02 ], 20:41:02 "bip": "10.250.0.254/24", 20:41:02 "hosts": [ 20:41:02 "tcp://0.0.0.0:5555", 20:41:02 "unix:///var/run/docker.sock" 20:41:02 ], 20:41:02 "mtu": 1458, 20:41:02 "selinux-enabled": true, 20:41:02 "seccomp-profile": "/etc/docker/seccomp.json" 20:41:02 } [Pipeline] sh 20:41:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:41:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:21 provisioning config files... 20:41:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config4579785170531029635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:22 ---> docker-login.sh 20:41:22 nexus3.edgexfoundry.org:10001 20:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:22 Configure a credential helper to remove this warning. See 20:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:22 20:41:22 Login Succeeded 20:41:22 nexus3.edgexfoundry.org:10002 20:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:23 Configure a credential helper to remove this warning. See 20:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:23 20:41:23 Login Succeeded 20:41:23 nexus3.edgexfoundry.org:10003 20:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:23 Configure a credential helper to remove this warning. See 20:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:23 20:41:23 Login Succeeded 20:41:23 nexus3.edgexfoundry.org:10004 20:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:23 Configure a credential helper to remove this warning. See 20:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:23 20:41:23 Login Succeeded 20:41:23 docker.io 20:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:24 Configure a credential helper to remove this warning. See 20:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:24 20:41:24 Login Succeeded 20:41:24 ---> docker-login.sh ends [Pipeline] } 20:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:24 ========================================================= 20:41:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:41:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:24 + 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 . 20:41:25 Sending build context to Docker daemon 1.409MB 20:41:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:41:25 Step 2/13 : FROM ${BASE} AS builder 20:41:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:25 c41833b44d91: Pulling fs layer 20:41:25 ed15518f5707: Pulling fs layer 20:41:25 feae8fd75edb: Pulling fs layer 20:41:25 242c74f7c9fa: Pulling fs layer 20:41:25 3cdef696dda3: Pulling fs layer 20:41:25 2ced38df9373: Pulling fs layer 20:41:25 58f1dce35555: Pulling fs layer 20:41:25 3cdef696dda3: Waiting 20:41:25 2ced38df9373: Waiting 20:41:25 58f1dce35555: Waiting 20:41:25 242c74f7c9fa: Waiting 20:41:25 ed15518f5707: Verifying Checksum 20:41:25 ed15518f5707: Download complete 20:41:25 242c74f7c9fa: Verifying Checksum 20:41:25 242c74f7c9fa: Download complete 20:41:25 3cdef696dda3: Download complete 20:41:25 c41833b44d91: Verifying Checksum 20:41:25 c41833b44d91: Download complete 20:41:26 58f1dce35555: Verifying Checksum 20:41:26 58f1dce35555: Download complete 20:41:27 feae8fd75edb: Verifying Checksum 20:41:27 feae8fd75edb: Download complete 20:41:28 2ced38df9373: Verifying Checksum 20:41:28 2ced38df9373: Download complete 20:41:29 c41833b44d91: Pull complete 20:41:29 ed15518f5707: Pull complete 20:41:44 feae8fd75edb: Pull complete 20:41:44 242c74f7c9fa: Pull complete 20:41:44 3cdef696dda3: Pull complete 20:41:49 2ced38df9373: Pull complete 20:41:51 58f1dce35555: Pull complete 20:41:51 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:41:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:41:51 ---> fadd8f120f05 20:41:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:41:53 ---> Running in 412d1fd5d1f3 20:41:53 Removing intermediate container 412d1fd5d1f3 20:41:53 ---> 838e77e343e4 20:41:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:53 ---> Running in 8286d047349b 20:41:54 Removing intermediate container 8286d047349b 20:41:54 ---> e8ad8ec76193 20:41:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:41:54 ---> Running in ecc426eb636c 20:41:54 Removing intermediate container ecc426eb636c 20:41:54 ---> e36fe655d7ef 20:41:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:41:54 ---> Running in 396ddc77455f 20:41:54 Removing intermediate container 396ddc77455f 20:41:54 ---> 2c3ba32d21e3 20:41:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:55 ---> Running in f03eb6d4cce3 20:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:41:57 (1/14) Installing libintl (0.21.1-r1) 20:41:57 (2/14) Installing eudev-libs (3.2.11-r4) 20:41:57 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:41:57 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:41:57 (5/14) Installing v4l-utils (1.22.1-r2) 20:41:57 (6/14) Installing udev-init-scripts (35-r1) 20:41:57 (7/14) Installing libblkid (2.38.1-r1) 20:41:57 (8/14) Installing xz-libs (5.2.9-r0) 20:41:57 (9/14) Installing zstd-libs (1.5.5-r0) 20:41:57 (10/14) Installing kmod-libs (30-r1) 20:41:57 (11/14) Installing eudev (3.2.11-r4) 20:41:57 (12/14) Installing eudev-dev (3.2.11-r4) 20:41:57 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:41:57 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:41:57 Executing busybox-1.35.0-r29.trigger 20:41:57 Executing eudev-3.2.11-r4.trigger 20:41:57 OK: 271 MiB in 67 packages 20:41:59 Removing intermediate container f03eb6d4cce3 20:41:59 ---> 57c5211ac9cb 20:41:59 Step 8/13 : WORKDIR /device-usb-camera 20:41:59 ---> Running in e7bc3af7dc70 20:41:59 Removing intermediate container e7bc3af7dc70 20:41:59 ---> 9ef82ce79382 20:41:59 Step 9/13 : COPY go.mod vendor* ./ 20:42:00 ---> 0a1dead8a2ea 20:42:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:00 ---> Running in 21dbb39090c7 20:42:46 Removing intermediate container 21dbb39090c7 20:42:46 ---> 0a34e93ca427 20:42:46 Step 11/13 : COPY . . 20:42:47 ---> 5e5d71384f6e 20:42:47 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:42:47 ---> Running in a393541cd827 20:42:48  % Total % Received % Xferd Average Speed Time Time Time Current 20:42:48 Dload Upload Total Spent Left Speed 20:42:48  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4282 0 --:--:-- --:--:-- --:--:-- 4299 20:42:51 Removing intermediate container a393541cd827 20:42:51 ---> 6cd8d4d10875 20:42:51 Step 13/13 : RUN ${MAKE} 20:42:51 ---> Running in 5c94b3805530 20:42:52 noop 20:42:53 Removing intermediate container 5c94b3805530 20:42:53 ---> 87042e0c74e5 20:42:53 Successfully built 87042e0c74e5 20:42:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:53 + docker inspect -f . ci-base-image-arm64 20:42:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:53 prd-ubuntu20.04-docker-arm64-4c-16g-19273 does not seem to be running inside a container 20:42:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 20:42:55 $ docker top e80e7fbcc98baf2bd5b63b18a013aa710b45806b46515f312bf57f2ca72e7332 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:55 + go version 20:42:55 go version go1.20.2 linux/arm64 [Pipeline] } 20:42:55 $ docker stop --time=1 e80e7fbcc98baf2bd5b63b18a013aa710b45806b46515f312bf57f2ca72e7332 20:42:57 $ docker rm -f --volumes e80e7fbcc98baf2bd5b63b18a013aa710b45806b46515f312bf57f2ca72e7332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:57 + docker inspect -f . ci-base-image-arm64 20:42:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:58 prd-ubuntu20.04-docker-arm64-4c-16g-19273 does not seem to be running inside a container 20:42:58 $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 20:42:59 $ docker top 0a9d8a945f51dc15e82f2caf2ba1b8ff0b12d1b5bd205bbf24d7744a07ab2256 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:59 + git config --global --add safe.directory /w/workspace/device-usb-camera/8 [Pipeline] fileExists [Pipeline] sh 20:43:00 + make test 20:43:00 go test ./... -coverprofile=coverage.out ./... 20:43:32 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:45:24 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:45:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 3.6% of statements 20:45:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:45:30 go vet ./... 20:46:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:46:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:46:09 ./bin/test-attribution-txt.sh 20:46:09 An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add 20:46:09 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:46:09 An attribution for github.com/stretchr/objx is missing from Attribution.txt, please add 20:46:09 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:46:09 $ docker stop --time=1 0a9d8a945f51dc15e82f2caf2ba1b8ff0b12d1b5bd205bbf24d7744a07ab2256 20:46:11 $ docker rm -f --volumes 0a9d8a945f51dc15e82f2caf2ba1b8ff0b12d1b5bd205bbf24d7744a07ab2256 [Pipeline] // withDockerContainer [Pipeline] sh 20:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:46:12 Warning: overwriting stash ‘coverage-report’ 20:46:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:46:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:46:14 + ls -al . 20:46:14 total 196 20:46:14 drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 20:43 . 20:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 20:40 .. 20:46:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 20:40 .git 20:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:40 .github 20:46:14 -rw-rw-r-- 1 jenkins jenkins 414 Jun 26 20:40 .gitignore 20:46:14 -rw-rw-r-- 1 jenkins jenkins 45 Jun 26 20:40 .golangci.yml 20:46:14 -rw-rw-r-- 1 jenkins jenkins 77 Jun 26 20:40 .hadolint.yml 20:46:14 -rw-rw-r-- 1 jenkins jenkins 9665 Jun 26 20:40 Attribution.txt 20:46:14 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 26 20:40 CHANGELOG.md 20:46:14 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 26 20:40 Dockerfile 20:46:14 -rw-rw-r-- 1 jenkins jenkins 678 Jun 26 20:40 GOVERNANCE.md 20:46:14 -rw-rw-r-- 1 jenkins jenkins 659 Jun 26 20:40 Jenkinsfile 20:46:14 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 26 20:40 LICENSE 20:46:14 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 26 20:40 Makefile 20:46:14 -rw-rw-r-- 1 jenkins jenkins 622 Jun 26 20:40 OWNERS.md 20:46:14 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 26 20:40 README.md 20:46:14 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 20:37 VERSION 20:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:40 bin 20:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:40 cmd 20:46:14 -rw-r--r-- 1 jenkins jenkins 37610 Jun 26 20:45 coverage.out 20:46:14 -rwxrwxr-x 1 jenkins jenkins 140 Jun 26 20:40 docker-entrypoint.sh 20:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:40 docs 20:46:14 -rw-rw-r-- 1 jenkins jenkins 3541 Jun 26 20:40 go.mod 20:46:14 -rw-rw-r-- 1 jenkins jenkins 32704 Jun 26 20:40 go.sum 20:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:40 internal 20:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 20:40 snap 20:46:14 -rw-rw-r-- 1 jenkins jenkins 231 Jun 26 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 + 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=a5ce76ab22246a4a44a94dfb472e600c055de9c1 --label arch=arm64 --label version=0.0.0 . 20:46:15 Sending build context to Docker daemon 1.447MB 20:46:15 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:46:15 Step 2/36 : FROM ${BASE} AS builder 20:46:15 ---> 87042e0c74e5 20:46:15 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:46:15 ---> Running in 651f777337f4 20:46:15 Removing intermediate container 651f777337f4 20:46:15 ---> 546373aeac98 20:46:15 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:15 ---> Running in 22b17f1cdb0b 20:46:16 Removing intermediate container 22b17f1cdb0b 20:46:16 ---> 724c7628fe73 20:46:16 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:46:16 ---> Running in 51748d4bbb86 20:46:16 Removing intermediate container 51748d4bbb86 20:46:16 ---> d0cbd918fa60 20:46:16 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:46:16 ---> Running in 3eaebeda4e1c 20:46:16 Removing intermediate container 3eaebeda4e1c 20:46:16 ---> 14b0136a10e5 20:46:16 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:16 ---> Running in fc146cb49e2a 20:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:46:19 OK: 271 MiB in 67 packages 20:46:20 Removing intermediate container fc146cb49e2a 20:46:20 ---> e84232aee5b0 20:46:20 Step 8/36 : WORKDIR /device-usb-camera 20:46:20 ---> Running in 51f0b94d7d85 20:46:20 Removing intermediate container 51f0b94d7d85 20:46:20 ---> 5fc1f4b3035d 20:46:20 Step 9/36 : COPY go.mod vendor* ./ 20:46:20 ---> 6d41a3facce0 20:46:20 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:20 ---> Running in c31c7ab22bc9 20:46:26 Removing intermediate container c31c7ab22bc9 20:46:26 ---> f1c3da790904 20:46:26 Step 11/36 : COPY . . 20:46:27 ---> 0e18993838c2 20:46:27 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:46:27 ---> Running in 907c43752869 20:46:28  % Total  % Received % Xferd Average Speed Time  Time Time Current 20:46:28 Dload Upload Total Spent Left Speed 20:46:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 3299 0 --:--:-- --:--:-- --:--:-- 3298 20:46:29 Removing intermediate container 907c43752869 20:46:29 ---> ab5b4d7f6d6c 20:46:29 Step 13/36 : RUN ${MAKE} 20:46:29 ---> Running in 25a58c719304 20:46:30 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:48:52 Removing intermediate container 25a58c719304 20:48:52 ---> dc99b6724797 20:48:52 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:48:52 v0.21.6: Pulling from aler9/rtsp-simple-server 20:48:52 8766b47fe142: Pulling fs layer 20:48:52 8766b47fe142: Verifying Checksum 20:48:52 8766b47fe142: Download complete 20:48:52 8766b47fe142: Pull complete 20:48:52 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:48:52 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:48:52 ---> 69d40e2cb93c 20:48:52 Step 15/36 : FROM alpine:3.17 20:48:52 3.17: Pulling from library/alpine 20:48:52 edb6bdbacee9: Pulling fs layer 20:48:52 edb6bdbacee9: Verifying Checksum 20:48:53 edb6bdbacee9: Pull complete 20:48:54 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:48:54 Status: Downloaded newer image for alpine:3.17 20:48:54 ---> 779605e5fbc0 20:48:54 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:48:54 ---> Running in 26730981484d 20:48:54 Removing intermediate container 26730981484d 20:48:54 ---> e6b0da5244c7 20:48:54 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:48:54 ---> Running in b81d3b6cb7d9 20:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:48:56 (1/83) Installing dumb-init (1.2.5-r2) 20:48:56 (2/83) Installing sdl2 (2.26.5-r0) 20:48:56 (3/83) Installing libxau (1.0.10-r0) 20:48:56 (4/83) Installing libmd (1.0.4-r0) 20:48:56 (5/83) Installing libbsd (0.11.7-r0) 20:48:56 (6/83) Installing libxdmcp (1.1.4-r0) 20:48:56 (7/83) Installing libxcb (1.15-r0) 20:48:56 (8/83) Installing libx11 (1.8.4-r1) 20:48:57 (9/83) Installing aom-libs (3.5.0-r0) 20:48:57 (10/83) Installing alsa-lib (1.2.8-r0) 20:48:57 (11/83) Installing libexpat (2.5.0-r0) 20:48:57 (12/83) Installing brotli-libs (1.0.9-r9) 20:48:57 (13/83) Installing libbz2 (1.0.8-r4) 20:48:57 (14/83) Installing libpng (1.6.38-r0) 20:48:57 (15/83) Installing freetype (2.12.1-r0) 20:48:57 (16/83) Installing fontconfig (2.14.1-r0) 20:48:57 (17/83) Installing fribidi (1.0.12-r0) 20:48:57 (18/83) Installing libffi (3.4.4-r0) 20:48:57 (19/83) Installing libintl (0.21.1-r1) 20:48:57 (20/83) Installing libblkid (2.38.1-r1) 20:48:57 (21/83) Installing libmount (2.38.1-r1) 20:48:57 (22/83) Installing pcre2 (10.42-r0) 20:48:57 (23/83) Installing glib (2.74.7-r0) 20:48:57 (24/83) Installing graphite2 (1.3.14-r2) 20:48:57 (25/83) Installing harfbuzz (5.3.1-r1) 20:48:57 (26/83) Installing libass (0.16.0-r1) 20:48:57 (27/83) Installing libdav1d (1.0.0-r2) 20:48:57 (28/83) Installing libdrm (2.4.114-r0) 20:48:57 (29/83) Installing gmp (6.2.1-r2) 20:48:57 (30/83) Installing nettle (3.8.1-r0) 20:48:57 (31/83) Installing p11-kit (0.24.1-r1) 20:48:57 (32/83) Installing libtasn1 (4.19.0-r0) 20:48:57 (33/83) Installing libunistring (1.1-r0) 20:48:57 (34/83) Installing gnutls (3.7.8-r3) 20:48:57 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 20:48:57 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 20:48:57 (37/83) Installing lame (3.100-r2) 20:48:57 (38/83) Installing opus (1.3.1-r1) 20:48:57 (39/83) Installing libasyncns (0.8-r1) 20:48:57 (40/83) Installing dbus-libs (1.14.8-r0) 20:48:57 (41/83) Installing libltdl (2.4.7-r1) 20:48:57 (42/83) Installing orc (0.4.33-r0) 20:48:57 (43/83) Installing libgcc (12.2.1_git20220924-r4) 20:48:57 (44/83) Installing libogg (1.3.5-r2) 20:48:57 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 20:48:58 (46/83) Installing flac-libs (1.4.2-r0) 20:48:58 (47/83) Installing libvorbis (1.3.7-r0) 20:48:58 (48/83) Installing libsndfile (1.1.0-r2) 20:48:58 (49/83) Installing libgomp (12.2.1_git20220924-r4) 20:48:58 (50/83) Installing soxr (0.1.3-r3) 20:48:58 (51/83) Installing speexdsp (1.2.1-r0) 20:48:58 (52/83) Installing tdb-libs (1.4.6-r0) 20:48:58 (53/83) Installing libpulse (16.1-r6) 20:48:58 (54/83) Installing cjson (1.7.15-r3) 20:48:58 (55/83) Installing mbedtls (2.28.3-r0) 20:48:58 (56/83) Installing librist (0.2.7-r0) 20:48:58 (57/83) Installing libsrt (1.5.1-r0) 20:48:58 (58/83) Installing libssh (0.10.5-r0) 20:48:58 (59/83) Installing libtheora (1.1.1-r16) 20:48:58 (60/83) Installing libjpeg-turbo (2.1.4-r0) 20:48:58 (61/83) Installing v4l-utils-libs (1.22.1-r2) 20:48:58 (62/83) Installing libxext (1.3.5-r0) 20:48:58 (63/83) Installing libxfixes (6.0.0-r0) 20:48:58 (64/83) Installing wayland-libs-client (1.21.0-r1) 20:48:58 (65/83) Installing libva (2.16.0-r0) 20:48:58 (66/83) Installing libvdpau (1.5-r0) 20:48:58 (67/83) Installing vidstab (1.1.0-r2) 20:48:58 (68/83) Installing libvpx (1.12.0-r1) 20:48:58 (69/83) Installing libwebp (1.2.4-r2) 20:48:58 (70/83) Installing x264-libs (0.164_git20220602-r0) 20:48:58 (71/83) Installing numactl (2.0.16-r1) 20:48:58 (72/83) Installing x265-libs (3.5-r3) 20:48:58 (73/83) Installing xvidcore (1.3.7-r1) 20:48:58 (74/83) Installing libsodium (1.0.18-r2) 20:48:58 (75/83) Installing libzmq (4.3.4-r1) 20:48:58 (76/83) Installing ffmpeg-libs (5.1.3-r0) 20:48:59 (77/83) Installing ffmpeg (5.1.3-r0) 20:48:59 (78/83) Installing udev-init-scripts (35-r1) 20:48:59 (79/83) Installing eudev-libs (3.2.11-r4) 20:48:59 (80/83) Installing xz-libs (5.2.9-r0) 20:48:59 (81/83) Installing zstd-libs (1.5.5-r0) 20:48:59 (82/83) Installing kmod-libs (30-r1) 20:48:59 (83/83) Installing eudev (3.2.11-r4) 20:48:59 Executing busybox-1.35.0-r29.trigger 20:48:59 Executing eudev-3.2.11-r4.trigger 20:48:59 OK: 86 MiB in 98 packages 20:49:02 Removing intermediate container b81d3b6cb7d9 20:49:02 ---> c4e70a2421a1 20:49:02 Step 18/36 : WORKDIR / 20:49:02 ---> Running in 2381704c40c8 20:49:02 Removing intermediate container 2381704c40c8 20:49:02 ---> c532c33ac731 20:49:02 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:49:04 ---> 48ed80bc98b4 20:49:04 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:49:04 ---> f8901ffac5fb 20:49:04 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:49:04 ---> 032a18805dcc 20:49:04 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:49:08 ---> a1633f1c0642 20:49:08 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:49:08 ---> 5da0f37e0e5e 20:49:08 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:49:09 ---> b0c381970e46 20:49:09 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:49:10 ---> 28400d305399 20:49:10 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:49:10 ---> Running in 49dccf3f3caa 20:49:12 Removing intermediate container 49dccf3f3caa 20:49:12 ---> 3fae9a000ba6 20:49:12 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:49:12 ---> Running in 3caf28030dd1 20:49:13 Removing intermediate container 3caf28030dd1 20:49:13 ---> 1799684e5554 20:49:13 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:49:13 ---> Running in 898f8eb6e823 20:49:15 Removing intermediate container 898f8eb6e823 20:49:15 ---> e87e4d1c0b2b 20:49:15 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:49:15 ---> Running in b17e93f61f69 20:49:17 Removing intermediate container b17e93f61f69 20:49:17 ---> 3f0aaa4d6dc4 20:49:17 Step 30/36 : EXPOSE 59983 20:49:17 ---> Running in 09aabe456abf 20:49:17 Removing intermediate container 09aabe456abf 20:49:17 ---> 42fec9c6e6ff 20:49:17 Step 31/36 : EXPOSE 8554 20:49:17 ---> Running in 35c3a37c167c 20:49:17 Removing intermediate container 35c3a37c167c 20:49:17 ---> 219bfc270bf1 20:49:17 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:49:17 ---> Running in b9ff1c8eb998 20:49:18 Removing intermediate container b9ff1c8eb998 20:49:18 ---> 396bd256551b 20:49:18 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:49:18 ---> Running in 7f6a70974c25 20:49:18 Removing intermediate container 7f6a70974c25 20:49:18 ---> de74b3cd25a2 20:49:18 Step 34/36 : LABEL arch=arm64 20:49:18 ---> Running in 2184ee25a2ca 20:49:18 Removing intermediate container 2184ee25a2ca 20:49:18 ---> 53cf8899bf76 20:49:18 Step 35/36 : LABEL git_sha=a5ce76ab22246a4a44a94dfb472e600c055de9c1 20:49:18 ---> Running in 8e0cc151458b 20:49:18 Removing intermediate container 8e0cc151458b 20:49:18 ---> bae11a43fabd 20:49:18 Step 36/36 : LABEL version=0.0.0 20:49:19 ---> Running in d5f279e98b09 20:49:19 Removing intermediate container d5f279e98b09 20:49:19 ---> 120d65a0ef0b 20:49:19 [Warning] One or more build-args [ARCH] were not consumed 20:49:19 Successfully built 120d65a0ef0b 20:49:19 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 20:49:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:49:19 20:49:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:49:20 arm64: Pulling from edgex-lftools-log-publisher 20:49:20 8998bd30e6a1: Pulling fs layer 20:49:20 04944245beec: Pulling fs layer 20:49:20 699f458cf7ca: Pulling fs layer 20:49:20 765212b225bb: Pulling fs layer 20:49:20 f23df028b6ca: Pulling fs layer 20:49:20 d65c8cfc05b1: Pulling fs layer 20:49:20 2437ff75d9bd: Pulling fs layer 20:49:20 765212b225bb: Waiting 20:49:20 f23df028b6ca: Waiting 20:49:20 d65c8cfc05b1: Waiting 20:49:20 2437ff75d9bd: Waiting 20:49:20 04944245beec: Verifying Checksum 20:49:20 04944245beec: Download complete 20:49:20 765212b225bb: Verifying Checksum 20:49:20 765212b225bb: Download complete 20:49:20 f23df028b6ca: Verifying Checksum 20:49:20 f23df028b6ca: Download complete 20:49:20 d65c8cfc05b1: Download complete 20:49:20 699f458cf7ca: Verifying Checksum 20:49:20 699f458cf7ca: Download complete 20:49:20 8998bd30e6a1: Verifying Checksum 20:49:20 8998bd30e6a1: Download complete 20:49:22 2437ff75d9bd: Verifying Checksum 20:49:22 2437ff75d9bd: Download complete 20:49:24 8998bd30e6a1: Pull complete 20:49:25 04944245beec: Pull complete 20:49:26 699f458cf7ca: Pull complete 20:49:26 765212b225bb: Pull complete 20:49:27 f23df028b6ca: Pull complete 20:49:27 d65c8cfc05b1: Pull complete 20:49:42 2437ff75d9bd: Pull complete 20:49:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:49:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:42 prd-ubuntu20.04-docker-arm64-4c-16g-19273 does not seem to be running inside a container 20:49:42 $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 20:49:45 $ docker top 5e306706efc3b7e52560304249275ea41c011f51d6226d16215c429b74cef6de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:46 ---> job-cost.sh 20:49:46 lf-activate-venv: SKIPPING 20:49:46 INFO: No Stack... 20:49:46 INFO: Retrieving Pricing Info for: v3-standard-4 20:49:47 INFO: Archiving Costs [Pipeline] sh 20:49:47 + cat /w/workspace/device-usb-camera/8/archives/cost.csv 20:49:47 + cut -d, -f6 [Pipeline] lock 20:49:47 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] 20:49:47 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] did not exist. Created. 20:49:47 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:49:48 /w/workspace/device-usb-camera/8@tmp/durable-5637f102/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:49:48 + echo total: 0.10999999940395355 [Pipeline] stash 20:49:48 Warning: overwriting stash ‘stack-cost’ 20:49:48 Stashed 1 file(s) [Pipeline] } 20:49:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:49:48 $ docker stop --time=1 5e306706efc3b7e52560304249275ea41c011f51d6226d16215c429b74cef6de 20:49:50 $ docker rm -f --volumes 5e306706efc3b7e52560304249275ea41c011f51d6226d16215c429b74cef6de [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 20:49:50 provisioning config files... 20:49:50 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config17139404152076316376tmp [Pipeline] { [Pipeline] sh 20:49:50 + set +x 20:49:50 + curl -s https://codecov.io/bash 20:49:50 + bash -s -- 20:49:50 20:49:50 _____ _ 20:49:50 / ____| | | 20:49:50 | | ___ __| | ___ ___ _____ __ 20:49:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:49:50 | |___| (_) | (_| | __/ (_| (_) \ V / 20:49:50 \_____\___/ \__,_|\___|\___\___/ \_/ 20:49:50 Bash-1.0.6 20:49:50 20:49:50 20:49:50 ==> git version 2.25.1 found 20:49:50 ==> 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 20:49:50 Release-Date: 2020-01-08 20:49:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:49:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:49:50 ==> Jenkins CI detected. 20:49:50 current dir:  /w/workspace/foundry_device-usb-camera_PR-262 20:49:50 project root: . 20:49:50 --> token set from env 20:49:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:49:50 ==> Running gcov in . (disable via -X gcov) 20:49:50 ==> Python coveragepy not found 20:49:50 ==> Searching for coverage reports in: 20:49:50 + . 20:49:50 -> Found 1 reports 20:49:50 ==> Detecting git/mercurial file structure 20:49:51 ==> Reading reports 20:49:51 + ./coverage.out bytes=37610 20:49:51 ==> Appending adjustments 20:49:51 https://docs.codecov.io/docs/fixing-reports 20:49:51 + Found adjustments 20:49:51 ==> Gzipping contents 20:49:51 8.0K /tmp/codecov.o1BfqT.gz 20:49:51 ==> Uploading reports 20:49:51 url: https://codecov.io 20:49:51 query: branch=PR-262&commit=a5ce76ab22246a4a44a94dfb472e600c055de9c1&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= 20:49:51 -> Pinging Codecov 20:49:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-262&commit=a5ce76ab22246a4a44a94dfb472e600c055de9c1&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= 20:49:51 -> Uploading to 20:49:51 https://storage.googleapis.com/codecov/v4/raw/2023-06-26/73D8F5FF140700D3E01443B452E23636/a5ce76ab22246a4a44a94dfb472e600c055de9c1/46b054cc-0d51-405e-b076-236551b2c842.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230626%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230626T204951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e898e5fa0e0ef177052e3fb6d9672a38ccf933ebea192195895452fc3bf5da9 20:49:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:49:51 Dload Upload Total Spent Left Speed 20:49:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5201 0 0 100 5201 0 23857 --:--:-- --:--:-- --:--:-- 23857 20:49:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/a5ce76ab22246a4a44a94dfb472e600c055de9c1 [Pipeline] } 20:49:51 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 20:49:52 + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] 20:49:52 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 20:49:52 total 16 20:49:52 drwxr-xr-x 3 root root 4096 Jun 26 20:40 . 20:49:52 drwxrwxr-x 11 jenkins jenkins 4096 Jun 26 20:40 .. 20:49:52 drwxr-xr-x 2 root root 4096 Jun 26 20:40 cost 20:49:52 -rw-r--r-- 1 root root 89 Jun 26 20:40 cost.csv 20:49:52 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives 20:49:52 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 20:49:52 total 16 20:49:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 20:40 . 20:49:52 drwxrwxr-x 11 jenkins jenkins 4096 Jun 26 20:40 .. 20:49:52 drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 20:40 cost 20:49:52 -rw-r--r-- 1 jenkins jenkins 89 Jun 26 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:49:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:49:53 ---> package-listing.sh 20:49:53 ++ facter osfamily 20:49:53 ++ tr '[:upper:]' '[:lower:]' 20:49:53 + OS_FAMILY=debian 20:49:53 + workspace=/w/workspace/foundry_device-usb-camera_PR-262 20:49:53 + START_PACKAGES=/tmp/packages_start.txt 20:49:53 + END_PACKAGES=/tmp/packages_end.txt 20:49:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:49:53 + PACKAGES=/tmp/packages_start.txt 20:49:53 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 20:49:53 + PACKAGES=/tmp/packages_end.txt 20:49:53 + case "${OS_FAMILY}" in 20:49:53 + dpkg -l 20:49:53 + grep '^ii' 20:49:53 + '[' -f /tmp/packages_start.txt ']' 20:49:53 + '[' -f /tmp/packages_end.txt ']' 20:49:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:49:53 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 20:49:53 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ 20:49:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo 20:49:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:49:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:54 prd-ubuntu20.04-docker-8c-8g-19272 does not seem to be running inside a container 20:49:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:49:54 $ docker top 883060a8d65beebe5a75ece1150417fb6b3c3d2f5116a2e57db84f6501f4a75b -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:49:55 + mkdir -p /var/log/sysstat [Pipeline] sh 20:49:55 + ls /var/log/sa-host 20:49:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:56 provisioning config files... 20:49:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config4022611894022093421tmp [Pipeline] { [Pipeline] echo 20:49:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:49:56 ---> create-netrc.sh [Pipeline] } 20:49:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:49:56 ---> python-tools-install.sh [Pipeline] echo 20:49:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:49:56 ---> sudo-logs.sh 20:49:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:49:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:49:57 ---> job-cost.sh 20:49:57 lf-activate-venv: SKIPPING 20:49:57 DEBUG: total: 0.2199999988079071 20:49:57 INFO: Retrieving Stack Cost... 20:49:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:49:58 INFO: Archiving Costs [Pipeline] echo 20:49:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:49:58 ---> logs-deploy.sh 20:49:58 lf-activate-venv: SKIPPING 20:49:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/8 20:49:58 INFO: archiving workspace using pattern(s): 20:49:59 Archives upload complete. 20:49:59 INFO: archiving logs to Nexus