Project

General

Profile

Actions

Bug #2456

closed

ofono: OsmGsmTester tests fail due to SierraW modem stating it is registered but it's not

Added by pespin over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/21/2017
Due date:
% Done:

100%

Spec Reference:

Description

From time to time some tests fail with a Wait Timeout waiting for NITB to see the subscriber registered. Previous to that, ofono already stated it is registered by sending a signal. However, looking at the pcap file which contains both RSL/OML and GSMTAP, no uplink traffic is seen, which means the modem didn't register at all despite signalling upper layers that it did so.

I attach a run directory containing all information from failed run. Unfortunately there's no ofonod debug output from that time as the log buffer already wrapped (it can store around 12 hours). Let's follow recent run failures to be able to catch same issue and get some systemd ofono logs.

Have a look at log from test smpp/esme_ms_sms_storeforward.py. It first says it's registered, but actually notice that after a while the modem realizes it is not registered (sends a unregistered signal):

03:11:37.863810 tst   esme_ms_sms_storeforward.py:38: MS registers and will receive the SMS...  [trial-2282↪smpp↪esme_ms_sms_storeforward.py:38]  [esme_ms_sms_storeforward.py:38]
03:11:38.046333 bus                        /sierra_2: DBG: Powered == False  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:290]
03:11:38.080832 tst                        /sierra_2: DBG: Powering on  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:490]
03:11:38.116390 bus                        /sierra_2: Setting Powered True  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:298]
03:11:38.381358 bus                        /sierra_2: DBG: Powered == True  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:290]
03:11:38.421259 bus                        /sierra_2: DBG: interface enabled: org.ofono.VoiceCallManager  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:38.459498 bus                        /sierra_2: Setting Online True  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:298]
03:11:38.704361 bus                        /sierra_2: DBG: interface enabled: org.ofono.LocationReporting  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:38.748423 bus                        /sierra_2: DBG: interface enabled: org.ofono.SimManager  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:38.808998 bus                        /sierra_2: DBG: Online == True  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:290]
03:11:38.846423 bus                        /sierra_2: DBG: has_interface(org.ofono.NetworkRegistration, org.ofono.MessageManager) == False  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:282]
03:11:39.895581 bus                        /sierra_2: DBG: interface enabled: org.ofono.AllowedAccessPoints  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:39.932011 bus                        /sierra_2: DBG: interface enabled: org.ofono.RadioSettings  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:39.971640 bus                        /sierra_2: DBG: interface enabled: org.ofono.SupplementaryServices  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:40.008805 bus                        /sierra_2: DBG: interface enabled: org.ofono.ConnectionManager  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:40.045589 bus                        /sierra_2: DBG: interface enabled: org.ofono.NetworkRegistration  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:40.083931 bus                        /sierra_2: DBG: Connecting 1 signals for org.ofono.NetworkRegistration  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:270]
03:11:40.142561 bus                        /sierra_2: DBG: has_interface(org.ofono.NetworkRegistration, org.ofono.MessageManager) == True  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:282]
03:11:40.183012 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:40.219290 tst                        /sierra_2: Connect to ('901', '70')  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:504]
03:11:40.255470 tst                        /sierra_2: DBG: Scanning for operators...  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:423]
03:11:40.294597 bus                        /sierra_2: DBG: interface enabled: org.ofono.MessageManager, org.ofono.PushNotification, org.ofono.SmartMessaging  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:230]
03:11:40.330249 bus                        /sierra_2: DBG: Connecting 1 signals for org.ofono.MessageManager  [trial-2282↪smpp↪/sierra_2↪/sierra_2]  [ofono_client.py:270]
03:11:40.391233 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:41.433858 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:42.476459 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:43.519336 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:44.562620 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:45.606063 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:46.648742 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:47.692404 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:48.736202 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:49.779928 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:50.823520 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:51.867529 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:52.911455 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:53.955438 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:54.999443 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:56.043469 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:57.087498 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:58.131221 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:11:59.175230 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:00.219184 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:01.264592 tst                        /sierra_2: DBG: scanned operators:  [('/sierra_2/operator/26201', {'Technologies': ['gsm', 'umts', 'lte'], 'MobileCountryCode': '262', 'MobileNetworkCode': '01', 'Name': 'TDG', 'Status': 'forbidden'}), ('/sierra_2/operator/26202', {'Technologies': ['gsm', 'umts', 'lte'], 'MobileCountryCode': '262', 'MobileNetworkCode': '02', 'Name': 'Vodafone', 'Status': 'forbidden'}), ('/sierra_2/operator/26203', {'Technologies': ['umts', 'lte'], 'MobileCountryCode': '262', 'MobileNetworkCode': '03', 'Name': 'E-Plus', 'Status': 'forbidden'})]  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:460]
03:12:01.306003 tst                        /sierra_2: DBG: Failed to find Network Operator {attempts=1, mcc_mnc=('901', '70')}  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:475]
03:12:01.347308 tst                        /sierra_2: DBG: Scanning for operators...  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:423]
03:12:01.396006 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:02.441980 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:03.487441 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:04.532718 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:05.578179 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:06.622820 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:07.667553 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:08.711958 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:09.753956 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:10.795929 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:11.839169 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:12.881948 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:13.924756 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:14.968388 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:16.012097 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:17.055922 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:18.102185 tst                        /sierra_2: DBG: scanned operators:  [('/sierra_2/operator/90170', {'Technologies': ['gsm'], 'MobileCountryCode': '901', 'MobileNetworkCode': '70', 'Name': '901-70', 'Status': 'available'}), ('/sierra_2/operator/26201', {'Technologies': ['gsm', 'umts', 'lte'], 'MobileCountryCode': '262', 'MobileNetworkCode': '01', 'Name': 'TDG', 'Status': 'forbidden'}), ('/sierra_2/operator/26202', {'Technologies': ['gsm', 'umts', 'lte'], 'MobileCountryCode': '262', 'MobileNetworkCode': '02', 'Name': 'Vodafone', 'Status': 'forbidden'}), ('/sierra_2/operator/26203', {'Technologies': ['umts', 'lte'], 'MobileCountryCode': '262', 'MobileNetworkCode': '03', 'Name': 'E-Plus', 'Status': 'forbidden'})]  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:460]
03:12:18.143112 tst                        /sierra_2: Registering with operator /sierra_2/operator/90170 ('901', '70')  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:479]
03:12:18.215670 tst                        /sierra_2: DBG: status: searching  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:19.257158 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Status=unregistered  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:19.296800 tst                        /sierra_2: DBG: status: unregistered  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:20.346340 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Technology=gsm  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.386465 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Status=registered  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.427324 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> LocationAreaCode=23  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.467882 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> CellId=0  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.507965 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Name=901-70  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.546045 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> MobileCountryCode=901  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.583831 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> MobileNetworkCode=70  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.626724 tst                        /sierra_2: DBG: status: registered  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:407]
03:12:20.665008 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Strength=20  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:12:20.703109 bus Ctrl(host='10.42.42.2', port=4249): DBG: Connecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:54]
03:12:20.741230 bus Ctrl(host='10.42.42.2', port=4249): DBG: Sending {data='GET 0 subscriber-list-active-v1'}  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:65]
03:12:20.784951 bus Ctrl(host='10.42.42.2', port=4249): DBG: Disconnecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:60]
03:12:20.822511 run             osmo-nitb_10.42.42.2: DBG: attached: GET_REPLY 0 subscriber-list-active-v1   [trial-2282↪smpp↪osmo-nitb_10.42.42.2]  [osmo_nitb.py:118]

... CONTINUES IN A LOOP OF UNSUCCESSFUL GET_REPLY 0 HERE...

03:14:42.747906 bus Ctrl(host='10.42.42.2', port=4249): DBG: Connecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:54]
03:14:42.783667 bus Ctrl(host='10.42.42.2', port=4249): DBG: Sending {data='GET 0 subscriber-list-active-v1'}  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:65]
03:14:42.825492 bus Ctrl(host='10.42.42.2', port=4249): DBG: Disconnecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:60]
03:14:42.860832 run             osmo-nitb_10.42.42.2: DBG: attached: GET_REPLY 0 subscriber-list-active-v1   [trial-2282↪smpp↪osmo-nitb_10.42.42.2]  [osmo_nitb.py:118]
03:14:43.900190 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Status=unregistered  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:14:43.935199 tst                        /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Name=  [trial-2282↪smpp↪/sierra_2]  [ofono_client.py:401]
03:14:43.970761 bus Ctrl(host='10.42.42.2', port=4249): DBG: Connecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:54]
03:14:44.007028 bus Ctrl(host='10.42.42.2', port=4249): DBG: Sending {data='GET 0 subscriber-list-active-v1'}  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:65]
03:14:44.048923 bus Ctrl(host='10.42.42.2', port=4249): DBG: Disconnecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:60]
03:14:44.084060 run             osmo-nitb_10.42.42.2: DBG: attached: GET_REPLY 0 subscriber-list-active-v1   [trial-2282↪smpp↪osmo-nitb_10.42.42.2]  [osmo_nitb.py:118]
03:14:45.122783 bus Ctrl(host='10.42.42.2', port=4249): DBG: Connecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:54]
03:14:45.158705 bus Ctrl(host='10.42.42.2', port=4249): DBG: Sending {data='GET 0 subscriber-list-active-v1'}  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:65]
03:14:45.200845 bus Ctrl(host='10.42.42.2', port=4249): DBG: Disconnecting  [trial-2282↪smpp↪osmo-nitb_10.42.42.2↪CTRL(10.42.42.2:4249)↪Ctrl(host='10.42.42.2', port=4249)]  [osmo_ctrl.py:60]
03:14:45.236020 run             osmo-nitb_10.42.42.2: DBG: attached: GET_REPLY 0 subscriber-list-active-v1   [trial-2282↪smpp↪osmo-nitb_10.42.42.2]  [osmo_nitb.py:118]

... CONTINUES IN A LOOP OF UNSUCCESSFUL GET_REPLY 0 HERE...

03:17:21.009357 run             osmo-nitb_10.42.42.2: DBG: attached: GET_REPLY 0 subscriber-list-active-v1   [trial-2282↪smpp↪osmo-nitb_10.42.42.2]  [osmo_nitb.py:118]
03:17:21.012089 tst   esme_ms_sms_storeforward.py:41: ERR: Error: Wait timeout  [trial-2282↪smpp↪esme_ms_sms_storeforward.py:41]  [event_loop.py:61: raise log.Error('Wait timeout')]
03:17:21.017072 tst   esme_ms_sms_storeforward.py:41: TRACEBACK: Traceback (most recent call last):
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/suite.py", line 105, in run
    self.path)
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/util.py", line 282, in run_python_file
    SourceFileLoader(module_name, path).load_module()
  File "<frozen importlib._bootstrap>", line 539, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1614, in load_module
  File "<frozen importlib._bootstrap>", line 596, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/suites/smpp/esme_ms_sms_storeforward.py", line 41, in <module>
    wait(nitb.subscriber_attached, ms)
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/test.py", line 47, in <lambda>
    wait = lambda *args, **kwargs: event_module.wait(suite_run, *args, **kwargs)
  File "/home/jenkins/workspace/osmo-gsm-tester_run/osmo-gsm-tester/src/osmo_gsm_tester/event_loop.py", line 61, in wait
    raise log.Error('Wait timeout')
osmo_gsm_tester.log.Error: Wait timeout
  [trial-2282↪smpp↪esme_ms_sms_storeforward.py:41]  [suite.py:148]
03:17:21.022051 tst   esme_ms_sms_storeforward.py:41: Test FAILED (376.8 sec)  [trial-2282↪smpp↪esme_ms_sms_storeforward.py:41]  [suite.py:149]

Files

trial-2282-run.tgz trial-2282-run.tgz 2.67 MB pespin, 08/21/2017 03:01 PM
trial-2325-run.tgz trial-2325-run.tgz 2.66 MB pespin, 08/23/2017 08:59 AM
trial-2389-run.tgz trial-2389-run.tgz 4.45 MB pespin, 08/25/2017 11:54 AM
ofono.log.txt ofono.log.txt 91.6 KB pespin, 08/25/2017 11:56 AM

Related issues

Related to OsmoGSMTester - Bug #2511: ofono: check all services for simple use before register race conditionResolved09/12/2017

Actions
Blocked by OsmoGSMTester - Bug #2576: include journal log `journalctl -o short-precise` to the test outputClosedpespin10/16/2017

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)