fix: remove default eight-job limit from interactive generation queues
This commit is contained in:
parent
af617bbe80
commit
eed4f01ca2
@ -13,7 +13,8 @@ COOKIE_SECURE=false
|
||||
PUBLIC_ACCESS=false
|
||||
# API and the existing GPU worker read the SAME file. See deploy/runtime-policy.*.json.
|
||||
RUNTIME_POLICY_FILE=/workspace/projects/llm-services/config/runtime-policy.json
|
||||
MAX_INTERACTIVE_GPU_JOBS=8
|
||||
# 0 disables the per-user unfinished interactive GPU queue cap; positive values opt in.
|
||||
MAX_INTERACTIVE_GPU_JOBS=0
|
||||
MAX_CREATION_COMMANDS_PER_MINUTE=6
|
||||
MAX_OWNER_JOBS=500
|
||||
MAX_GLOBAL_JOBS=2000
|
||||
|
||||
@ -27,7 +27,8 @@ class Settings:
|
||||
cookie_secure: bool = True
|
||||
session_hours: int = 12
|
||||
public_access: bool = False
|
||||
max_interactive_gpu_jobs: int = 8
|
||||
# Zero disables this optional per-owner unfinished interactive GPU job cap.
|
||||
max_interactive_gpu_jobs: int = 0
|
||||
max_creation_commands_per_minute: int = 6
|
||||
max_owner_asset_bytes: int = 100 * 1024**3
|
||||
max_data_bytes: int = 2 * 1024**4
|
||||
@ -63,6 +64,8 @@ class Settings:
|
||||
def __post_init__(self):
|
||||
if self.mode not in {"production", "preview", "test"}:
|
||||
raise ValueError("CMVR_MODE must be production, preview or test")
|
||||
if self.max_interactive_gpu_jobs < 0:
|
||||
raise ValueError("MAX_INTERACTIVE_GPU_JOBS must be non-negative; 0 disables the limit")
|
||||
self.workspace_root = Path(self.workspace_root).resolve()
|
||||
for field, leaf in (("asset_root", "assets"), ("job_work_root", "jobs"), ("state_root", "state")):
|
||||
value = Path(getattr(self, field) or self.workspace_root / "cmvr-visual" / leaf).resolve()
|
||||
|
||||
@ -146,7 +146,7 @@ async def create_jobs(session, body, actor, settings, key=None, internal=False,
|
||||
fail(403,"scope_required","Machine tokens require interactive:write for interactive jobs")
|
||||
from .quotas import check_storage_budget
|
||||
await check_storage_budget(session,settings,actor.id,new_jobs=body.count)
|
||||
if body.execution_mode=="interactive" and body.task_type in GPU_TYPES:
|
||||
if settings.max_interactive_gpu_jobs>0 and body.execution_mode=="interactive" and body.task_type in GPU_TYPES:
|
||||
active=await session.scalar(select(func.count()).select_from(Job).where(Job.owner_id==actor.id,Job.execution_mode=="interactive",Job.task_type.in_(GPU_TYPES),Job.state.notin_(TERMINAL)))
|
||||
if active+body.count>settings.max_interactive_gpu_jobs:fail(429,"quota_exceeded","Interactive GPU queue limit reached")
|
||||
# Internal quota accounting also covers newly submitted batch members.
|
||||
|
||||
@ -16,7 +16,7 @@ async def child_capacity(session, r, step, settings):
|
||||
own=await session.scalar(select(func.count()).select_from(Job).where(Job.owner_id==r.owner_id,active))
|
||||
total=await session.scalar(select(func.count()).select_from(Job).where(active))
|
||||
if own>=settings.max_owner_jobs or total>=settings.max_global_jobs:return False
|
||||
if r.execution_mode=='interactive' and step.kind in GPU_TYPES:
|
||||
if settings.max_interactive_gpu_jobs>0 and r.execution_mode=='interactive' and step.kind in GPU_TYPES:
|
||||
gpu=await session.scalar(select(func.count()).select_from(Job).where(Job.owner_id==r.owner_id,active,Job.execution_mode=='interactive',Job.task_type.in_(GPU_TYPES)))
|
||||
if gpu>=settings.max_interactive_gpu_jobs:return False
|
||||
return True
|
||||
@ -62,7 +62,9 @@ async def advance_run(session,run_id,settings):
|
||||
r.state='paused'
|
||||
else:
|
||||
r.state='running';r.started_at=r.started_at or utcnow()
|
||||
admitted=0
|
||||
# Bound each tick's replenishment work, regardless of how many
|
||||
# unfinished jobs this owner already has. Later ticks keep feeding.
|
||||
admitted_this_tick=0
|
||||
for key in ordered_step_keys(r.spec_snapshot):
|
||||
step=bykey[key]
|
||||
if step.state=='succeeded':continue
|
||||
@ -73,7 +75,7 @@ async def advance_run(session,run_id,settings):
|
||||
if maintenance_active(settings):
|
||||
r.state='queued'
|
||||
break
|
||||
if admitted>=8:break
|
||||
if admitted_this_tick>=8:break
|
||||
if not await child_capacity(session,r,step,settings):
|
||||
r.hold_reasons=sorted(set(r.hold_reasons or [])|{'quota'})
|
||||
r.error_json={'code':'quota_exceeded','admission_pending':True}
|
||||
@ -92,7 +94,7 @@ async def advance_run(session,run_id,settings):
|
||||
r.hold_reasons=sorted(set(r.hold_reasons or [])|{hold})
|
||||
r.error_json={'code':code,'admission_pending':True}
|
||||
break
|
||||
admitted+=1;changed=True
|
||||
admitted_this_tick+=1;changed=True
|
||||
if changed or before!=(r.state,r.current_output_asset_id,r.error_json,tuple(r.hold_reasons or [])):await emit_run(session,r)
|
||||
|
||||
async def advance_workflows(db,settings,provider):
|
||||
|
||||
98
backend/tests/test_interactive_gpu_limit.py
Normal file
98
backend/tests/test_interactive_gpu_limit.py
Normal file
@ -0,0 +1,98 @@
|
||||
"""The optional owner queue cap must not constrain normal video creation."""
|
||||
from datetime import datetime, timedelta, timezone
|
||||
|
||||
import pytest
|
||||
|
||||
from app.config import Settings
|
||||
from app.models import Job, new_id, utcnow
|
||||
from app.v2_models import WorkflowRun, WorkflowStep
|
||||
from sqlalchemy import select
|
||||
from test_workflows_v2 import wf, draft, run
|
||||
|
||||
|
||||
def test_interactive_gpu_limit_is_disabled_by_default(tmp_path):
|
||||
settings = Settings(mode='test', database_url='sqlite+aiosqlite:///:memory:', workspace_root=tmp_path)
|
||||
assert settings.max_interactive_gpu_jobs == 0
|
||||
|
||||
|
||||
@pytest.mark.parametrize('limit', [-1, -8])
|
||||
def test_negative_interactive_gpu_limit_is_rejected(tmp_path, limit):
|
||||
with pytest.raises(ValueError, match='MAX_INTERACTIVE_GPU_JOBS.*non-negative'):
|
||||
Settings(mode='test', database_url='sqlite+aiosqlite:///:memory:', workspace_root=tmp_path,
|
||||
max_interactive_gpu_jobs=limit)
|
||||
|
||||
|
||||
async def future_video(system, index):
|
||||
return await system.client.post('/api/jobs', json={
|
||||
'task_type': 'video.generate', 'input': {'prompt': f'future video {index}'},
|
||||
'parameters': {}, 'scheduled_at': (datetime.now(timezone.utc) + timedelta(days=1)).isoformat(),
|
||||
})
|
||||
|
||||
|
||||
async def test_zero_limit_accepts_nine_unfinished_future_video_jobs(system):
|
||||
system.settings.max_interactive_gpu_jobs = 0
|
||||
system.settings.max_creation_commands_per_minute = 20
|
||||
for index in range(9):
|
||||
response = await future_video(system, index)
|
||||
assert response.status_code == 202, response.text
|
||||
assert response.json()['jobs'][0]['state'] == 'scheduled'
|
||||
assert (await system.client.get('/api/jobs')).json()['total'] == 9
|
||||
await system.app.state.coordinator.run_once(force=True)
|
||||
assert not system.provider.accepted
|
||||
|
||||
|
||||
async def test_positive_limit_two_rejects_third_unfinished_video(system):
|
||||
system.settings.max_interactive_gpu_jobs = 2
|
||||
assert (await future_video(system, 0)).status_code == 202
|
||||
assert (await future_video(system, 1)).status_code == 202
|
||||
response = await future_video(system, 2)
|
||||
assert response.status_code == 429
|
||||
assert response.json()['detail']['code'] == 'quota_exceeded'
|
||||
assert (await system.client.get('/api/jobs')).json()['total'] == 2
|
||||
assert not system.provider.accepted
|
||||
|
||||
|
||||
def fixture_job(owner_id, *, state='scheduled', **fields):
|
||||
identifier = new_id()
|
||||
return Job(id=identifier, owner_id=owner_id, task_type='video.generate', execution_mode='interactive',
|
||||
state=state, phase=state, input_json={'prompt': 'future fixture video'}, parameters={},
|
||||
request_hash='fixture', upstream_key=identifier,
|
||||
scheduled_at=utcnow() + timedelta(days=1), **fields)
|
||||
|
||||
|
||||
async def test_default_limit_allows_standalone_retry_with_eight_existing_active_jobs(system):
|
||||
owner = (await system.client.get('/api/auth/me')).json()['user']['id']
|
||||
async with system.app.state.db.session() as session:
|
||||
session.add_all(fixture_job(owner) for _ in range(8))
|
||||
old = fixture_job(owner, state='failed')
|
||||
session.add(old)
|
||||
await session.commit()
|
||||
response = await system.client.post('/api/jobs/' + old.id + '/retry')
|
||||
assert response.status_code == 202, response.text
|
||||
assert response.json()['jobs'][0]['id'] != old.id
|
||||
assert (await system.client.get('/api/jobs')).json()['total'] == 10
|
||||
assert not system.provider.accepted
|
||||
|
||||
|
||||
async def test_default_limit_allows_workflow_step_retry_with_eight_existing_active_jobs(wf):
|
||||
snapshot = await run(wf, await draft(wf))
|
||||
rid = snapshot['run']['id']
|
||||
owner = (await wf.client.get('/api/auth/me')).json()['user']['id']
|
||||
async with wf.app.state.db.session() as session:
|
||||
session.add_all(fixture_job(owner) for _ in range(8))
|
||||
old = fixture_job(owner, state='failed', run_id=rid, step_key='shot_1', explicit_attempt=1)
|
||||
session.add(old)
|
||||
step = await session.scalar(select(WorkflowStep).where(WorkflowStep.run_id == rid,
|
||||
WorkflowStep.step_key == 'shot_1'))
|
||||
step.selected_job_id, step.state, step.explicit_attempt = old.id, 'blocked', 1
|
||||
parent = await session.get(WorkflowRun, rid)
|
||||
parent.state = 'blocked'
|
||||
await session.commit()
|
||||
response = await wf.client.post(f'/api/workflow-runs/{rid}/steps/shot_1/retry', json={
|
||||
'expected_run_version': snapshot['run']['version'], 'target_job_id': old.id},
|
||||
headers={'Idempotency-Key': 'retry-with-eight-active'})
|
||||
assert response.status_code == 202, response.text
|
||||
selected = next(step for step in response.json()['steps'] if step['step_key'] == 'shot_1')
|
||||
assert selected['selected_job_id'] != old.id
|
||||
assert (await wf.client.get('/api/jobs')).json()['total'] == 10
|
||||
assert not wf.provider.accepted
|
||||
@ -29,6 +29,7 @@ async def test_three_ready_shots_and_compose_waits_all(wf):
|
||||
|
||||
@pytest.mark.parametrize('count',[12,20])
|
||||
async def test_many_ready_shots_replenish_eight_slot_quota(wf,count):
|
||||
wf.settings.max_interactive_gpu_jobs=8
|
||||
body=story(count)
|
||||
d=await wf.client.post('/api/workflows',json={'spec':body});assert d.status_code==201,d.text
|
||||
rid=(await run(wf,d.json()))['run']['id']
|
||||
@ -39,6 +40,21 @@ async def test_many_ready_shots_replenish_eight_slot_quota(wf,count):
|
||||
assert len(jobs)==expected
|
||||
for j in jobs: await publish_video(wf,j.id)
|
||||
|
||||
async def test_default_limit_feeds_twenty_shots_across_ticks_without_completions(wf):
|
||||
d=await wf.client.post('/api/workflows',json={'spec':story(20)});assert d.status_code==201,d.text
|
||||
rid=(await run(wf,d.json()))['run']['id']
|
||||
for expected in (8,16,20):
|
||||
await tick(wf)
|
||||
async with wf.app.state.db.session() as s:
|
||||
jobs=(await s.scalars(select(Job).where(Job.run_id==rid).order_by(Job.created_at,Job.id))).all()
|
||||
assert len(jobs)==expected
|
||||
assert [j.step_key for j in jobs]==[f'shot_{i}' for i in range(1,expected+1)]
|
||||
assert all(j.state not in {'succeeded','failed','cancelled','timed_out'} for j in jobs)
|
||||
snapshot=(await wf.client.get('/api/workflow-runs/'+rid)).json()
|
||||
assert 'quota' not in snapshot['run']['hold_reasons']
|
||||
assert not any(j.step_key=='compose' for j in jobs)
|
||||
assert not wf.provider.accepted
|
||||
|
||||
async def test_two_batch_members_admitted_together(wf):
|
||||
response=await wf.client.post('/api/batches',json={'items':[{'kind':'job','task_type':'image.generate','input':{'prompt':p}} for p in ('a','b')]},headers={'Idempotency-Key':'pair'})
|
||||
assert response.status_code==202,response.text
|
||||
|
||||
@ -2,7 +2,7 @@ name: cmvr-visual
|
||||
services:
|
||||
api:
|
||||
build: ./backend
|
||||
image: cmvr-visual-api:v4-20261111
|
||||
image: cmvr-visual-api:queue-unlimited-20261111
|
||||
container_name: cmvr-visual-api
|
||||
env_file: .env
|
||||
environment:
|
||||
@ -42,7 +42,7 @@ services:
|
||||
logging: {driver: json-file, options: {max-size: 10m, max-file: '3'}}
|
||||
frontend:
|
||||
build: {context: ., dockerfile: deploy/Dockerfile.frontend}
|
||||
image: cmvr-visual-frontend:v4-20261111
|
||||
image: cmvr-visual-frontend:queue-unlimited-20261111
|
||||
container_name: cmvr-visual-frontend
|
||||
ports: ['127.0.0.1:${WEB_PORT:-18193}:8080']
|
||||
depends_on: [api]
|
||||
|
||||
@ -68,7 +68,9 @@ Asset soft deletion and shared withdrawal do not promise immediate disk/quota re
|
||||
|
||||
## Jobs
|
||||
|
||||
- POST `/jobs`, optional `Idempotency-Key`, body `{task_type,input:{prompt?,negative_prompt?,image_asset_id?,audio_asset_id?,asset_id?,asset_ids?:string[]},parameters:object,count?:1..4,scheduled_at?:ISO8601|null}` → `{jobs:Job[]}`. Batch only for image/defect; each gets its own serial upstream job. Composition clip order and trims live in `parameters.clips:[{asset_id,start_seconds?,end_seconds?}]`, optional `audio_asset_id`, `subtitles:[{start,end,text}]`, width/height/fps. Server resolves owned assets only.
|
||||
`MAX_INTERACTIVE_GPU_JOBS` defaults to `0`, which disables the per-owner unfinished interactive GPU queue cap. Direct submissions, standalone retries, workflow step retries and automatic workflow replenishment use the same rule. Positive values explicitly enable that optional cap; negative values are invalid. Creation-rate, total unfinished-job, storage and execution-resource limits still apply. This is not a lifetime video count or a GPU concurrency setting.
|
||||
|
||||
- POST `/jobs`, optional `Idempotency-Key`, body `{task_type,input:{prompt?,negative_prompt?,image_asset_id?,audio_asset_id?,asset_id?,asset_ids?:string[]},parameters:object,count?:1..4,scheduled_at?:ISO8601|null}` → `{jobs:Job[]}`. Batch only for image/defect; each gets its own independent upstream job. Composition clip order and trims live in `parameters.clips:[{asset_id,start_seconds?,end_seconds?}]`, optional `audio_asset_id`, `subtitles:[{start,end,text}]`, width/height/fps. Server resolves owned assets only.
|
||||
- GET `/jobs?page=1&page_size=24&task_type=&state=` → `{items:Job[],total,page,page_size,cursor:number}`.
|
||||
- GET `/jobs/{id}` → Job.
|
||||
- POST `/jobs/{id}/cancel` → Job, cancellation may remain pending.
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
|
||||
状态:用户已确认并要求实施;另明确批准将项目容器内存从128 GiB提高至384 GiB。
|
||||
|
||||
2026-11-11后续变更:按用户要求,取消默认每用户8个未结束交互GPU任务的限制,`MAX_INTERACTIVE_GPU_JOBS=0`为关闭。本文后续提及的8条队列配额是原设计记录;现有镜头可跨轮继续补队,每轮最多补8个仅用于控制事务工作量,不阻止第9个镜头入队。多GPU、FIFO和资源优先策略保持不变。
|
||||
|
||||
## 目标和依据
|
||||
|
||||
用户要求:只要存在空闲 GPU,就允许多个 GPU 同时运行任务,并遵守先到先运行。此前“全项目最多一个 GPU 任务”的约束由此替换。
|
||||
|
||||
@ -186,7 +186,7 @@ MySQL DDL可能隐式提交,升级失败不能当成普通事务rollback即可
|
||||
|
||||
### 6.3 建议初始配额(配置项,实施时校准)
|
||||
|
||||
交互每用户最多8个未结束GPU子Job、每分钟6次创建命令,最多1个活动交互Run。单batch最多100项,每批最多1个成员(Run或独立Job)进入执行,其余可排队;每用户未结束叶任务最多500、全局最多2000。三个资源池各自全局1槽,各池每用户不超过1个活跃执行。创建前事务内检查配额,复用同幂等提交不二次扣额。
|
||||
原V2方案设定每用户最多8个未结束交互GPU子Job。2026-11-11已按用户要求取消默认8条限制,`MAX_INTERACTIVE_GPU_JOBS=0`表示关闭此限制;正数仅用于运维显式启用。每分钟6次创建命令、最多1个活动交互Run、单batch最多100项、每用户未结束叶任务最多500及全局最多2000等保护继续保留,均不限制历史累计生成数量。GPU与批次执行现已升级为多GPU并发,详见《多GPU并发与384GiB升级验收_20261111.md》。创建前事务内检查配额,复用同幂等提交不二次扣额。
|
||||
|
||||
单文件仍512MiB;每用户保留素材100GiB,业务数据总预算2TiB。专用卷剩余低于max(50GiB,5%卷容量)或工作区预算不足时拒绝新计算/上传;为已接受任务预留预估输出与临时空间,实际超限终止自己的作业并明确失败。数字为起始配置,不是已验证产能,不允许耗尽整个服务器共享盘。
|
||||
|
||||
|
||||
@ -125,6 +125,12 @@ JSON导入导出用于保存和批量编辑分镜。导入新模板会建立本
|
||||
|
||||
“任务”可查看叶任务和工作流进度、队列原因、历史执行和错误。GPU任务按就绪入队顺序派发,每张空闲卡同时一个任务,最多四卡并行;配音/媒体CPU和Qwen HTTP仍有独立单槽。llmuser可选择四张GPU的空闲资源,外部用户占卡时优先让出对应卡并重排该任务,其他卡上的任务继续,等待排队本身不是故障。
|
||||
|
||||
### 生成数量与排队
|
||||
|
||||
当前不再默认限制每用户只能有8个未完成的视频或其他交互GPU任务,第9个及后续任务可以继续入队;没有“累计只能生成8个视频”的限制。空闲GPU、内存和其他用户优先规则决定何时实际执行。
|
||||
|
||||
网站后端环境文件中的`MAX_INTERACTIVE_GPU_JOBS=0`表示关闭该单用户队列条数限制,默认即为0;只有显式设置正整数才重新启用。它不控制GPU并发数,也不是夜间时段开关。每分钟6次创建命令、每用户最多500个未结束叶任务、全局最多2000个及磁盘预算仍有效;已完成作品不占未完成任务额度。工作流每轮有界补充镜头,后续轮次继续入队,不会因已有8个未完成镜头停止。
|
||||
|
||||
## 7. 批量与开发/生产配置
|
||||
|
||||
“批量”可以每行一个提示词生成清单,也可加入已经保存的工作流;提交前先“校验与预览”。需要参考素材的类型须补全本账号素材编号。一个批次最多100项,既有创建频率和账号额度继续生效。暂停批次同样只关闭后续准入。
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -125,6 +125,12 @@ JSON导入导出用于保存和批量编辑分镜。导入新模板会建立本
|
||||
|
||||
“任务”可查看叶任务和工作流进度、队列原因、历史执行和错误。GPU任务按就绪入队顺序派发,每张空闲卡同时一个任务,最多四卡并行;配音/媒体CPU和Qwen HTTP仍有独立单槽。llmuser可选择四张GPU的空闲资源,外部用户占卡时优先让出对应卡并重排该任务,其他卡上的任务继续,等待排队本身不是故障。
|
||||
|
||||
### 生成数量与排队
|
||||
|
||||
当前不再默认限制每用户只能有8个未完成的视频或其他交互GPU任务,第9个及后续任务可以继续入队;没有“累计只能生成8个视频”的限制。空闲GPU、内存和其他用户优先规则决定何时实际执行。
|
||||
|
||||
网站后端环境文件中的`MAX_INTERACTIVE_GPU_JOBS=0`表示关闭该单用户队列条数限制,默认即为0;只有显式设置正整数才重新启用。它不控制GPU并发数,也不是夜间时段开关。每分钟6次创建命令、每用户最多500个未结束叶任务、全局最多2000个及磁盘预算仍有效;已完成作品不占未完成任务额度。工作流每轮有界补充镜头,后续轮次继续入队,不会因已有8个未完成镜头停止。
|
||||
|
||||
## 7. 批量与开发/生产配置
|
||||
|
||||
“批量”可以每行一个提示词生成清单,也可加入已经保存的工作流;提交前先“校验与预览”。需要参考素材的类型须补全本账号素材编号。一个批次最多100项,既有创建频率和账号额度继续生效。暂停批次同样只关闭后续准入。
|
||||
|
||||
46
qa/queue-unlimited-deployment.json
Normal file
46
qa/queue-unlimited-deployment.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"effective_max_interactive_gpu_jobs": 0,
|
||||
"readiness": {
|
||||
"status": "ready",
|
||||
"checks": {
|
||||
"database": true,
|
||||
"coordinator": true,
|
||||
"upstream_protocol": true,
|
||||
"accepting": true
|
||||
}
|
||||
},
|
||||
"isolation": {
|
||||
"cmvr-visual-tts": {
|
||||
"same_id": true,
|
||||
"same_start": true
|
||||
},
|
||||
"llmuser-workspace": {
|
||||
"same_id": true,
|
||||
"same_start": true
|
||||
},
|
||||
"llmuser-gpu-guard": {
|
||||
"same_id": true,
|
||||
"same_start": true
|
||||
},
|
||||
"cmvr-qwen38-fast": {
|
||||
"same_id": true,
|
||||
"same_start": true
|
||||
},
|
||||
"cmvr-qwen38-accurate": {
|
||||
"same_id": true,
|
||||
"same_start": true
|
||||
}
|
||||
},
|
||||
"database_migration": false,
|
||||
"gpu_service_restarted": false,
|
||||
"linux_regression_tests": 28,
|
||||
"frontend_typecheck_and_build": "passed",
|
||||
"backend_full_suite": {
|
||||
"platform": "Windows",
|
||||
"passed": 234,
|
||||
"skipped": 3,
|
||||
"subtests_passed": 20
|
||||
},
|
||||
"live_report": "qa/queue-unlimited-live.json",
|
||||
"live_nine_unfinished_videos_accepted": true
|
||||
}
|
||||
313
qa/queue-unlimited-live.json
Normal file
313
qa/queue-unlimited-live.json
Normal file
@ -0,0 +1,313 @@
|
||||
{
|
||||
"checks": [
|
||||
{
|
||||
"check": "live_mysql_health",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "login_admin",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "role_admin",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "unique_fixture_user_created",
|
||||
"passed": true,
|
||||
"status": 201
|
||||
},
|
||||
{
|
||||
"check": "login_fixture",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "role_fixture",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "fixture_session_identity",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "video_1_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_2_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_3_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_4_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_5_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_6_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "creation_rate_window_respected",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "video_7_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_8_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "video_9_accepted",
|
||||
"passed": true,
|
||||
"status": 202
|
||||
},
|
||||
{
|
||||
"check": "fixture_jobs_list_available",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "nine_independent_ids",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "nine_unfinished_without_waiting_for_completion",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "all_nine_scheduled_zero_attempts_no_gpu_execution",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "dba1f0c86ee2413bba11be2f9163c9a9"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "d10802413314474ab4fcd510ef73362a"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "c51f851fb9a3446b88cd4b9d82c5b1a5"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "10658a5090254250b7fe93d1483eff14"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "6fda1c7a48cc44c1a7117146630f019b"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "7015fadef3c24ab588439c1c4c7f2705"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "6031bb999fcc42b5b8b86914d602c721"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "8d0a7b2771b74c679f9fb5275b3b0bf1"
|
||||
},
|
||||
{
|
||||
"check": "admin_cannot_read_private_fixture",
|
||||
"passed": true,
|
||||
"status": 404,
|
||||
"id": "f63ce80e1be5412f8a16d1327e10aa4e"
|
||||
},
|
||||
{
|
||||
"check": "login_fixture",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "role_fixture",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"check": "fixture_session_identity",
|
||||
"passed": true
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "dba1f0c86ee2413bba11be2f9163c9a9"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "dba1f0c86ee2413bba11be2f9163c9a9"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "d10802413314474ab4fcd510ef73362a"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "d10802413314474ab4fcd510ef73362a"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "c51f851fb9a3446b88cd4b9d82c5b1a5"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "c51f851fb9a3446b88cd4b9d82c5b1a5"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "10658a5090254250b7fe93d1483eff14"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "10658a5090254250b7fe93d1483eff14"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "6fda1c7a48cc44c1a7117146630f019b"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "6fda1c7a48cc44c1a7117146630f019b"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "7015fadef3c24ab588439c1c4c7f2705"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "7015fadef3c24ab588439c1c4c7f2705"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "6031bb999fcc42b5b8b86914d602c721"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "6031bb999fcc42b5b8b86914d602c721"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "8d0a7b2771b74c679f9fb5275b3b0bf1"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "8d0a7b2771b74c679f9fb5275b3b0bf1"
|
||||
},
|
||||
{
|
||||
"check": "fixture_cancelled",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "f63ce80e1be5412f8a16d1327e10aa4e"
|
||||
},
|
||||
{
|
||||
"check": "fixture_deleted_only_own_record",
|
||||
"passed": true,
|
||||
"status": 200,
|
||||
"id": "f63ce80e1be5412f8a16d1327e10aa4e"
|
||||
},
|
||||
{
|
||||
"check": "fixture_private_queue_empty",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "fixture_user_disabled",
|
||||
"passed": true,
|
||||
"status": 200
|
||||
},
|
||||
{
|
||||
"check": "fixture_session_revoked_401",
|
||||
"passed": true,
|
||||
"status": 401
|
||||
},
|
||||
{
|
||||
"check": "own_admin_session_logged_out",
|
||||
"passed": true,
|
||||
"status": 204
|
||||
}
|
||||
],
|
||||
"job_ids": [
|
||||
"dba1f0c86ee2413bba11be2f9163c9a9",
|
||||
"d10802413314474ab4fcd510ef73362a",
|
||||
"c51f851fb9a3446b88cd4b9d82c5b1a5",
|
||||
"10658a5090254250b7fe93d1483eff14",
|
||||
"6fda1c7a48cc44c1a7117146630f019b",
|
||||
"7015fadef3c24ab588439c1c4c7f2705",
|
||||
"6031bb999fcc42b5b8b86914d602c721",
|
||||
"8d0a7b2771b74c679f9fb5275b3b0bf1",
|
||||
"f63ce80e1be5412f8a16d1327e10aa4e"
|
||||
],
|
||||
"status": "passed",
|
||||
"user_id": "5d7328bc3eda439e93be4b0f43ac8989",
|
||||
"cleanup_status": "passed"
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user