Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't grade wireshark-intro test #18

Open
olberger opened this issue Jun 4, 2019 · 4 comments
Open

Couldn't grade wireshark-intro test #18

olberger opened this issue Jun 4, 2019 · 4 comments

Comments

@olberger
Copy link

olberger commented Jun 4, 2019

I've just tested the wireshark-intro and tried to grade my own test... but got :

student@Labtainer-VM:~/labtainer/labtainer-instructor$ gradelab wireshark-intro
pulling labtainer.grader from mfthomps
Done with pull
[2019-06-04 00:55:56,785 - ERROR : gradelab:207 - autoGrade() ] trouble with docker exec wireshark-intro-igrader bash -c 'su - instructor -c "cd;.local/bin/instructor.py"'
Labname wireshark-intro

Student              | wiresharkextrac |
==================== | =============== |
olivier.berger_at_te |                 |
What is automatically assessed for this lab:

	wiresharkextractOK: used wireshark to extract the desired packets

Dunno what's wrong exactly

@mfthomps
Copy link
Owner

mfthomps commented Jun 4, 2019 via email

@olberger
Copy link
Author

olberger commented Jun 4, 2019

I had just updated with the script...

My bad :

zipinfo olivier.berger_at_telecom-sudparis.eu.wireshark-intro=wireshark-intro.wireshark-intro.student.zip
Archive:  olivier.berger_at_telecom-sudparis.eu.wireshark-intro=wireshark-intro.wireshark-intro.student.zip
Zip file size: 19861 bytes, number of entries: 14
-rw-r--r--  2.0 unx     3920 b- defN 19-Jun-04 07:38 .bashrc
-rw-r--r--  2.0 unx      980 b- defN 19-Jun-04 07:38 .profile
-rw-r--r--  2.0 unx        0 b- defN 19-Jun-04 07:38 .sudo_as_admin_successful
-rw-------  2.0 unx       11 b- defN 19-Jun-04 07:39 .bash_history
-rw-rw-r--  2.0 unx      120 b- defN 19-Jun-04 07:45 invqlidpqsszord.pcap
-rw-rw-r--  2.0 unx    35584 b- defN 19-Jun-04 07:38 telnet.pcap
-rw-rw-r--  2.0 unx      477 b- defN 19-Jun-04 07:45 .config/QtProject.conf
-rw-rw-r--  2.0 unx     2236 b- defN 19-Jun-04 07:54 .config/wireshark/recent
-rw-rw-r--  2.0 unx     1629 b- defN 19-Jun-04 07:54 .config/wireshark/recent_common
-rw-r--r--  2.0 unx       33 b- defN 19-Jun-04 07:38 .local/.seed
-rw-r--r--  2.0 unx       16 b- defN 19-Jun-04 07:38 .local/.labname
-rw-r--r--  2.0 unx       33 b- defN 19-Jun-04 07:38 .local/.watermark
-rw-r--r--  2.0 unx       35 b- defN 19-Jun-04 07:38 .local/.email
-rwxrwxr-x  2.0 unx      202 b- defN 19-Jun-04 07:38 .local/bin/fixlocal.sh
14 files, 45276 bytes uncompressed, 18295 bytes compressed:  59.6%

Guess who had a qwerty settings with an azerty keyboard ? ;)

Well... maybe the grading script could just check whether there's only one (new) .pcap file and use it ?

@olberger
Copy link
Author

olberger commented Jun 4, 2019

I started over, and this time have the correct file there

$ zipinfo olivier.berger_at_telecom-sudparis.eu.wireshark-intro=wireshark-intro.wireshark-intro.student.zip
Archive:  olivier.berger_at_telecom-sudparis.eu.wireshark-intro=wireshark-intro.wireshark-intro.student.zip
Zip file size: 20086 bytes, number of entries: 15
-rw-r--r--  2.0 unx     3920 b- defN 19-Jun-04 07:38 .bashrc
-rw-r--r--  2.0 unx      980 b- defN 19-Jun-04 07:38 .profile
-rw-r--r--  2.0 unx        0 b- defN 19-Jun-04 07:38 .sudo_as_admin_successful
-rw-------  2.0 unx       11 b- defN 19-Jun-04 07:39 .bash_history
-rw-rw-r--  2.0 unx      120 b- defN 19-Jun-04 07:45 invqlidpqsszord.pcap
-rw-rw-r--  2.0 unx      120 b- defN 19-Jun-04 16:51 invalidpassword.pcap
-rw-rw-r--  2.0 unx    35584 b- defN 19-Jun-04 07:38 telnet.pcap
-rw-rw-r--  2.0 unx      477 b- defN 19-Jun-04 16:51 .config/QtProject.conf
-rw-rw-r--  2.0 unx     2244 b- defN 19-Jun-04 16:51 .config/wireshark/recent
-rw-rw-r--  2.0 unx     1627 b- defN 19-Jun-04 16:51 .config/wireshark/recent_common
-rw-r--r--  2.0 unx       33 b- defN 19-Jun-04 07:38 .local/.seed
-rw-r--r--  2.0 unx       16 b- defN 19-Jun-04 07:38 .local/.labname
-rw-r--r--  2.0 unx       33 b- defN 19-Jun-04 07:38 .local/.watermark
-rw-r--r--  2.0 unx       35 b- defN 19-Jun-04 07:38 .local/.email
-rwxrwxr-x  2.0 unx      202 b- defN 19-Jun-04 07:38 .local/bin/fixlocal.sh
15 files, 45402 bytes uncompressed, 18404 bytes compressed:  59.5%

But still the same error:

$ gradelab wireshark-intro
[2019-06-04 09:51:57,405 - ERROR : gradelab:207 - autoGrade() ] trouble with docker exec wireshark-intro-igrader bash -c 'su - instructor -c "cd;.local/bin/instructor.py"'
Labname wireshark-intro

Student              | wiresharkextrac |
==================== | =============== |
olivier.berger_at_te |                 |
What is automatically assessed for this lab:

	wiresharkextractOK: used wireshark to extract the desired packets

Looks like the grading container has a problem :-/

@mfthomps
Copy link
Owner

If you get a chance, please retest after doing an update-labtainer. I'm unable to duplicate the problem. Try using gradelab -r to ensure you get a fresh grader.
Sorry for the slow response. Thanks. --Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants