Pull request #88 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cab20f4e5880bbd2fe889c7177791f44bf8d25b1+c91cc494b17f60a6c3435008630f1c4da06e6238 (2abc2df1796ac24778378e67fed2da5b5fdfc097) 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-ssh8560419655749016684.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12734307791879067436.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-88/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-88/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9550758447468724493.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-88/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11005600106649275458.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh177237754757857664.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-88/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-88/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7815828954337052887.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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.18 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-1168 in /w/workspace/xfoundry_device-usb-camera_PR-88 [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/xfoundry_device-usb-camera_PR-88 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c91cc494b17f60a6c3435008630f1c4da06e6238 into PR head commit cab20f4e5880bbd2fe889c7177791f44bf8d25b1 Merge succeeded, producing cab20f4e5880bbd2fe889c7177791f44bf8d25b1 Checking out Revision cab20f4e5880bbd2fe889c7177791f44bf8d25b1 (PR-88) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-26T17:24:00.472Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T17:24:00.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T17:24:00.719Z] ========================================================= [2022-09-26T17:24:00.719Z] EdgeX Global Pipelines Version Info [2022-09-26T17:24:00.719Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f cab20f4e5880bbd2fe889c7177791f44bf8d25b1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c91cc494b17f60a6c3435008630f1c4da06e6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cab20f4e5880bbd2fe889c7177791f44bf8d25b1 # timeout=10 [2022-09-26T17:24:01.471Z] ------------------- [2022-09-26T17:24:01.471Z] stable info: [2022-09-26T17:24:01.471Z] ------------------- [2022-09-26T17:24:01.471Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T17:24:01.471Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T17:24:01.471Z] Message: update stable to v1.0.239 [2022-09-26T17:24:02.045Z] ------------------- [2022-09-26T17:24:02.045Z] experimental info: [2022-09-26T17:24:02.045Z] ------------------- [2022-09-26T17:24:02.045Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T17:24:02.045Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T17:24:02.045Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T17:24:02.340Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-09-26T17:24:02.378Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-09-26T17:24:02.421Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T17:24:02.458Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T17:24:02.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T17:24:02.530Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T17:24:02.565Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T17:24:02.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T17:24:02.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T17:24:02.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T17:24:02.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T17:24:02.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-09-26T17:24:02.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T17:24:02.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T17:24:02.870Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T17:24:02.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T17:24:02.944Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T17:24:02.983Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T17:24:03.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T17:24:03.060Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T17:24:03.097Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-26T17:24:03.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-26T17:24:03.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T17:24:03.211Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T17:24:03.247Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-26T17:24:03.286Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T17:24:03.320Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T17:24:03.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-88 [Pipeline] echo [2022-09-26T17:24:03.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-88 [Pipeline] echo [2022-09-26T17:24:03.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-88 [Pipeline] echo [2022-09-26T17:24:03.478Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [Pipeline] echo [2022-09-26T17:24:03.519Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cab20f4 [Pipeline] echo [2022-09-26T17:24:03.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T17:24:03.667Z] provisioning config files... [2022-09-26T17:24:03.685Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-88@tmp/config14313822230416616878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:24:04.024Z] ---> docker-login.sh [2022-09-26T17:24:04.024Z] nexus3.edgexfoundry.org:10001 [2022-09-26T17:24:04.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:04.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:04.286Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:04.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:04.286Z] [2022-09-26T17:24:04.286Z] Login Succeeded [2022-09-26T17:24:04.286Z] nexus3.edgexfoundry.org:10002 [2022-09-26T17:24:04.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:04.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:04.286Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:04.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:04.286Z] [2022-09-26T17:24:04.286Z] Login Succeeded [2022-09-26T17:24:04.286Z] nexus3.edgexfoundry.org:10003 [2022-09-26T17:24:04.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:04.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:04.546Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:04.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:04.546Z] [2022-09-26T17:24:04.546Z] Login Succeeded [2022-09-26T17:24:04.546Z] nexus3.edgexfoundry.org:10004 [2022-09-26T17:24:04.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:04.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:04.546Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:04.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:04.546Z] [2022-09-26T17:24:04.546Z] Login Succeeded [2022-09-26T17:24:04.546Z] docker.io [2022-09-26T17:24:04.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:05.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:05.067Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:05.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:05.067Z] [2022-09-26T17:24:05.067Z] Login Succeeded [2022-09-26T17:24:05.067Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T17:24:05.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T17:24:05.709Z] + git rev-list -1 --merges cab20f4e5880bbd2fe889c7177791f44bf8d25b1~1..cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [Pipeline] echo [2022-09-26T17:24:05.751Z] -----------> git rev-list -1 --merges cab20f4e5880bbd2fe889c7177791f44bf8d25b1~1..cab20f4e5880bbd2fe889c7177791f44bf8d25b1 cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [false] [Pipeline] sh [2022-09-26T17:24:06.055Z] + git log --format=format:%s -1 cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [Pipeline] echo [2022-09-26T17:24:06.096Z] ========================================================= [2022-09-26T17:24:06.096Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T17:24:06.096Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T17:24:06.525Z] + git log --format=format:%s -1 cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [Pipeline] echo [2022-09-26T17:24:06.570Z] [semverPrep] GIT_COMMIT: cab20f4e5880bbd2fe889c7177791f44bf8d25b1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-26T17:24:06.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T17:24:06.972Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T17:24:06.972Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T17:24:06.972Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T17:24:06.972Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T17:24:06.972Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T17:24:06.972Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T17:24:06.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:24:07.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T17:24:07.398Z] [2022-09-26T17:24:07.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:24:07.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T17:24:07.777Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T17:24:07.777Z] b85a868b505f: Pulling fs layer [2022-09-26T17:24:07.777Z] e2be974225ed: Pulling fs layer [2022-09-26T17:24:07.777Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T17:24:07.777Z] 988bab9f4d93: Pulling fs layer [2022-09-26T17:24:07.777Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T17:24:07.777Z] eaf3925da568: Pulling fs layer [2022-09-26T17:24:07.777Z] bab4dde63d76: Pulling fs layer [2022-09-26T17:24:07.777Z] bde34c3a00c8: Pulling fs layer [2022-09-26T17:24:07.777Z] b352a97aabf1: Pulling fs layer [2022-09-26T17:24:07.777Z] 1469e6f7b9e6: Waiting [2022-09-26T17:24:07.777Z] bab4dde63d76: Waiting [2022-09-26T17:24:07.777Z] 988bab9f4d93: Waiting [2022-09-26T17:24:07.777Z] bde34c3a00c8: Waiting [2022-09-26T17:24:07.777Z] 4872d77fe225: Pulling fs layer [2022-09-26T17:24:07.777Z] b352a97aabf1: Waiting [2022-09-26T17:24:07.777Z] 4872d77fe225: Waiting [2022-09-26T17:24:07.777Z] 5851b861e8e6: Pulling fs layer [2022-09-26T17:24:07.777Z] 5851b861e8e6: Waiting [2022-09-26T17:24:07.777Z] e2be974225ed: Verifying Checksum [2022-09-26T17:24:07.777Z] e2be974225ed: Download complete [2022-09-26T17:24:07.777Z] 988bab9f4d93: Verifying Checksum [2022-09-26T17:24:08.037Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T17:24:08.037Z] 1469e6f7b9e6: Download complete [2022-09-26T17:24:08.037Z] eaf3925da568: Verifying Checksum [2022-09-26T17:24:08.037Z] eaf3925da568: Download complete [2022-09-26T17:24:08.037Z] 339a4e72a1f5: Verifying Checksum [2022-09-26T17:24:08.037Z] 339a4e72a1f5: Download complete [2022-09-26T17:24:08.037Z] bde34c3a00c8: Verifying Checksum [2022-09-26T17:24:08.037Z] bde34c3a00c8: Download complete [2022-09-26T17:24:08.037Z] b352a97aabf1: Verifying Checksum [2022-09-26T17:24:08.037Z] b352a97aabf1: Download complete [2022-09-26T17:24:08.037Z] 4872d77fe225: Verifying Checksum [2022-09-26T17:24:08.037Z] 4872d77fe225: Download complete [2022-09-26T17:24:08.037Z] 5851b861e8e6: Verifying Checksum [2022-09-26T17:24:08.037Z] 5851b861e8e6: Download complete [2022-09-26T17:24:08.037Z] b85a868b505f: Verifying Checksum [2022-09-26T17:24:08.037Z] b85a868b505f: Download complete [2022-09-26T17:24:08.296Z] bab4dde63d76: Verifying Checksum [2022-09-26T17:24:08.296Z] bab4dde63d76: Download complete [2022-09-26T17:24:09.233Z] b85a868b505f: Pull complete [2022-09-26T17:24:09.492Z] e2be974225ed: Pull complete [2022-09-26T17:24:09.753Z] 339a4e72a1f5: Pull complete [2022-09-26T17:24:09.753Z] 988bab9f4d93: Pull complete [2022-09-26T17:24:10.032Z] 1469e6f7b9e6: Pull complete [2022-09-26T17:24:10.291Z] eaf3925da568: Pull complete [2022-09-26T17:24:12.199Z] bab4dde63d76: Pull complete [2022-09-26T17:24:12.199Z] bde34c3a00c8: Pull complete [2022-09-26T17:24:12.199Z] b352a97aabf1: Pull complete [2022-09-26T17:24:12.460Z] 4872d77fe225: Pull complete [2022-09-26T17:24:12.460Z] 5851b861e8e6: Pull complete [2022-09-26T17:24:12.460Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T17:24:12.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T17:24:12.460Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:24:12.691Z] prd-ubuntu20.04-docker-8c-8g-1168 does not seem to be running inside a container [2022-09-26T17:24:12.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-88 -v /w/workspace/xfoundry_device-usb-camera_PR-88:/w/workspace/xfoundry_device-usb-camera_PR-88:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-88@tmp:/w/workspace/xfoundry_device-usb-camera_PR-88@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-26T17:24:14.040Z] $ docker top 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d -eo pid,comm [2022-09-26T17:24:14.120Z] 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). [2022-09-26T17:24:14.120Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T17:24:14.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T17:24:14.237Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T17:24:14.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T17:24:14.353Z] $ docker exec 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d ssh-agent [2022-09-26T17:24:14.481Z] SSH_AUTH_SOCK=/tmp/ssh-E9vlycJVFTFD/agent.33 [2022-09-26T17:24:14.481Z] SSH_AGENT_PID=39 [2022-09-26T17:24:14.488Z] Running ssh-add (command line suppressed) [2022-09-26T17:24:14.577Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-88@tmp/private_key_14355029889937282587.key (/w/workspace/xfoundry_device-usb-camera_PR-88@tmp/private_key_14355029889937282587.key) [2022-09-26T17:24:14.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T17:24:14.942Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T17:24:14.957Z] $ docker exec --env ******** --env ******** 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d ssh-agent -k [2022-09-26T17:24:15.062Z] unset SSH_AUTH_SOCK; [2022-09-26T17:24:15.063Z] unset SSH_AGENT_PID; [2022-09-26T17:24:15.063Z] echo Agent pid 39 killed; [2022-09-26T17:24:15.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T17:24:15.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T17:24:15.182Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T17:24:15.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T17:24:15.282Z] $ docker exec 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d ssh-agent [2022-09-26T17:24:15.418Z] SSH_AUTH_SOCK=/tmp/ssh-IBNAwbtu76TI/agent.71 [2022-09-26T17:24:15.418Z] SSH_AGENT_PID=77 [2022-09-26T17:24:15.423Z] Running ssh-add (command line suppressed) [2022-09-26T17:24:15.508Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-88@tmp/private_key_9528994824962929455.key (/w/workspace/xfoundry_device-usb-camera_PR-88@tmp/private_key_9528994824962929455.key) [2022-09-26T17:24:15.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T17:24:15.878Z] + git semver init [2022-09-26T17:24:16.138Z] 2022-09-26 17:24:16,069 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T17:24:16.138Z] 2022-09-26 17:24:16,071 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-88/.semver [2022-09-26T17:24:16.138Z] 2022-09-26 17:24:16,072 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-88/.semver [2022-09-26T17:24:16.138Z] 2022-09-26 17:24:16,072 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-88/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-88, universal_newlines=False, shell=None, istream=None) [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,889 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-88/.git/info/exclude [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,889 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-88/.semver/PR-88 with force:False [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,890 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-88/.semver/PR-88 [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,893 [execute] INFO git cat-file --batch-check [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-88/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,900 [execute] INFO git cat-file --batch [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-88/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T17:24:17.080Z] 2022-09-26 17:24:16,906 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-88/.semver/PR-88 [2022-09-26T17:24:17.080Z] 0.0.0 [Pipeline] } [2022-09-26T17:24:17.091Z] $ docker exec --env ******** --env ******** 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d ssh-agent -k [2022-09-26T17:24:17.201Z] unset SSH_AUTH_SOCK; [2022-09-26T17:24:17.201Z] unset SSH_AGENT_PID; [2022-09-26T17:24:17.202Z] echo Agent pid 77 killed; [2022-09-26T17:24:17.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T17:24:17.654Z] + git semver [Pipeline] } [2022-09-26T17:24:17.927Z] $ docker stop --time=1 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d [2022-09-26T17:24:19.249Z] $ docker rm -f 19a931b02c124b4228d71b8a4a1767bbe8c0ffd4de690a2b65a16047f7bb170d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T17:24:19.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T17:24:19.901Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T17:24:19.917Z] [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 [2022-09-26T17:24:20.462Z] provisioning config files... [2022-09-26T17:24:20.473Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-88@tmp/config17653440596334002112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:24:20.811Z] ---> docker-login.sh [2022-09-26T17:24:20.811Z] nexus3.edgexfoundry.org:10001 [2022-09-26T17:24:20.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:20.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:20.811Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:20.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:20.811Z] [2022-09-26T17:24:20.811Z] Login Succeeded [2022-09-26T17:24:20.811Z] nexus3.edgexfoundry.org:10002 [2022-09-26T17:24:20.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:20.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:20.811Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:20.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:20.811Z] [2022-09-26T17:24:20.811Z] Login Succeeded [2022-09-26T17:24:20.811Z] nexus3.edgexfoundry.org:10003 [2022-09-26T17:24:21.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:21.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:21.072Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:21.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:21.072Z] [2022-09-26T17:24:21.072Z] Login Succeeded [2022-09-26T17:24:21.072Z] nexus3.edgexfoundry.org:10004 [2022-09-26T17:24:21.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:21.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:21.072Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:21.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:21.072Z] [2022-09-26T17:24:21.072Z] Login Succeeded [2022-09-26T17:24:21.072Z] docker.io [2022-09-26T17:24:21.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:24:21.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:24:21.589Z] Configure a credential helper to remove this warning. See [2022-09-26T17:24:21.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:24:21.589Z] [2022-09-26T17:24:21.589Z] Login Succeeded [2022-09-26T17:24:21.589Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T17:24:21.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T17:24:21.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T17:24:21.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T17:24:21.862Z] ========================================================= [2022-09-26T17:24:21.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T17:24:21.862Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:24:22.317Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-26T17:24:22.317Z] Sending build context to Docker daemon 900.1kB [2022-09-26T17:24:22.317Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T17:24:22.317Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-26T17:24:22.317Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T17:24:22.317Z] 2408cc74d12b: Pulling fs layer [2022-09-26T17:24:22.317Z] ea60b727a1ce: Pulling fs layer [2022-09-26T17:24:22.317Z] 30c4a7721957: Pulling fs layer [2022-09-26T17:24:22.317Z] 370296b7ddb6: Pulling fs layer [2022-09-26T17:24:22.317Z] 7c6cee850709: Pulling fs layer [2022-09-26T17:24:22.317Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T17:24:22.317Z] d94ebbe4e438: Pulling fs layer [2022-09-26T17:24:22.317Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T17:24:22.317Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T17:24:22.317Z] 39a5fcdaea64: Waiting [2022-09-26T17:24:22.317Z] d94ebbe4e438: Waiting [2022-09-26T17:24:22.317Z] 370296b7ddb6: Waiting [2022-09-26T17:24:22.317Z] 7c6cee850709: Waiting [2022-09-26T17:24:22.317Z] 30c4a7721957: Download complete [2022-09-26T17:24:22.317Z] ea60b727a1ce: Download complete [2022-09-26T17:24:22.317Z] 7c6cee850709: Verifying Checksum [2022-09-26T17:24:22.317Z] 7c6cee850709: Download complete [2022-09-26T17:24:22.578Z] 39a5fcdaea64: Verifying Checksum [2022-09-26T17:24:22.578Z] 39a5fcdaea64: Download complete [2022-09-26T17:24:22.578Z] 2408cc74d12b: Verifying Checksum [2022-09-26T17:24:22.578Z] d94ebbe4e438: Verifying Checksum [2022-09-26T17:24:22.578Z] d94ebbe4e438: Download complete [2022-09-26T17:24:22.578Z] 2408cc74d12b: Pull complete [2022-09-26T17:24:22.840Z] ea60b727a1ce: Pull complete [2022-09-26T17:24:22.840Z] 30c4a7721957: Pull complete [2022-09-26T17:24:23.097Z] 59ccb84bbe0f: Verifying Checksum [2022-09-26T17:24:23.097Z] 59ccb84bbe0f: Download complete [2022-09-26T17:24:23.098Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T17:24:23.098Z] bcfd1f05c69d: Download complete [2022-09-26T17:24:23.356Z] 370296b7ddb6: Verifying Checksum [2022-09-26T17:24:23.356Z] 370296b7ddb6: Download complete [2022-09-26T17:24:27.540Z] 370296b7ddb6: Pull complete [2022-09-26T17:24:27.540Z] 7c6cee850709: Pull complete [2022-09-26T17:24:27.540Z] 39a5fcdaea64: Pull complete [2022-09-26T17:24:27.540Z] d94ebbe4e438: Pull complete [2022-09-26T17:24:29.442Z] bcfd1f05c69d: Pull complete [2022-09-26T17:24:30.008Z] 59ccb84bbe0f: Pull complete [2022-09-26T17:24:30.008Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T17:24:30.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T17:24:30.008Z] ---> a4fb48ad2a94 [2022-09-26T17:24:30.008Z] Step 3/13 : ARG MAKE="make build" [2022-09-26T17:24:31.913Z] ---> Running in 424c4fd6ec5f [2022-09-26T17:24:31.913Z] Removing intermediate container 424c4fd6ec5f [2022-09-26T17:24:31.913Z] ---> 19e725491e42 [2022-09-26T17:24:31.913Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-26T17:24:31.913Z] ---> Running in 0545af3a3f25 [2022-09-26T17:24:31.913Z] Removing intermediate container 0545af3a3f25 [2022-09-26T17:24:31.913Z] ---> 8191d99aaa73 [2022-09-26T17:24:31.913Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-26T17:24:31.913Z] ---> Running in 23f8b726ac6f [2022-09-26T17:24:31.913Z] Removing intermediate container 23f8b726ac6f [2022-09-26T17:24:31.913Z] ---> 3b0a1b477c70 [2022-09-26T17:24:31.913Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T17:24:32.172Z] ---> Running in 84a3cdfe50db [2022-09-26T17:24:32.742Z] Removing intermediate container 84a3cdfe50db [2022-09-26T17:24:32.742Z] ---> 0a6e9d5012da [2022-09-26T17:24:32.742Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T17:24:32.742Z] ---> Running in ed067043d9a2 [2022-09-26T17:24:33.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T17:24:33.938Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T17:24:34.198Z] (1/80) Installing mesa (21.3.8-r2) [2022-09-26T17:24:34.198Z] (2/80) Installing libxau (1.0.9-r0) [2022-09-26T17:24:34.198Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-09-26T17:24:34.460Z] (4/80) Installing libxcb (1.15-r0) [2022-09-26T17:24:34.460Z] (5/80) Installing libx11 (1.8-r0) [2022-09-26T17:24:34.720Z] (6/80) Installing libxext (1.3.4-r0) [2022-09-26T17:24:34.720Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-09-26T17:24:34.720Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-09-26T17:24:34.978Z] (9/80) Installing libpciaccess (0.16-r0) [2022-09-26T17:24:34.978Z] (10/80) Installing libdrm (2.4.110-r0) [2022-09-26T17:24:34.978Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-09-26T17:24:35.237Z] (12/80) Installing libxshmfence (1.3-r1) [2022-09-26T17:24:35.237Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-09-26T17:24:35.237Z] (14/80) Installing icu-data-full (71.1-r2) [2022-09-26T17:24:35.298Z] Still waiting to schedule task [2022-09-26T17:24:35.299Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-26T17:24:35.829Z] (15/80) Installing libice (1.0.10-r0) [2022-09-26T17:24:36.089Z] (16/80) Installing libuuid (2.38-r1) [2022-09-26T17:24:36.089Z] (17/80) Installing libsm (1.2.3-r0) [2022-09-26T17:24:36.089Z] (18/80) Installing libxt (1.2.1-r0) [2022-09-26T17:24:36.349Z] (19/80) Installing libxmu (1.1.3-r0) [2022-09-26T17:24:36.349Z] (20/80) Installing xset (1.2.4-r0) [2022-09-26T17:24:36.349Z] (21/80) Installing xprop (1.2.5-r0) [2022-09-26T17:24:36.609Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-09-26T17:24:36.609Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-09-26T17:24:36.609Z] (24/80) Installing libffi (3.4.2-r1) [2022-09-26T17:24:36.869Z] (25/80) Installing libintl (0.21-r2) [2022-09-26T17:24:36.869Z] (26/80) Installing libblkid (2.38-r1) [2022-09-26T17:24:37.130Z] (27/80) Installing libmount (2.38-r1) [2022-09-26T17:24:37.130Z] (28/80) Installing pcre (8.45-r2) [2022-09-26T17:24:37.130Z] (29/80) Installing glib (2.72.1-r0) [2022-09-26T17:24:37.390Z] (30/80) Installing icu-libs (71.1-r2) [2022-09-26T17:24:37.967Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-09-26T17:24:37.967Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-09-26T17:24:38.226Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-09-26T17:24:38.486Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-09-26T17:24:38.486Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-09-26T17:24:38.746Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-09-26T17:24:38.746Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-09-26T17:24:38.746Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-09-26T17:24:39.314Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-09-26T17:24:39.314Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-09-26T17:24:39.314Z] (41/80) Installing libpng (1.6.37-r1) [2022-09-26T17:24:39.575Z] (42/80) Installing freetype (2.12.1-r0) [2022-09-26T17:24:39.575Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-09-26T17:24:39.575Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-09-26T17:24:39.835Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-09-26T17:24:39.835Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-09-26T17:24:40.094Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-09-26T17:24:40.094Z] (48/80) Installing libxml2 (2.9.14-r1) [2022-09-26T17:24:40.094Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-09-26T17:24:40.354Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-09-26T17:24:40.354Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-09-26T17:24:40.612Z] (52/80) Installing avahi-libs (0.8-r6) [2022-09-26T17:24:40.612Z] (53/80) Installing nettle (3.7.3-r0) [2022-09-26T17:24:40.612Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-09-26T17:24:40.871Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-09-26T17:24:40.871Z] (56/80) Installing libunistring (1.0-r0) [2022-09-26T17:24:41.129Z] (57/80) Installing gnutls (3.7.7-r0) [2022-09-26T17:24:41.129Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-09-26T17:24:41.129Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-09-26T17:24:41.388Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-09-26T17:24:41.388Z] (61/80) Installing libevdev (1.12.1-r0) [2022-09-26T17:24:41.388Z] (62/80) Installing mtdev (1.1.6-r0) [2022-09-26T17:24:41.649Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-09-26T17:24:41.649Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-09-26T17:24:41.909Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-09-26T17:24:41.909Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-09-26T17:24:41.909Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-09-26T17:24:42.169Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-09-26T17:24:42.169Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-09-26T17:24:42.169Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-09-26T17:24:42.428Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-09-26T17:24:42.428Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-09-26T17:24:43.001Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-09-26T17:24:43.260Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-09-26T17:24:43.261Z] (75/80) Installing udev-init-scripts (35-r0) [2022-09-26T17:24:43.261Z] Executing udev-init-scripts-35-r0.post-install [2022-09-26T17:24:43.261Z] (76/80) Installing kmod-libs (29-r2) [2022-09-26T17:24:43.520Z] (77/80) Installing eudev (3.2.11-r0) [2022-09-26T17:24:43.520Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-09-26T17:24:43.520Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-09-26T17:24:43.779Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-09-26T17:24:43.779Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T17:24:43.779Z] Executing eudev-3.2.11-r0.trigger [2022-09-26T17:24:43.779Z] OK: 330 MiB in 131 packages [2022-09-26T17:24:46.313Z] Removing intermediate container ed067043d9a2 [2022-09-26T17:24:46.313Z] ---> c94b3d120e44 [2022-09-26T17:24:46.313Z] Step 8/13 : WORKDIR /device-usb-camera [2022-09-26T17:24:46.313Z] ---> Running in 406895753f41 [2022-09-26T17:24:46.313Z] Removing intermediate container 406895753f41 [2022-09-26T17:24:46.313Z] ---> 01c19b2f8481 [2022-09-26T17:24:46.313Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-26T17:24:46.313Z] ---> 775b1ca45677 [2022-09-26T17:24:46.313Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T17:24:46.313Z] ---> Running in 9ec92915a644 [2022-09-26T17:25:04.408Z] Removing intermediate container 9ec92915a644 [2022-09-26T17:25:04.408Z] ---> 8991bfc5e2f7 [2022-09-26T17:25:04.408Z] Step 11/13 : COPY . . [2022-09-26T17:25:04.408Z] ---> 58db8dee2f78 [2022-09-26T17:25:04.408Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-26T17:25:04.408Z] ---> Running in 356c0bcbb33d [2022-09-26T17:25:04.408Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T17:25:04.408Z] Dload Upload Total Spent Left Speed [2022-09-26T17:25:04.408Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43646 0 --:--:-- --:--:-- --:--:-- 44250 [2022-09-26T17:25:04.408Z] Removing intermediate container 356c0bcbb33d [2022-09-26T17:25:04.408Z] ---> d13a30d8de94 [2022-09-26T17:25:04.408Z] Step 13/13 : RUN ${MAKE} [2022-09-26T17:25:04.408Z] ---> Running in 243f952ebf95 [2022-09-26T17:25:04.408Z] noop [2022-09-26T17:25:04.408Z] Removing intermediate container 243f952ebf95 [2022-09-26T17:25:04.408Z] ---> 00a0ccf98ec5 [2022-09-26T17:25:04.408Z] Successfully built 00a0ccf98ec5 [2022-09-26T17:25:04.408Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:25:04.849Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T17:25:04.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:25:04.986Z] prd-ubuntu20.04-docker-8c-8g-1168 does not seem to be running inside a container [2022-09-26T17:25:05.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-88 -v /w/workspace/xfoundry_device-usb-camera_PR-88:/w/workspace/xfoundry_device-usb-camera_PR-88:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-88@tmp:/w/workspace/xfoundry_device-usb-camera_PR-88@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 ******** ci-base-image-x86_64 cat [2022-09-26T17:25:05.415Z] $ docker top 8c35b8927cb8adbf0e5c1bd5051533f69ae15aaf6260f4cd932dcef45e355416 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T17:25:05.806Z] + go version [2022-09-26T17:25:05.807Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T17:25:05.842Z] $ docker stop --time=1 8c35b8927cb8adbf0e5c1bd5051533f69ae15aaf6260f4cd932dcef45e355416 [2022-09-26T17:25:07.128Z] $ docker rm -f 8c35b8927cb8adbf0e5c1bd5051533f69ae15aaf6260f4cd932dcef45e355416 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:25:07.815Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T17:25:07.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:25:07.952Z] prd-ubuntu20.04-docker-8c-8g-1168 does not seem to be running inside a container [2022-09-26T17:25:07.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-88 -v /w/workspace/xfoundry_device-usb-camera_PR-88:/w/workspace/xfoundry_device-usb-camera_PR-88:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-88@tmp:/w/workspace/xfoundry_device-usb-camera_PR-88@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 ******** ci-base-image-x86_64 cat [2022-09-26T17:25:08.380Z] $ docker top 0cc39ba5b459daf43322b3a3d3badc6cf0915cd4665c4f60d4e05231063d641f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T17:25:08.762Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-88 [Pipeline] fileExists [Pipeline] sh [2022-09-26T17:25:09.117Z] + make test [2022-09-26T17:25:09.117Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-09-26T17:25:09.376Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-09-26T17:25:19.363Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-09-26T17:25:19.363Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements [2022-09-26T17:25:25.929Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-26T17:25:25.929Z] CGO_ENABLED=1 go vet ./... [2022-09-26T17:25:29.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T17:25:29.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T17:25:29.210Z] ./bin/test-attribution-txt.sh [2022-09-26T17:25:29.210Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T17:25:29.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T17:25:29.286Z] $ docker stop --time=1 0cc39ba5b459daf43322b3a3d3badc6cf0915cd4665c4f60d4e05231063d641f [2022-09-26T17:25:31.040Z] $ docker rm -f 0cc39ba5b459daf43322b3a3d3badc6cf0915cd4665c4f60d4e05231063d641f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T17:25:31.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T17:25:31.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-26T17:25:32.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T17:25:32.505Z] + ls -al . [2022-09-26T17:25:32.505Z] total 200 [2022-09-26T17:25:32.505Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 17:25 . [2022-09-26T17:25:32.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 17:23 .. [2022-09-26T17:25:32.505Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 17:25 .git [2022-09-26T17:25:32.505Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 17:23 .github [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 414 Sep 26 17:23 .gitignore [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 17:23 .golangci.yml [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 26 17:23 .hadolint.yml [2022-09-26T17:25:32.505Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 17:24 .semver [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 9569 Sep 26 17:23 Attribution.txt [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 1206 Sep 26 17:23 CHANGELOG.md [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 2410 Sep 26 17:23 Dockerfile [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 26 17:23 GOVERNANCE.md [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 26 17:23 Jenkinsfile [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 17:23 LICENSE [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 2345 Sep 26 17:23 Makefile [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 17:23 OWNERS.md [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 12817 Sep 26 17:23 README.md [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 17:24 VERSION [2022-09-26T17:25:32.505Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 17:23 bin [2022-09-26T17:25:32.505Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 17:23 cmd [2022-09-26T17:25:32.505Z] -rw-r--r-- 1 jenkins jenkins 29387 Sep 26 17:25 coverage.out [2022-09-26T17:25:32.505Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 26 17:23 docker-entrypoint.sh [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 3633 Sep 26 17:23 go.mod [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 38102 Sep 26 17:23 go.sum [2022-09-26T17:25:32.505Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 17:23 internal [2022-09-26T17:25:32.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 17:23 snap [2022-09-26T17:25:32.505Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 26 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:25:32.902Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=cab20f4e5880bbd2fe889c7177791f44bf8d25b1 --label arch=amd64 --label version=0.0.0 . [2022-09-26T17:25:32.902Z] Sending build context to Docker daemon 930.3kB [2022-09-26T17:25:32.902Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T17:25:32.902Z] Step 2/35 : FROM ${BASE} AS builder [2022-09-26T17:25:32.902Z] ---> 00a0ccf98ec5 [2022-09-26T17:25:32.902Z] Step 3/35 : ARG MAKE="make build" [2022-09-26T17:25:32.902Z] ---> Running in 8a6ba8135994 [2022-09-26T17:25:33.161Z] Removing intermediate container 8a6ba8135994 [2022-09-26T17:25:33.161Z] ---> 375327066bc0 [2022-09-26T17:25:33.161Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-26T17:25:33.161Z] ---> Running in f0e894a890c0 [2022-09-26T17:25:33.161Z] Removing intermediate container f0e894a890c0 [2022-09-26T17:25:33.161Z] ---> 0220fdbf1233 [2022-09-26T17:25:33.161Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-26T17:25:33.161Z] ---> Running in bf41768f5f6b [2022-09-26T17:25:33.423Z] Removing intermediate container bf41768f5f6b [2022-09-26T17:25:33.423Z] ---> 4281a565c462 [2022-09-26T17:25:33.423Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T17:25:33.423Z] ---> Running in a5af28e03dee [2022-09-26T17:25:33.992Z] Removing intermediate container a5af28e03dee [2022-09-26T17:25:33.992Z] ---> 78eebf1c6dce [2022-09-26T17:25:33.992Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T17:25:33.992Z] ---> Running in 38d62e89f80d [2022-09-26T17:25:34.252Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T17:25:35.190Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T17:25:35.449Z] OK: 330 MiB in 131 packages [2022-09-26T17:25:35.707Z] Removing intermediate container 38d62e89f80d [2022-09-26T17:25:35.707Z] ---> f0e255bd8646 [2022-09-26T17:25:35.707Z] Step 8/35 : WORKDIR /device-usb-camera [2022-09-26T17:25:35.966Z] ---> Running in 9d87ac901208 [2022-09-26T17:25:35.966Z] Removing intermediate container 9d87ac901208 [2022-09-26T17:25:35.966Z] ---> ce49e6626c29 [2022-09-26T17:25:35.966Z] Step 9/35 : COPY go.mod vendor* ./ [2022-09-26T17:25:35.966Z] ---> 915f8a489a6d [2022-09-26T17:25:35.966Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T17:25:36.224Z] ---> Running in 63f570540f9f [2022-09-26T17:25:36.791Z] Removing intermediate container 63f570540f9f [2022-09-26T17:25:36.791Z] ---> 73341bb53478 [2022-09-26T17:25:36.791Z] Step 11/35 : COPY . . [2022-09-26T17:25:37.050Z] ---> e7753633c682 [2022-09-26T17:25:37.050Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-26T17:25:37.050Z] ---> Running in a14de0853cd7 [2022-09-26T17:25:37.312Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T17:25:37.312Z] Dload Upload Total Spent Left Speed [2022-09-26T17:25:37.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44982 0 --:--:-- --:--:-- --:--:-- 46173 [2022-09-26T17:25:37.830Z] Removing intermediate container a14de0853cd7 [2022-09-26T17:25:37.830Z] ---> 5b7f7e3f551b [2022-09-26T17:25:37.830Z] Step 13/35 : RUN ${MAKE} [2022-09-26T17:25:37.830Z] ---> Running in 26314ccf8eba [2022-09-26T17:25:38.088Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.26" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-09-26T17:26:00.025Z] Removing intermediate container 26314ccf8eba [2022-09-26T17:26:00.025Z] ---> c892460a529d [2022-09-26T17:26:00.025Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-09-26T17:26:00.025Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-09-26T17:26:00.025Z] af6660deedbd: Pulling fs layer [2022-09-26T17:26:00.025Z] 97cd0a44c592: Pulling fs layer [2022-09-26T17:26:00.025Z] 97cd0a44c592: Verifying Checksum [2022-09-26T17:26:00.025Z] 97cd0a44c592: Download complete [2022-09-26T17:26:00.025Z] af6660deedbd: Verifying Checksum [2022-09-26T17:26:00.025Z] af6660deedbd: Download complete [2022-09-26T17:26:00.025Z] af6660deedbd: Pull complete [2022-09-26T17:26:00.025Z] 97cd0a44c592: Pull complete [2022-09-26T17:26:00.025Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-09-26T17:26:00.025Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-09-26T17:26:00.025Z] ---> fea57e182299 [2022-09-26T17:26:00.025Z] Step 15/35 : FROM alpine:3.16 [2022-09-26T17:26:00.025Z] 3.16: Pulling from library/alpine [2022-09-26T17:26:00.025Z] 213ec9aee27d: Pulling fs layer [2022-09-26T17:26:00.025Z] 213ec9aee27d: Verifying Checksum [2022-09-26T17:26:00.025Z] 213ec9aee27d: Download complete [2022-09-26T17:26:00.284Z] 213ec9aee27d: Pull complete [2022-09-26T17:26:00.284Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T17:26:00.284Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T17:26:00.284Z] ---> 9c6f07244728 [2022-09-26T17:26:00.284Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-26T17:26:00.284Z] ---> Running in aaf3aa3f500f [2022-09-26T17:26:00.543Z] Removing intermediate container aaf3aa3f500f [2022-09-26T17:26:00.543Z] ---> c8dba2eb89a9 [2022-09-26T17:26:00.543Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-09-26T17:26:00.543Z] ---> Running in d583b90bc502 [2022-09-26T17:26:00.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T17:26:00.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T17:26:01.061Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-09-26T17:26:01.061Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-09-26T17:26:01.061Z] (3/83) Installing libxau (1.0.9-r0) [2022-09-26T17:26:01.061Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-09-26T17:26:01.061Z] (5/83) Installing libxcb (1.15-r0) [2022-09-26T17:26:01.061Z] (6/83) Installing libx11 (1.8-r0) [2022-09-26T17:26:01.061Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-09-26T17:26:01.321Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-09-26T17:26:01.321Z] (9/83) Installing expat (2.4.9-r0) [2022-09-26T17:26:01.321Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-09-26T17:26:01.321Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-09-26T17:26:01.321Z] (12/83) Installing libpng (1.6.37-r1) [2022-09-26T17:26:01.321Z] (13/83) Installing freetype (2.12.1-r0) [2022-09-26T17:26:01.321Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-09-26T17:26:01.321Z] (15/83) Installing fribidi (1.0.12-r0) [2022-09-26T17:26:01.321Z] (16/83) Installing libffi (3.4.2-r1) [2022-09-26T17:26:01.321Z] (17/83) Installing libintl (0.21-r2) [2022-09-26T17:26:01.321Z] (18/83) Installing libblkid (2.38-r1) [2022-09-26T17:26:01.321Z] (19/83) Installing libmount (2.38-r1) [2022-09-26T17:26:01.321Z] (20/83) Installing pcre (8.45-r2) [2022-09-26T17:26:01.321Z] (21/83) Installing glib (2.72.1-r0) [2022-09-26T17:26:01.321Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-09-26T17:26:01.321Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-09-26T17:26:01.321Z] (24/83) Installing libass (0.16.0-r0) [2022-09-26T17:26:01.321Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-09-26T17:26:01.321Z] (26/83) Installing libpciaccess (0.16-r0) [2022-09-26T17:26:01.581Z] (27/83) Installing libdrm (2.4.110-r0) [2022-09-26T17:26:01.581Z] (28/83) Installing gmp (6.2.1-r2) [2022-09-26T17:26:01.581Z] (29/83) Installing nettle (3.7.3-r0) [2022-09-26T17:26:01.581Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-09-26T17:26:01.581Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-09-26T17:26:01.581Z] (32/83) Installing libunistring (1.0-r0) [2022-09-26T17:26:01.581Z] (33/83) Installing gnutls (3.7.7-r0) [2022-09-26T17:26:01.581Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-26T17:26:01.581Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-26T17:26:01.581Z] (36/83) Installing lame (3.100-r0) [2022-09-26T17:26:01.581Z] (37/83) Installing opus (1.3.1-r1) [2022-09-26T17:26:01.581Z] (38/83) Installing libasyncns (0.8-r1) [2022-09-26T17:26:01.581Z] (39/83) Installing dbus-libs (1.14.0-r1) [2022-09-26T17:26:01.581Z] (40/83) Installing libltdl (2.4.7-r0) [2022-09-26T17:26:01.581Z] (41/83) Installing orc (0.4.32-r0) [2022-09-26T17:26:01.581Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T17:26:01.581Z] (43/83) Installing libogg (1.3.5-r1) [2022-09-26T17:26:01.581Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T17:26:01.581Z] (45/83) Installing flac (1.3.4-r0) [2022-09-26T17:26:01.581Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-09-26T17:26:01.581Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-09-26T17:26:01.581Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-09-26T17:26:01.581Z] (49/83) Installing soxr (0.1.3-r2) [2022-09-26T17:26:01.581Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-09-26T17:26:01.581Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-09-26T17:26:01.581Z] (52/83) Installing libpulse (15.0-r2) [2022-09-26T17:26:01.581Z] (53/83) Installing cjson (1.7.15-r3) [2022-09-26T17:26:01.581Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-09-26T17:26:01.842Z] (55/83) Installing librist (0.2.6-r1) [2022-09-26T17:26:01.842Z] (56/83) Installing libsrt (1.4.4-r0) [2022-09-26T17:26:01.842Z] (57/83) Installing libssh (0.9.6-r1) [2022-09-26T17:26:01.842Z] (58/83) Installing libtheora (1.1.1-r16) [2022-09-26T17:26:01.842Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-09-26T17:26:01.842Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-09-26T17:26:01.842Z] (61/83) Installing libxext (1.3.4-r0) [2022-09-26T17:26:01.842Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-09-26T17:26:01.842Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-09-26T17:26:01.842Z] (64/83) Installing libva (2.14.0-r0) [2022-09-26T17:26:01.842Z] (65/83) Installing libvdpau (1.5-r0) [2022-09-26T17:26:01.842Z] (66/83) Installing vidstab (1.1.0-r1) [2022-09-26T17:26:01.842Z] (67/83) Installing libvpx (1.11.0-r1) [2022-09-26T17:26:01.842Z] (68/83) Installing libwebp (1.2.3-r0) [2022-09-26T17:26:01.842Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-09-26T17:26:01.842Z] (70/83) Installing numactl (2.0.14-r0) [2022-09-26T17:26:01.842Z] (71/83) Installing x265-libs (3.5-r3) [2022-09-26T17:26:01.842Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-09-26T17:26:01.842Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-09-26T17:26:02.101Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-09-26T17:26:02.101Z] (75/83) Installing udev-init-scripts (35-r0) [2022-09-26T17:26:02.101Z] Executing udev-init-scripts-35-r0.post-install [2022-09-26T17:26:02.101Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-09-26T17:26:02.101Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-09-26T17:26:02.101Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-09-26T17:26:02.101Z] (79/83) Installing kmod-libs (29-r2) [2022-09-26T17:26:02.101Z] (80/83) Installing eudev (3.2.11-r0) [2022-09-26T17:26:02.101Z] (81/83) Installing libsodium (1.0.18-r0) [2022-09-26T17:26:02.101Z] (82/83) Installing libzmq (4.3.4-r0) [2022-09-26T17:26:02.101Z] (83/83) Installing zeromq (4.3.4-r0) [2022-09-26T17:26:02.101Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T17:26:02.101Z] Executing eudev-3.2.11-r0.trigger [2022-09-26T17:26:02.101Z] OK: 101 MiB in 97 packages [2022-09-26T17:26:04.001Z] Removing intermediate container d583b90bc502 [2022-09-26T17:26:04.001Z] ---> 202ee8e60c6a [2022-09-26T17:26:04.001Z] Step 18/35 : WORKDIR / [2022-09-26T17:26:04.001Z] ---> Running in 53040983c244 [2022-09-26T17:26:04.001Z] Removing intermediate container 53040983c244 [2022-09-26T17:26:04.001Z] ---> f7f6cfbbca8e [2022-09-26T17:26:04.001Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-09-26T17:26:04.269Z] ---> 803bab2dace0 [2022-09-26T17:26:04.269Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-09-26T17:26:04.546Z] ---> 03775a6fa0c6 [2022-09-26T17:26:04.546Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-09-26T17:26:04.546Z] ---> d4066222845f [2022-09-26T17:26:04.546Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-09-26T17:26:04.805Z] ---> 65e04e389ead [2022-09-26T17:26:04.805Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-09-26T17:26:04.805Z] ---> 917c0cbad4c5 [2022-09-26T17:26:04.805Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-09-26T17:26:05.063Z] ---> 0ff897177f98 [2022-09-26T17:26:05.063Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-09-26T17:26:05.648Z] ---> 1388fa158f58 [2022-09-26T17:26:05.648Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-09-26T17:26:05.648Z] ---> Running in fb5068ce8bfa [2022-09-26T17:26:06.215Z] Removing intermediate container fb5068ce8bfa [2022-09-26T17:26:06.215Z] ---> 9e70b27b4038 [2022-09-26T17:26:06.215Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-09-26T17:26:06.215Z] ---> Running in 7ce07b1929a9 [2022-09-26T17:26:06.784Z] Removing intermediate container 7ce07b1929a9 [2022-09-26T17:26:06.784Z] ---> 45475d155ac7 [2022-09-26T17:26:06.784Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-09-26T17:26:06.784Z] ---> Running in 271ba0a5c72d [2022-09-26T17:26:07.352Z] Removing intermediate container 271ba0a5c72d [2022-09-26T17:26:07.352Z] ---> 1257c80c72b7 [2022-09-26T17:26:07.352Z] Step 29/35 : EXPOSE 59983 [2022-09-26T17:26:07.352Z] ---> Running in 2f700840b892 [2022-09-26T17:26:07.352Z] Removing intermediate container 2f700840b892 [2022-09-26T17:26:07.352Z] ---> 4ab7b160c732 [2022-09-26T17:26:07.352Z] Step 30/35 : EXPOSE 8554 [2022-09-26T17:26:07.610Z] ---> Running in 919cca8880d4 [2022-09-26T17:26:07.610Z] Removing intermediate container 919cca8880d4 [2022-09-26T17:26:07.610Z] ---> bfa143696982 [2022-09-26T17:26:07.610Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-09-26T17:26:07.610Z] ---> Running in 80a95588cc0f [2022-09-26T17:26:07.610Z] Removing intermediate container 80a95588cc0f [2022-09-26T17:26:07.610Z] ---> 93f4320b14be [2022-09-26T17:26:07.610Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-09-26T17:26:07.874Z] ---> Running in 6d45bd119c17 [2022-09-26T17:26:07.874Z] Removing intermediate container 6d45bd119c17 [2022-09-26T17:26:07.874Z] ---> 927f1b424a8c [2022-09-26T17:26:07.874Z] Step 33/35 : LABEL arch=amd64 [2022-09-26T17:26:07.874Z] ---> Running in 7125f37920d5 [2022-09-26T17:26:07.874Z] Removing intermediate container 7125f37920d5 [2022-09-26T17:26:07.874Z] ---> 13dd36c1c40d [2022-09-26T17:26:07.874Z] Step 34/35 : LABEL git_sha=cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [2022-09-26T17:26:08.143Z] ---> Running in de17380b0c45 [2022-09-26T17:26:08.143Z] Removing intermediate container de17380b0c45 [2022-09-26T17:26:08.143Z] ---> ce20a517a7d3 [2022-09-26T17:26:08.143Z] Step 35/35 : LABEL version=0.0.0 [2022-09-26T17:26:08.143Z] ---> Running in 8af20ac6cf43 [2022-09-26T17:26:08.401Z] Removing intermediate container 8af20ac6cf43 [2022-09-26T17:26:08.401Z] ---> 3027ee983dfa [2022-09-26T17:26:08.401Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T17:26:08.401Z] Successfully built 3027ee983dfa [2022-09-26T17:26:08.401Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:26:09.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T17:26:09.239Z] [2022-09-26T17:26:09.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:26:09.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T17:26:09.612Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T17:26:09.612Z] 5eb5b503b376: Pulling fs layer [2022-09-26T17:26:09.612Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T17:26:09.612Z] ec43610c2a17: Pulling fs layer [2022-09-26T17:26:09.612Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T17:26:09.612Z] 33b1e0a273af: Pulling fs layer [2022-09-26T17:26:09.612Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T17:26:09.612Z] 2f39f015ded8: Pulling fs layer [2022-09-26T17:26:09.612Z] 33b1e0a273af: Waiting [2022-09-26T17:26:09.612Z] 5d3b04190fa2: Waiting [2022-09-26T17:26:09.612Z] 2f39f015ded8: Waiting [2022-09-26T17:26:09.612Z] 3a2ae6a8a46f: Waiting [2022-09-26T17:26:09.612Z] 5c69ac0246d0: Verifying Checksum [2022-09-26T17:26:09.612Z] 5c69ac0246d0: Download complete [2022-09-26T17:26:09.612Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-26T17:26:09.612Z] 3a2ae6a8a46f: Download complete [2022-09-26T17:26:09.612Z] 33b1e0a273af: Verifying Checksum [2022-09-26T17:26:09.612Z] 33b1e0a273af: Download complete [2022-09-26T17:26:09.873Z] 5d3b04190fa2: Verifying Checksum [2022-09-26T17:26:09.873Z] 5d3b04190fa2: Download complete [2022-09-26T17:26:09.873Z] ec43610c2a17: Verifying Checksum [2022-09-26T17:26:09.873Z] ec43610c2a17: Download complete [2022-09-26T17:26:09.873Z] 5eb5b503b376: Verifying Checksum [2022-09-26T17:26:09.873Z] 5eb5b503b376: Download complete [2022-09-26T17:26:10.443Z] 2f39f015ded8: Verifying Checksum [2022-09-26T17:26:10.443Z] 2f39f015ded8: Download complete [2022-09-26T17:26:11.015Z] 5eb5b503b376: Pull complete [2022-09-26T17:26:11.015Z] 5c69ac0246d0: Pull complete [2022-09-26T17:26:11.580Z] ec43610c2a17: Pull complete [2022-09-26T17:26:11.581Z] 3a2ae6a8a46f: Pull complete [2022-09-26T17:26:11.839Z] 33b1e0a273af: Pull complete [2022-09-26T17:26:11.839Z] 5d3b04190fa2: Pull complete [2022-09-26T17:26:16.032Z] 2f39f015ded8: Pull complete [2022-09-26T17:26:16.032Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T17:26:16.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T17:26:16.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:26:16.243Z] prd-ubuntu20.04-docker-8c-8g-1168 does not seem to be running inside a container [2022-09-26T17:26:16.281Z] $ 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/xfoundry_device-usb-camera_PR-88 -v /w/workspace/xfoundry_device-usb-camera_PR-88:/w/workspace/xfoundry_device-usb-camera_PR-88:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-88@tmp:/w/workspace/xfoundry_device-usb-camera_PR-88@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T17:26:17.794Z] $ docker top 15dafb2e8a182a953a94ce70644c7d06779e44c885a79446ecb5c171f80d3d98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:26:18.221Z] ---> job-cost.sh [2022-09-26T17:26:18.221Z] lf-activate-venv: SKIPPING [2022-09-26T17:26:18.221Z] INFO: No Stack... [2022-09-26T17:26:19.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T17:26:19.727Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T17:26:20.042Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-88/archives/cost.csv [2022-09-26T17:26:20.042Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T17:26:20.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] [2022-09-26T17:26:20.088Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] did not exist. Created. [2022-09-26T17:26:20.088Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T17:26:20.473Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T17:26:20.522Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T17:26:20.549Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T17:26:20.636Z] $ docker stop --time=1 15dafb2e8a182a953a94ce70644c7d06779e44c885a79446ecb5c171f80d3d98 [2022-09-26T17:26:21.787Z] $ docker rm -f 15dafb2e8a182a953a94ce70644c7d06779e44c885a79446ecb5c171f80d3d98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-26T17:27:42.417Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1170 in /w/workspace/xfoundry_device-usb-camera_PR-88 [Pipeline] { [Pipeline] ws [2022-09-26T17:27:42.461Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-26T17:27:42.538Z] Selected Git installation does not exist. Using Default [2022-09-26T17:27:42.539Z] The recommended git tool is: NONE [2022-09-26T17:27:48.372Z] using credential edgex-jenkins-ssh [2022-09-26T17:27:48.389Z] Cloning the remote Git repository [2022-09-26T17:27:48.435Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-09-26T17:27:48.518Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-09-26T17:27:48.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-09-26T17:27:48.685Z] > git --version # timeout=10 [2022-09-26T17:27:48.712Z] > git --version # 'git version 2.25.1' [2022-09-26T17:27:48.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T17:27:48.770Z] Verifying host key using known hosts file [2022-09-26T17:27:48.989Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T17:27:49.006Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T17:27:49.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-09-26T17:27:49.764Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T17:27:51.281Z] Merging remotes/origin/main commit c91cc494b17f60a6c3435008630f1c4da06e6238 into PR head commit cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [2022-09-26T17:27:50.611Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-09-26T17:27:50.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-09-26T17:27:50.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T17:27:50.669Z] Verifying host key using known hosts file [2022-09-26T17:27:50.677Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T17:27:50.691Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T17:27:51.300Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T17:27:51.320Z] > git checkout -f cab20f4e5880bbd2fe889c7177791f44bf8d25b1 # timeout=10 [2022-09-26T17:27:51.406Z] > git remote # timeout=10 [2022-09-26T17:27:51.427Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T17:27:51.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T17:27:51.453Z] Verifying host key using known hosts file [2022-09-26T17:27:51.456Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T17:27:51.465Z] > git merge c91cc494b17f60a6c3435008630f1c4da06e6238 # timeout=10 [2022-09-26T17:27:51.506Z] Merge succeeded, producing cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [2022-09-26T17:27:51.507Z] Checking out Revision cab20f4e5880bbd2fe889c7177791f44bf8d25b1 (PR-88) [2022-09-26T17:27:52.011Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-26T17:27:52.062Z] > git --version # timeout=10 [2022-09-26T17:27:52.074Z] > git --version # 'git version 2.25.1' [2022-09-26T17:27:52.088Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T17:27:51.490Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T17:27:51.514Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T17:27:51.533Z] > git checkout -f cab20f4e5880bbd2fe889c7177791f44bf8d25b1 # timeout=10 [2022-09-26T17:27:53.094Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T17:27:53.094Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T17:27:53.094Z] Dload Upload Total Spent Left Speed [2022-09-26T17:27:53.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 232k [Pipeline] sh [2022-09-26T17:27:53.716Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T17:27:54.060Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-09-26T17:27:54.060Z] /etc/docker/daemon.json [2022-09-26T17:27:54.060Z] { [2022-09-26T17:27:54.060Z] "registry-mirrors": [ [2022-09-26T17:27:54.060Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T17:27:54.060Z] ], [2022-09-26T17:27:54.060Z] "bip": "10.250.0.254/24", [2022-09-26T17:27:54.060Z] "hosts": [ [2022-09-26T17:27:54.060Z] "tcp://0.0.0.0:5555", [2022-09-26T17:27:54.060Z] "unix:///var/run/docker.sock" [2022-09-26T17:27:54.060Z] ], [2022-09-26T17:27:54.060Z] "mtu": 1458, [2022-09-26T17:27:54.060Z] "selinux-enabled": true, [2022-09-26T17:27:54.060Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T17:27:54.060Z] } [Pipeline] sh [2022-09-26T17:27:54.411Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-26T17:27:54.760Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T17:28:13.091Z] provisioning config files... [2022-09-26T17:28:13.121Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config7725381616614219288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:28:13.518Z] ---> docker-login.sh [2022-09-26T17:28:13.518Z] nexus3.edgexfoundry.org:10001 [2022-09-26T17:28:14.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:28:14.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:28:14.109Z] Configure a credential helper to remove this warning. See [2022-09-26T17:28:14.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:28:14.109Z] [2022-09-26T17:28:14.109Z] Login Succeeded [2022-09-26T17:28:14.109Z] nexus3.edgexfoundry.org:10002 [2022-09-26T17:28:14.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:28:14.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:28:14.651Z] Configure a credential helper to remove this warning. See [2022-09-26T17:28:14.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:28:14.651Z] [2022-09-26T17:28:14.651Z] Login Succeeded [2022-09-26T17:28:14.651Z] nexus3.edgexfoundry.org:10003 [2022-09-26T17:28:14.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:28:14.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:28:14.920Z] Configure a credential helper to remove this warning. See [2022-09-26T17:28:14.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:28:14.920Z] [2022-09-26T17:28:14.920Z] Login Succeeded [2022-09-26T17:28:14.920Z] nexus3.edgexfoundry.org:10004 [2022-09-26T17:28:15.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:28:15.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:28:15.463Z] Configure a credential helper to remove this warning. See [2022-09-26T17:28:15.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:28:15.463Z] [2022-09-26T17:28:15.463Z] Login Succeeded [2022-09-26T17:28:15.463Z] docker.io [2022-09-26T17:28:15.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T17:28:16.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T17:28:16.002Z] Configure a credential helper to remove this warning. See [2022-09-26T17:28:16.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T17:28:16.002Z] [2022-09-26T17:28:16.002Z] Login Succeeded [2022-09-26T17:28:16.002Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T17:28:16.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T17:28:16.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T17:28:16.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T17:28:16.362Z] ========================================================= [2022-09-26T17:28:16.362Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T17:28:16.362Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:28:16.851Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-26T17:28:17.120Z] Sending build context to Docker daemon 579.6kB [2022-09-26T17:28:17.120Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T17:28:17.120Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-26T17:28:17.391Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T17:28:17.391Z] b3c136eddcbf: Pulling fs layer [2022-09-26T17:28:17.391Z] c0a3192eca97: Pulling fs layer [2022-09-26T17:28:17.391Z] a050256f5b6f: Pulling fs layer [2022-09-26T17:28:17.391Z] 656be50a0ddc: Pulling fs layer [2022-09-26T17:28:17.391Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T17:28:17.391Z] 46d945488cbd: Pulling fs layer [2022-09-26T17:28:17.391Z] 8a5474983e97: Pulling fs layer [2022-09-26T17:28:17.391Z] 329c88fbcd65: Pulling fs layer [2022-09-26T17:28:17.391Z] 46d945488cbd: Waiting [2022-09-26T17:28:17.391Z] 8a5474983e97: Waiting [2022-09-26T17:28:17.391Z] 329c88fbcd65: Waiting [2022-09-26T17:28:17.391Z] 656be50a0ddc: Waiting [2022-09-26T17:28:17.391Z] 2bbca73fdf42: Waiting [2022-09-26T17:28:17.391Z] a050256f5b6f: Verifying Checksum [2022-09-26T17:28:17.391Z] c0a3192eca97: Download complete [2022-09-26T17:28:17.391Z] 2bbca73fdf42: Verifying Checksum [2022-09-26T17:28:17.391Z] 2bbca73fdf42: Download complete [2022-09-26T17:28:17.391Z] 46d945488cbd: Verifying Checksum [2022-09-26T17:28:17.391Z] 46d945488cbd: Download complete [2022-09-26T17:28:17.391Z] b3c136eddcbf: Verifying Checksum [2022-09-26T17:28:17.391Z] b3c136eddcbf: Download complete [2022-09-26T17:28:18.387Z] b3c136eddcbf: Pull complete [2022-09-26T17:28:18.387Z] 329c88fbcd65: Verifying Checksum [2022-09-26T17:28:18.387Z] 329c88fbcd65: Download complete [2022-09-26T17:28:19.814Z] 8a5474983e97: Verifying Checksum [2022-09-26T17:28:19.814Z] 8a5474983e97: Download complete [2022-09-26T17:28:19.814Z] c0a3192eca97: Pull complete [2022-09-26T17:28:20.083Z] a050256f5b6f: Pull complete [2022-09-26T17:28:20.083Z] 656be50a0ddc: Verifying Checksum [2022-09-26T17:28:20.083Z] 656be50a0ddc: Download complete [2022-09-26T17:28:32.427Z] 656be50a0ddc: Pull complete [2022-09-26T17:28:32.427Z] 2bbca73fdf42: Pull complete [2022-09-26T17:28:32.427Z] 46d945488cbd: Pull complete [2022-09-26T17:28:37.782Z] 8a5474983e97: Pull complete [2022-09-26T17:28:38.835Z] 329c88fbcd65: Pull complete [2022-09-26T17:28:38.835Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T17:28:38.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T17:28:38.835Z] ---> ff4287adb874 [2022-09-26T17:28:38.835Z] Step 3/13 : ARG MAKE="make build" [2022-09-26T17:28:40.793Z] ---> Running in ff305c62344d [2022-09-26T17:28:41.061Z] Removing intermediate container ff305c62344d [2022-09-26T17:28:41.061Z] ---> 5d25160403ca [2022-09-26T17:28:41.061Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-26T17:28:41.330Z] ---> Running in a07c051015c2 [2022-09-26T17:28:41.599Z] Removing intermediate container a07c051015c2 [2022-09-26T17:28:41.599Z] ---> 965b160fcc83 [2022-09-26T17:28:41.599Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-26T17:28:41.599Z] ---> Running in 8880457835d5 [2022-09-26T17:28:41.869Z] Removing intermediate container 8880457835d5 [2022-09-26T17:28:41.869Z] ---> 70b0747b2cf6 [2022-09-26T17:28:41.869Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T17:28:42.137Z] ---> Running in aea603cc0ef3 [2022-09-26T17:28:44.095Z] Removing intermediate container aea603cc0ef3 [2022-09-26T17:28:44.095Z] ---> 7aac5c6ec229 [2022-09-26T17:28:44.095Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T17:28:44.095Z] ---> Running in 64947a1376fd [2022-09-26T17:28:44.685Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T17:28:45.656Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T17:28:46.624Z] (1/14) Installing libintl (0.21-r2) [2022-09-26T17:28:46.892Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-09-26T17:28:46.892Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-09-26T17:28:46.892Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-09-26T17:28:47.159Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-09-26T17:28:47.159Z] (6/14) Installing udev-init-scripts (35-r0) [2022-09-26T17:28:47.428Z] Executing udev-init-scripts-35-r0.post-install [2022-09-26T17:28:47.428Z] (7/14) Installing libblkid (2.38-r1) [2022-09-26T17:28:47.428Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-09-26T17:28:47.428Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-09-26T17:28:47.697Z] (10/14) Installing kmod-libs (29-r2) [2022-09-26T17:28:47.697Z] (11/14) Installing eudev (3.2.11-r0) [2022-09-26T17:28:47.966Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-09-26T17:28:47.966Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-09-26T17:28:47.966Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-09-26T17:28:48.239Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T17:28:48.239Z] Executing eudev-3.2.11-r0.trigger [2022-09-26T17:28:48.239Z] OK: 228 MiB in 65 packages [2022-09-26T17:28:49.667Z] Removing intermediate container 64947a1376fd [2022-09-26T17:28:49.667Z] ---> 2caf96b5e62b [2022-09-26T17:28:49.667Z] Step 8/13 : WORKDIR /device-usb-camera [2022-09-26T17:28:49.667Z] ---> Running in 190d54c36308 [2022-09-26T17:28:49.667Z] Removing intermediate container 190d54c36308 [2022-09-26T17:28:49.667Z] ---> a0595a2343db [2022-09-26T17:28:49.667Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-26T17:28:50.266Z] ---> 565704b71b65 [2022-09-26T17:28:50.266Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T17:28:50.266Z] ---> Running in 2086bde87699 [2022-09-26T17:29:37.137Z] Removing intermediate container 2086bde87699 [2022-09-26T17:29:37.137Z] ---> 64f15e9c5d28 [2022-09-26T17:29:37.137Z] Step 11/13 : COPY . . [2022-09-26T17:29:37.724Z] ---> edae883fecbf [2022-09-26T17:29:37.724Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-26T17:29:37.724Z] ---> Running in 53ed1d9b65c5 [2022-09-26T17:29:38.691Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T17:29:38.691Z] Dload Upload Total Spent Left Speed [2022-09-26T17:29:38.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13838 0 --:--:-- --:--:-- --:--:-- 13973 [2022-09-26T17:29:39.283Z] Removing intermediate container 53ed1d9b65c5 [2022-09-26T17:29:39.283Z] ---> 13069eb9ed3c [2022-09-26T17:29:39.283Z] Step 13/13 : RUN ${MAKE} [2022-09-26T17:29:39.283Z] ---> Running in 61656c9a7ab6 [2022-09-26T17:29:40.255Z] noop [2022-09-26T17:29:41.229Z] Removing intermediate container 61656c9a7ab6 [2022-09-26T17:29:41.229Z] ---> 13a7cd6fdbff [2022-09-26T17:29:41.229Z] Successfully built 13a7cd6fdbff [2022-09-26T17:29:41.229Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:29:41.687Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T17:29:41.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:29:41.949Z] prd-ubuntu20.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container [2022-09-26T17:29:42.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-09-26T17:29:43.301Z] $ docker top 6580e9f24aa92ada40f6f7526389ac7bd98e0ca52fe09c9d1af11494298764e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T17:29:44.185Z] + go version [2022-09-26T17:29:44.185Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T17:29:44.222Z] $ docker stop --time=1 6580e9f24aa92ada40f6f7526389ac7bd98e0ca52fe09c9d1af11494298764e4 [2022-09-26T17:29:45.851Z] $ docker rm -f 6580e9f24aa92ada40f6f7526389ac7bd98e0ca52fe09c9d1af11494298764e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:29:46.678Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T17:29:46.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:29:46.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container [2022-09-26T17:29:46.985Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-09-26T17:29:48.142Z] $ docker top 73fac165a526f7c06dc3c9691ea557ed799554076c71258e4a05ca8c2bfbd548 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T17:29:49.046Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T17:29:49.755Z] + make test [2022-09-26T17:29:49.755Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-09-26T17:29:51.169Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-09-26T17:31:42.847Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-09-26T17:31:42.847Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.074s coverage: 1.9% of statements [2022-09-26T17:31:42.847Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T17:31:42.847Z] CGO_ENABLED=1 go vet ./... [2022-09-26T17:32:01.075Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T17:32:01.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T17:32:01.075Z] ./bin/test-attribution-txt.sh [2022-09-26T17:32:01.075Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T17:32:01.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T17:32:01.338Z] $ docker stop --time=1 73fac165a526f7c06dc3c9691ea557ed799554076c71258e4a05ca8c2bfbd548 [2022-09-26T17:32:04.515Z] $ docker rm -f 73fac165a526f7c06dc3c9691ea557ed799554076c71258e4a05ca8c2bfbd548 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T17:32:05.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T17:32:06.141Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T17:32:06.690Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T17:32:08.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T17:32:08.844Z] + ls -al . [2022-09-26T17:32:08.844Z] total 196 [2022-09-26T17:32:08.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 17:29 . [2022-09-26T17:32:08.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 17:27 .. [2022-09-26T17:32:08.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 17:27 .git [2022-09-26T17:32:08.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 17:27 .github [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 414 Sep 26 17:27 .gitignore [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 17:27 .golangci.yml [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 26 17:27 .hadolint.yml [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 9569 Sep 26 17:27 Attribution.txt [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 1206 Sep 26 17:27 CHANGELOG.md [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 2410 Sep 26 17:27 Dockerfile [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 26 17:27 GOVERNANCE.md [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 26 17:27 Jenkinsfile [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 17:27 LICENSE [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 2345 Sep 26 17:27 Makefile [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 17:27 OWNERS.md [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 12817 Sep 26 17:27 README.md [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 17:24 VERSION [2022-09-26T17:32:08.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 17:27 bin [2022-09-26T17:32:08.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 17:27 cmd [2022-09-26T17:32:08.844Z] -rw-r--r-- 1 jenkins jenkins 29387 Sep 26 17:31 coverage.out [2022-09-26T17:32:08.844Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 26 17:27 docker-entrypoint.sh [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 3633 Sep 26 17:27 go.mod [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 38102 Sep 26 17:27 go.sum [2022-09-26T17:32:08.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 17:27 internal [2022-09-26T17:32:08.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 17:27 snap [2022-09-26T17:32:08.844Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 26 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:32:09.601Z] + 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=cab20f4e5880bbd2fe889c7177791f44bf8d25b1 --label arch=arm64 --label version=0.0.0 . [2022-09-26T17:32:09.875Z] Sending build context to Docker daemon 609.8kB [2022-09-26T17:32:09.875Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T17:32:09.875Z] Step 2/35 : FROM ${BASE} AS builder [2022-09-26T17:32:09.875Z] ---> 13a7cd6fdbff [2022-09-26T17:32:09.875Z] Step 3/35 : ARG MAKE="make build" [2022-09-26T17:32:10.145Z] ---> Running in fa564ec5b291 [2022-09-26T17:32:10.422Z] Removing intermediate container fa564ec5b291 [2022-09-26T17:32:10.422Z] ---> 3e1199b9c6fd [2022-09-26T17:32:10.422Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-26T17:32:10.692Z] ---> Running in 7f08c836ebd5 [2022-09-26T17:32:10.960Z] Removing intermediate container 7f08c836ebd5 [2022-09-26T17:32:10.960Z] ---> e76166117d99 [2022-09-26T17:32:10.960Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-26T17:32:10.960Z] ---> Running in 3cd3d30f1ff3 [2022-09-26T17:32:11.560Z] Removing intermediate container 3cd3d30f1ff3 [2022-09-26T17:32:11.560Z] ---> dad9500032fe [2022-09-26T17:32:11.560Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T17:32:11.560Z] ---> Running in a32dcdaf9f43 [2022-09-26T17:32:13.542Z] Removing intermediate container a32dcdaf9f43 [2022-09-26T17:32:13.542Z] ---> f6b5ed2c93d7 [2022-09-26T17:32:13.542Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T17:32:13.542Z] ---> Running in ddb5b315b4d1 [2022-09-26T17:32:14.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T17:32:15.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T17:32:16.965Z] OK: 228 MiB in 65 packages [2022-09-26T17:32:18.381Z] Removing intermediate container ddb5b315b4d1 [2022-09-26T17:32:18.381Z] ---> 36a64505db61 [2022-09-26T17:32:18.381Z] Step 8/35 : WORKDIR /device-usb-camera [2022-09-26T17:32:18.381Z] ---> Running in 1610040460ae [2022-09-26T17:32:18.969Z] Removing intermediate container 1610040460ae [2022-09-26T17:32:18.969Z] ---> 0914555cca5e [2022-09-26T17:32:18.969Z] Step 9/35 : COPY go.mod vendor* ./ [2022-09-26T17:32:19.935Z] ---> 7d29a69d5126 [2022-09-26T17:32:19.935Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T17:32:19.935Z] ---> Running in 74c72e1fbc5b [2022-09-26T17:32:22.546Z] Removing intermediate container 74c72e1fbc5b [2022-09-26T17:32:22.546Z] ---> ad591569f5cb [2022-09-26T17:32:22.546Z] Step 11/35 : COPY . . [2022-09-26T17:32:23.135Z] ---> cf90b07c045b [2022-09-26T17:32:23.135Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-26T17:32:23.135Z] ---> Running in 1363558f8607 [2022-09-26T17:32:24.558Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T17:32:24.558Z] Dload Upload Total Spent Left Speed [2022-09-26T17:32:24.558Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3982 0 --:--:-- --:--:-- --:--:-- 3992 [2022-09-26T17:32:25.526Z] Removing intermediate container 1363558f8607 [2022-09-26T17:32:25.526Z] ---> dc201d402306 [2022-09-26T17:32:25.526Z] Step 13/35 : RUN ${MAKE} [2022-09-26T17:32:25.526Z] ---> Running in e815f6c7e147 [2022-09-26T17:32:26.946Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.26" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-09-26T17:35:18.737Z] Removing intermediate container e815f6c7e147 [2022-09-26T17:35:18.737Z] ---> 6cbf518ffa44 [2022-09-26T17:35:18.737Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-09-26T17:35:18.737Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-09-26T17:35:18.737Z] eab2503cf8f4: Pulling fs layer [2022-09-26T17:35:18.737Z] 97cd0a44c592: Pulling fs layer [2022-09-26T17:35:18.737Z] 97cd0a44c592: Download complete [2022-09-26T17:35:18.737Z] eab2503cf8f4: Download complete [2022-09-26T17:35:18.737Z] eab2503cf8f4: Pull complete [2022-09-26T17:35:18.737Z] 97cd0a44c592: Pull complete [2022-09-26T17:35:18.737Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-09-26T17:35:18.737Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-09-26T17:35:18.737Z] ---> 7f763cca56b3 [2022-09-26T17:35:18.737Z] Step 15/35 : FROM alpine:3.16 [2022-09-26T17:35:18.737Z] 3.16: Pulling from library/alpine [2022-09-26T17:35:18.737Z] 9b18e9b68314: Pulling fs layer [2022-09-26T17:35:18.737Z] 9b18e9b68314: Verifying Checksum [2022-09-26T17:35:18.737Z] 9b18e9b68314: Download complete [2022-09-26T17:35:18.737Z] 9b18e9b68314: Pull complete [2022-09-26T17:35:18.737Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T17:35:18.737Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T17:35:18.737Z] ---> a6215f271958 [2022-09-26T17:35:18.737Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-26T17:35:18.737Z] ---> Running in af29a8d5bf5a [2022-09-26T17:35:18.737Z] Removing intermediate container af29a8d5bf5a [2022-09-26T17:35:18.737Z] ---> bd63cd4d480a [2022-09-26T17:35:18.737Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-09-26T17:35:18.737Z] ---> Running in 08a3c73c4118 [2022-09-26T17:35:18.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T17:35:18.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T17:35:18.737Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-09-26T17:35:18.737Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-09-26T17:35:18.737Z] (3/82) Installing libxau (1.0.9-r0) [2022-09-26T17:35:18.737Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-09-26T17:35:18.737Z] (5/82) Installing libxcb (1.15-r0) [2022-09-26T17:35:18.737Z] (6/82) Installing libx11 (1.8-r0) [2022-09-26T17:35:18.737Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-09-26T17:35:18.737Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-09-26T17:35:18.737Z] (9/82) Installing expat (2.4.9-r0) [2022-09-26T17:35:18.737Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-09-26T17:35:18.737Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-09-26T17:35:18.737Z] (12/82) Installing libpng (1.6.37-r1) [2022-09-26T17:35:18.737Z] (13/82) Installing freetype (2.12.1-r0) [2022-09-26T17:35:18.737Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-09-26T17:35:18.737Z] (15/82) Installing fribidi (1.0.12-r0) [2022-09-26T17:35:18.737Z] (16/82) Installing libffi (3.4.2-r1) [2022-09-26T17:35:18.737Z] (17/82) Installing libintl (0.21-r2) [2022-09-26T17:35:18.737Z] (18/82) Installing libblkid (2.38-r1) [2022-09-26T17:35:18.737Z] (19/82) Installing libmount (2.38-r1) [2022-09-26T17:35:18.737Z] (20/82) Installing pcre (8.45-r2) [2022-09-26T17:35:18.737Z] (21/82) Installing glib (2.72.1-r0) [2022-09-26T17:35:18.737Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-09-26T17:35:18.737Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-09-26T17:35:18.737Z] (24/82) Installing libass (0.16.0-r0) [2022-09-26T17:35:18.737Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-09-26T17:35:18.737Z] (26/82) Installing libdrm (2.4.110-r0) [2022-09-26T17:35:18.737Z] (27/82) Installing gmp (6.2.1-r2) [2022-09-26T17:35:18.737Z] (28/82) Installing nettle (3.7.3-r0) [2022-09-26T17:35:18.737Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-09-26T17:35:18.737Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-09-26T17:35:18.737Z] (31/82) Installing libunistring (1.0-r0) [2022-09-26T17:35:18.737Z] (32/82) Installing gnutls (3.7.7-r0) [2022-09-26T17:35:18.737Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-26T17:35:18.737Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-26T17:35:18.737Z] (35/82) Installing lame (3.100-r0) [2022-09-26T17:35:18.737Z] (36/82) Installing opus (1.3.1-r1) [2022-09-26T17:35:18.737Z] (37/82) Installing libasyncns (0.8-r1) [2022-09-26T17:35:18.737Z] (38/82) Installing dbus-libs (1.14.0-r1) [2022-09-26T17:35:18.737Z] (39/82) Installing libltdl (2.4.7-r0) [2022-09-26T17:35:18.737Z] (40/82) Installing orc (0.4.32-r0) [2022-09-26T17:35:18.737Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T17:35:18.737Z] (42/82) Installing libogg (1.3.5-r1) [2022-09-26T17:35:18.737Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T17:35:18.737Z] (44/82) Installing flac (1.3.4-r0) [2022-09-26T17:35:18.737Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-09-26T17:35:18.737Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-09-26T17:35:18.737Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-09-26T17:35:18.737Z] (48/82) Installing soxr (0.1.3-r2) [2022-09-26T17:35:18.737Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-09-26T17:35:18.737Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-09-26T17:35:18.737Z] (51/82) Installing libpulse (15.0-r2) [2022-09-26T17:35:18.737Z] (52/82) Installing cjson (1.7.15-r3) [2022-09-26T17:35:18.737Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-09-26T17:35:18.737Z] (54/82) Installing librist (0.2.6-r1) [2022-09-26T17:35:18.737Z] (55/82) Installing libsrt (1.4.4-r0) [2022-09-26T17:35:18.737Z] (56/82) Installing libssh (0.9.6-r1) [2022-09-26T17:35:18.737Z] (57/82) Installing libtheora (1.1.1-r16) [2022-09-26T17:35:18.737Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-09-26T17:35:18.737Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-09-26T17:35:18.737Z] (60/82) Installing libxext (1.3.4-r0) [2022-09-26T17:35:18.737Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-09-26T17:35:18.737Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-09-26T17:35:18.737Z] (63/82) Installing libva (2.14.0-r0) [2022-09-26T17:35:18.737Z] (64/82) Installing libvdpau (1.5-r0) [2022-09-26T17:35:18.737Z] (65/82) Installing vidstab (1.1.0-r1) [2022-09-26T17:35:18.737Z] (66/82) Installing libvpx (1.11.0-r1) [2022-09-26T17:35:18.737Z] (67/82) Installing libwebp (1.2.3-r0) [2022-09-26T17:35:18.737Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-09-26T17:35:18.737Z] (69/82) Installing numactl (2.0.14-r0) [2022-09-26T17:35:18.737Z] (70/82) Installing x265-libs (3.5-r3) [2022-09-26T17:35:18.737Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-09-26T17:35:18.738Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-09-26T17:35:18.738Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-09-26T17:35:18.738Z] (74/82) Installing udev-init-scripts (35-r0) [2022-09-26T17:35:18.738Z] Executing udev-init-scripts-35-r0.post-install [2022-09-26T17:35:18.738Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-09-26T17:35:18.738Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-09-26T17:35:18.738Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-09-26T17:35:18.738Z] (78/82) Installing kmod-libs (29-r2) [2022-09-26T17:35:18.738Z] (79/82) Installing eudev (3.2.11-r0) [2022-09-26T17:35:18.738Z] (80/82) Installing libsodium (1.0.18-r0) [2022-09-26T17:35:18.738Z] (81/82) Installing libzmq (4.3.4-r0) [2022-09-26T17:35:18.738Z] (82/82) Installing zeromq (4.3.4-r0) [2022-09-26T17:35:18.738Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T17:35:18.738Z] Executing eudev-3.2.11-r0.trigger [2022-09-26T17:35:18.738Z] OK: 78 MiB in 96 packages [2022-09-26T17:35:19.700Z] Removing intermediate container 08a3c73c4118 [2022-09-26T17:35:19.700Z] ---> 7b2842acc5f4 [2022-09-26T17:35:19.700Z] Step 18/35 : WORKDIR / [2022-09-26T17:35:19.700Z] ---> Running in b94d76db054e [2022-09-26T17:35:20.285Z] Removing intermediate container b94d76db054e [2022-09-26T17:35:20.285Z] ---> c0837c4ee82f [2022-09-26T17:35:20.285Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-09-26T17:35:21.705Z] ---> 51d4b0651c24 [2022-09-26T17:35:21.705Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-09-26T17:35:21.973Z] ---> e08a0613fddb [2022-09-26T17:35:21.973Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-09-26T17:35:22.559Z] ---> 011754cd92a4 [2022-09-26T17:35:22.559Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-09-26T17:35:23.141Z] ---> bb522f88b26e [2022-09-26T17:35:23.141Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-09-26T17:35:23.724Z] ---> 26d4aeba50f4 [2022-09-26T17:35:23.725Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-09-26T17:35:23.991Z] ---> fe8751468f58 [2022-09-26T17:35:23.991Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-09-26T17:35:25.404Z] ---> 6101a59daf78 [2022-09-26T17:35:25.404Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-09-26T17:35:25.404Z] ---> Running in f60be8b850c3 [2022-09-26T17:35:26.812Z] Removing intermediate container f60be8b850c3 [2022-09-26T17:35:26.812Z] ---> 24be1a9f1389 [2022-09-26T17:35:26.812Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-09-26T17:35:26.812Z] ---> Running in c0d76709c050 [2022-09-26T17:35:28.750Z] Removing intermediate container c0d76709c050 [2022-09-26T17:35:28.750Z] ---> 4739699028c9 [2022-09-26T17:35:28.750Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-09-26T17:35:28.750Z] ---> Running in 2afb067cd9fb [2022-09-26T17:35:30.154Z] Removing intermediate container 2afb067cd9fb [2022-09-26T17:35:30.154Z] ---> 852f11b3de70 [2022-09-26T17:35:30.154Z] Step 29/35 : EXPOSE 59983 [2022-09-26T17:35:30.154Z] ---> Running in 440db20fd490 [2022-09-26T17:35:30.423Z] Removing intermediate container 440db20fd490 [2022-09-26T17:35:30.423Z] ---> c5d46d3b2b50 [2022-09-26T17:35:30.423Z] Step 30/35 : EXPOSE 8554 [2022-09-26T17:35:30.423Z] ---> Running in 1c9f0c855b2c [2022-09-26T17:35:30.691Z] Removing intermediate container 1c9f0c855b2c [2022-09-26T17:35:30.691Z] ---> be13276c748e [2022-09-26T17:35:30.691Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-09-26T17:35:30.959Z] ---> Running in d910fe623da1 [2022-09-26T17:35:31.226Z] Removing intermediate container d910fe623da1 [2022-09-26T17:35:31.226Z] ---> 178aa33a7b26 [2022-09-26T17:35:31.226Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-09-26T17:35:31.226Z] ---> Running in fcd8ffccf7e9 [2022-09-26T17:35:31.493Z] Removing intermediate container fcd8ffccf7e9 [2022-09-26T17:35:31.493Z] ---> 5298139ab42e [2022-09-26T17:35:31.493Z] Step 33/35 : LABEL arch=arm64 [2022-09-26T17:35:31.493Z] ---> Running in a54036a22bf6 [2022-09-26T17:35:31.760Z] Removing intermediate container a54036a22bf6 [2022-09-26T17:35:31.760Z] ---> 9093b1291c9b [2022-09-26T17:35:31.760Z] Step 34/35 : LABEL git_sha=cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [2022-09-26T17:35:32.027Z] ---> Running in 24e0c2b57e01 [2022-09-26T17:35:32.293Z] Removing intermediate container 24e0c2b57e01 [2022-09-26T17:35:32.293Z] ---> dd813a60bae5 [2022-09-26T17:35:32.293Z] Step 35/35 : LABEL version=0.0.0 [2022-09-26T17:35:32.293Z] ---> Running in 080733d41eac [2022-09-26T17:35:32.560Z] Removing intermediate container 080733d41eac [2022-09-26T17:35:32.560Z] ---> 9b21a90fe38a [2022-09-26T17:35:32.560Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T17:35:32.560Z] Successfully built 9b21a90fe38a [2022-09-26T17:35:32.560Z] 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 [2022-09-26T17:35:33.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T17:35:33.377Z] [2022-09-26T17:35:33.377Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:35:33.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T17:35:33.789Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T17:35:33.789Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T17:35:33.789Z] 04944245beec: Pulling fs layer [2022-09-26T17:35:33.789Z] 699f458cf7ca: Pulling fs layer [2022-09-26T17:35:33.789Z] 765212b225bb: Pulling fs layer [2022-09-26T17:35:33.789Z] f23df028b6ca: Pulling fs layer [2022-09-26T17:35:33.789Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T17:35:33.789Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T17:35:33.789Z] 765212b225bb: Waiting [2022-09-26T17:35:33.789Z] f23df028b6ca: Waiting [2022-09-26T17:35:33.789Z] d65c8cfc05b1: Waiting [2022-09-26T17:35:33.789Z] 2437ff75d9bd: Waiting [2022-09-26T17:35:34.057Z] 04944245beec: Verifying Checksum [2022-09-26T17:35:34.057Z] 04944245beec: Download complete [2022-09-26T17:35:34.057Z] 765212b225bb: Verifying Checksum [2022-09-26T17:35:34.057Z] 765212b225bb: Download complete [2022-09-26T17:35:34.057Z] f23df028b6ca: Verifying Checksum [2022-09-26T17:35:34.057Z] f23df028b6ca: Download complete [2022-09-26T17:35:34.057Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T17:35:34.057Z] d65c8cfc05b1: Download complete [2022-09-26T17:35:34.327Z] 699f458cf7ca: Verifying Checksum [2022-09-26T17:35:34.327Z] 699f458cf7ca: Download complete [2022-09-26T17:35:34.593Z] 8998bd30e6a1: Verifying Checksum [2022-09-26T17:35:34.593Z] 8998bd30e6a1: Download complete [2022-09-26T17:35:37.174Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T17:35:37.174Z] 2437ff75d9bd: Download complete [2022-09-26T17:35:38.579Z] 8998bd30e6a1: Pull complete [2022-09-26T17:35:38.846Z] 04944245beec: Pull complete [2022-09-26T17:35:40.254Z] 699f458cf7ca: Pull complete [2022-09-26T17:35:40.520Z] 765212b225bb: Pull complete [2022-09-26T17:35:41.104Z] f23df028b6ca: Pull complete [2022-09-26T17:35:41.369Z] d65c8cfc05b1: Pull complete [2022-09-26T17:35:56.358Z] 2437ff75d9bd: Pull complete [2022-09-26T17:35:56.358Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T17:35:56.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T17:35:56.358Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:35:56.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container [2022-09-26T17:35:56.718Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-26T17:35:59.294Z] $ docker top 8c32a7d536e2f3c29e5bc4600803f0a9fca1f0252339c4e4456b4a6fd9a705ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:00.211Z] ---> job-cost.sh [2022-09-26T17:36:00.211Z] lf-activate-venv: SKIPPING [2022-09-26T17:36:00.211Z] INFO: No Stack... [2022-09-26T17:36:00.804Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T17:36:01.401Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T17:36:01.770Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-09-26T17:36:01.770Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T17:36:01.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] [2022-09-26T17:36:01.890Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] did not exist. Created. [2022-09-26T17:36:01.890Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T17:36:02.636Z] /w/workspace/device-usb-camera/1@tmp/durable-2aa8a65c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T17:36:03.302Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T17:36:03.338Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T17:36:03.383Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T17:36:03.397Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-88-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T17:36:03.473Z] $ docker stop --time=1 8c32a7d536e2f3c29e5bc4600803f0a9fca1f0252339c4e4456b4a6fd9a705ab [2022-09-26T17:36:04.984Z] $ docker rm -f 8c32a7d536e2f3c29e5bc4600803f0a9fca1f0252339c4e4456b4a6fd9a705ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-26T17:36:05.865Z] provisioning config files... [2022-09-26T17:36:05.873Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-88@tmp/config2961533092046458437tmp [Pipeline] { [Pipeline] sh [2022-09-26T17:36:06.199Z] + set +x [2022-09-26T17:36:06.199Z] + curl -s https://codecov.io/bash [2022-09-26T17:36:06.199Z] + bash -s -- [2022-09-26T17:36:06.199Z] [2022-09-26T17:36:06.199Z] _____ _ [2022-09-26T17:36:06.199Z] / ____| | | [2022-09-26T17:36:06.199Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T17:36:06.199Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T17:36:06.199Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T17:36:06.199Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T17:36:06.199Z] Bash-1.0.6 [2022-09-26T17:36:06.199Z] [2022-09-26T17:36:06.199Z] [2022-09-26T17:36:06.199Z] ==> git version 2.25.1 found [2022-09-26T17:36:06.199Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-26T17:36:06.199Z] Release-Date: 2020-01-08 [2022-09-26T17:36:06.200Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-26T17:36:06.200Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T17:36:06.200Z] ==> Jenkins CI detected. [2022-09-26T17:36:06.200Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-88 [2022-09-26T17:36:06.200Z] project root: . [2022-09-26T17:36:06.200Z] --> token set from env [2022-09-26T17:36:06.200Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T17:36:06.200Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T17:36:06.200Z] ==> Python coveragepy not found [2022-09-26T17:36:06.200Z] ==> Searching for coverage reports in: [2022-09-26T17:36:06.200Z] + . [2022-09-26T17:36:06.200Z] -> Found 1 reports [2022-09-26T17:36:06.200Z] ==> Detecting git/mercurial file structure [2022-09-26T17:36:06.200Z] ==> Reading reports [2022-09-26T17:36:06.200Z] + ./coverage.out bytes=29387 [2022-09-26T17:36:06.200Z] ==> Appending adjustments [2022-09-26T17:36:06.200Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T17:36:06.459Z] + Found adjustments [2022-09-26T17:36:06.459Z] ==> Gzipping contents [2022-09-26T17:36:06.459Z] 8.0K /tmp/codecov.ypVD4p.gz [2022-09-26T17:36:06.459Z] ==> Uploading reports [2022-09-26T17:36:06.459Z] url: https://codecov.io [2022-09-26T17:36:06.459Z] query: branch=PR-88&commit=cab20f4e5880bbd2fe889c7177791f44bf8d25b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-88%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=88&job=&cmd_args= [2022-09-26T17:36:06.459Z] -> Pinging Codecov [2022-09-26T17:36:06.459Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-88&commit=cab20f4e5880bbd2fe889c7177791f44bf8d25b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-88%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=88&job=&cmd_args= [2022-09-26T17:36:06.718Z] -> Uploading to [2022-09-26T17:36:06.718Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/73D8F5FF140700D3E01443B452E23636/cab20f4e5880bbd2fe889c7177791f44bf8d25b1/d8d391bf-8d18-4a9f-b4b5-e7259e9dd468.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T173606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc74bec82adad8d960c419c7d4c5ac842d703dbe151933c74f0175cd5e935ff8 [2022-09-26T17:36:06.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T17:36:06.718Z] Dload Upload Total Spent Left Speed [2022-09-26T17:36:06.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4125 0 0 100 4125 0 18581 --:--:-- --:--:-- --:--:-- 18497 [2022-09-26T17:36:06.718Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/cab20f4e5880bbd2fe889c7177791f44bf8d25b1 [Pipeline] } [2022-09-26T17:36:06.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-26T17:36:08.386Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-88/archives ] [2022-09-26T17:36:08.386Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-88/archives [2022-09-26T17:36:08.386Z] total 16 [2022-09-26T17:36:08.386Z] drwxr-xr-x 3 root root 4096 Sep 26 17:26 . [2022-09-26T17:36:08.386Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 17:26 .. [2022-09-26T17:36:08.386Z] drwxr-xr-x 2 root root 4096 Sep 26 17:26 cost [2022-09-26T17:36:08.386Z] -rw-r--r-- 1 root root 88 Sep 26 17:26 cost.csv [2022-09-26T17:36:08.386Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-88/archives [2022-09-26T17:36:08.386Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-88/archives [2022-09-26T17:36:08.386Z] total 16 [2022-09-26T17:36:08.386Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 17:26 . [2022-09-26T17:36:08.386Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 17:26 .. [2022-09-26T17:36:08.386Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 17:26 cost [2022-09-26T17:36:08.386Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 26 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:08.720Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:09.622Z] ---> package-listing.sh [2022-09-26T17:36:09.622Z] ++ facter osfamily [2022-09-26T17:36:09.622Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T17:36:09.882Z] + OS_FAMILY=debian [2022-09-26T17:36:09.882Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-88 [2022-09-26T17:36:09.882Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T17:36:09.882Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T17:36:09.882Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T17:36:09.882Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T17:36:09.882Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-88 ']' [2022-09-26T17:36:09.882Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T17:36:09.882Z] + case "${OS_FAMILY}" in [2022-09-26T17:36:09.882Z] + dpkg -l [2022-09-26T17:36:09.882Z] + grep '^ii' [2022-09-26T17:36:09.882Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T17:36:09.882Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T17:36:09.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T17:36:09.882Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-88 ']' [2022-09-26T17:36:09.882Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-88/archives/ [2022-09-26T17:36:09.882Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-88/archives/ [Pipeline] echo [2022-09-26T17:36:09.918Z] 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/xfoundry_device-usb-camera_PR-88/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T17:36:10.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T17:36:10.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T17:36:10.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T17:36:10.974Z] prd-ubuntu20.04-docker-8c-8g-1168 does not seem to be running inside a container [2022-09-26T17:36:11.016Z] $ 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/xfoundry_device-usb-camera_PR-88/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-88 -v /w/workspace/xfoundry_device-usb-camera_PR-88:/w/workspace/xfoundry_device-usb-camera_PR-88:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-88@tmp:/w/workspace/xfoundry_device-usb-camera_PR-88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T17:36:11.231Z] $ docker top fb78b2effd1ab372ddb17ef78f88fa30f6b23a45fab256c3573f00173bb98953 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T17:36:11.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T17:36:11.926Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T17:36:12.239Z] + ls /var/log/sa-host [2022-09-26T17:36:12.239Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T17:36:12.370Z] provisioning config files... [2022-09-26T17:36:12.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-88@tmp/config4976916964988047456tmp [Pipeline] { [Pipeline] echo [2022-09-26T17:36:12.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:12.741Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T17:36:12.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:13.169Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T17:36:13.206Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:13.519Z] ---> sudo-logs.sh [2022-09-26T17:36:13.520Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T17:36:13.610Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:13.921Z] ---> job-cost.sh [2022-09-26T17:36:13.921Z] lf-activate-venv: SKIPPING [2022-09-26T17:36:13.921Z] DEBUG: total: 0.2199999988079071 [2022-09-26T17:36:13.921Z] INFO: Retrieving Stack Cost... [2022-09-26T17:36:14.180Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T17:36:14.747Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T17:36:14.784Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T17:36:15.093Z] ---> logs-deploy.sh [2022-09-26T17:36:15.093Z] lf-activate-venv: SKIPPING [2022-09-26T17:36:15.093Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-88/1 [2022-09-26T17:36:15.093Z] INFO: archiving workspace using pattern(s): [2022-09-26T17:36:16.032Z] Archives upload complete. [2022-09-26T17:36:16.032Z] INFO: archiving logs to Nexus