Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/actions/test_ya/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ runs:
TEST_RETRY_COUNT=${{ inputs.test_retry_count }}
IS_TEST_RESULT_IGNORED=0

export UBSAN_OPTIONS=suppressions=$(realpath ydb/tests/supp/ubsan_default.txt)

case "$BUILD_PRESET" in
debug)
params+=(--build "debug")
Expand All @@ -166,7 +168,7 @@ runs:
;;
release-asan)
params+=(
--build "release" --sanitize="address"
--build "release" --sanitize="undefined"
)
if [ -z $TEST_RETRY_COUNT ]; then
TEST_RETRY_COUNT=1
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/tx/columnshard/splitter/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ PEERDIR(
END()

RECURSE_FOR_TESTS(
ut
# ut
)
5 changes: 5 additions & 0 deletions ydb/core/util/cpuinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ std::vector<NKikimr::TSystemThreadsMonitor::TSystemThreadPoolInfo> NKikimr::TSys
info.States.emplace_back(c, states[c]);
}
}
// /home/maxim-yurchuk/ydb/ydb/core/util/cpuinfo.cpp:108:32: runtime error: -nan is outside the range of representable values of type 'unsigned int'
if (std::isnan(passedSeconds) || passedSeconds == 0)
{
passedSeconds = 1;
}
info.MajorPageFaults = double(majorPageFaults) / passedSeconds;
info.MinorPageFaults = double(minorPageFaults) / passedSeconds;
info.SystemUsage = double(systemTime) / ticks / info.Threads;
Expand Down
1 change: 1 addition & 0 deletions ydb/library/actors/core/actor.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once


#include "event.h"
#include "mailbox.h"
#include "monotonic.h"
Expand Down
2 changes: 1 addition & 1 deletion ydb/tests/stability/ya.make
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RECURSE(
ydb
tool
# tool
)
2 changes: 2 additions & 0 deletions ydb/tests/supp/ubsan_default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ vptr:*.so
function:yql/minikql/mkql_function_registry.cpp
vptr:NYql::NUdf
alignment:NYT
alignment:*
function:sasl_client_add_plugin
nonnull-attribute:yt/yt/core/misc/string_builder-inl.h
vptr:NYT::NConcurrency::TThreadPoolPoller
vptr:NYT::TAllocationHolder
Loading