---
title: COSBench测试异常终止的解决方法
description: "COSBench校验数据完整性失败导致测试终止。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengsdss/troubleshooting/trouble/kunpengsdss_09_0005.html
sourcePath: /source/zh/kunpengsdss/troubleshooting/trouble/kunpengsdss_09_0005.html
indexId: 6df8be2a12118668648b75495d1e7cf751ad918c3aeb9e1734d7567ef03595f171
---
# COSBench测试异常终止的解决方法

#### 问题现象描述

COSBench校验数据完整性失败导致测试终止。


#### 关键过程、根本原因分析

COSBench校验数据MD5失败，导致测试终止。


#### 结论、解决方案及效果

1. 查看COSBench log。

```
vim /path/to/cosbench/archive/workload/workload.log
```


  发现以下错误信息：

```
[ERROR] [ErrorStatistics] - error code: N/A occurred 7 times, fail to operate: test4/myobjects59, test4/myobjects59, test4/myobjects1699, test1/myobjects2686, test3/myobjects10623, test4/myobjects10624, test1/myobjects26871
com.amazonaws.AmazonClientException: Unable to verify integrity of data download. Client calculated content hash didn't match hash calculated by Amazon S3. The data may be corrupt.
```


2. 关闭MD5校验，在/path/to/cosbench/cosbench-start.sh脚本中的java命令行加入以下参数：

```
-Dcom.amazonaws.services.s3.disableGetObjectMD5Validation=true
```


3. 重启所有COSBench进程。
