更新 testcases.py

6 个作业 来自于 master 用时 54 秒 (排队 1 秒)

没有进行代码缺陷检查。可能是由于没有名称为“code-analysis”的job,请确认job名称。
状态 运行分数 作业 ID 作业名称 覆盖率
  Case1
已通过 60 #546337
ubuntu-16.04 short-job
case1

00:27

已失败 #546338
ubuntu-16.04 short-job allowed to fail manual
teacher-check1

00:09

 
  Case2
已失败 #546339
ubuntu-16.04 short-job
case2

00:27

手动操作 #546340
ubuntu-16.04 short-job allowed to fail manual
teacher-check2
 
  Case3
已跳过 #546341
ubuntu-16.04 short-job
case3
已跳过 #546342
ubuntu-16.04 short-job allowed to fail manual
teacher-check3
 
作业 步骤 失败原因
已失败
teacher-check1 Case1
@@ -68,7 +66,6 @@
<<: *codecode-runner
script:
- /opt/mssql/bin/sqlservr > /dev/null &
- - sleep 10s
- python3 testcases.py 3
- diff output3.txt user_output3.txt -b -B -y -i -W 100
- echo -e "\n*******************************************\nexec-score 100\n*******************************************\n"
ERROR: Job failed: exit code 1
已失败
case2 Case2
pandas.io.sql.DatabaseError: Execution failed on sql 'USE TPCH

select TABLE_NAME,COLUMN_NAME,ORDINAL_POSITION from Information_schema.KEY_COLUMN_USAGE where table_name = 'supplier'
': (911, b"Database 'TPCH' does not exist. Make sure that the name is entered correctly.DB-Lib error message 20018, severity 16:\nGeneral SQL Server error: Check messages from the SQL Server\n")
SQL Server 2019 will run as non-root by default.
This container is running as user mssql.
Your master database file is owned by mssql.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
ERROR: Job failed: exit code 1