Skip to content

fix: crash when converting infinite values to JSON string #220

fix: crash when converting infinite values to JSON string

fix: crash when converting infinite values to JSON string #220

GitHub Actions / JUnit Test Report failed May 30, 2024 in 0s

80 tests run, 51 passed, 1 skipped, 28 failed.

Annotations

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_upload[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104a28380>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_upload(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:29: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_upload[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb1f70>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_upload(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:29: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_launch_events[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb2d50>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_launch_events(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:40: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_launch_events[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb2ff0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_launch_events(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:40: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_first_screen_view[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb3230>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_first_screen_view(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_first_screen_view[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb34a0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_first_screen_view(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_last_screen_view[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb32c0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_last_screen_view(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:80: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_last_screen_view[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb3860>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_last_screen_view(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:80: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_profile_set[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb3ad0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_profile_set(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:98: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_profile_set[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104bb3d40>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_profile_set(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:98: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_login[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b840e0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_login(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:108: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_login[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b842c0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_login(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:108: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_product_exposure[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b84530>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_product_exposure(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:117: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_product_exposure[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b847a0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_product_exposure(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:117: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_add_to_cart[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b84a10>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_add_to_cart(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:129: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_add_to_cart[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b84c80>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_add_to_cart(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:129: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_view_home[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b84ef0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_view_home(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:139: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_view_home[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b84950>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_view_home(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:139: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_view_cart[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b85250>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_view_cart(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:148: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_view_cart[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b854c0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_view_cart(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:148: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_view_profile[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b85730>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_view_profile(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:157: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_view_profile[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b859a0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_view_profile(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:157: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_check_out[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b85c10>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_check_out(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:166: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_check_out[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b85e80>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 15/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_check_out(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:166: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError

Check failure on line 1 in TestLogcatIOS

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestLogcatIOS.test_user_engagement[/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log]

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Raw output
self = <logcat_test.TestLogcatIOS object at 0x104b860f0>
path = '/Users/runner/work/clickstream-swift/clickstream-swift/IntegrationTest/devicefarm/MyiOSAppTest-2024-05-30cbfTtZoi/Apple iPhone 14/Host_Machine_Files/$DEVICEFARM_LOG_DIR/appium.log'

    @pytest.mark.parametrize("path", path)
    def test_user_engagement(self, path):
        print("Start verify: " + str(path))
>       self.init_events(path)

logcat_test.py:176: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
logcat_test.py:24: in init_events
    self.recorded_events = get_recorded_events(path)
logcat_test.py:229: in get_recorded_events
    'event_json': json.loads(event_json)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <json.decoder.JSONDecoder object at 0x1035dc5f0>, s = '', idx = 0

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.
    
        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.
    
        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py:355: JSONDecodeError