AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-473906

Husk Rekoms's questions

Martin Hope
Husk Rekoms
Asked: 2019-07-12 13:48:37 +0800 CST

TigerVNC 和 XRDP 导致 android studio GUI 窗口变白

  • 0

所以,我最近在物理 dl320 上部署了一个 Appium 服务器,这样我们就可以自动化我们的移动应用程序开发。我使用的是旧版本的 KVM,它一次只允许一个控制台连接。这不会飞,因为我需要使用它并且我需要一个 QA 团队来连接。

已经有一段时间了,但经过一些研究,似乎 Windows / Linux 之间的 RDP 是可能的。我决定使用tigerVNC 和XRDP,它们都是开源工具。设置很简单,我很快就连接上了。

问题是当我尝试启动 android studio 时,GUI 窗口是白色的并且无法使用。

有谁知道解决方法?

vnc
  • 1 个回答
  • 391 Views
Martin Hope
Husk Rekoms
Asked: 2019-04-06 10:14:31 +0800 CST

SoftEther 仅提供具有安全 NAT 的 IP 地址,而不是来自 Windows DHCP 服务器

  • 2

我正在尝试看看 softether 是否是满足我们需求的可行 VPN 解决方案。我已经成功让 sstp 连接到 SE,但前提是启用了安全 NAT。当我禁用安全 NAT 时,请求将发送到我们的 DHCP 服务器,但租约没有返回给客户端,因此他们没有获得 IP 地址并且无法连接。

您可以从服务器日志中看到此信息:

2019-04-05 11:10:00.319 SSTP PPP Session [xxx.xxx.xxx.xx:55743]: Trying to request an IP address from the DHCP server.
2019-04-05 11:10:05.319 SSTP PPP Session [xxx.xxx.xxx.xx:55743]: Acquiring an IP address from the DHCP server failed. To accept a PPP session, you need to have a DHCP server. Make sure that a DHCP server is working normally in the Ethernet segment which the Virtual Hub belongs to. If you do not have a DHCP server, you can use the Virtual DHCP function of the SecureNAT on the Virtual Hub instead.
2019-04-05 11:10:13.501 SSTP PPP Session [xxx.xxx.xxx.xx:55743]: The VPN Client sent a packet though an IP address of the VPN Client hasn't been determined.
2019-04-05 11:10:13.501 SSTP PPP Session [xxx.xxx.xxx.xx:55743]: A PPP protocol error occurred, or the PPP session has been disconnected.

我已经设置了一个从虚拟集线器到专用 NIC 的桥,并在 SE 集线器中禁用了安全 NAT 和 DHCP 功能。

当我尝试使用 SSTP 从 Windows 框连接时,我从数据包日志中获得以下信息:

-04-05,11:09:52.450,SID-LOCALBRIDGE-    1,-,A4580F42CBB6,FFFFFFFFFFFF,0x0800,358,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=350047519 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:09:53.199,SID-LOCALBRIDGE-1,-,001A4A160154,FFFFFFFFFFFF,0x0800,348,DHCPv4,Response,10.1.1.24,bootps(67),255.255.255.255,bootpc(68),-,-,TransactionId=350047519 ClientIP=0.0.0.0 YourIP=10.1.2.253 ServerIP=10.1.1.24 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:09:53.199,SID-LOCALBRIDGE-1,-,A4580F42CBB6,FFFFFFFFFFFF,0x0800,370,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=350047519 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:09:53.199,SID-LOCALBRIDGE-1,-,001A4A160154,FFFFFFFFFFFF,0x0800,348,DHCPv4,Response,10.1.1.24,bootps(67),255.255.255.255,bootpc(68),-,-,TransactionId=350047519 ClientIP=0.0.0.0 YourIP=10.1.2.253 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:09:53.210,SID-LOCALBRIDGE-1,-,001A4A16017B,FFFFFFFFFFFF,0x0800,348,DHCPv4,Response,10.1.1.23,bootps(67),255.255.255.255,bootpc(68),-,-,TransactionId=350047519 ClientIP=0.0.0.0 YourIP=10.1.2.203 ServerIP=10.1.1.23 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:09:56.159,SID-LOCALBRIDGE-1,-,001A4A16017B,FFFFFFFFFFFF,0x0800,348,DHCPv4,Response,10.1.1.23,bootps(67),255.255.255.255,bootpc(68),-,-,TransactionId=2306803456 ClientIP=0.0.0.0 YourIP=10.1.2.112 ServerIP=10.1.1.23 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:10:00.400,SID-GIL.COMEAU-[SSTP]-4,-,CA20658C6E7E,FFFFFFFFFFFF,0x0800,335,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=3970409621 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,xxx.xxx.xxx.xx,-
    2019-04-05,11:10:01.932,SID-GIL.COMEAU-[SSTP]-4,-,CA20658C6E7E,FFFFFFFFFFFF,0x0800,335,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=3970409621 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,xxx.xxx.xxx.xx,-
    2019-04-05,11:10:03.516,SID-GIL.COMEAU-[SSTP]-4,-,CA20658C6E7E,FFFFFFFFFFFF,0x0800,335,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=3970409621 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,xxx.xxx.xxx.xx,-
    2019-04-05,11:10:04.084,SID-LOCALBRIDGE-1,-,001A4A16017B,FFFFFFFFFFFF,0x0800,348,DHCPv4,Response,10.1.1.23,bootps(67),255.255.255.255,bootpc(68),-,-,TransactionId=2306803456 ClientIP=0.0.0.0 YourIP=10.1.2.112 ServerIP=10.1.1.23 RelayIP=0.0.0.0,-,-,-
    2019-04-05,11:10:05.076,SID-GIL.COMEAU-[SSTP]-4,-,CA20658C6E7E,FFFFFFFFFFFF,0x0800,335,DHCPv4,Request,0.0.0.0,bootpc(68),255.255.255.255,bootps(67),-,-,TransactionId=3970409621 ClientIP=0.0.0.0 YourIP=0.0.0.0 ServerIP=0.0.0.0 RelayIP=0.0.0.0,-,xxx.xxx.xxx.xx,-

我认为导致该问题的一个问题是应该返回 IP 地址的 DHCP 租约中的中继地址不正确(0.0.0.0)。但我不确定这应该如何在 SE 服务器端进行配置。

一段时间以来,我一直在敲桌子,希望能找到完成类似设置的人来寻求帮助。

vpn
  • 1 个回答
  • 1700 Views
Martin Hope
Husk Rekoms
Asked: 2018-08-24 08:54:39 +0800 CST

模块之间的 Puppet 文件冲突

  • 0

我遇到了一个问题,我确信这是一个简单的修复,但我似乎找不到任何可以正确解释该行为的资源。我正在构建一个新的 nginx puppet 模块,用于自动化 git 服务器部署。

我正在使用标准的 nginx 设置并尝试替换 ngnix.conf 文件。

我调用基类,然后在放置我的设置所需的配置文件之前请求文件不存在。

      class { 'nginx': }

      $nginx_default_files_to_remove = 
       [ 
       "/etc/nginx/conf.d/default.conf",
       "/etc/nginx/default.d/php.conf", 
       "/etc/nginx/nginx.conf" 
       ]

      file { [ $nginx_default_files_to_remove ]: 
      ensure => 'absent', 
      require => Class["nginx"]
      }

当我在代理上运行 puppet 模块时,这会导致生成以下错误:

Error 400 on SERVER: Duplicate declaration: File[/etc/nginx/nginx.conf] is 
already declared in file /etc/puppet/modules/nginx/manifests/config.pp:331; 
cannot redeclare at /etc/puppet/modules/sf_nginx/manifests/git.pp:18 

据我了解,puppet 具有删除和替换标准配置文件的能力。我在哪里错了?

nginx
  • 1 个回答
  • 406 Views
Martin Hope
Husk Rekoms
Asked: 2018-07-24 08:49:25 +0800 CST

与 Jack 服务器 (77) 的通信错误导致 Jenkins 构建失败

  • 0

我正在创建一个 CI 构建来编译我们的自定义 Android ROM / OS,当我尝试进行自动构建时,我在 Jenkins 中收到一个奇怪的错误。当我手动构建时,问题不会发生,这让我相信它与 Jenkins 有关,但我似乎无法弄清楚原因。

通过研究,似乎很多人对与内存相关的 jackserver 存在问题,但我正在构建的机器有 64GB 的 RAM 和 24 个线程。加上我得到的错误是一个通信错误:

Communication error with Jack server (77) 

下面是我从 Jenkins 那里得到的错误日志:

FAILED: /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar  2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.8.ALPHA.jar 4.8.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-2.28.RELEASE.jar 2.28.RELEASE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-3.36.CANDIDATE.jar 3.36.CANDIDATE || exit 47; prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.7.BETA.jar 4.7.BETA || exit 47 )"
Writing client settings in /nvme/jenkins-slave/.jack-settings
Installing jack server in "/nvme/jenkins-slave/.jack-server"

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /nvme/jenkins-slave/.jack-server/server.jks -destkeystore /nvme/jenkins-slave/.jack-server/server.jks -deststoretype pkcs12".

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /nvme/jenkins-slave/.jack-server/client.jks -destkeystore /nvme/jenkins-slave/.jack-server/client.jks -deststoretype pkcs12".
Communication error with Jack server (77), try 'jack-diagnose' or see Jack server log
Failed to contact Jack server: Problem reading /nvme/jenkins-slave/.jack-server/server.pem. Try 'jack-diagnose'
Failed to contact Jack server: Problem reading /nvme/jenkins-slave/.jack-server/server.pem. Try 'jack-diagnose'
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/ResourceTypes.cpp
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/StreamingZipInflater.cpp
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/BackupData.cpp
[ 31% 15431/48680] target SharedLib: libhardware_32 (out/target/product/rk3399_firefly_box/obj_arm/SHARED_LIBRARIES/libhardware_intermediates/LINKED/libhardware.so)
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/ZipUtils.cpp
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/BackupHelpers.cpp
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/CursorWindow.cpp
[ 31% 15431/48680] target thumb C++: libandroidfw_32 <= frameworks/base/libs/androidfw/DisplayEventDispatcher.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/IGraphicBufferConsumer.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/IGraphicBufferProducer.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/IConsumerListener.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/BitTube.cpp
[ 31% 15431/48680] AAPT2 link out/target/common/obj/JAVA_LIBRARIES/android-support-annotations_intermediates/package-res.apk
[ 31% 15431/48680] AAPT2 link out/target/common/obj/JAVA_LIBRARIES/android-support-compat_intermediates/package-res.apk
[ 31% 15431/48680] AAPT2 link out/target/common/obj/JAVA_LIBRARIES/android-support-fragment_intermediates/package-res.apk
[ 31% 15431/48680] AAPT2 link out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/package-res.apk
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/BufferItem.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/BufferItemConsumer.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/BufferQueue.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/BufferQueueConsumer.cpp
[ 31% 15431/48680] target thumb C++: libgui_32 <= frameworks/native/libs/gui/BufferQueueCore.cpp
[ 31% 15431/48680] target thumb C++: libcamera_client_32 <= frameworks/av/camera/Camera.cpp
[ 31% 15431/48680] Compiling SDK Stubs: out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE

另一个痛苦是 Jackserver 日志文件中没有任何记录,当我运行时:

jack-diagnose

我没有得到任何有价值的东西。任何帮助,将不胜感激。

jenkins
  • 1 个回答
  • 1649 Views
Martin Hope
Husk Rekoms
Asked: 2018-07-20 07:50:08 +0800 CST

Jenkins Slave Remote FS root 配置不生效

  • 0

我正在尝试更改运行 jenkins 的工作空间文件夹。从文档和其他资源中,我在节点中进行了设置,如下所示:

詹金斯奴隶 FS 根

当我运行构建时,它仍然拉到原始文件夹 /home/jenkins-slave/workspace。还有其他地方需要配置吗?

jenkins
  • 1 个回答
  • 1892 Views
Martin Hope
Husk Rekoms
Asked: 2018-07-18 11:10:11 +0800 CST

詹金斯构建发生在主人而不是奴隶上

  • 4

我一直在通过 Jenkins 进行 android OS 构建自动化,并且存储库很大,构建本身需要相当长的时间。因此,我需要在我的从属服务器上运行,它有更多的能力和可用于构建的线程,而不是将主服务器磁盘空间填满到其他开发人员无法使用它的程度。

当我将第一个构建生成部署到主服务器时,我检查了配置并查看了 Jenkins 的最佳实践。

https://wiki.jenkins.io/display/JENKINS/Jenkins+Best+Practices

如果您有更复杂的安全设置,允许某些用户仅配置作业,但不能管理 Jenkins,您需要阻止他们在主节点上运行构建,否则他们可以不受限制地访问 JENKINS_HOME 目录。您可以通过将执行程序计数设置为零来做到这一点。相反,请确保所有作业都在从属设备上运行。这确保了 jenkins master 可以扩展以支持更多的作业,并且它还可以防止构建意外/恶意地修改 $JENKINS_HOME 上的潜在敏感数据。如果您需要在主服务器上运行一些作业(例如 Jenkins 本身的备份),请使用作业限制插件来限制可以在那里执行的作业。

我注意到我们在 master 上有两个可用的 executor,根据最佳实践,如果你不想在 master 上构建,这应该设置为零。我将其设置为零并重试了我的构建。

主服务器执行器

令我惊讶的是,它仍然建立在主人身上。下面是我的 Jenkins 文件,它暗示要建立在我的奴隶上。

pipeline {
    agent {label 'van-droid'}

    stages {
        stage('Build') {
            steps {
        echo 'Building..'
        sh 'make clean'
        sh 'export USE_CCACHE=1'
        sh 'export CCACHE_DIR=/nvme/.ccache'
        sh './FFTools/make.sh'
             }
        }
    }
}

有人知道发生了什么吗?

jenkins
  • 3 个回答
  • 14633 Views
Martin Hope
Husk Rekoms
Asked: 2018-07-12 13:16:54 +0800 CST

安装 CIFS 只是挂起没有详细的输出

  • 0

我卸载了我们的共享驱动器以调试一些不可变的文件,并且它不允许重新安装(即使在重新启动之后并且该条目在 fstab 文件中已经存在多年)。我正在尝试手动执行此操作,并在下面列出了我的流程:

要安装设备:

mount -t cifs //xxx.xxx/storage/Public_WWW /data/www/dynamic.xxx.xxx.ca/ --verbose -o credentials=/etc/samba/mha.cred

这只是挂起一个不提供错误输出。但是当我查看日志时:

当我查看 samba 日志时,我收到以下错误消息:

  kerberos_kinit_password XXX-PUBLIC1$@XXX.LOCAL failed: Preauthentication failed
[2018/07/11 14:06:46.452928,  0] libads/kerberos_util.c:101(ads_kinit_password)
  kerberos_kinit_password XXX-PUBLIC1$@XXX.LOCAL failed: Preauthentication failed
[2018/07/11 14:07:54.499816,  0] libads/kerberos_util.c:101(ads_kinit_password)
  kerberos_kinit_password XXX-PUBLIC1$@XXX.LOCAL failed: Preauthentication failed

我能想到的唯一一件事是密码或用户名发生了我不知何故错过的更改?今天花了很多时间,希望有人可以快速回答我。

samba
  • 1 个回答
  • 2723 Views
Martin Hope
Husk Rekoms
Asked: 2018-07-10 11:34:21 +0800 CST

詹金斯构建失败,错误输出有限

  • 0

我最近设置了一个 gogs 服务器来连接 Jenkins(以前我们使用的是 SVN)。连接正常,但在从 41%-43% 左右的 gogs 服务器检索对象时构建失败(每个构建不同,但始终在该范围内)。

GOGS api是否设置了某种限制?以下是我得到的唯一错误输出。

Receiving objects:  41% (270082/645355), 2.68 GiB | 18.83 MiB/s   
Receiving objects:  41% (270419/645355), 2.70 GiB | 18.96 MiB/s   
Killed by signal 15.

    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1996)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1715)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405)
    at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:351)
    at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:196)
    at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:172)
    at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:107)
    at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
    at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:271)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

更新:我的詹金斯主人所在的服务器需要增加磁盘大小(我正在做的 android ROM 构建绝对是巨大的,并且将缓存填满到故障点)。我在我的设置中添加了另外 60GB 的空间并重新运行了我的构建。

正如 Jey 在评论中提到的,ssh 可能在其中发挥作用,所以我在 Jenkins 主服务器上的 sshd_config 中添加了以下几行,以满足长时间打开连接的需要:

ClientAliveInterval 120
ClientAliveCountMax 720

该构建确实比以前的尝试更进一步,但最终仍然失败,方式与以前相同:

Receiving objects:  55% (355794/645358), 3.51 GiB | 13.63 MiB/s   
Receiving objects:  55% (359617/645358), 3.52 GiB | 13.75 MiB/s   
Killed by signal 15.

    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1996)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1715)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405)
    at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:351)
    at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:196)
    at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:172)
    at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:107)
    at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
    at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:271)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

新更新:

进行更多测试(不要相信这是网络问题,但感谢您的评论)。我注意到该构建在 10 分钟后被杀死。通过查看其他有相同问题的人,我发现您可以通过高级选项来增加它。我已经这样做了,但是 10 分钟后它仍然失败。

在此处输入图像描述

新更新:

我附上了我的构建 config.xml 的副本,您可以在文件中看到超时已更新,但构建仍使用 10 分钟的默认超时限制。不知道我在这里错过了什么......

<?xml version='1.1' encoding='UTF-8'?>
<flow-definition plugin="workflow-job@2.17">
  <actions/>
  <description>Android ROM Build</description>
  <keepDependencies>false</keepDependencies>
  <properties>
    <hudson.plugins.buildblocker.BuildBlockerProperty plugin="build-blocker-plugin@1.7.3">
      <useBuildBlocker>false</useBuildBlocker>
      <blockLevel>GLOBAL</blockLevel>
      <scanQueueFor>DISABLED</scanQueueFor>
      <blockingJobs></blockingJobs>
    </hudson.plugins.buildblocker.BuildBlockerProperty>
    <org.jenkinsci.plugins.gogs.GogsProjectProperty plugin="gogs-webhook@1.0.14">
      <gogsSecret>XXXXXXXXXXXXX</gogsSecret>
      <gogsUsePayload>false</gogsUsePayload>
    </org.jenkinsci.plugins.gogs.GogsProjectProperty>
  </properties>
  <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.47">
    <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
      <configVersion>2</configVersion>
      <userRemoteConfigs>
        <hudson.plugins.git.UserRemoteConfig>
          <url>gogs@xxx-xxx.xxx.com:git-admin/SF-Firefly-RK3399.git</url>
          <credentialsId>XXXXXXXXXXXXXX</credentialsId>
        </hudson.plugins.git.UserRemoteConfig>
      </userRemoteConfigs>
      <branches>
        <hudson.plugins.git.BranchSpec>
          <name>*/fresh_after_opersys_patches</name>
        </hudson.plugins.git.BranchSpec>
      </branches>
      <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
      <submoduleCfg class="list"/>
      <extensions>
        <hudson.plugins.git.extensions.impl.CloneOption>
          <shallow>true</shallow>
          <noTags>false</noTags>
          <reference>gogs@xxx-xxx.xxx.com:git-admin/SF-Firefly-RK3399.git</reference>
          <timeout>240</timeout>
          <depth>1</depth>
          <honorRefspec>true</honorRefspec>
        </hudson.plugins.git.extensions.impl.CloneOption>
        <hudson.plugins.git.extensions.impl.CheckoutOption>
          <timeout>240</timeout>
        </hudson.plugins.git.extensions.impl.CheckoutOption>
      </extensions>
    </scm>
    <scriptPath>Jenkinsfile</scriptPath>
    <lightweight>true</lightweight>
  </definition>
  <triggers/>
  <disabled>false</disabled>
</flow-definition>
git
  • 2 个回答
  • 1087 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve