27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
পরীক্ষা কমান্ড সময়সূচী
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ট্রেডফেডে, প্রতিটি একক পরীক্ষার অনুরোধ চালানোর জন্য কমান্ড শিডিউলারের মাধ্যমে যায়। তাই কমান্ড শিডিউলার পরীক্ষা চালানোর জন্য প্রয়োজনীয় জোতাগুলির একটি মূল উপাদান।
জীবনচক্র
যখন একটি পরীক্ষার অনুরোধ ট্রেডফেডের কাছে উপস্থাপন করা হয় (উদাহরণস্বরূপ, কনসোল থেকে ইনপুট), এটি চালানোর আগে নিম্নলিখিত ইভেন্টগুলির মধ্য দিয়ে যাবে:
- পরীক্ষার অনুরোধ পার্স করা হয় - একটি পরীক্ষার অনুরোধ সাধারণত একটি XML Tradefed কনফিগারেশন রেফারেন্স দ্বারা গঠিত হয় এবং তারপরে বিকল্পগুলি থাকে৷ যেমন:
> run host --class com.android.tradefed.build.BuildInfoTest
- ডিভাইস ম্যানেজারকে পরীক্ষার অনুরোধের সাথে মেলে এমন ডিভাইসের জন্য অনুরোধ করা হয়েছে - ডিভাইস ম্যানেজার একটি ডিভাইস বরাদ্দ করে যা পরীক্ষার অনুরোধের সাথে মেলে। উদাহরণস্বরূপ, যদি একটি Pixel ডিভাইসের জন্য অনুরোধ করা হয় তাহলে ডিভাইস ম্যানেজার একটি উপলব্ধ Pixel ডিভাইসের সন্ধান করবে।
- পরীক্ষার অনুরোধ + ডিভাইস(গুলি) একটি আহ্বান হিসাবে শুরু হয় - পরীক্ষা শুরু হচ্ছে৷
- ডিভাইস রিলিজ - একবার আমন্ত্রণ শেষ হলে, বরাদ্দ করা ডিভাইসটি ছেড়ে দেওয়া হবে এবং অন্যান্য পরীক্ষার জন্য বরাদ্দ করা যেতে পারে।
Tradefed আহ্বান
Tradefed-এ একটি আহ্বান বোঝায় যখন একটি পরীক্ষা কমান্ড বর্তমানে কার্যকর করা হয়। আমন্ত্রণে অন্তর্ভুক্ত ডিভাইসগুলিকে allocated
হিসাবে চিহ্নিত করা হয়েছে এবং চালানোর জন্য অন্যান্য পরীক্ষা দ্বারা ব্যবহার করা যাবে না।
TF এই ক্রমে নিম্নলিখিত পদক্ষেপগুলি সম্পাদন করবে:
- আর্টিফ্যাক্ট ডাউনলোড করুন এবং পরীক্ষা করুন
- লক্ষ্য প্রস্তুতি
- পরীক্ষা নির্বাহ
- টার্গেট পরিষ্কার করা
- ফলাফল রিপোর্টিং
প্রতিটি ধাপ আর্কিটেকচার বিভাগে আরো বিস্তারিতভাবে বর্ণনা করা হয়েছে।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Test Command Scheduler\n\nIn Tradefed, every single test request goes through the\n[Command Scheduler](https://android.googlesource.com/platform/tools/tradefederation/+/refs/heads/android16-release/src/com/android/tradefed/command/CommandScheduler.java)\nto be run. So the Command Scheduler is a key component of the harness needed to\nrun tests.\n\nLifecycle\n---------\n\nWhen a test request is presented to Tradefed (for example, input from the\nconsole), it will go through the following events before being run:\n\n1. *Test request is parsed* - A test request is usually composed of an XML Tradefed configuration reference followed by options. For example: `\u003e run host --class com.android.tradefed.build.BuildInfoTest`\n2. *Device Manager is requested for device(s) matching the test request* - Device Manager [allocates a device](/docs/core/tests/tradefed/architecture/device-manager/device-allocation) that matches the test requests. For example, if a Pixel device is requested then Device Manager will look for an available Pixel device.\n3. *Test request + device(s) starts as an invocation* - Testing is starting.\n4. *Device release* - Once the invocation is finished, the device allocated will be released and can be allocated for other tests.\n\nTradefed invocation\n-------------------\n\nAn invocation in Tradefed refers to when a test command is currently executing.\nDevices included in the invocation are marked as `allocated` and cannot be used\nby other tests to run.\n\nTF will execute the following steps in this order:\n\n1. [Build and test artifacts download](/docs/core/tests/tradefed/architecture/build-provider)\n2. [Target preparation](/docs/core/tests/tradefed/architecture/target-preparer)\n3. [Test execution](/docs/core/tests/tradefed/architecture/advanced/test-runner)\n4. [Target clean up](/docs/core/tests/tradefed/architecture/target-preparer)\n5. [Result reporting](/docs/core/tests/tradefed/architecture/result-reporter)\n\nEach step is described in more detail within the\n[Architecture section](/docs/core/tests/tradefed/architecture)."]]