Compare and Contrast: Run an old green miner test on new green miner
Choose a recent test by shaiful on MVC (maybe his recent acrylic paint tests).
Look at his old results on the galaxy nexus phones.
Run the tests.
Compare the output.
Comments (8)
-
repo owner -
repo owner Before test acrylicPaint, we tested agram and upload test results to pizza but can't see the results because of Internal Server Error
-
reporter So report.py is dying because the data you are uploading is missing some information.
[Wed Jul 25 21:59:14.423443 2018] [cgi:error] [pid 10940] [client 133.5.19.52:60265] AH01215: Traceback (most recent call last):: /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:14.423578 2018] [cgi:error] [pid 10940] [client 133.5.19.52:60265] AH01215: File "/var/www/gm/report.py", line 134, in <module>: /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:14.423662 2018] [cgi:error] [pid 10940] [client 133.5.19.52:60265] AH01215: 'screen_timeout': "{0:.0f}s".format(int(config_before.get('screen_off_timeout', 0)) / 1000),: /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:14.423755 2018] [cgi:error] [pid 10940] [client 133.5.19.52:60265] AH01215: TypeError: int() argument must be a string or a number, not 'NoneType': /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:14.434768 2018] [cgi:error] [pid 10940] [client 133.5.19.52:60265] End of script output before headers: report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:15.818020 2018] [cgi:error] [pid 21056] [client 133.5.19.52:62627] AH01215: Traceback (most recent call last):: /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:15.818124 2018] [cgi:error] [pid 21056] [client 133.5.19.52:62627] AH01215: File "/var/www/gm/report.py", line 134, in <module>: /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:15.818264 2018] [cgi:error] [pid 21056] [client 133.5.19.52:62627] AH01215: 'screen_timeout': "{0:.0f}s".format(int(config_before.get('screen_off_timeout', 0)) / 1000),: /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:15.818369 2018] [cgi:error] [pid 21056] [client 133.5.19.52:62627] AH01215: TypeError: int() argument must be a string or a number, not 'NoneType': /var/www/gm/report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py [Wed Jul 25 21:59:15.829291 2018] [cgi:error] [pid 21056] [client 133.5.19.52:62627] End of script output before headers: report.py, referer: https://pizza.cs.ualberta.ca/gm/index.py
-
reporter for some reason this is returning None config_before.get('screen_off_timeout', 0)
-
reporter hindle1@pizza:/tmp/what$ tar zxvf agram.us_achromaticmetaphor_agram_17.agram_no_logcat.X.no_batch.20180726T0320Z.tar.gz
partitions.csv totals.csv data.csv before.json timing after.json info.json hindle1@pizza:/tmp/what$ fgrep -i timeout * after.json:{"time": 1532575206, "os_version": "5.0.2", "charge_level": 73, "battery_health": 7, "battery_temperature": 250, "screen_auto_brightness": null, "screen_brightness": null, "screen_off_timeout": null, "haptic_feedback_enabled": null, "airplane_mode_on": null, "wifi": "MA-Lab, BSSID: 84:af:ec:e2:1f:c0, MAC: 70:4d:7b:3d:26:43, Supplicant state: COMPLETED, RSSI: -46, Link speed: 72Mbps, Frequency: 2422MHz, Net ID: 0, Metered hint: false, score: 60", "bluetooth_on": null} before.json:{"time": 1532575123, "os_version": "5.0.2", "charge_level": 73, "battery_health": 7, "battery_temperature": 250, "screen_auto_brightness": null, "screen_brightness": null, "screen_off_timeout": null, "haptic_feedback_enabled": null, "airplane_mode_on": null, "wifi": "MA-Lab, BSSID: 84:af:ec:e2:1f:c0, MAC: 70:4d:7b:3d:26:43, Supplicant state: COMPLETED, RSSI: -44, Link speed: 72Mbps, Frequency: 2422MHz, Net ID: 0, Metered hint: false, score: 60", "bluetooth_on": null}
You have the timeout set to null.
Here's what a normal upload looks like
hindle1@pizza:/tmp/what/2$ tar zxvf bundling_sensor_readout.sensorDropping_40_testing.bundling_sensor_readout_energy.A.sensor_dropping-test.20180726T0003Z.tar.gz
before.json partitions.csv totals.csv after.json data.csv timing info.json hindle1@pizza:/tmp/what/2$ fgrep -i timeout *.json after.json:{"charge_level": 96, "battery_health": 2, "screen_auto_brightness": "0", "screen_off_timeout": "16000000", "screen_brightness": "100", "airplane_mode_on": "1", "battery_temperature": 390, "haptic_feedback_enabled": "0", "wifi": "SERL-EMPLAB, BSSID: 60:a4:4c:66:33:f7, MAC: a0:0b:ba:e3:af:75, Supplicant state: COMPLETED, RSSI: -50, Link speed: 5, Net ID: 1, Metered hint: false", "os_version": "4.2.2", "time": 1532563438, "bluetooth_on": "0"} before.json:{"charge_level": 96, "battery_health": 2, "screen_auto_brightness": "0", "screen_off_timeout": "16000000", "screen_brightness": "100", "airplane_mode_on": "1", "battery_temperature": 390, "haptic_feedback_enabled": "0", "wifi": "SERL-EMPLAB, BSSID: 60:a4:4c:66:33:f7, MAC: a0:0b:ba:e3:af:75, Supplicant state: COMPLETED, RSSI: -46, Link speed: 5, Net ID: 1, Metered hint: false", "os_version": "4.2.2", "time": 1532563352, "bluetooth_on": "0"}
-
reporter OK I made a change to greenminer report.py from the gitlab repo. pull from git@pizza.cs.ualberta.ca:green-star.git
commit 7de401814f3f5023f89741cdfed1464ce672977f Author: Abram Hindle hindle1@ualberta.ca Date: Wed Jul 25 22:18:40 2018 -0600
Default behaviour
-
reporter Looks like it works. but the plot ends up being 21mb!
-
reporter - changed status to resolved
Seems resolved. We might need another bug report for the big image.
- Log in to comment
ubuntu on raspi is broken, so we'll clean install new ubuntu and rebuild env.