Facing error : returncode > 0! Check your code

I read all the questions for this topic but could not find my mistake.
please help to solve the problem.
error:
2020-02-23 14:26:03,698 unitTesting ERROR python3 /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/ME_QBOX_MODULE_ANALYZING_PROTOCOL_SOLUTION/analyzing_protocol/pcap_check_tcp_handshake.py /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/nehalmahida2144-ME_QBOX/analyzing_protocol/client_connection_file_transfer.pcap /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/nehalmahida2144-ME_QBOX/analyzing_protocol/packet_numbers_for_tcp_connection_setup returncode > 0! Check your code.

2020-02-23 14:26:03,924 unitTesting ERROR python3 /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/ME_QBOX_MODULE_ANALYZING_PROTOCOL_SOLUTION/analyzing_protocol/pcap_check_zero_window.py /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/nehalmahida2144-ME_QBOX/analyzing_protocol/zero_window_details returncode > 0! Check your code.

2020-02-23 14:26:04,163 unitTesting ERROR python3 /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/ME_QBOX_MODULE_ANALYZING_PROTOCOL_SOLUTION/analyzing_protocol/pcap_check_connection_termination.py /nehalmahida2144-ME_QBOX-664e5606-5648-11ea-9c93-c746cceefe48/nehalmahida2144-ME_QBOX/analyzing_protocol/abnormal_connection_termination_details returncode > 0! Check your code.

I guess you are not making the required files

returncode > 0 means either the files mentioned are missing, not in proper directory, don’t have proper name, are not txt files or don’t have proper format. You should check your project accordingly.

Also, please ensure there are no extra spaces or extra punctuation marks in the document.

1 Like

Do not copy the contents from the wireshark. Just write the content manually.
Worked for me.

which content are you taking about?

Hey @Nehal_21 as @shoryajain mentioned try to focus on those anomalies you will get it resolved

I check it. I copied all the filename from the module description.

Either their is whitespaces in your file names or the format you used to fill the content is not correct. Please, check accordingly.

What about the other possible issues I mentioned?

it means either you content format if wrong or the filename

  1. remember no extension to the filenames
  2. if you’re in the task where they’ve mentioned to add the packets for connection termination then mention only the packet numbers in a single line separated by comma

Put your files in right folder.
May be that.