喵星人聚居地 - error
type: channel
link: https://miaostay.com/tag/error/
items: Azure香港B1LS晚间测试
items: Jenkins构建DotNet项目时NuGet报错修复
items: .NET 5.0 Nuget restore 错误
items: racknerd双十一特价服务器测试

Azure香港B1LS晚间测试
type: item
date: 2023-02-25T23:40:00+08:00
description: 写在开始最近因为某些原因开了azure的试用账户，顺便测试一下这个最低配置的b1ls机型速度咋样似乎已经凉了好多年的LemonBenchLemonBench Linux System Benchmark Utility Version 20200426 Intl BetaVersion Bench Start Time: 2023-02-25 14:44:33 Bench Finish Time: 2023-02-25 15:21:10 Test Mode: Full Mode-> System InformationOS Release: Debian GNU/Linux "Sid (Testing)" 11.6 (x86_64) CPU Model: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz 2.59 GHz CPU Cache Size: 36608 KB CPU Number: 1 vCPU Virt Type: Microsoft Hyper-V Memory Usage: 131.18 MB / 410.79 MB Swap Usage: [ No Swapfile / Swap partition ] Disk Usage: 1.10 GB / 30.66 GB Boot Device: /dev/sda1 Load (1/5/15min): 3.56 1.02 0.35 CPU Usage: 0.0% used, 0.0% iowait, 0.0% steal Kernel Version: 5.10.0-21-cloud-amd64 Network CC Method: cubic + pfifo_fast-> Network Information-> Media Unlock TestHBO Now: Yes Bahamut Anime: Failed (due to parse fail) Abema.TV: No Princess Connect Re:Dive Japan: No BBC: No Bilibili China Mainland Only: No Bilibili Hongkong/Macau/Taiwan: Yes Bilibili Taiwan Only: No-> CPU Performance Test (Standard Mode, 3-Pass @ 30sec)1 Thread Test: 992 Scores-> Memory Performance Test (Standard Mode, 3-Pass @ 30sec)1 Thread - Read Test : 20159.21 MB/s 1 Thread - Write Test: 16724.97 MB/s-> Disk Speed Test (4K Block/1M Block, Direct-Write)Test Name Write Speed Read Speed 10MB-4K Block 5.7 MB/s (1393 IOPS, 1.84 s) 5.8 MB/s (1407 IOPS, 1.82 s) 10MB-1M Block 1.6 GB/s (1561 IOPS, 0.01 s) 1.4 GB/s (1347 IOPS, 0.01 s) 100MB-4K Block 5.1 MB/s (1234 IOPS, 20.74 s) 5.1 MB/s (1233 IOPS, 20.75 s) 100MB-1M Block 66.1 MB/s (63 IOPS, 1.59 s) 67.3 MB/s (64 IOPS, 1.56 s) 1GB-4K Block 5.0 MB/s (1219 IOPS, 209.85 s) 5.0 MB/s (1219 IOPS, 209.85 s) 1GB-1M Block 56.9 MB/s (54 IOPS, 18.44 s) 56.7 MB/s (54 IOPS, 18.48 s)-> Speedtest.net Network Speed TestNode Name Upload Speed Download Speed Ping Latency Speedtest Default 113.61 MB/s 903.97 MB/s 2.09 ms China, Jilin CU Fail: Unknown Error China, Shandong CU Fail: Unknown Error China, Nanjing CU Fail: Unknown Error China, Shanghai CU 102.4…

Jenkins构建DotNet项目时NuGet报错修复
type: item
date: 2022-02-03T20:57:00+08:00
description: 写在开始最近打算将原来用的Drone换成Jenkins来着，然后迁移我的DotNet项目，尝试用非Docker方式构建的时候/root/.dotnet/sdk/5.0.404/NuGet.targets(131,5): error : 'N/A' is not a valid version string. (Parameter 'value') 我就非常纳闷，这个神奇的情况，因为我在 Jenkins Runner 的机器上手动执行的时候并没有遇见错误。解决方法看了一下环境变量，看到里面自己加了一个环境变量，export version='N/A'然后就觉得可能是这个原因了，于是手动测试了一下加了这一行环境变量，果然如此。于是在 Jenkinsfile 里面手动加一个version的环境变量，问题解决。写在最后挺无语的一个问题的，开始找了半天也没找到问题所在。以为是缺了啥环境变量，结果检查了一下发现并没有缺，没想到实际上是多了一个环境变量导致的问题。

.NET 5.0 Nuget restore 错误
type: item
date: 2021-01-29T10:07:00+08:00
description: 写在开始最近发现自己的CI服务器无法正常的编译 .NET 5.0 的程序了， 一开始以为是代码有问题， 后来发现问题没有这么简单。错误内容/app/TelegramSearchBot/TelegramSearchBot.csproj : error NU3037: Package 'System.Windows.Extensions 5.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. /app/TelegramSearchBot/TelegramSearchBot.csproj : error NU3028: Package 'System.Windows.Extensions 5.0.0' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain解决方法发现是 .NET 5.0 的Docker编译环境的CA出现了问题，把原来的镜像换成 mcr.microsoft.com/dotnet/sdk:5.0.102-ca-patch-buster-slim 问题就能解决了写在最后这个解决方法是在这里找到的：NuGet/Announcements#49 (comment)倒是没花多少时间，就是突然炸一下挺难受的，不知道啥时候能修好，感觉得改不少仓库的编译。。。

racknerd双十一特价服务器测试
type: item
date: 2020-10-30T15:35:00+08:00
description: 写在开始偶然看到有这么一个机器，而且价格很低，正好最近需要点不是很追求线路但是追求性能的机器，就买了个试试。这台机器是3C4G9T的机器，racknerd的纽约机房，到国内的速度确实很惨，但是性能还是很实在的，算不上亏了。有点意外的是可以玩母猪焊接？好神奇的测试，这明明是美国机器的说。Lemonbench测试LemonBench Linux System Benchmark Utility Version 20201005 Intl BetaVersion Bench Start Time: 2020-10-30 00:38:44 Bench Finish Time: 2020-10-30 01:57:15 Test Mode: Full Mode-> System InformationOS Release: Debian GNU/Linux "Buster" 10.6 (x86_64) CPU Model: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz 2.80 GHz CPU Cache Size: 16384 KB CPU Number: 3 vCPU Virt Type: KVM Memory Usage: 181.15 MB / 3.85 GB Swap Usage: 0 KB / 4.00 GB Disk Usage: 1.38 GB / 78.48 GB Boot Device: /dev/vda1 Load (1/5/15min): 0.31 0.25 0.10 CPU Usage: 0.0% used, 0.0% iowait, % steal Kernel Version: 4.19.0-6-amd64 Network CC Method: cubic + pfifo_fast-> Network InformationIPV4 - IP Address: [US] 107.173.89.* IPV4 - ASN Info: 36352 (AS-COLOCROSSING - ColoCrossing, US) IPV4 - Region: United States New York Buffalo-> Media Unlock TestHBO Now: Yes Bahamut Anime: No Abema.TV: No Princess Connect Re:Dive Japan: Yes BBC: No Bilibili China Mainland Only: No Bilibili Hongkong/Macau/Taiwan: No Bilibili Taiwan Only: No-> CPU Performance Test (Standard Mode, 3-Pass @ 30sec)1 Thread Test: 938 Scores 3 Threads Test: 2747 Scores-> Memory Performance Test (Standard Mode, 3-Pass @ 30sec)1 Thread - Read Test : 19449.60 MB/s 1 Thread - Write Test: 15792.97 MB/s-> Disk Speed Test (4K Block/1M Block, Direct-Write)Test Name Write Speed Read Speed 10MB-4K Block 47.0 MB/s (0.09 IOPS, 0.22 s) 48.1 MB/s (11749 IOPS, 0.22 s) 10MB-1M Block 905 MB/s (862 IOPS, 0.01 s) 816 MB/s (777 IOPS, 0.01 s) 100MB-4K Block 45.4 MB/s (0.09 IOPS, 2.31 s) 45.7 MB/s (11159 IOPS, 2.29 s) 100MB-1M Block 1.3 GB/s (1220 IOPS, 0.08 s) 1.7 GB/s (1635 IOPS, 0.06 s) 1GB-4K Block 45.7 MB/s (0.09 IOPS, 22.95 s) 47.2 MB/s (11520 IOPS, 22.22 s) 1GB-1M Block 1.2 GB/s (1152 IOPS, 0.87 s) 1.3 GB/s (1228 IOPS, 0.81 s)-> Speedtest.net Network Speed TestNode Name Upload Speed Download Speed Ping Latency Serve…