This repository was archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 200
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
Job tasks' stuck in "Scheduled"/"Waiting" state #2215
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Information
- Onefuzz version: 5.7.1
- OS: Windows 11
Provide detailed reproduction steps (if any)
- Deploy OneFuzz
PS> python3.9.exe .\deploy.py eastus2 <project>-onefuzz OneFuzz-<project> <email> .\config.json
PS> onefuzz config --endpoint <...> --authority <...> --client_id <...>
PS> onefuzz pools create <project>-onefuzz-pool windows --query pool_id
PS> onefuzz scalesets create <project>-onefuzz-pool 1
{
"ephemeral_os_disks": false,
"image": "MicrosoftWindowsDesktop:Windows-10:20h2-pro:latest",
"needs_config_update": false,
"pool_name": "<project>-onefuzz-pool",
"region": "eastus2",
"scaleset_id": "<...>",
"size": 1,
"spot_instances": false,
"state": "init",
"tags": {},
"vm_sku": "Standard_D2s_v3"
}- Launch a libfuzzer job with the basic template
PS> onefuzz template libfuzzer basic <project> <test-name> build-1 <project>-onefuzz-pool --target_exe <fuzz-target>.exe
INFO:onefuzz:creating libfuzzer from template
INFO:onefuzz:creating job (runtime: 24 hours)
INFO:onefuzz:created job: <job-id>
INFO:onefuzz:using container: oft-setup-<...>
INFO:onefuzz:using container: oft-inputs-<...>
INFO:onefuzz:using container: oft-crashes-<...>
INFO:onefuzz:using container: oft-reports-<...>
INFO:onefuzz:using container: oft-unique-reports-<...>
INFO:onefuzz:using container: oft-unique-inputs-<...>
INFO:onefuzz:using container: oft-no-repro-<...>
INFO:onefuzz:using container: oft-coverage-<...>
INFO:onefuzz:using container: oft-regression-reports-<...>
INFO:onefuzz:uploading target exe <fuzz-target>.exe
INFO:onefuzz:creating libfuzzer_regression task
INFO:onefuzz:creating libfuzzer task
INFO:onefuzz:creating coverage task
INFO:onefuzz:creating libfuzzer_crash_report task
INFO:onefuzz:done creating tasks
{
"config": {
"build": "build-1",
"duration": 24,
"logs": "<...>",
"name": "<test-name>",
"project": "<project>"
},
"job_id": "<...>",
"state": "init",
"user_info": {
"application_id": "<...>",
"object_id": "<...>",
"upn": "<email>"
}
}- Check the status of the tasks in this job (>20h after launching it)
PS> onefuzz jobs get <job-id>
{
"config": {
"build": "build-1",
"duration": 24,
"logs": "<...>",
"name": "<test-name>",
"project": "<project>"
},
"job_id": "<job-id>",
"state": "enabled",
"task_info": [
{
"state": "scheduled",
"task_id": "<...>",
"type": "libfuzzer_fuzz"
},
{
"state": "scheduled",
"task_id": "<...>",
"type": "libfuzzer_regression"
},
{
"state": "waiting",
"task_id": "<...>",
"type": "libfuzzer_crash_report"
},
{
"state": "waiting",
"task_id": "<...>",
"type": "coverage"
}
],
"user_info": {
"application_id": "<...>",
"object_id": "<...>",
"upn": "<email>"
}
}Expected result
The tasks start after a few seconds or minutes, given that the VM is provisioned and running with no apparent issues. I might be missing something; in which case I think that the Getting Started docs are lacking an explanation.
Actual result
The tasks haven't started even after more than 20h and I haven't seen any error message indicating a problem.
AB#40775714
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working