COSBench Tests Stop Abnormally
Problem Description
Item |
Information |
|---|---|
Source of the Problem |
Online maintenance |
Product |
Kunpeng BoostKit |
Sub-item |
SDS |
Service Scenario |
Debugging and running |
Component |
Other |
Output Time |
2019-10-28 |
Author |
Chen Xiaobo 00416232 |
Team |
Kunpeng BoostKit |
Review Result |
Review passed |
Review Date |
2019-11-05 |
Release Date |
2020-03-20 |
Keywords |
Tests stop abnormally |
Symptom
COSBench tests stop as data failed the integrity check.
Key Process and Cause Analysis
COSBench tests stop as data MD5 validation failed.
Conclusion and Solution
- View COSBench logs.
vim /path/to/cosbench/archive/workload/workload.log
It consists the following error message:[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.
- Add the following to the Java command line in the /path/to/cosbench/cosbench-start.sh script to disable MD5 validation:
-Dcom.amazonaws.services.s3.disableGetObjectMD5Validation=true
- Restart all COSBench processes.