Add torture test for AsyncStartPagePrinter method in MS-PAR

Rajendra Prajapat raj.code.pra at
Thu Apr 2 04:45:44 UTC 2020

Hello everyone
This is Rajendra Prajapat. I have written a torture test for
MS-PAR(iremotewinspool.c) here
please verify and provide some suggestions.
Day before yesterday I have written a same test(same code) which passed all
pipelines on Gitlab but in that branch I had too many commits for a single
test and was't according to Samba guidelines so I created a new branch and
commit with same code. But for this commit  samba-admem
<> pipeline failed.
Previous pipeline which passed all pipelines:
New pipeline which failed at samba-admem:
Here is the error, at which the pipeline samba-admem failed

[137(1000)/140 at 10m24s] samba.tests.auth_log_winbind(ad_member:local)
WARNING: The "lanman auth" option is deprecated
WARNING: The "lanman auth" option is deprecated
WARNING: The "server schannel" option is deprecated
INFO: Received PING message from server 788.1975188783 []
{"timestamp": "2020-04-01T20:09:31.216552+0000", "type":
"Authentication", "Authentication": {"version": {"major": 1, "minor":
2}, "eventId": 4624, "logonId": "eb69f769e71fc5fa", "logonType": 8,
"status": "NT_STATUS_OK", "localAddress": "unix:", "remoteAddress":
"unix:", "serviceDescription": "winbind", "authDescription":
"PAM_AUTH, ntlm_auth, 763", "clientDomain": "ADDOMAIN",
"clientAccount": "Administrator", "workstation": null,
"becameAccount": "", "becameDomain": "", "becameSid": null,
"mappedAccount": null, "mappedDomain": null, "netlogonComputer": null,
"netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000",
"netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null,
"passwordType": "Plaintext", "duration": 221924}}
REASON: Exception: Exception: Traceback (most recent call last):
  File "bin/python/samba/tests/", line 253, in test_ntlm_auth
    self.check_domain_server_authentication(pipe, logon_id, "interactive")
  File "bin/python/samba/tests/", line 182, in
    msg = json.loads(get_string(message))
  File "/usr/lib/python3.6/json/", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites)


samba-admem: [test] failed 'make test FAIL_IMMEDIATELY=1
TESTS='--include-env=ad_member --include-env=ad_member_idmap_rid
--include-env=ad_member_idmap_ad --include-env=ad_member_rfc2307''
with status 2

Please give some suggestions on how can I remove this error, why this error
is occurring and also review this new test.

Rajendra Prajapat

More information about the samba-technical mailing list