还未发布过话题
  • 同问 本机 Win10 +Appium1.18.0+python3.8 同样也报这个错误 “Error: The usbmuxd socket at '/var/run/usbmuxd' does not exist or is not accessible”

  • 能支持记录崩溃前的操作事件吗?光看截图看不出

  • 怎么调整频率,不想跑的那么快

  • Started by user unknown or anonymous
    Running as SYSTEM
    Building in workspace /Users/liubc/PycharmProjects/demo0708/report
    [report] $ /bin/sh -xe /Users/Shared/Jenkins/tmp/jenkins3886212447333682060.sh

    • /Library/Frameworks/Python.framework/Versions/3.7/bin/pytest /Users/liubc/PycharmProjects/demo0708/testcases/test_03.py --alluredir /Users/liubc/PycharmProjects/demo0708/report/xml ============================= test session starts ============================== platform darwin -- Python 3.7.3, pytest-4.6.3, py-1.8.0, pluggy-0.12.0 rootdir: /Users/liubc/PycharmProjects/demo0708 plugins: sugar-0.9.2, assume-1.2.2, allure-pytest-2.6.2, ordering-0.6, rerunfailures-7.0 collected 1 item

    ../testcases/test_03.py .

    INTERNALERROR> with open(destination, 'wb') as attached_file:
    INTERNALERROR> PermissionError: [Errno 13] Permission denied: '/Users/liubc/PycharmProjects/demo0708/report/xml/2d973209-3ffd-4bf1-b717-e0ee38c87412-attachment.txt'

    ===================== 1 passed, 2 warnings in 0.03 seconds =====================
    Build step 'Execute shell' marked build as failure
    ERROR: Step ‘Allure Report’ aborted due to exception:
    java.nio.file.AccessDeniedException: /Users/liubc/PycharmProjects/demo0708/report/xml/testrun.json
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
    at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
    at java.nio.file.Files.newOutputStream(Files.java:216)
    at java.nio.file.Files.newBufferedWriter(Files.java:2860)
    at ru.yandex.qatools.allure.jenkins.callables.AbstractAddInfo.invoke(AbstractAddInfo.java:26)
    at ru.yandex.qatools.allure.jenkins.callables.AbstractAddInfo.invoke(AbstractAddInfo.java:19)
    at hudson.FilePath.act(FilePath.java:1076)
    at hudson.FilePath.act(FilePath.java:1059)
    at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.addTestRunInfo(AllureReportPublisher.java:399)
    at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.prepareResults(AllureReportPublisher.java:390)
    at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:230)
    at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
    at hudson.model.Build$BuildExecution.post2(Build.java:186)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
    at hudson.model.Run.execute(Run.java:1843)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
    Finished: FAILURE

    想问下大家有遇到过这个问题吗?