| /third_party/grpc/src/core/lib/transport/ |
| D | timeout_encoding.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 34 return (dividend - 1 + divisor) / divisor; in DivideRoundingUp() 48 Timeout Timeout::FromDuration(Duration duration) { in FromDuration() 49 return Timeout::FromMillis(duration.millis()); in FromDuration() 52 double Timeout::RatioVersus(Timeout other) const { in RatioVersus() 57 if (a < 0) return -100; in RatioVersus() 60 return 100 * (a / b - 1); in RatioVersus() 63 Duration Timeout::AsDuration() const { in AsDuration() 81 return Duration::Minutes(value); in AsDuration() 83 return Duration::Minutes(value * 10); in AsDuration() [all …]
|
| /third_party/rust/crates/serde/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 18 runs-on: ubuntu-latest 19 timeout-minutes: 45 21 - uses: actions/checkout@v4 22 - uses: dtolnay/rust-toolchain@nightly 23 - run: cd test_suite && cargo test --features unstable 27 runs-on: windows-latest 28 timeout-minutes: 45 30 - uses: actions/checkout@v4 31 - uses: dtolnay/rust-toolchain@nightly [all …]
|
| /third_party/mesa3d/.gitlab-ci/tests/data/ |
| D | FASTBOOT_force_uart=True_job_definition.yaml | 1 job_name: 'test-project: my_pipeline_info' 5 - my_visibility_group 11 minutes: 10 13 depthcharge-retry: 14 minutes: 4 15 depthcharge-start: 16 minutes: 1 17 depthcharge-action: 18 minutes: 15 19 uboot-action: [all …]
|
| D | FASTBOOT_force_uart=False_job_definition.yaml | 1 job_name: 'test-project: my_pipeline_info' 5 - my_visibility_group 11 minutes: 10 13 depthcharge-retry: 14 minutes: 4 15 depthcharge-start: 16 minutes: 1 17 depthcharge-action: 18 minutes: 15 19 uboot-action: [all …]
|
| D | UBOOT_force_uart=False_job_definition.yaml | 1 job_name: 'test-project: my_pipeline_info' 5 - my_visibility_group 11 minutes: 10 13 depthcharge-retry: 14 minutes: 4 15 depthcharge-start: 16 minutes: 1 17 depthcharge-action: 18 minutes: 15 19 uboot-action: [all …]
|
| D | UBOOT_force_uart=True_job_definition.yaml | 1 job_name: 'test-project: my_pipeline_info' 5 - my_visibility_group 11 minutes: 10 13 depthcharge-retry: 14 minutes: 4 15 depthcharge-start: 16 minutes: 1 17 depthcharge-action: 18 minutes: 15 19 uboot-action: [all …]
|
| /third_party/rust/crates/proc-macro2/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 23 runs-on: ubuntu-latest 25 fail-fast: false 28 timeout-minutes: 45 30 - uses: actions/checkout@v4 31 - uses: dtolnay/rust-toolchain@master 34 components: rust-src 35 - run: cargo test 36 - run: cargo test --no-default-features 37 - run: cargo test --features span-locations [all …]
|
| /third_party/rust/crates/syn/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 23 runs-on: ubuntu-latest 24 timeout-minutes: 45 26 - uses: actions/checkout@v4 27 - uses: dtolnay/rust-toolchain@nightly 29 components: llvm-tools, rustc-dev 30 - run: cargo test --all-features --release --tests 36 runs-on: ${{matrix.os || 'ubuntu'}}-latest 38 fail-fast: false 42 - rust: nightly [all …]
|
| /third_party/rust/crates/quote/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 23 runs-on: ubuntu-latest 25 fail-fast: false 28 timeout-minutes: 45 30 - uses: actions/checkout@v4 31 - uses: dtolnay/rust-toolchain@master 34 components: rust-src 35 - name: Enable type layout randomization 36 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV 38 - run: cargo test [all …]
|
| /third_party/mesa3d/.gitlab-ci/lava/utils/ |
| D | uart_job_definition.py | 9 # Use the same image that is being used for the hardware enablement and health-checks. 12 # https://gitlab.collabora.com/lava/health-check-docker/-/blob/main/Dockerfile 13 # And the registry here: https://gitlab.collabora.com/lava/health-check-docker/container_registry/ 14 DOCKER_IMAGE = "registry.gitlab.collabora.com/lava/health-check-docker" 19 ) -> tuple[dict[str, Any], ...]: 23 "timeout": {"minutes": 10}, 29 "timeout": {"minutes": 5}, 42 "mkbootimg --kernel Image.gz+dtb" 43 + f' --cmdline "{cmdline}"' 44 + " --pagesize 4096 --base 0x80000000 -o boot.img", [all …]
|
| D | log_section.py | 26 # For post-merge jobs, this should be ~infinite, but we can fail more 27 # aggressively for pre-merge. 31 # minutes. 33 # summing up to 9 minutes. 34 # It is better to retry the boot than cancel the job and re-submit to avoid 38 # Estimated overhead in minutes for a job from GitLab to reach the test phase, 44 LAVA_TEST_DUT_SUITE_TIMEOUT = int(getenv("CI_JOB_TIMEOUT")) // 60 - LAVA_TEST_OVERHEAD_MIN 51 # Gitlab job timeout. 52 LAVA_TEST_CASE_TIMEOUT = int(getenv("CI_JOB_TIMEOUT")) // 60 - LAVA_TEST_OVERHEAD_MIN 58 FALLBACK_GITLAB_SECTION_TIMEOUT = timedelta(minutes=10) [all …]
|
| D | lava_job_definition.py | 35 def __init__(self, job_submitter: "LAVAJobSubmitter") -> None: 42 def has_ssh_support(self) -> bool: 52 def generate_lava_yaml_payload(self) -> dict[str, Any]: 82 elif args.boot_method == "qemu-nfs": 90 wrap_final_deploy_action(deploy_actions[-1]) 110 def generate_lava_job_definition(self) -> str: 125 # python-fire parses --lava-tags without arguments as True 128 # python-fire parses "tag-1,tag2" as str and "tag1,tag2" as tuple 129 # even if the -- --separator is something other than '-' 133 # Ensure tags are always a list of non-empty strings [all …]
|
| D | ssh_job_definition.py | 3 may hang (become silent) intermittently. Every time it hangs for minutes, the 11 via SSH pseudo terminal, instead of relying in the error-prone UART. 13 In more detail, we aim to use "export -p" to share the initial boot environment 14 with SSH LAVA test-cases. 15 The "init-stage1.sh" script handles tasks such as system mounting and network 16 setup, which are necessary for allocating a pseudo-terminal under "/dev/pts". 24 2. [DUT] Running the "init-stage1.sh" script for the first SSH test case. 25 3. [DUT] Export the first boot environment to `/dut-env-vars.sh` file. 26 4. [SSH] Enabling the pseudo-terminal for colors and running the "init-stage2.sh" 27 script after sourcing "dut-env-vars.sh" again for the second SSH test case. [all …]
|
| /third_party/rust/crates/unicode-ident/.github/workflows/ |
| D | ci.yml | 13 RUSTFLAGS: -Dwarnings 21 runs-on: ubuntu-latest 23 timeout-minutes: 45 25 - uses: actions/checkout@v4 26 - uses: dtolnay/rust-toolchain@stable 27 - id: ucd-generate 28 …run: echo "version=$(grep 'ucd-generate [0-9]\+\.[0-9]\+\.[0-9]\+' tests/tables/tables.rs --only-m… 29 - run: cargo install ucd-generate 30 …- run: curl https://www.unicode.org/Public/zipped/latest/UCD.zip --location --remote-name --silent… 31 - run: unzip UCD.zip -d UCD [all …]
|
| /third_party/rust/crates/cxx/.github/workflows/ |
| D | ci.yml | 20 runs-on: ${{matrix.os || 'ubuntu'}}-latest 22 fail-fast: false 25 - rust: nightly 26 - rust: beta 27 - rust: stable 28 - rust: 1.60.0 29 - rust: 1.64.0 30 - name: Cargo on macOS 33 - name: Cargo on Windows (msvc) 34 rust: nightly-x86_64-pc-windows-msvc [all …]
|
| /third_party/rust/crates/link-cplusplus/.github/workflows/ |
| D | ci.yml | 12 RUSTFLAGS: -Dwarnings 17 runs-on: ${{matrix.os}}-latest 19 fail-fast: false 23 timeout-minutes: 45 25 - uses: actions/checkout@v3 26 - uses: dtolnay/rust-toolchain@master 29 - run: cargo test 33 runs-on: ubuntu-latest 35 timeout-minutes: 45 37 - uses: actions/checkout@v3 [all …]
|
| /third_party/grpc/test/core/end2end/tests/ |
| D | cancel_with_status.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 34 auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create(); in CORE_END2END_TEST() 39 // The API of \a description allows for it to be a dynamic/non-const in CORE_END2END_TEST() 49 auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create(); in CORE_END2END_TEST() 57 // The API of \a description allows for it to be a dynamic/non-const in CORE_END2END_TEST() 70 // shutdown, the test would not timeout and fail. in CORE_END2END_TEST() 72 auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create(); in CORE_END2END_TEST() 81 // The API of \a description allows for it to be a dynamic/non-const in CORE_END2END_TEST() 94 // shutdown, the test would not timeout and fail. in CORE_END2END_TEST() 96 auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create(); in CORE_END2END_TEST() [all …]
|
| /third_party/rust/crates/os_str_bytes/.github/workflows/ |
| D | build.yml | 10 - master 12 - cron: 0 0 * * FRI 16 runs-on: ${{ matrix.platform }} 18 - uses: dylni/build-actions/build@master 19 timeout-minutes: 10 22 platform: [ubuntu-latest, windows-latest] 23 build-other: 25 runs-on: ubuntu-latest 27 - uses: dylni/build-actions/build-other@master 31 timeout-minutes: 10 [all …]
|
| /third_party/rust/rust/compiler/rustc_codegen_cranelift/.github/workflows/ |
| D | main.yml | 4 - push 5 - pull_request 9 runs-on: ubuntu-latest 10 timeout-minutes: 10 13 - uses: actions/checkout@v3 15 - name: Install rustfmt 19 - name: Rustfmt 21 cargo fmt --check 22 rustfmt --check build_system/main.rs 23 rustfmt --check example/* [all …]
|
| D | rustc.yml | 4 - push 8 runs-on: ubuntu-latest 9 timeout-minutes: 60 12 - uses: actions/checkout@v3 14 - name: Cache cargo target dir 18 key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} 20 - name: Prepare dependencies 23 - name: Test 28 runs-on: ubuntu-latest 29 timeout-minutes: 60 [all …]
|
| /third_party/rust/crates/libloading/.github/workflows/ |
| D | libloading.yml | 2 group: ${{ github.workflow }}-${{ github.ref }} 3 cancel-in-progress: true 8 paths-ignore: ['*.mkd', 'LICENSE'] 13 native-test: 14 runs-on: ${{ matrix.os }} 16 fail-fast: false 19 os: [ubuntu-latest, windows-latest, macOS-latest] 20 timeout-minutes: 20 22 - uses: actions/checkout@v2 23 - run: rustup install ${{ matrix.rust_toolchain }} --profile=minimal [all …]
|
| /third_party/grpc/src/python/grpcio/grpc/ |
| D | _simple_stubs.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 59 _EVICTION_PERIOD = datetime.timedelta(minutes=10) 71 _LOGGER.debug("Setting default timeout seconds to %f", _DEFAULT_TIMEOUT) 81 ) -> grpc.Channel: 147 time_to_eviction = (eviction_time - now).total_seconds() 153 ChannelCache._condition.wait(timeout=time_to_eviction) 164 ) -> Tuple[grpc.Channel, Optional[int]]: 169 non-registered method for an existing channel. 221 def _test_only_channel_count(self) -> int: 227 # pylint: disable=too-many-locals [all …]
|
| /third_party/mesa3d/bin/ci/ |
| D | gitlab_common.py | 2 # Copyright © 2020 - 2022 Collabora Ltd. 8 # SPDX-License-Identifier: MIT 21 # Known GitLab token prefixes: https://docs.gitlab.com/ee/security/token_overview.html#token-prefix… 23 "Personal access token": "glpat-", 24 "OAuth Application Secret": "gloas-", 25 "Deploy token": "gldt-", 26 "Runner authentication token": "glrt-", 27 "CI/CD Job token": "glcbt-", 28 "Trigger token": "glptt-", 29 "Feed token": "glft-", [all …]
|
| /third_party/mesa3d/.gitlab-ci/bare-metal/ |
| D | poe_run.py | 38 args.dev, "results/serial-output.txt", ": ") 60 for line in self.ser.lines(timeout=self.boot_timeout, phase="bootloader"): 71 for line in self.ser.lines(timeout=self.test_timeout, phase="test"): 72 if re.search("---. end Kernel panic", line): 110 parser.add_argument('--dev', type=str, 112 parser.add_argument('--powerup', type=str, 114 parser.add_argument('--powerdown', type=str, 117 '--boot-timeout-seconds', type=int, help='Boot phase timeout (seconds)', required=True) 119 '--test-timeout-minutes', type=int, help='Test phase timeout (minutes)', required=True)
|
| /third_party/mesa3d/bin/ci/test/ |
| D | test_gantt_chart.py | 28 current_time = datetime.fromisoformat("2024-12-17 23:54:13.940091+00:00") 29 created_at = current_time - timedelta(minutes=10) 38 finished_at=(created_at + timedelta(minutes=1)).isoformat(), 42 mock_pipeline.web_url = "https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/9999" 78 assert timeout_line is not None, "Timeout line should exist in the Gantt chart" 81 # Check that the timeout line is 1 minute after the pipeline creation time 83 expected_timeout = pipeline_created_at + timedelta(minutes=1) 86 ), f"Timeout should be at {expected_timeout}, got {timeout_x}" 105 event_1.created_at = (current_time - timedelta(days=1)).isoformat() 111 event_2.created_at = (current_time - timedelta(days=2)).isoformat() [all …]
|