Pull request #254 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 faedb975756ffdd1f5d612842f042894232ce807 rather than ef9f42283f305e50e736a234c58fc345ccf8cd39 Obtained Jenkinsfile from faedb975756ffdd1f5d612842f042894232ce807 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-ssh7995877874888884820.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1081660173529590589.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5568336604568048250.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13307939956607165494.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17484993399294935852.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-16157 in /w/workspace/foundry_device-usb-camera_PR-254 [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-254 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit ef9f42283f305e50e736a234c58fc345ccf8cd39 Merge succeeded, producing ef9f42283f305e50e736a234c58fc345ccf8cd39 Checking out Revision ef9f42283f305e50e736a234c58fc345ccf8cd39 (PR-254) > git config core.sparsecheckout # timeout=10 > git checkout -f ef9f42283f305e50e736a234c58fc345ccf8cd39 # 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 faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef9f42283f305e50e736a234c58fc345ccf8cd39 # timeout=10 Commit message: "fix: lint error gosimple S1007" > git rev-list --no-walk bbba87a12f4ecc4067203c1ff67e6ad013373f41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-20T01:30:41.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-20T01:30:42.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-20T01:30:42.026Z] ========================================================= [2023-05-20T01:30:42.026Z] EdgeX Global Pipelines Version Info [2023-05-20T01:30:42.026Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:30:42.751Z] ------------------- [2023-05-20T01:30:42.751Z] stable info: [2023-05-20T01:30:42.751Z] ------------------- [2023-05-20T01:30:42.751Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-20T01:30:42.751Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-20T01:30:42.751Z] Message: update stable to v1.0.249 [2023-05-20T01:30:43.320Z] ------------------- [2023-05-20T01:30:43.320Z] experimental info: [2023-05-20T01:30:43.320Z] ------------------- [2023-05-20T01:30:43.320Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-20T01:30:43.320Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-20T01:30:43.320Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-20T01:30:43.518Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-20T01:30:43.528Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-20T01:30:43.537Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-20T01:30:43.545Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-20T01:30:43.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-20T01:30:43.564Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-20T01:30:43.579Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-20T01:30:43.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-20T01:30:43.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-20T01:30:43.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-20T01:30:43.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-20T01:30:43.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-20T01:30:43.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-20T01:30:43.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-20T01:30:43.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-20T01:30:43.688Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-20T01:30:43.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-20T01:30:43.710Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-20T01:30:43.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-20T01:30:43.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-20T01:30:43.741Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-20T01:30:43.759Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-20T01:30:43.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-20T01:30:43.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-20T01:30:43.809Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-20T01:30:43.820Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-20T01:30:43.832Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-20T01:30:43.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo [2023-05-20T01:30:43.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo [2023-05-20T01:30:43.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo [2023-05-20T01:30:43.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef9f42283f305e50e736a234c58fc345ccf8cd39 [Pipeline] echo [2023-05-20T01:30:43.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef9f422 [Pipeline] echo [2023-05-20T01:30:43.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T01:30:43.991Z] provisioning config files... [2023-05-20T01:30:44.005Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config6896677376784681974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:30:44.304Z] ---> docker-login.sh [2023-05-20T01:30:44.304Z] nexus3.edgexfoundry.org:10001 [2023-05-20T01:30:44.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:30:44.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:30:44.564Z] Configure a credential helper to remove this warning. See [2023-05-20T01:30:44.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:30:44.564Z] [2023-05-20T01:30:44.564Z] Login Succeeded [2023-05-20T01:30:44.564Z] nexus3.edgexfoundry.org:10002 [2023-05-20T01:30:44.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:30:44.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:30:44.825Z] Configure a credential helper to remove this warning. See [2023-05-20T01:30:44.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:30:44.825Z] [2023-05-20T01:30:44.825Z] Login Succeeded [2023-05-20T01:30:44.825Z] nexus3.edgexfoundry.org:10003 [2023-05-20T01:30:44.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:30:44.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:30:44.825Z] Configure a credential helper to remove this warning. See [2023-05-20T01:30:44.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:30:44.825Z] [2023-05-20T01:30:44.825Z] Login Succeeded [2023-05-20T01:30:44.825Z] nexus3.edgexfoundry.org:10004 [2023-05-20T01:30:44.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:30:45.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:30:45.085Z] Configure a credential helper to remove this warning. See [2023-05-20T01:30:45.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:30:45.085Z] [2023-05-20T01:30:45.085Z] Login Succeeded [2023-05-20T01:30:45.085Z] docker.io [2023-05-20T01:30:45.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:30:45.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:30:45.346Z] Configure a credential helper to remove this warning. See [2023-05-20T01:30:45.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:30:45.346Z] [2023-05-20T01:30:45.346Z] Login Succeeded [2023-05-20T01:30:45.346Z] ---> docker-login.sh ends [Pipeline] } [2023-05-20T01:30:45.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-20T01:30:45.744Z] + git rev-list -1 --merges ef9f42283f305e50e736a234c58fc345ccf8cd39~1..ef9f42283f305e50e736a234c58fc345ccf8cd39 [Pipeline] echo [2023-05-20T01:30:45.793Z] -----------> git rev-list -1 --merges ef9f42283f305e50e736a234c58fc345ccf8cd39~1..ef9f42283f305e50e736a234c58fc345ccf8cd39 ef9f42283f305e50e736a234c58fc345ccf8cd39 [false] [Pipeline] sh [2023-05-20T01:30:46.084Z] + git log --format=format:%s -1 ef9f42283f305e50e736a234c58fc345ccf8cd39 [Pipeline] echo [2023-05-20T01:30:46.100Z] ========================================================= [2023-05-20T01:30:46.100Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-20T01:30:46.100Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-20T01:30:46.423Z] + git log --format=format:%s -1 ef9f42283f305e50e736a234c58fc345ccf8cd39 [Pipeline] echo [2023-05-20T01:30:46.433Z] [semverPrep] GIT_COMMIT: ef9f42283f305e50e736a234c58fc345ccf8cd39, Commit Message: fix: lint error gosimple S1007 [Pipeline] echo [2023-05-20T01:30:46.443Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-20T01:30:46.822Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-20T01:30:46.822Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-20T01:30:46.822Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-20T01:30:46.822Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-20T01:30:46.822Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-20T01:30:46.822Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-20T01:30:46.822Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:30:47.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-20T01:30:47.234Z] [2023-05-20T01:30:47.234Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:30:47.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-20T01:30:47.534Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-20T01:30:47.534Z] b85a868b505f: Pulling fs layer [2023-05-20T01:30:47.534Z] e2be974225ed: Pulling fs layer [2023-05-20T01:30:47.534Z] 339a4e72a1f5: Pulling fs layer [2023-05-20T01:30:47.534Z] 988bab9f4d93: Pulling fs layer [2023-05-20T01:30:47.534Z] 1469e6f7b9e6: Pulling fs layer [2023-05-20T01:30:47.534Z] eaf3925da568: Pulling fs layer [2023-05-20T01:30:47.534Z] bab4dde63d76: Pulling fs layer [2023-05-20T01:30:47.534Z] bde34c3a00c8: Pulling fs layer [2023-05-20T01:30:47.534Z] b352a97aabf1: Pulling fs layer [2023-05-20T01:30:47.534Z] 4872d77fe225: Pulling fs layer [2023-05-20T01:30:47.534Z] 5851b861e8e6: Pulling fs layer [2023-05-20T01:30:47.534Z] 988bab9f4d93: Waiting [2023-05-20T01:30:47.534Z] 1469e6f7b9e6: Waiting [2023-05-20T01:30:47.534Z] eaf3925da568: Waiting [2023-05-20T01:30:47.534Z] bde34c3a00c8: Waiting [2023-05-20T01:30:47.534Z] bab4dde63d76: Waiting [2023-05-20T01:30:47.534Z] 4872d77fe225: Waiting [2023-05-20T01:30:47.534Z] b352a97aabf1: Waiting [2023-05-20T01:30:47.534Z] 5851b861e8e6: Waiting [2023-05-20T01:30:47.534Z] e2be974225ed: Verifying Checksum [2023-05-20T01:30:47.534Z] e2be974225ed: Download complete [2023-05-20T01:30:47.534Z] 988bab9f4d93: Verifying Checksum [2023-05-20T01:30:47.534Z] 988bab9f4d93: Download complete [2023-05-20T01:30:47.795Z] 1469e6f7b9e6: Verifying Checksum [2023-05-20T01:30:47.795Z] 1469e6f7b9e6: Download complete [2023-05-20T01:30:47.795Z] eaf3925da568: Verifying Checksum [2023-05-20T01:30:47.795Z] eaf3925da568: Download complete [2023-05-20T01:30:47.795Z] 339a4e72a1f5: Verifying Checksum [2023-05-20T01:30:47.795Z] 339a4e72a1f5: Download complete [2023-05-20T01:30:47.795Z] bde34c3a00c8: Download complete [2023-05-20T01:30:47.795Z] b352a97aabf1: Verifying Checksum [2023-05-20T01:30:47.795Z] b352a97aabf1: Download complete [2023-05-20T01:30:47.795Z] 4872d77fe225: Verifying Checksum [2023-05-20T01:30:47.795Z] 4872d77fe225: Download complete [2023-05-20T01:30:48.055Z] 5851b861e8e6: Download complete [2023-05-20T01:30:48.055Z] b85a868b505f: Verifying Checksum [2023-05-20T01:30:48.055Z] b85a868b505f: Download complete [2023-05-20T01:30:48.314Z] bab4dde63d76: Verifying Checksum [2023-05-20T01:30:48.314Z] bab4dde63d76: Download complete [2023-05-20T01:30:49.257Z] b85a868b505f: Pull complete [2023-05-20T01:30:49.257Z] e2be974225ed: Pull complete [2023-05-20T01:30:49.828Z] 339a4e72a1f5: Pull complete [2023-05-20T01:30:49.828Z] 988bab9f4d93: Pull complete [2023-05-20T01:30:50.088Z] 1469e6f7b9e6: Pull complete [2023-05-20T01:30:50.088Z] eaf3925da568: Pull complete [2023-05-20T01:30:52.626Z] bab4dde63d76: Pull complete [2023-05-20T01:30:52.626Z] bde34c3a00c8: Pull complete [2023-05-20T01:30:53.567Z] b352a97aabf1: Pull complete [2023-05-20T01:30:53.827Z] 4872d77fe225: Pull complete [2023-05-20T01:30:54.087Z] 5851b861e8e6: Pull complete [2023-05-20T01:30:54.346Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-20T01:30:54.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-20T01:30:54.346Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:30:54.446Z] prd-ubuntu20.04-docker-8c-8g-16157 does not seem to be running inside a container [2023-05-20T01:30:54.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-20T01:31:03.283Z] $ docker top bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 -eo pid,comm [2023-05-20T01:31:03.363Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-20T01:31:03.363Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-20T01:31:03.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-20T01:31:03.403Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-20T01:31:03.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-20T01:31:03.519Z] $ docker exec bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 ssh-agent [2023-05-20T01:31:03.628Z] SSH_AUTH_SOCK=/tmp/ssh-XOfhE8ULbzpx/agent.14 [2023-05-20T01:31:03.628Z] SSH_AGENT_PID=20 [2023-05-20T01:31:03.635Z] Running ssh-add (command line suppressed) [2023-05-20T01:31:03.738Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_12204592451980689132.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_12204592451980689132.key) [2023-05-20T01:31:03.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-20T01:31:04.032Z] + git tag --points-at HEAD [Pipeline] } [2023-05-20T01:31:04.048Z] $ docker exec --env ******** --env ******** bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 ssh-agent -k [2023-05-20T01:31:04.137Z] unset SSH_AUTH_SOCK; [2023-05-20T01:31:04.138Z] unset SSH_AGENT_PID; [2023-05-20T01:31:04.138Z] echo Agent pid 20 killed; [2023-05-20T01:31:04.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-20T01:31:04.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-20T01:31:04.176Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-20T01:31:04.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-20T01:31:04.286Z] $ docker exec bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 ssh-agent [2023-05-20T01:31:04.386Z] SSH_AUTH_SOCK=/tmp/ssh-86beacoc5C1x/agent.53 [2023-05-20T01:31:04.387Z] SSH_AGENT_PID=66 [2023-05-20T01:31:04.391Z] Running ssh-add (command line suppressed) [2023-05-20T01:31:04.488Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_10796895579901497688.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_10796895579901497688.key) [2023-05-20T01:31:04.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-20T01:31:04.791Z] + git semver init [2023-05-20T01:31:05.051Z] 2023-05-20 01:31:04,976 [run_init] DEBUG init version:0.0.0 force:False [2023-05-20T01:31:05.051Z] 2023-05-20 01:31:04,977 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-254/.semver [2023-05-20T01:31:05.051Z] 2023-05-20 01:31:04,977 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-254/.semver [2023-05-20T01:31:05.051Z] 2023-05-20 01:31:04,977 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-254/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-254, universal_newlines=False, shell=None, istream=None) [2023-05-20T01:31:05.992Z] 2023-05-20 01:31:05,742 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-254/.git/info/exclude [2023-05-20T01:31:05.992Z] 2023-05-20 01:31:05,743 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 with force:False [2023-05-20T01:31:05.992Z] 2023-05-20 01:31:05,743 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 [2023-05-20T01:31:05.992Z] 2023-05-20 01:31:05,747 [execute] INFO git cat-file --batch-check [2023-05-20T01:31:05.993Z] 2023-05-20 01:31:05,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-05-20T01:31:05.993Z] 2023-05-20 01:31:05,752 [execute] INFO git cat-file --batch [2023-05-20T01:31:05.993Z] 2023-05-20 01:31:05,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) [2023-05-20T01:31:05.993Z] 2023-05-20 01:31:05,757 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 [2023-05-20T01:31:05.993Z] 0.0.0 [Pipeline] } [2023-05-20T01:31:06.007Z] $ docker exec --env ******** --env ******** bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 ssh-agent -k [2023-05-20T01:31:06.097Z] unset SSH_AUTH_SOCK; [2023-05-20T01:31:06.097Z] unset SSH_AGENT_PID; [2023-05-20T01:31:06.098Z] echo Agent pid 66 killed; [2023-05-20T01:31:06.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-20T01:31:06.421Z] + git semver [Pipeline] } [2023-05-20T01:31:06.698Z] $ docker stop --time=1 bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 [2023-05-20T01:31:08.079Z] $ docker rm -f --volumes bf64d86448d8c9067b103bac9c8c109f0c426036f1822b902142bd02e02eaa45 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-20T01:31:08.414Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-20T01:31:08.649Z] Stashed 1 file(s) [Pipeline] echo [2023-05-20T01:31:08.652Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T01:31:08.871Z] provisioning config files... [2023-05-20T01:31:08.879Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config11703714352675281028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:31:09.174Z] ---> docker-login.sh [2023-05-20T01:31:09.174Z] nexus3.edgexfoundry.org:10001 [2023-05-20T01:31:09.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:31:09.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:31:09.174Z] Configure a credential helper to remove this warning. See [2023-05-20T01:31:09.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:31:09.174Z] [2023-05-20T01:31:09.174Z] Login Succeeded [2023-05-20T01:31:09.174Z] nexus3.edgexfoundry.org:10002 [2023-05-20T01:31:09.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:31:09.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:31:09.174Z] Configure a credential helper to remove this warning. See [2023-05-20T01:31:09.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:31:09.174Z] [2023-05-20T01:31:09.174Z] Login Succeeded [2023-05-20T01:31:09.174Z] nexus3.edgexfoundry.org:10003 [2023-05-20T01:31:09.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:31:09.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:31:09.433Z] Configure a credential helper to remove this warning. See [2023-05-20T01:31:09.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:31:09.433Z] [2023-05-20T01:31:09.433Z] Login Succeeded [2023-05-20T01:31:09.433Z] nexus3.edgexfoundry.org:10004 [2023-05-20T01:31:09.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:31:09.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:31:09.433Z] Configure a credential helper to remove this warning. See [2023-05-20T01:31:09.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:31:09.433Z] [2023-05-20T01:31:09.433Z] Login Succeeded [2023-05-20T01:31:09.433Z] docker.io [2023-05-20T01:31:09.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:31:09.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:31:09.691Z] Configure a credential helper to remove this warning. See [2023-05-20T01:31:09.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:31:09.691Z] [2023-05-20T01:31:09.691Z] Login Succeeded [2023-05-20T01:31:09.691Z] ---> docker-login.sh ends [Pipeline] } [2023-05-20T01:31:09.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-20T01:31:09.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:31:09.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:31:09.775Z] ========================================================= [2023-05-20T01:31:09.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-20T01:31:09.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:31:10.096Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-20T01:31:10.096Z] Sending build context to Docker daemon 1.939MB [2023-05-20T01:31:10.096Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:31:10.096Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-20T01:31:10.096Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-20T01:31:10.096Z] f56be85fc22e: Pulling fs layer [2023-05-20T01:31:10.096Z] 85791d961cd3: Pulling fs layer [2023-05-20T01:31:10.096Z] d694b5ae8c79: Pulling fs layer [2023-05-20T01:31:10.096Z] 9f32a84ed3da: Pulling fs layer [2023-05-20T01:31:10.096Z] 4d19c01a9841: Pulling fs layer [2023-05-20T01:31:10.096Z] 9325e15d5711: Pulling fs layer [2023-05-20T01:31:10.096Z] 556b6ee489ea: Pulling fs layer [2023-05-20T01:31:10.096Z] c5a4b2cf53e6: Pulling fs layer [2023-05-20T01:31:10.096Z] 4d19c01a9841: Waiting [2023-05-20T01:31:10.096Z] c5a4b2cf53e6: Waiting [2023-05-20T01:31:10.096Z] 556b6ee489ea: Waiting [2023-05-20T01:31:10.096Z] 9325e15d5711: Waiting [2023-05-20T01:31:10.096Z] 85791d961cd3: Verifying Checksum [2023-05-20T01:31:10.096Z] 85791d961cd3: Download complete [2023-05-20T01:31:10.096Z] 9f32a84ed3da: Verifying Checksum [2023-05-20T01:31:10.096Z] 9f32a84ed3da: Download complete [2023-05-20T01:31:10.096Z] 4d19c01a9841: Verifying Checksum [2023-05-20T01:31:10.096Z] f56be85fc22e: Verifying Checksum [2023-05-20T01:31:10.096Z] f56be85fc22e: Download complete [2023-05-20T01:31:10.368Z] 9325e15d5711: Verifying Checksum [2023-05-20T01:31:10.368Z] 9325e15d5711: Download complete [2023-05-20T01:31:10.368Z] f56be85fc22e: Pull complete [2023-05-20T01:31:10.628Z] 85791d961cd3: Pull complete [2023-05-20T01:31:10.889Z] c5a4b2cf53e6: Verifying Checksum [2023-05-20T01:31:10.889Z] c5a4b2cf53e6: Download complete [2023-05-20T01:31:11.147Z] d694b5ae8c79: Verifying Checksum [2023-05-20T01:31:11.147Z] d694b5ae8c79: Download complete [2023-05-20T01:31:11.147Z] 556b6ee489ea: Download complete [2023-05-20T01:31:14.432Z] d694b5ae8c79: Pull complete [2023-05-20T01:31:14.432Z] 9f32a84ed3da: Pull complete [2023-05-20T01:31:14.432Z] 4d19c01a9841: Pull complete [2023-05-20T01:31:14.432Z] 9325e15d5711: Pull complete [2023-05-20T01:31:16.973Z] 556b6ee489ea: Pull complete [2023-05-20T01:31:17.542Z] c5a4b2cf53e6: Pull complete [2023-05-20T01:31:17.542Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-20T01:31:17.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-20T01:31:17.542Z] ---> c4be618373d6 [2023-05-20T01:31:17.542Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:31:23.762Z] Still waiting to schedule task [2023-05-20T01:31:23.763Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16158’ is offline [2023-05-20T01:31:25.682Z] ---> Running in da86609274a9 [2023-05-20T01:31:25.682Z] Removing intermediate container da86609274a9 [2023-05-20T01:31:25.682Z] ---> 594aa2c2cdd6 [2023-05-20T01:31:25.682Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:31:25.682Z] ---> Running in 1696f18aa9a4 [2023-05-20T01:31:25.682Z] Removing intermediate container 1696f18aa9a4 [2023-05-20T01:31:25.682Z] ---> b660980bc8b5 [2023-05-20T01:31:25.682Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:31:25.682Z] ---> Running in 1ed093cc0a23 [2023-05-20T01:31:25.682Z] Removing intermediate container 1ed093cc0a23 [2023-05-20T01:31:25.682Z] ---> a993f463bd2b [2023-05-20T01:31:25.682Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:31:25.682Z] ---> Running in 1d527a764a66 [2023-05-20T01:31:25.682Z] Removing intermediate container 1d527a764a66 [2023-05-20T01:31:25.682Z] ---> 853f2c9882d9 [2023-05-20T01:31:25.682Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:31:25.942Z] ---> Running in c5a330b9fb09 [2023-05-20T01:31:26.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-20T01:31:26.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-20T01:31:26.465Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-20T01:31:26.465Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-20T01:31:26.465Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T01:31:26.465Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T01:31:26.465Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-20T01:31:26.465Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-20T01:31:26.465Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-20T01:31:26.465Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-20T01:31:26.465Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-20T01:31:26.465Z] (10/14) Installing kmod-libs (30-r1) [2023-05-20T01:31:26.465Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-20T01:31:26.465Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-20T01:31:26.465Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-20T01:31:26.465Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-20T01:31:26.725Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T01:31:26.725Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T01:31:26.725Z] OK: 272 MiB in 67 packages [2023-05-20T01:31:27.292Z] Removing intermediate container c5a330b9fb09 [2023-05-20T01:31:27.292Z] ---> 951cdcf60e7d [2023-05-20T01:31:27.292Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-20T01:31:27.292Z] ---> Running in 0b111523ef4b [2023-05-20T01:31:27.552Z] Removing intermediate container 0b111523ef4b [2023-05-20T01:31:27.552Z] ---> 6ae7a89baa5a [2023-05-20T01:31:27.552Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-20T01:31:27.552Z] ---> 6fa432b8690f [2023-05-20T01:31:27.552Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:31:27.552Z] ---> Running in 39d1ec08f183 [2023-05-20T01:32:14.253Z] Removing intermediate container 39d1ec08f183 [2023-05-20T01:32:14.253Z] ---> c3d14b898f1b [2023-05-20T01:32:14.253Z] Step 11/13 : COPY . . [2023-05-20T01:32:14.253Z] ---> 4649c5de16fb [2023-05-20T01:32:14.253Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:32:14.253Z] ---> Running in 2f91a82ad8eb [2023-05-20T01:32:14.253Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-20T01:32:14.253Z] Dload Upload Total Spent Left Speed [2023-05-20T01:32:14.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7719 0 --:--:-- --:--:-- --:--:-- 7751 [2023-05-20T01:32:14.253Z] Removing intermediate container 2f91a82ad8eb [2023-05-20T01:32:14.253Z] ---> 8c9e05ad3ac9 [2023-05-20T01:32:14.253Z] Step 13/13 : RUN ${MAKE} [2023-05-20T01:32:14.253Z] ---> Running in 9ebdfff51327 [2023-05-20T01:32:14.514Z] noop [2023-05-20T01:32:15.083Z] Removing intermediate container 9ebdfff51327 [2023-05-20T01:32:15.083Z] ---> 52fe222499cc [2023-05-20T01:32:15.083Z] Successfully built 52fe222499cc [2023-05-20T01:32:15.083Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:32:15.398Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-20T01:32:15.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:32:15.467Z] prd-ubuntu20.04-docker-8c-8g-16157 does not seem to be running inside a container [2023-05-20T01:32:15.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-20T01:32:15.874Z] $ docker top 09f0d256b4732e42835512e61308cd3be714583099d2e82fc7e4057d434bddfb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:32:16.246Z] + go version [2023-05-20T01:32:16.246Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-20T01:32:16.271Z] $ docker stop --time=1 09f0d256b4732e42835512e61308cd3be714583099d2e82fc7e4057d434bddfb [2023-05-20T01:32:17.542Z] $ docker rm -f --volumes 09f0d256b4732e42835512e61308cd3be714583099d2e82fc7e4057d434bddfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:32:17.925Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-20T01:32:17.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:32:17.998Z] prd-ubuntu20.04-docker-8c-8g-16157 does not seem to be running inside a container [2023-05-20T01:32:18.034Z] $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-20T01:32:18.419Z] $ docker top cf7210b3d350c8224b715ca491420fb0171db44ed1446a4ba6a6fd0c2adcfe71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:32:18.759Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] fileExists [Pipeline] sh [2023-05-20T01:32:19.057Z] + make test [2023-05-20T01:32:19.057Z] go test ./... -coverprofile=coverage.out ./... [2023-05-20T01:32:24.330Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-20T01:32:34.300Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-20T01:32:34.300Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.6% of statements [2023-05-20T01:32:42.466Z] internal/driver/transcoder.go:46:10: G204: Subprocess launched with a potential tainted input or cmd arguments (gosec) [2023-05-20T01:32:42.466Z] proc := exec.Command(t.FFmpegExec(), command...) [2023-05-20T01:32:42.466Z] ^ [2023-05-20T01:32:42.466Z] make: *** [Makefile:50: lint] Error 1 [Pipeline] } [2023-05-20T01:32:42.484Z] $ docker stop --time=1 cf7210b3d350c8224b715ca491420fb0171db44ed1446a4ba6a6fd0c2adcfe71 [2023-05-20T01:32:47.000Z] $ docker rm -f --volumes cf7210b3d350c8224b715ca491420fb0171db44ed1446a4ba6a6fd0c2adcfe71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:32:47.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:32:47.653Z] [2023-05-20T01:32:47.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:32:47.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:32:48.211Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-20T01:32:48.211Z] 5eb5b503b376: Pulling fs layer [2023-05-20T01:32:48.211Z] 5c69ac0246d0: Pulling fs layer [2023-05-20T01:32:48.211Z] ec43610c2a17: Pulling fs layer [2023-05-20T01:32:48.211Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-20T01:32:48.211Z] 33b1e0a273af: Pulling fs layer [2023-05-20T01:32:48.211Z] 5d3b04190fa2: Pulling fs layer [2023-05-20T01:32:48.211Z] 2f39f015ded8: Pulling fs layer [2023-05-20T01:32:48.211Z] 3a2ae6a8a46f: Waiting [2023-05-20T01:32:48.211Z] 33b1e0a273af: Waiting [2023-05-20T01:32:48.211Z] 5d3b04190fa2: Waiting [2023-05-20T01:32:48.211Z] 2f39f015ded8: Waiting [2023-05-20T01:32:48.211Z] 5c69ac0246d0: Download complete [2023-05-20T01:32:48.211Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-20T01:32:48.211Z] 3a2ae6a8a46f: Download complete [2023-05-20T01:32:48.211Z] 33b1e0a273af: Verifying Checksum [2023-05-20T01:32:48.211Z] 33b1e0a273af: Download complete [2023-05-20T01:32:48.211Z] 5d3b04190fa2: Verifying Checksum [2023-05-20T01:32:48.211Z] 5d3b04190fa2: Download complete [2023-05-20T01:32:48.211Z] ec43610c2a17: Verifying Checksum [2023-05-20T01:32:48.211Z] ec43610c2a17: Download complete [2023-05-20T01:32:48.470Z] 5eb5b503b376: Verifying Checksum [2023-05-20T01:32:48.470Z] 5eb5b503b376: Download complete [2023-05-20T01:32:49.039Z] 2f39f015ded8: Verifying Checksum [2023-05-20T01:32:49.039Z] 2f39f015ded8: Download complete [2023-05-20T01:32:49.977Z] 5eb5b503b376: Pull complete [2023-05-20T01:32:50.236Z] 5c69ac0246d0: Pull complete [2023-05-20T01:32:50.805Z] ec43610c2a17: Pull complete [2023-05-20T01:32:51.066Z] 3a2ae6a8a46f: Pull complete [2023-05-20T01:32:51.327Z] 33b1e0a273af: Pull complete [2023-05-20T01:32:51.589Z] 5d3b04190fa2: Pull complete [2023-05-20T01:32:56.978Z] 2f39f015ded8: Pull complete [2023-05-20T01:32:56.978Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-20T01:32:56.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:32:56.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:32:57.073Z] prd-ubuntu20.04-docker-8c-8g-16157 does not seem to be running inside a container [2023-05-20T01:32:57.112Z] $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-20T01:33:04.562Z] $ docker top 82d5a0184f1b365585608fb1c68b2e71a0af216d5f678b9ba2a16ecc661fb0cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:33:04.968Z] ---> job-cost.sh [2023-05-20T01:33:04.968Z] lf-activate-venv: SKIPPING [2023-05-20T01:33:04.968Z] INFO: No Stack... [2023-05-20T01:33:05.535Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-20T01:33:05.796Z] INFO: Archiving Costs [Pipeline] sh [2023-05-20T01:33:06.095Z] + cat /w/workspace/foundry_device-usb-camera_PR-254/archives/cost.csv [2023-05-20T01:33:06.095Z] + cut -d, -f6 [Pipeline] lock [2023-05-20T01:33:06.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] [2023-05-20T01:33:06.115Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] did not exist. Created. [2023-05-20T01:33:06.115Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-20T01:33:06.430Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-20T01:33:06.472Z] Stashed 1 file(s) [Pipeline] } [2023-05-20T01:33:06.479Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-20T01:33:06.505Z] $ docker stop --time=1 82d5a0184f1b365585608fb1c68b2e71a0af216d5f678b9ba2a16ecc661fb0cb [2023-05-20T01:33:07.718Z] $ docker rm -f --volumes 82d5a0184f1b365585608fb1c68b2e71a0af216d5f678b9ba2a16ecc661fb0cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-20T01:33:07.833Z] Failed in branch amd64 [2023-05-20T01:34:00.126Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16159 in /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] { [Pipeline] ws [2023-05-20T01:34:00.142Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-05-20T01:34:00.197Z] Selected Git installation does not exist. Using Default [2023-05-20T01:34:00.197Z] The recommended git tool is: NONE [2023-05-20T01:34:06.741Z] using credential edgex-jenkins-ssh [2023-05-20T01:34:06.764Z] Cloning the remote Git repository [2023-05-20T01:34:06.824Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-20T01:34:06.929Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-05-20T01:34:07.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-20T01:34:07.087Z] > git --version # timeout=10 [2023-05-20T01:34:07.108Z] > git --version # 'git version 2.25.1' [2023-05-20T01:34:07.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-20T01:34:07.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-20T01:34:08.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-20T01:34:08.114Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-20T01:34:09.810Z] Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit ef9f42283f305e50e736a234c58fc345ccf8cd39 [2023-05-20T01:34:10.133Z] Merge succeeded, producing ef9f42283f305e50e736a234c58fc345ccf8cd39 [2023-05-20T01:34:10.133Z] Checking out Revision ef9f42283f305e50e736a234c58fc345ccf8cd39 (PR-254) [2023-05-20T01:34:09.109Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-20T01:34:09.165Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-20T01:34:09.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-20T01:34:09.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-20T01:34:09.836Z] > git config core.sparsecheckout # timeout=10 [2023-05-20T01:34:09.913Z] > git checkout -f ef9f42283f305e50e736a234c58fc345ccf8cd39 # timeout=10 [2023-05-20T01:34:10.012Z] > git remote # timeout=10 [2023-05-20T01:34:10.038Z] > git config --get remote.origin.url # timeout=10 [2023-05-20T01:34:10.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-20T01:34:10.074Z] > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 [2023-05-20T01:34:10.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-20T01:34:10.142Z] > git config core.sparsecheckout # timeout=10 [2023-05-20T01:34:10.159Z] > git checkout -f ef9f42283f305e50e736a234c58fc345ccf8cd39 # timeout=10 [2023-05-20T01:34:13.671Z] Commit message: "fix: lint error gosimple S1007" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-20T01:34:14.724Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-20T01:34:14.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-20T01:34:14.724Z] Dload Upload Total Spent Left Speed [2023-05-20T01:34:14.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh [2023-05-20T01:34:15.494Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-20T01:34:15.830Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-20T01:34:15.830Z] + sudo tee /etc/docker/daemon.new [2023-05-20T01:34:15.830Z] { [2023-05-20T01:34:15.830Z] "registry-mirrors": [ [2023-05-20T01:34:15.830Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-20T01:34:15.830Z] ], [2023-05-20T01:34:15.830Z] "bip": "10.250.0.254/24", [2023-05-20T01:34:15.830Z] "hosts": [ [2023-05-20T01:34:15.830Z] "tcp://0.0.0.0:5555", [2023-05-20T01:34:15.830Z] "unix:///var/run/docker.sock" [2023-05-20T01:34:15.830Z] ], [2023-05-20T01:34:15.830Z] "mtu": 1458, [2023-05-20T01:34:15.830Z] "selinux-enabled": true, [2023-05-20T01:34:15.830Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-20T01:34:15.830Z] } [Pipeline] sh [2023-05-20T01:34:16.167Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-20T01:34:16.513Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T01:34:34.801Z] provisioning config files... [2023-05-20T01:34:34.826Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config1520710139401870652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:34:35.176Z] ---> docker-login.sh [2023-05-20T01:34:35.176Z] nexus3.edgexfoundry.org:10001 [2023-05-20T01:34:35.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:34:35.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:34:35.766Z] Configure a credential helper to remove this warning. See [2023-05-20T01:34:35.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:34:35.766Z] [2023-05-20T01:34:35.766Z] Login Succeeded [2023-05-20T01:34:35.766Z] nexus3.edgexfoundry.org:10002 [2023-05-20T01:34:36.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:34:36.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:34:36.037Z] Configure a credential helper to remove this warning. See [2023-05-20T01:34:36.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:34:36.037Z] [2023-05-20T01:34:36.037Z] Login Succeeded [2023-05-20T01:34:36.037Z] nexus3.edgexfoundry.org:10003 [2023-05-20T01:34:36.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:34:36.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:34:36.577Z] Configure a credential helper to remove this warning. See [2023-05-20T01:34:36.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:34:36.577Z] [2023-05-20T01:34:36.577Z] Login Succeeded [2023-05-20T01:34:36.577Z] nexus3.edgexfoundry.org:10004 [2023-05-20T01:34:36.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:34:36.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:34:36.848Z] Configure a credential helper to remove this warning. See [2023-05-20T01:34:36.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:34:36.848Z] [2023-05-20T01:34:36.848Z] Login Succeeded [2023-05-20T01:34:36.848Z] docker.io [2023-05-20T01:34:37.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-20T01:34:37.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-20T01:34:37.397Z] Configure a credential helper to remove this warning. See [2023-05-20T01:34:37.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-20T01:34:37.397Z] [2023-05-20T01:34:37.397Z] Login Succeeded [2023-05-20T01:34:37.397Z] ---> docker-login.sh ends [Pipeline] } [2023-05-20T01:34:37.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-20T01:34:37.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:34:37.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-20T01:34:37.748Z] ========================================================= [2023-05-20T01:34:37.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-20T01:34:37.748Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:34:38.099Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-20T01:34:38.368Z] Sending build context to Docker daemon 1.163MB [2023-05-20T01:34:38.368Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:34:38.368Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-20T01:34:40.986Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-20T01:34:40.986Z] c41833b44d91: Pulling fs layer [2023-05-20T01:34:40.986Z] ed15518f5707: Pulling fs layer [2023-05-20T01:34:40.986Z] feae8fd75edb: Pulling fs layer [2023-05-20T01:34:40.986Z] 242c74f7c9fa: Pulling fs layer [2023-05-20T01:34:40.986Z] 3cdef696dda3: Pulling fs layer [2023-05-20T01:34:40.986Z] 2ced38df9373: Pulling fs layer [2023-05-20T01:34:40.986Z] 58f1dce35555: Pulling fs layer [2023-05-20T01:34:40.986Z] 3cdef696dda3: Waiting [2023-05-20T01:34:40.986Z] 242c74f7c9fa: Waiting [2023-05-20T01:34:40.986Z] 2ced38df9373: Waiting [2023-05-20T01:34:40.986Z] 58f1dce35555: Waiting [2023-05-20T01:34:40.986Z] ed15518f5707: Verifying Checksum [2023-05-20T01:34:40.986Z] ed15518f5707: Download complete [2023-05-20T01:34:40.986Z] 242c74f7c9fa: Verifying Checksum [2023-05-20T01:34:40.986Z] 242c74f7c9fa: Download complete [2023-05-20T01:34:40.986Z] 3cdef696dda3: Verifying Checksum [2023-05-20T01:34:40.986Z] 3cdef696dda3: Download complete [2023-05-20T01:34:40.986Z] c41833b44d91: Verifying Checksum [2023-05-20T01:34:40.986Z] c41833b44d91: Download complete [2023-05-20T01:34:41.966Z] c41833b44d91: Pull complete [2023-05-20T01:34:42.242Z] 58f1dce35555: Verifying Checksum [2023-05-20T01:34:42.242Z] 58f1dce35555: Download complete [2023-05-20T01:34:42.515Z] ed15518f5707: Pull complete [2023-05-20T01:34:43.499Z] feae8fd75edb: Verifying Checksum [2023-05-20T01:34:43.499Z] feae8fd75edb: Download complete [2023-05-20T01:34:43.499Z] 2ced38df9373: Download complete [2023-05-20T01:34:55.883Z] feae8fd75edb: Pull complete [2023-05-20T01:34:55.883Z] 242c74f7c9fa: Pull complete [2023-05-20T01:34:55.883Z] 3cdef696dda3: Pull complete [2023-05-20T01:35:02.595Z] 2ced38df9373: Pull complete [2023-05-20T01:35:05.197Z] 58f1dce35555: Pull complete [2023-05-20T01:35:05.197Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-20T01:35:05.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-20T01:35:05.197Z] ---> fadd8f120f05 [2023-05-20T01:35:05.197Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:35:07.183Z] ---> Running in 721ea8626451 [2023-05-20T01:35:07.183Z] Removing intermediate container 721ea8626451 [2023-05-20T01:35:07.183Z] ---> e436702f0447 [2023-05-20T01:35:07.183Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:35:07.456Z] ---> Running in ffe9e28ede5b [2023-05-20T01:35:07.726Z] Removing intermediate container ffe9e28ede5b [2023-05-20T01:35:07.726Z] ---> 6875558d4422 [2023-05-20T01:35:07.726Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:35:07.726Z] ---> Running in 4be2bb7de9ef [2023-05-20T01:35:08.317Z] Removing intermediate container 4be2bb7de9ef [2023-05-20T01:35:08.317Z] ---> ae8c208f7857 [2023-05-20T01:35:08.317Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:35:08.317Z] ---> Running in af10dbfe735a [2023-05-20T01:35:08.585Z] Removing intermediate container af10dbfe735a [2023-05-20T01:35:08.585Z] ---> e6f7f5370748 [2023-05-20T01:35:08.585Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:35:08.585Z] ---> Running in 7a90ef78a655 [2023-05-20T01:35:09.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-20T01:35:10.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-20T01:35:12.012Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-20T01:35:12.012Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-20T01:35:12.012Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T01:35:12.012Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T01:35:12.012Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-20T01:35:12.012Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-20T01:35:12.012Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-20T01:35:12.012Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-20T01:35:12.012Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-20T01:35:12.012Z] (10/14) Installing kmod-libs (30-r1) [2023-05-20T01:35:12.012Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-20T01:35:12.012Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-20T01:35:12.012Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-20T01:35:12.012Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-20T01:35:12.012Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T01:35:12.282Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T01:35:12.282Z] OK: 271 MiB in 67 packages [2023-05-20T01:35:13.268Z] Removing intermediate container 7a90ef78a655 [2023-05-20T01:35:13.268Z] ---> 1d5946625d57 [2023-05-20T01:35:13.268Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-20T01:35:13.535Z] ---> Running in 311b450da4f6 [2023-05-20T01:35:13.804Z] Removing intermediate container 311b450da4f6 [2023-05-20T01:35:13.804Z] ---> 2fadc936541a [2023-05-20T01:35:13.804Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-20T01:35:14.390Z] ---> 3766f0e9c0a6 [2023-05-20T01:35:14.390Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:35:14.390Z] ---> Running in e854b8ed668e [2023-05-20T01:36:22.262Z] Removing intermediate container e854b8ed668e [2023-05-20T01:36:22.263Z] ---> a4fcbbf87297 [2023-05-20T01:36:22.263Z] Step 11/13 : COPY . . [2023-05-20T01:36:22.263Z] ---> 2ac4e4844c80 [2023-05-20T01:36:22.263Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:36:22.263Z] ---> Running in 5dbe7954534f [2023-05-20T01:36:22.263Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-20T01:36:22.263Z] Dload Upload Total Spent Left Speed [2023-05-20T01:36:22.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3501 0 --:--:-- --:--:-- --:--:-- 3516 [2023-05-20T01:36:22.263Z] Removing intermediate container 5dbe7954534f [2023-05-20T01:36:22.263Z] ---> d40da1fa3bdf [2023-05-20T01:36:22.263Z] Step 13/13 : RUN ${MAKE} [2023-05-20T01:36:22.263Z] ---> Running in 276230decbc4 [2023-05-20T01:36:22.263Z] noop [2023-05-20T01:36:22.263Z] Removing intermediate container 276230decbc4 [2023-05-20T01:36:22.263Z] ---> 424d80161f44 [2023-05-20T01:36:22.263Z] Successfully built 424d80161f44 [2023-05-20T01:36:22.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:36:22.618Z] + docker inspect -f . ci-base-image-arm64 [2023-05-20T01:36:22.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:36:22.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-16159 does not seem to be running inside a container [2023-05-20T01:36:22.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-20T01:36:24.228Z] $ docker top 0313d82e6b6c21e6988465999280b8174a365d6cf39b4c7e81a5d3e435c2583f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:36:25.116Z] + go version [2023-05-20T01:36:25.116Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-20T01:36:25.145Z] $ docker stop --time=1 0313d82e6b6c21e6988465999280b8174a365d6cf39b4c7e81a5d3e435c2583f [2023-05-20T01:36:26.876Z] $ docker rm -f --volumes 0313d82e6b6c21e6988465999280b8174a365d6cf39b4c7e81a5d3e435c2583f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:36:27.423Z] + docker inspect -f . ci-base-image-arm64 [2023-05-20T01:36:27.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:36:27.628Z] prd-ubuntu20.04-docker-arm64-4c-16g-16159 does not seem to be running inside a container [2023-05-20T01:36:27.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-20T01:36:29.048Z] $ docker top aae9a7e8722c9567abf049751cf5c1ae95248b2b1c68167ddf9b00adc7819854 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:36:29.930Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-05-20T01:36:30.599Z] + make test [2023-05-20T01:36:30.599Z] go test ./... -coverprofile=coverage.out ./... [2023-05-20T01:37:09.531Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-20T01:39:46.312Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-20T01:39:46.312Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.6% of statements [2023-05-20T01:39:46.312Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-20T01:39:46.312Z] go vet ./... [2023-05-20T01:40:18.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-20T01:40:18.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-20T01:40:18.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-20T01:40:18.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-20T01:40:18.632Z] $ docker stop --time=1 aae9a7e8722c9567abf049751cf5c1ae95248b2b1c68167ddf9b00adc7819854 [2023-05-20T01:40:20.498Z] $ docker rm -f --volumes aae9a7e8722c9567abf049751cf5c1ae95248b2b1c68167ddf9b00adc7819854 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-20T01:40:21.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-20T01:40:22.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-20T01:40:23.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-20T01:40:23.520Z] + ls -al . [2023-05-20T01:40:23.520Z] total 188 [2023-05-20T01:40:23.520Z] drwxrwxr-x 9 jenkins jenkins 4096 May 20 01:36 . [2023-05-20T01:40:23.520Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:34 .. [2023-05-20T01:40:23.520Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 01:34 .git [2023-05-20T01:40:23.520Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:34 .github [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 414 May 20 01:34 .gitignore [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 45 May 20 01:34 .golangci.yml [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 77 May 20 01:34 .hadolint.yml [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 20 01:34 Attribution.txt [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 20 01:34 CHANGELOG.md [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 20 01:34 Dockerfile [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 678 May 20 01:34 GOVERNANCE.md [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 659 May 20 01:34 Jenkinsfile [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 20 01:34 LICENSE [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 20 01:34 Makefile [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 622 May 20 01:34 OWNERS.md [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 20 01:34 README.md [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 01:31 VERSION [2023-05-20T01:40:23.520Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:34 bin [2023-05-20T01:40:23.520Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:34 cmd [2023-05-20T01:40:23.520Z] -rw-r--r-- 1 jenkins jenkins 35308 May 20 01:39 coverage.out [2023-05-20T01:40:23.520Z] -rwxrwxr-x 1 jenkins jenkins 140 May 20 01:34 docker-entrypoint.sh [2023-05-20T01:40:23.520Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:34 docs [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 20 01:34 go.mod [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 20 01:34 go.sum [2023-05-20T01:40:23.520Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:34 internal [2023-05-20T01:40:23.520Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:34 snap [2023-05-20T01:40:23.520Z] -rw-rw-r-- 1 jenkins jenkins 231 May 20 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:40:23.869Z] + 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=ef9f42283f305e50e736a234c58fc345ccf8cd39 --label arch=arm64 --label version=0.0.0 . [2023-05-20T01:40:24.141Z] Sending build context to Docker daemon 1.199MB [2023-05-20T01:40:24.141Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-20T01:40:24.141Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-20T01:40:24.141Z] ---> 424d80161f44 [2023-05-20T01:40:24.141Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-20T01:40:24.412Z] ---> Running in 552fee875839 [2023-05-20T01:40:24.681Z] Removing intermediate container 552fee875839 [2023-05-20T01:40:24.681Z] ---> 2168c053a8ea [2023-05-20T01:40:24.681Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-20T01:40:24.681Z] ---> Running in 87fedf5acb85 [2023-05-20T01:40:24.952Z] Removing intermediate container 87fedf5acb85 [2023-05-20T01:40:24.952Z] ---> 0c24a0a442d9 [2023-05-20T01:40:24.952Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-20T01:40:25.221Z] ---> Running in 8d7992ba70b9 [2023-05-20T01:40:25.492Z] Removing intermediate container 8d7992ba70b9 [2023-05-20T01:40:25.492Z] ---> 4027e914227f [2023-05-20T01:40:25.492Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-20T01:40:25.492Z] ---> Running in e73df25411c2 [2023-05-20T01:40:25.763Z] Removing intermediate container e73df25411c2 [2023-05-20T01:40:25.763Z] ---> 4621a567c6cd [2023-05-20T01:40:25.763Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-20T01:40:26.039Z] ---> Running in 786a1ddc8924 [2023-05-20T01:40:27.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-20T01:40:27.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-20T01:40:28.945Z] OK: 271 MiB in 67 packages [2023-05-20T01:40:31.012Z] Removing intermediate container 786a1ddc8924 [2023-05-20T01:40:31.012Z] ---> e7de7846ff38 [2023-05-20T01:40:31.012Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-20T01:40:31.012Z] ---> Running in 1363f3ac3011 [2023-05-20T01:40:31.012Z] Removing intermediate container 1363f3ac3011 [2023-05-20T01:40:31.012Z] ---> 840fdcf7fae3 [2023-05-20T01:40:31.012Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-20T01:40:31.630Z] ---> 1024bf52ee4d [2023-05-20T01:40:31.630Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-20T01:40:31.630Z] ---> Running in d9ccedded757 [2023-05-20T01:40:34.255Z] Removing intermediate container d9ccedded757 [2023-05-20T01:40:34.255Z] ---> 6630e31306ba [2023-05-20T01:40:34.255Z] Step 11/36 : COPY . . [2023-05-20T01:40:35.228Z] ---> 452f6868d79b [2023-05-20T01:40:35.228Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-20T01:40:35.228Z] ---> Running in f6b93d144ace [2023-05-20T01:40:36.196Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-05-20T01:40:36.196Z] Dload Upload Total Spent Left Speed [2023-05-20T01:40:36.466Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100  1062 100 1062 0 0 2751 0 --:--:-- --:--:-- --:--:-- 2758 [2023-05-20T01:40:37.443Z] Removing intermediate container f6b93d144ace [2023-05-20T01:40:37.443Z] ---> 9eb7a9f4440e [2023-05-20T01:40:37.443Z] Step 13/36 : RUN ${MAKE} [2023-05-20T01:40:37.443Z] ---> Running in ac2731766c86 [2023-05-20T01:40:38.412Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-20T01:43:30.184Z] Removing intermediate container ac2731766c86 [2023-05-20T01:43:30.184Z] ---> 45e711a88763 [2023-05-20T01:43:30.184Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-20T01:43:30.184Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-20T01:43:30.184Z] 8766b47fe142: Pulling fs layer [2023-05-20T01:43:30.184Z] 8766b47fe142: Verifying Checksum [2023-05-20T01:43:30.184Z] 8766b47fe142: Download complete [2023-05-20T01:43:30.184Z] 8766b47fe142: Pull complete [2023-05-20T01:43:30.184Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-20T01:43:30.184Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-20T01:43:30.184Z] ---> 69d40e2cb93c [2023-05-20T01:43:30.184Z] Step 15/36 : FROM alpine:3.17 [2023-05-20T01:43:30.184Z] 3.17: Pulling from library/alpine [2023-05-20T01:43:30.184Z] c41833b44d91: Already exists [2023-05-20T01:43:30.184Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-20T01:43:30.184Z] Status: Downloaded newer image for alpine:3.17 [2023-05-20T01:43:30.184Z] ---> 51e60588ff2c [2023-05-20T01:43:30.184Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-20T01:43:30.184Z] ---> Running in 2ff3bdbdfc45 [2023-05-20T01:43:30.184Z] Removing intermediate container 2ff3bdbdfc45 [2023-05-20T01:43:30.184Z] ---> 404b5dc3adda [2023-05-20T01:43:30.184Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-20T01:43:30.184Z] ---> Running in c4e0cd0ed349 [2023-05-20T01:43:30.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-20T01:43:30.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-20T01:43:31.611Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-20T01:43:31.611Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-20T01:43:31.611Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-20T01:43:31.611Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-20T01:43:31.611Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-20T01:43:31.611Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-20T01:43:31.611Z] (7/83) Installing libxcb (1.15-r0) [2023-05-20T01:43:31.611Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-20T01:43:31.882Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-20T01:43:31.882Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-20T01:43:32.151Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-20T01:43:32.151Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-20T01:43:32.151Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-20T01:43:32.151Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-20T01:43:32.151Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-20T01:43:32.151Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-20T01:43:32.151Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-20T01:43:32.151Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-20T01:43:32.151Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-20T01:43:32.421Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-20T01:43:32.421Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-20T01:43:32.421Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-20T01:43:32.421Z] (23/83) Installing glib (2.74.6-r0) [2023-05-20T01:43:32.421Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-20T01:43:32.421Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-20T01:43:32.421Z] (26/83) Installing libass (0.16.0-r1) [2023-05-20T01:43:32.421Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-20T01:43:32.690Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-20T01:43:32.690Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-20T01:43:32.690Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-20T01:43:32.690Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-20T01:43:32.690Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-20T01:43:32.690Z] (33/83) Installing libunistring (1.1-r0) [2023-05-20T01:43:32.690Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-20T01:43:32.690Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-20T01:43:32.960Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-20T01:43:32.960Z] (37/83) Installing lame (3.100-r2) [2023-05-20T01:43:32.960Z] (38/83) Installing opus (1.3.1-r1) [2023-05-20T01:43:32.960Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-20T01:43:32.960Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-20T01:43:32.960Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-20T01:43:32.960Z] (42/83) Installing orc (0.4.33-r0) [2023-05-20T01:43:32.960Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-20T01:43:32.960Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-20T01:43:32.960Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-20T01:43:32.960Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-20T01:43:32.960Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-20T01:43:33.228Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-20T01:43:33.228Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-20T01:43:33.228Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-20T01:43:33.228Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-20T01:43:33.228Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-20T01:43:33.228Z] (53/83) Installing libpulse (16.1-r6) [2023-05-20T01:43:33.228Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-20T01:43:33.228Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-20T01:43:33.228Z] (56/83) Installing librist (0.2.7-r0) [2023-05-20T01:43:33.228Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-20T01:43:33.228Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-20T01:43:33.228Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-20T01:43:33.498Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-20T01:43:33.498Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-20T01:43:33.498Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-20T01:43:33.498Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-20T01:43:33.498Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-20T01:43:33.498Z] (65/83) Installing libva (2.16.0-r0) [2023-05-20T01:43:33.498Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-20T01:43:33.498Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-20T01:43:33.498Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-20T01:43:33.768Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-20T01:43:33.768Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-20T01:43:33.768Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-20T01:43:33.768Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-20T01:43:33.768Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-20T01:43:34.038Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-20T01:43:34.038Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-20T01:43:34.038Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-20T01:43:34.629Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-20T01:43:34.629Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-20T01:43:34.629Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-20T01:43:34.629Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-20T01:43:34.629Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-20T01:43:34.629Z] (82/83) Installing kmod-libs (30-r1) [2023-05-20T01:43:34.629Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-20T01:43:34.629Z] Executing busybox-1.35.0-r29.trigger [2023-05-20T01:43:34.629Z] Executing eudev-3.2.11-r4.trigger [2023-05-20T01:43:34.629Z] OK: 86 MiB in 98 packages [2023-05-20T01:43:41.288Z] Removing intermediate container c4e0cd0ed349 [2023-05-20T01:43:41.288Z] ---> 4c71e482c027 [2023-05-20T01:43:41.288Z] Step 18/36 : WORKDIR / [2023-05-20T01:43:41.288Z] ---> Running in 2ede49243359 [2023-05-20T01:43:41.556Z] Removing intermediate container 2ede49243359 [2023-05-20T01:43:41.556Z] ---> cd8186b64d41 [2023-05-20T01:43:41.557Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-20T01:43:42.974Z] ---> 1a208db3d9af [2023-05-20T01:43:42.974Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-20T01:43:43.562Z] ---> a0a7e30beec5 [2023-05-20T01:43:43.562Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-20T01:43:44.148Z] ---> af9bd1b5af03 [2023-05-20T01:43:44.148Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-20T01:43:44.736Z] ---> a70b85cc5235 [2023-05-20T01:43:44.736Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-20T01:43:45.007Z] ---> 72a2fc431321 [2023-05-20T01:43:45.007Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-20T01:43:45.601Z] ---> 045a8080b7be [2023-05-20T01:43:45.601Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-20T01:43:47.555Z] ---> a03aae896006 [2023-05-20T01:43:47.555Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-20T01:43:47.555Z] ---> Running in 7b7e97745ce8 [2023-05-20T01:43:48.972Z] Removing intermediate container 7b7e97745ce8 [2023-05-20T01:43:48.972Z] ---> b4c6ee54f3a6 [2023-05-20T01:43:48.972Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-20T01:43:48.972Z] ---> Running in 406daf0807b4 [2023-05-20T01:43:53.256Z] Removing intermediate container 406daf0807b4 [2023-05-20T01:43:53.256Z] ---> 602f953dc63c [2023-05-20T01:43:53.256Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-20T01:43:53.256Z] ---> Running in efb421d66edc [2023-05-20T01:43:55.217Z] Removing intermediate container efb421d66edc [2023-05-20T01:43:55.217Z] ---> e820eda48658 [2023-05-20T01:43:55.217Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-20T01:43:55.217Z] ---> Running in de573d56538a [2023-05-20T01:43:56.642Z] Removing intermediate container de573d56538a [2023-05-20T01:43:56.642Z] ---> 7c34e83934db [2023-05-20T01:43:56.642Z] Step 30/36 : EXPOSE 59983 [2023-05-20T01:43:56.642Z] ---> Running in d1d711d3adc1 [2023-05-20T01:43:56.911Z] Removing intermediate container d1d711d3adc1 [2023-05-20T01:43:56.911Z] ---> 1560d6427b22 [2023-05-20T01:43:56.911Z] Step 31/36 : EXPOSE 8554 [2023-05-20T01:43:57.183Z] ---> Running in 3446e6f1b3a5 [2023-05-20T01:43:57.452Z] Removing intermediate container 3446e6f1b3a5 [2023-05-20T01:43:57.452Z] ---> 6e4878e157f5 [2023-05-20T01:43:57.452Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-20T01:43:57.452Z] ---> Running in a6b37128bd93 [2023-05-20T01:43:57.721Z] Removing intermediate container a6b37128bd93 [2023-05-20T01:43:57.722Z] ---> cf2922f5dd3a [2023-05-20T01:43:57.722Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-20T01:43:57.722Z] ---> Running in 8190720d6794 [2023-05-20T01:43:58.307Z] Removing intermediate container 8190720d6794 [2023-05-20T01:43:58.307Z] ---> 624c20f1a2e1 [2023-05-20T01:43:58.307Z] Step 34/36 : LABEL arch=arm64 [2023-05-20T01:43:58.307Z] ---> Running in 389e601fbbcc [2023-05-20T01:43:58.579Z] Removing intermediate container 389e601fbbcc [2023-05-20T01:43:58.580Z] ---> d49ff3b4f22e [2023-05-20T01:43:58.580Z] Step 35/36 : LABEL git_sha=ef9f42283f305e50e736a234c58fc345ccf8cd39 [2023-05-20T01:43:58.580Z] ---> Running in 6a99464b713f [2023-05-20T01:43:58.847Z] Removing intermediate container 6a99464b713f [2023-05-20T01:43:58.847Z] ---> 3994f74fb148 [2023-05-20T01:43:58.847Z] Step 36/36 : LABEL version=0.0.0 [2023-05-20T01:43:59.118Z] ---> Running in 7044d02b3783 [2023-05-20T01:43:59.386Z] Removing intermediate container 7044d02b3783 [2023-05-20T01:43:59.386Z] ---> 2198f0f769a5 [2023-05-20T01:43:59.386Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-20T01:43:59.386Z] Successfully built 2198f0f769a5 [2023-05-20T01:43:59.386Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:43:59.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-20T01:43:59.850Z] [2023-05-20T01:43:59.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:44:00.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-20T01:44:00.190Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-20T01:44:00.190Z] 8998bd30e6a1: Pulling fs layer [2023-05-20T01:44:00.190Z] 04944245beec: Pulling fs layer [2023-05-20T01:44:00.190Z] 699f458cf7ca: Pulling fs layer [2023-05-20T01:44:00.190Z] 765212b225bb: Pulling fs layer [2023-05-20T01:44:00.190Z] f23df028b6ca: Pulling fs layer [2023-05-20T01:44:00.190Z] d65c8cfc05b1: Pulling fs layer [2023-05-20T01:44:00.190Z] 2437ff75d9bd: Pulling fs layer [2023-05-20T01:44:00.190Z] 765212b225bb: Waiting [2023-05-20T01:44:00.190Z] f23df028b6ca: Waiting [2023-05-20T01:44:00.190Z] d65c8cfc05b1: Waiting [2023-05-20T01:44:00.190Z] 2437ff75d9bd: Waiting [2023-05-20T01:44:00.459Z] 04944245beec: Download complete [2023-05-20T01:44:00.459Z] 765212b225bb: Verifying Checksum [2023-05-20T01:44:00.459Z] 765212b225bb: Download complete [2023-05-20T01:44:00.459Z] f23df028b6ca: Download complete [2023-05-20T01:44:00.459Z] d65c8cfc05b1: Verifying Checksum [2023-05-20T01:44:00.459Z] d65c8cfc05b1: Download complete [2023-05-20T01:44:00.729Z] 699f458cf7ca: Download complete [2023-05-20T01:44:01.001Z] 8998bd30e6a1: Verifying Checksum [2023-05-20T01:44:01.001Z] 8998bd30e6a1: Download complete [2023-05-20T01:44:03.587Z] 2437ff75d9bd: Verifying Checksum [2023-05-20T01:44:03.587Z] 2437ff75d9bd: Download complete [2023-05-20T01:44:04.996Z] 8998bd30e6a1: Pull complete [2023-05-20T01:44:05.958Z] 04944245beec: Pull complete [2023-05-20T01:44:07.375Z] 699f458cf7ca: Pull complete [2023-05-20T01:44:07.375Z] 765212b225bb: Pull complete [2023-05-20T01:44:08.338Z] f23df028b6ca: Pull complete [2023-05-20T01:44:08.606Z] d65c8cfc05b1: Pull complete [2023-05-20T01:44:23.606Z] 2437ff75d9bd: Pull complete [2023-05-20T01:44:23.606Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-20T01:44:23.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-20T01:44:23.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:44:23.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-16159 does not seem to be running inside a container [2023-05-20T01:44:23.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-20T01:44:26.573Z] $ docker top e2229f3ba78bf292a0899eb063c05f88cc95e38bba12554a2ad6b1d7ab3d469d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:27.417Z] ---> job-cost.sh [2023-05-20T01:44:27.417Z] lf-activate-venv: SKIPPING [2023-05-20T01:44:27.417Z] INFO: No Stack... [2023-05-20T01:44:27.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-20T01:44:28.642Z] INFO: Archiving Costs [Pipeline] sh [2023-05-20T01:44:29.280Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-05-20T01:44:29.281Z] + cut -d, -f6 [Pipeline] lock [2023-05-20T01:44:29.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] [2023-05-20T01:44:29.347Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] did not exist. Created. [2023-05-20T01:44:29.348Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-20T01:44:30.003Z] /w/workspace/device-usb-camera/2@tmp/durable-aa6045c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-20T01:44:30.665Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-20T01:44:30.681Z] Warning: overwriting stash ‘stack-cost’ [2023-05-20T01:44:30.730Z] Stashed 1 file(s) [Pipeline] } [2023-05-20T01:44:30.741Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-20T01:44:30.770Z] $ docker stop --time=1 e2229f3ba78bf292a0899eb063c05f88cc95e38bba12554a2ad6b1d7ab3d469d [2023-05-20T01:44:32.321Z] $ docker rm -f --volumes e2229f3ba78bf292a0899eb063c05f88cc95e38bba12554a2ad6b1d7ab3d469d [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-20T01:44:33.326Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-254/archives ] [2023-05-20T01:44:33.326Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-20T01:44:33.326Z] total 16 [2023-05-20T01:44:33.326Z] drwxr-xr-x 3 root root 4096 May 20 01:33 . [2023-05-20T01:44:33.326Z] drwxrwxr-x 11 jenkins jenkins 4096 May 20 01:33 .. [2023-05-20T01:44:33.326Z] drwxr-xr-x 2 root root 4096 May 20 01:33 cost [2023-05-20T01:44:33.326Z] -rw-r--r-- 1 root root 89 May 20 01:33 cost.csv [2023-05-20T01:44:33.326Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-20T01:44:33.326Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives [2023-05-20T01:44:33.326Z] total 16 [2023-05-20T01:44:33.326Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 01:33 . [2023-05-20T01:44:33.326Z] drwxrwxr-x 11 jenkins jenkins 4096 May 20 01:33 .. [2023-05-20T01:44:33.326Z] drwxr-xr-x 2 jenkins jenkins 4096 May 20 01:33 cost [2023-05-20T01:44:33.326Z] -rw-r--r-- 1 jenkins jenkins 89 May 20 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:33.627Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:35.092Z] ---> package-listing.sh [2023-05-20T01:44:35.092Z] ++ facter osfamily [2023-05-20T01:44:35.092Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-20T01:44:35.092Z] + OS_FAMILY=debian [2023-05-20T01:44:35.092Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-254 [2023-05-20T01:44:35.092Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-20T01:44:35.092Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-20T01:44:35.092Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-20T01:44:35.092Z] + PACKAGES=/tmp/packages_start.txt [2023-05-20T01:44:35.092Z] + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' [2023-05-20T01:44:35.092Z] + PACKAGES=/tmp/packages_end.txt [2023-05-20T01:44:35.092Z] + case "${OS_FAMILY}" in [2023-05-20T01:44:35.092Z] + dpkg -l [2023-05-20T01:44:35.092Z] + grep '^ii' [2023-05-20T01:44:35.092Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-20T01:44:35.092Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-20T01:44:35.092Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-20T01:44:35.092Z] + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' [2023-05-20T01:44:35.092Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-254/archives/ [2023-05-20T01:44:35.092Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-254/archives/ [Pipeline] echo [2023-05-20T01:44:35.140Z] 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-20T01:44:35.711Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-20T01:44:36.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-20T01:44:36.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-20T01:44:36.359Z] prd-ubuntu20.04-docker-8c-8g-16157 does not seem to be running inside a container [2023-05-20T01:44:36.394Z] $ 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-254/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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-20T01:44:36.586Z] $ docker top f2734eefd575f2782f5ea04e92f3bb74fdfb134bc02596bab8e1d55a4e351111 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-20T01:44:36.933Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-20T01:44:37.225Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-20T01:44:37.510Z] + ls /var/log/sa-host [2023-05-20T01:44:37.510Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-20T01:44:37.683Z] provisioning config files... [2023-05-20T01:44:37.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config861675825754809731tmp [Pipeline] { [Pipeline] echo [2023-05-20T01:44:37.709Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:37.991Z] ---> create-netrc.sh [Pipeline] } [2023-05-20T01:44:38.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:38.329Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-20T01:44:38.338Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:38.624Z] ---> sudo-logs.sh [2023-05-20T01:44:38.625Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-20T01:44:38.657Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:38.942Z] ---> job-cost.sh [2023-05-20T01:44:38.942Z] lf-activate-venv: SKIPPING [2023-05-20T01:44:38.942Z] DEBUG: total: 0.2199999988079071 [2023-05-20T01:44:38.942Z] INFO: Retrieving Stack Cost... [2023-05-20T01:44:39.202Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-20T01:44:39.770Z] INFO: Archiving Costs [Pipeline] echo [2023-05-20T01:44:39.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-20T01:44:40.061Z] ---> logs-deploy.sh [2023-05-20T01:44:40.061Z] lf-activate-venv: SKIPPING [2023-05-20T01:44:40.061Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-254/2 [2023-05-20T01:44:40.061Z] INFO: archiving workspace using pattern(s): [2023-05-20T01:44:41.001Z] Archives upload complete. [2023-05-20T01:44:41.001Z] INFO: archiving logs to Nexus