**** BEGIN LOGGING AT Wed Mar 16 02:59:57 2011 Mar 16 04:21:10 Hi anyone here ? Mar 16 16:45:43 denkenz: ping Mar 16 16:47:16 Jeevaka: pong Mar 16 16:47:44 there is an issue with send sms failure case Mar 16 16:49:45 conformance test cases 27.22.8 seq 1.4 is failing due to SMS retry feature Mar 16 16:50:01 Spec reference 31.124 Mar 16 16:51:00 STK should not be enabling retries Mar 16 16:52:50 no, issue is different Mar 16 16:53:09 oh? Mar 16 16:55:19 As per the spec, SMS should not be sent. Mar 16 16:55:53 As expected, it is not sent. but we are doing a retry after 5seconds Mar 16 16:57:09 due to this, test case is failing as it is not expecting an another Envelope SMS Mar 16 16:57:31 as I said, we're not enabling retries Mar 16 16:57:49 So it could be a bug in the SMS code Mar 16 16:58:25 However, looking at the code that seems fine Mar 16 16:58:35 Is network registration being twiddled in the process? Mar 16 16:59:43 nope Mar 16 17:00:26 in tx_finished function, we are having "Sending failed, retry in ***" Mar 16 17:02:50 we are updating the flag with OFONO_SMS_SUBMIT_FLAG_RETRY in sms_send_message Mar 16 17:05:03 then that's wrong Mar 16 17:05:23 However, where do you see that? Mar 16 17:06:20 Since sms_send_message is the D-Bus API, not called from STK Mar 16 17:06:20 file: sms.c, function: tx_finished, sms_send_message Mar 16 17:08:10 I really don't see how Mar 16 17:08:13 if SMS send fails, then we are resending it in 5seconds Mar 16 17:09:44 if (!(entry->flags & OFONO_SMS_SUBMIT_FLAG_RETRY)) Mar 16 17:09:45 goto next_q; Mar 16 17:09:48 We shouldn't be Mar 16 17:11:08 flags value is set in the sms_send_message. right? Mar 16 17:12:01 no, stk calls __ofono_sms_txq_submit Mar 16 17:12:04 it passes no flags Mar 16 17:12:52 use case we are discussing here is sms sent by the user not by SAT Mar 16 17:13:04 sms initiated by user Mar 16 17:13:18 ah Mar 16 17:13:54 31.124 specification, test case test 27.22.8 seq 1.4 Mar 16 17:14:14 not much we can do really Mar 16 17:14:52 yes, I know. but I was thinking if the error code is common between all AT modems, then we can disable the retry right? Mar 16 17:15:14 what does the modem return? Mar 16 17:15:22 If its one of the permanent errors, then sure Mar 16 17:15:33 ifx returns, CMS error 540 Mar 16 17:15:57 manufacturer specific :( Mar 16 17:16:11 yeah, so no luck there ;) Mar 16 17:17:02 You can create your own certification specific plugin which won't enable retries Mar 16 17:17:46 Or we can argue about whether retries are a good idea Mar 16 17:18:45 2nd options seems to be interesting ;) Mar 16 17:18:57 lol Mar 16 17:19:50 What does the test expect the modem to report? Mar 16 17:20:18 If 27.005 has proper errors for this, then we can abort retrying Mar 16 17:20:40 And then have IFX fix their firmware Mar 16 17:22:25 issue is test spec doesnt specify any standard error. as usual spec leaves it open Mar 16 17:23:04 I was thinking of using 313 - SIM failure for this case Mar 16 17:23:26 We have to check the error codes regardless Mar 16 17:23:39 especially 301 and 330 Mar 16 17:23:50 or even 302 Mar 16 17:24:03 yep, so those we need to take care of anyway Mar 16 17:24:23 since I've already had cases where my SMSC was not configured properly and I kept re-sending Mar 16 17:24:41 Then there are weird networks which report an error but send the SMS anyway Mar 16 17:25:30 we can raise a bug on the network side for that ;) Mar 16 17:25:45 yep ;) Mar 16 17:26:27 I don't know what to tell you, maybe we should whitelist errors to retry on rather than blacklist Mar 16 17:26:58 ok Mar 16 17:27:04 so e.g. retry on 332 for now and see how far we get Mar 16 17:28:22 ok **** ENDING LOGGING AT Thu Mar 17 02:59:57 2011