Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixing unit tests with Go version 1.21 #180

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

gatici
Copy link
Contributor

@gatici gatici commented Nov 2, 2023

  • Updating go4.org/unsafe/assume-no-moving-gc to prevent panic caused by outdated version
  • Correcting syntax errors in logging overall
  • Fixing "runtime error: invalid memory address or nil pointer dereference" while running TestSendHeartbeatResponse unit test
  • Fixing IP pool allocation tests
  • Catching error in GetQosFlowIdFromQosId method
  • Changing QosId in makeSampleQosData as integer

@onf-bot
Copy link
Contributor

onf-bot commented Nov 2, 2023

Can one of the admins verify this patch?

1 similar comment
@onf-bot
Copy link
Contributor

onf-bot commented Nov 2, 2023

Can one of the admins verify this patch?

@gatici
Copy link
Contributor Author

gatici commented Nov 2, 2023

Can one of the admins verify this patch?

This PR is validated by running make test and passing all the tests successfully as below:

$ make test
docker run --rm -v /home/gatici/omec/smf:/smf -w /smf golang:latest \
        go test \
                -race \
                -failfast \
                -coverprofile=.coverage/coverage-unit.txt \
                -covermode=atomic \
                -v \
                ./ ./...
?       github.com/omec-project/smf     [no test files]
?       github.com/omec-project/smf/callback    [no test files]
?       github.com/omec-project/smf/consumer    [no test files]
?       github.com/omec-project/smf/eventexposure       [no test files]
?       github.com/omec-project/smf/fsm [no test files]
?       github.com/omec-project/smf/logger      [no test files]
?       github.com/omec-project/smf/msgtypes/pfcpmsgtypes       [no test files]
?       github.com/omec-project/smf/msgtypes/svcmsgtypes        [no test files]
?       github.com/omec-project/smf/oam [no test files]
?       github.com/omec-project/smf/pdusession  [no test files]
?       github.com/omec-project/smf/pfcp/adapter        [no test files]
?       github.com/omec-project/smf/pfcp/upf    [no test files]
?       github.com/omec-project/smf/producer    [no test files]
?       github.com/omec-project/smf/service     [no test files]
?       github.com/omec-project/smf/smferrors   [no test files]
?       github.com/omec-project/smf/transaction [no test files]
?       github.com/omec-project/smf/util        [no test files]
=== RUN   TestIPPoolAlloc
unique id - ip 192.168.238.121 
unique id - offset 1 
unique id - smfCount 0 
Allocated address = 192.168.238.121
unique id - ip 192.168.238.122 
unique id - offset 2 
unique id - smfCount 0 
Allocated address = 192.168.238.122
unique id - ip 192.168.238.123 
unique id - offset 3 
unique id - smfCount 0 
Allocated address = 192.168.238.123
unique id - ip 192.168.238.124 
unique id - offset 4 
unique id - smfCount 0 
Allocated address = 192.168.238.124
unique id - ip 192.168.238.125 
unique id - offset 5 
unique id - smfCount 0 
Allocated address = 192.168.238.125
unique id - ip 192.168.238.126 
unique id - offset 6 
unique id - smfCount 0 
Allocated address = 192.168.238.126
unique id - ip 192.168.238.127 
unique id - offset 7 
unique id - smfCount 0 
Allocated address = 192.168.238.127
unique id - ip 192.168.238.128 
unique id - offset 8 
unique id - smfCount 0 
Allocated address = 192.168.238.128
unique id - ip 192.168.238.129 
unique id - offset 9 
unique id - smfCount 0 
Allocated address = 192.168.238.129
unique id - ip 192.168.238.130 
unique id - offset 10 
unique id - smfCount 0 
Allocated address = 192.168.238.130
unique id - ip 192.168.238.131 
unique id - offset 11 
unique id - smfCount 0 
Allocated address = 192.168.238.131
unique id - ip 192.168.238.132 
unique id - offset 12 
unique id - smfCount 0 
Allocated address = 192.168.238.132
unique id - ip 192.168.238.133 
unique id - offset 13 
unique id - smfCount 0 
Allocated address = 192.168.238.133
unique id - ip 192.168.238.134 
unique id - offset 14 
unique id - smfCount 0 
Allocated address = 192.168.238.134
unique id - ip 192.168.238.135 
unique id - offset 15 
unique id - smfCount 0 
Allocated address = 192.168.238.135
unique id - ip 192.168.238.136 
unique id - offset 16 
unique id - smfCount 0 
Allocated address = 192.168.238.136
unique id - ip 192.168.238.137 
unique id - offset 17 
unique id - smfCount 0 
Allocated address = 192.168.238.137
unique id - ip 192.168.238.138 
unique id - offset 18 
unique id - smfCount 0 
Allocated address = 192.168.238.138
unique id - ip 192.168.238.139 
unique id - offset 19 
unique id - smfCount 0 
Allocated address = 192.168.238.139
unique id - ip 192.168.238.140 
unique id - offset 20 
unique id - smfCount 0 
Allocated address = 192.168.238.140
unique id - ip 192.168.238.141 
unique id - offset 21 
unique id - smfCount 0 
Allocated address = 192.168.238.141
unique id - ip 192.168.238.142 
unique id - offset 22 
unique id - smfCount 0 
Allocated address = 192.168.238.142
unique id - ip 192.168.238.143 
unique id - offset 23 
unique id - smfCount 0 
Allocated address = 192.168.238.143
unique id - ip 192.168.238.144 
unique id - offset 24 
unique id - smfCount 0 
Allocated address = 192.168.238.144
unique id - ip 192.168.238.145 
unique id - offset 25 
unique id - smfCount 0 
Allocated address = 192.168.238.145
unique id - ip 192.168.238.146 
unique id - offset 26 
unique id - smfCount 0 
Allocated address = 192.168.238.146
unique id - ip 192.168.238.147 
unique id - offset 27 
unique id - smfCount 0 
Allocated address = 192.168.238.147
unique id - ip 192.168.238.148 
unique id - offset 28 
unique id - smfCount 0 
Allocated address = 192.168.238.148
unique id - ip 192.168.238.149 
unique id - offset 29 
unique id - smfCount 0 
Allocated address = 192.168.238.149
unique id - ip 192.168.238.150 
unique id - offset 30 
unique id - smfCount 0 
Allocated address = 192.168.238.150
unique id - ip 192.168.238.151 
unique id - offset 31 
unique id - smfCount 0 
Allocated address = 192.168.238.151
unique id - ip 192.168.238.152 
unique id - offset 32 
unique id - smfCount 0 
Allocated address = 192.168.238.152
unique id - ip 192.168.238.153 
unique id - offset 33 
unique id - smfCount 0 
Allocated address = 192.168.238.153
unique id - ip 192.168.238.154 
unique id - offset 34 
unique id - smfCount 0 
Allocated address = 192.168.238.154
unique id - ip 192.168.238.155 
unique id - offset 35 
unique id - smfCount 0 
Allocated address = 192.168.238.155
unique id - ip 192.168.238.156 
unique id - offset 36 
unique id - smfCount 0 
Allocated address = 192.168.238.156
unique id - ip 192.168.238.157 
unique id - offset 37 
unique id - smfCount 0 
Allocated address = 192.168.238.157
unique id - ip 192.168.238.158 
unique id - offset 38 
unique id - smfCount 0 
Allocated address = 192.168.238.158
unique id - ip 192.168.238.159 
unique id - offset 39 
unique id - smfCount 0 
Allocated address = 192.168.238.159
unique id - ip 192.168.238.160 
unique id - offset 40 
unique id - smfCount 0 
Allocated address = 192.168.238.160
unique id - ip 192.168.238.161 
unique id - offset 41 
unique id - smfCount 0 
Allocated address = 192.168.238.161
unique id - ip 192.168.238.162 
unique id - offset 42 
unique id - smfCount 0 
Allocated address = 192.168.238.162
unique id - ip 192.168.238.163 
unique id - offset 43 
unique id - smfCount 0 
Allocated address = 192.168.238.163
unique id - ip 192.168.238.164 
unique id - offset 44 
unique id - smfCount 0 
Allocated address = 192.168.238.164
unique id - ip 192.168.238.165 
unique id - offset 45 
unique id - smfCount 0 
Allocated address = 192.168.238.165
unique id - ip 192.168.238.166 
unique id - offset 46 
unique id - smfCount 0 
Allocated address = 192.168.238.166
unique id - ip 192.168.238.167 
unique id - offset 47 
unique id - smfCount 0 
Allocated address = 192.168.238.167
unique id - ip 192.168.238.168 
unique id - offset 48 
unique id - smfCount 0 
Allocated address = 192.168.238.168
unique id - ip 192.168.238.169 
unique id - offset 49 
unique id - smfCount 0 
Allocated address = 192.168.238.169
unique id - ip 192.168.238.170 
unique id - offset 50 
unique id - smfCount 0 
Allocated address = 192.168.238.170
unique id - ip 192.168.238.171 
unique id - offset 51 
unique id - smfCount 0 
Allocated address = 192.168.238.171
unique id - ip 192.168.238.172 
unique id - offset 52 
unique id - smfCount 0 
Allocated address = 192.168.238.172
unique id - ip 192.168.238.173 
unique id - offset 53 
unique id - smfCount 0 
Allocated address = 192.168.238.173
unique id - ip 192.168.238.174 
unique id - offset 54 
unique id - smfCount 0 
Allocated address = 192.168.238.174
unique id - ip 192.168.238.175 
unique id - offset 55 
unique id - smfCount 0 
Allocated address = 192.168.238.175
unique id - ip 192.168.238.176 
unique id - offset 56 
unique id - smfCount 0 
Allocated address = 192.168.238.176
unique id - ip 192.168.238.177 
unique id - offset 57 
unique id - smfCount 0 
Allocated address = 192.168.238.177
unique id - ip 192.168.238.178 
unique id - offset 58 
unique id - smfCount 0 
Allocated address = 192.168.238.178
unique id - ip 192.168.238.179 
unique id - offset 59 
unique id - smfCount 0 
Allocated address = 192.168.238.179
unique id - ip 192.168.238.180 
unique id - offset 60 
unique id - smfCount 0 
Allocated address = 192.168.238.180
unique id - ip 192.168.238.181 
unique id - offset 61 
unique id - smfCount 0 
Allocated address = 192.168.238.181
unique id - ip 192.168.238.182 
unique id - offset 62 
unique id - smfCount 0 
Allocated address = 192.168.238.182
unique id - ip 192.168.238.183 
unique id - offset 63 
unique id - smfCount 0 
Allocated address = 192.168.238.183
unique id - ip 192.168.238.184 
unique id - offset 64 
unique id - smfCount 0 
Allocated address = 192.168.238.184
unique id - ip 192.168.238.185 
unique id - offset 65 
unique id - smfCount 0 
Allocated address = 192.168.238.185
unique id - ip 192.168.238.186 
unique id - offset 66 
unique id - smfCount 0 
Allocated address = 192.168.238.186
unique id - ip 192.168.238.187 
unique id - offset 67 
unique id - smfCount 0 
Allocated address = 192.168.238.187
unique id - ip 192.168.238.188 
unique id - offset 68 
unique id - smfCount 0 
Allocated address = 192.168.238.188
unique id - ip 192.168.238.189 
unique id - offset 69 
unique id - smfCount 0 
Allocated address = 192.168.238.189
unique id - ip 192.168.238.190 
unique id - offset 70 
unique id - smfCount 0 
Allocated address = 192.168.238.190
unique id - ip 192.168.238.191 
unique id - offset 71 
unique id - smfCount 0 
Allocated address = 192.168.238.191
unique id - ip 192.168.238.192 
unique id - offset 72 
unique id - smfCount 0 
Allocated address = 192.168.238.192
unique id - ip 192.168.238.193 
unique id - offset 73 
unique id - smfCount 0 
Allocated address = 192.168.238.193
unique id - ip 192.168.238.194 
unique id - offset 74 
unique id - smfCount 0 
Allocated address = 192.168.238.194
unique id - ip 192.168.238.195 
unique id - offset 75 
unique id - smfCount 0 
Allocated address = 192.168.238.195
unique id - ip 192.168.238.196 
unique id - offset 76 
unique id - smfCount 0 
Allocated address = 192.168.238.196
unique id - ip 192.168.238.197 
unique id - offset 77 
unique id - smfCount 0 
Allocated address = 192.168.238.197
unique id - ip 192.168.238.198 
unique id - offset 78 
unique id - smfCount 0 
Allocated address = 192.168.238.198
unique id - ip 192.168.238.199 
unique id - offset 79 
unique id - smfCount 0 
Allocated address = 192.168.238.199
unique id - ip 192.168.238.200 
unique id - offset 80 
unique id - smfCount 0 
Allocated address = 192.168.238.200
unique id - ip 192.168.238.201 
unique id - offset 81 
unique id - smfCount 0 
Allocated address = 192.168.238.201
unique id - ip 192.168.238.202 
unique id - offset 82 
unique id - smfCount 0 
Allocated address = 192.168.238.202
unique id - ip 192.168.238.203 
unique id - offset 83 
unique id - smfCount 0 
Allocated address = 192.168.238.203
unique id - ip 192.168.238.204 
unique id - offset 84 
unique id - smfCount 0 
Allocated address = 192.168.238.204
unique id - ip 192.168.238.205 
unique id - offset 85 
unique id - smfCount 0 
Allocated address = 192.168.238.205
unique id - ip 192.168.238.206 
unique id - offset 86 
unique id - smfCount 0 
Allocated address = 192.168.238.206
unique id - ip 192.168.238.207 
unique id - offset 87 
unique id - smfCount 0 
Allocated address = 192.168.238.207
unique id - ip 192.168.238.208 
unique id - offset 88 
unique id - smfCount 0 
Allocated address = 192.168.238.208
unique id - ip 192.168.238.209 
unique id - offset 89 
unique id - smfCount 0 
Allocated address = 192.168.238.209
unique id - ip 192.168.238.210 
unique id - offset 90 
unique id - smfCount 0 
Allocated address = 192.168.238.210
unique id - ip 192.168.238.211 
unique id - offset 91 
unique id - smfCount 0 
Allocated address = 192.168.238.211
unique id - ip 192.168.238.212 
unique id - offset 92 
unique id - smfCount 0 
Allocated address = 192.168.238.212
unique id - ip 192.168.238.213 
unique id - offset 93 
unique id - smfCount 0 
Allocated address = 192.168.238.213
unique id - ip 192.168.238.214 
unique id - offset 94 
unique id - smfCount 0 
Allocated address = 192.168.238.214
unique id - ip 192.168.238.215 
unique id - offset 95 
unique id - smfCount 0 
Allocated address = 192.168.238.215
unique id - ip 192.168.238.216 
unique id - offset 96 
unique id - smfCount 0 
Allocated address = 192.168.238.216
unique id - ip 192.168.238.217 
unique id - offset 97 
unique id - smfCount 0 
Allocated address = 192.168.238.217
unique id - ip 192.168.238.218 
unique id - offset 98 
unique id - smfCount 0 
Allocated address = 192.168.238.218
unique id - ip 192.168.238.219 
unique id - offset 99 
unique id - smfCount 0 
Allocated address = 192.168.238.219
unique id - ip 192.168.238.220 
unique id - offset 100 
unique id - smfCount 0 
Allocated address = 192.168.238.220
unique id - ip 192.168.238.221 
unique id - offset 101 
unique id - smfCount 0 
Allocated address = 192.168.238.221
unique id - ip 192.168.238.222 
unique id - offset 102 
unique id - smfCount 0 
Allocated address = 192.168.238.222
unique id - ip 192.168.238.223 
unique id - offset 103 
unique id - smfCount 0 
Allocated address = 192.168.238.223
unique id - ip 192.168.238.224 
unique id - offset 104 
unique id - smfCount 0 
Allocated address = 192.168.238.224
unique id - ip 192.168.238.225 
unique id - offset 105 
unique id - smfCount 0 
Allocated address = 192.168.238.225
unique id - ip 192.168.238.226 
unique id - offset 106 
unique id - smfCount 0 
Allocated address = 192.168.238.226
unique id - ip 192.168.238.227 
unique id - offset 107 
unique id - smfCount 0 
Allocated address = 192.168.238.227
unique id - ip 192.168.238.228 
unique id - offset 108 
unique id - smfCount 0 
Allocated address = 192.168.238.228
unique id - ip 192.168.238.229 
unique id - offset 109 
unique id - smfCount 0 
Allocated address = 192.168.238.229
unique id - ip 192.168.238.230 
unique id - offset 110 
unique id - smfCount 0 
Allocated address = 192.168.238.230
unique id - ip 192.168.238.231 
unique id - offset 111 
unique id - smfCount 0 
Allocated address = 192.168.238.231
unique id - ip 192.168.238.232 
unique id - offset 112 
unique id - smfCount 0 
Allocated address = 192.168.238.232
unique id - ip 192.168.238.233 
unique id - offset 113 
unique id - smfCount 0 
Allocated address = 192.168.238.233
unique id - ip 192.168.238.234 
unique id - offset 114 
unique id - smfCount 0 
Allocated address = 192.168.238.234
unique id - ip 192.168.238.235 
unique id - offset 115 
unique id - smfCount 0 
Allocated address = 192.168.238.235
unique id - ip 192.168.238.236 
unique id - offset 116 
unique id - smfCount 0 
Allocated address = 192.168.238.236
unique id - ip 192.168.238.237 
unique id - offset 117 
unique id - smfCount 0 
Allocated address = 192.168.238.237
unique id - ip 192.168.238.238 
unique id - offset 118 
unique id - smfCount 0 
Allocated address = 192.168.238.238
unique id - ip 192.168.238.239 
unique id - offset 119 
unique id - smfCount 0 
Allocated address = 192.168.238.239
unique id - ip 192.168.238.240 
unique id - offset 120 
unique id - smfCount 0 
Allocated address = 192.168.238.240
unique id - ip 192.168.238.241 
unique id - offset 121 
unique id - smfCount 0 
Allocated address = 192.168.238.241
unique id - ip 192.168.238.242 
unique id - offset 122 
unique id - smfCount 0 
Allocated address = 192.168.238.242
unique id - ip 192.168.238.243 
unique id - offset 123 
unique id - smfCount 0 
Allocated address = 192.168.238.243
unique id - ip 192.168.238.244 
unique id - offset 124 
unique id - smfCount 0 
Allocated address = 192.168.238.244
unique id - ip 192.168.238.245 
unique id - offset 125 
unique id - smfCount 0 
Allocated address = 192.168.238.245
unique id - ip 192.168.238.246 
unique id - offset 126 
unique id - smfCount 0 
Allocated address = 192.168.238.246
unique id - ip 192.168.238.247 
unique id - offset 127 
unique id - smfCount 0 
Allocated address = 192.168.238.247
unique id - ip 192.168.238.248 
unique id - offset 128 
unique id - smfCount 0 
Allocated address = 192.168.238.248
unique id - ip 192.168.238.249 
unique id - offset 129 
unique id - smfCount 0 
Allocated address = 192.168.238.249
unique id - ip 192.168.238.250 
unique id - offset 130 
unique id - smfCount 0 
Allocated address = 192.168.238.250
unique id - ip 192.168.238.251 
unique id - offset 131 
unique id - smfCount 0 
Allocated address = 192.168.238.251
unique id - ip 192.168.238.252 
unique id - offset 132 
unique id - smfCount 0 
Allocated address = 192.168.238.252
unique id - ip 192.168.238.253 
unique id - offset 133 
unique id - smfCount 0 
Allocated address = 192.168.238.253
unique id - ip 192.168.238.254 
unique id - offset 134 
unique id - smfCount 0 
Allocated address = 192.168.238.254
unique id - ip 192.168.238.255 
unique id - offset 135 
unique id - smfCount 0 
Allocated address = 192.168.238.255
unique id - ip 192.168.238.0 
unique id - offset 136 
unique id - smfCount 0 
Allocated address = 192.168.238.0
unique id - ip 192.168.239.1 
unique id - offset 137 
unique id - smfCount 0 
Allocated address = 192.168.239.1
unique id - ip 192.168.239.2 
unique id - offset 138 
unique id - smfCount 0 
Allocated address = 192.168.239.2
unique id - ip 192.168.239.3 
unique id - offset 139 
unique id - smfCount 0 
Allocated address = 192.168.239.3
unique id - ip 192.168.239.4 
unique id - offset 140 
unique id - smfCount 0 
Allocated address = 192.168.239.4
unique id - ip 192.168.239.5 
unique id - offset 141 
unique id - smfCount 0 
Allocated address = 192.168.239.5
unique id - ip 192.168.239.6 
unique id - offset 142 
unique id - smfCount 0 
Allocated address = 192.168.239.6
unique id - ip 192.168.239.7 
unique id - offset 143 
unique id - smfCount 0 
Allocated address = 192.168.239.7
unique id - ip 192.168.239.8 
unique id - offset 144 
unique id - smfCount 0 
Allocated address = 192.168.239.8
unique id - ip 192.168.239.9 
unique id - offset 145 
unique id - smfCount 0 
Allocated address = 192.168.239.9
unique id - ip 192.168.239.10 
unique id - offset 146 
unique id - smfCount 0 
Allocated address = 192.168.239.10
unique id - ip 192.168.239.11 
unique id - offset 147 
unique id - smfCount 0 
Allocated address = 192.168.239.11
unique id - ip 192.168.239.12 
unique id - offset 148 
unique id - smfCount 0 
Allocated address = 192.168.239.12
unique id - ip 192.168.239.13 
unique id - offset 149 
unique id - smfCount 0 
Allocated address = 192.168.239.13
unique id - ip 192.168.239.14 
unique id - offset 150 
unique id - smfCount 0 
Allocated address = 192.168.239.14
unique id - ip 192.168.239.15 
unique id - offset 151 
unique id - smfCount 0 
Allocated address = 192.168.239.15
unique id - ip 192.168.239.16 
unique id - offset 152 
unique id - smfCount 0 
Allocated address = 192.168.239.16
unique id - ip 192.168.239.17 
unique id - offset 153 
unique id - smfCount 0 
Allocated address = 192.168.239.17
unique id - ip 192.168.239.18 
unique id - offset 154 
unique id - smfCount 0 
Allocated address = 192.168.239.18
unique id - ip 192.168.239.19 
unique id - offset 155 
unique id - smfCount 0 
Allocated address = 192.168.239.19
unique id - ip 192.168.239.20 
unique id - offset 156 
unique id - smfCount 0 
Allocated address = 192.168.239.20
unique id - ip 192.168.239.21 
unique id - offset 157 
unique id - smfCount 0 
Allocated address = 192.168.239.21
unique id - ip 192.168.239.22 
unique id - offset 158 
unique id - smfCount 0 
Allocated address = 192.168.239.22
unique id - ip 192.168.239.23 
unique id - offset 159 
unique id - smfCount 0 
Allocated address = 192.168.239.23
unique id - ip 192.168.239.24 
unique id - offset 160 
unique id - smfCount 0 
Allocated address = 192.168.239.24
unique id - ip 192.168.239.25 
unique id - offset 161 
unique id - smfCount 0 
Allocated address = 192.168.239.25
unique id - ip 192.168.239.26 
unique id - offset 162 
unique id - smfCount 0 
Allocated address = 192.168.239.26
unique id - ip 192.168.239.27 
unique id - offset 163 
unique id - smfCount 0 
Allocated address = 192.168.239.27
unique id - ip 192.168.239.28 
unique id - offset 164 
unique id - smfCount 0 
Allocated address = 192.168.239.28
unique id - ip 192.168.239.29 
unique id - offset 165 
unique id - smfCount 0 
Allocated address = 192.168.239.29
unique id - ip 192.168.239.30 
unique id - offset 166 
unique id - smfCount 0 
Allocated address = 192.168.239.30
unique id - ip 192.168.239.31 
unique id - offset 167 
unique id - smfCount 0 
Allocated address = 192.168.239.31
unique id - ip 192.168.239.32 
unique id - offset 168 
unique id - smfCount 0 
Allocated address = 192.168.239.32
unique id - ip 192.168.239.33 
unique id - offset 169 
unique id - smfCount 0 
Allocated address = 192.168.239.33
unique id - ip 192.168.239.34 
unique id - offset 170 
unique id - smfCount 0 
Allocated address = 192.168.239.34
unique id - ip 192.168.239.35 
unique id - offset 171 
unique id - smfCount 0 
Allocated address = 192.168.239.35
unique id - ip 192.168.239.36 
unique id - offset 172 
unique id - smfCount 0 
Allocated address = 192.168.239.36
unique id - ip 192.168.239.37 
unique id - offset 173 
unique id - smfCount 0 
Allocated address = 192.168.239.37
unique id - ip 192.168.239.38 
unique id - offset 174 
unique id - smfCount 0 
Allocated address = 192.168.239.38
unique id - ip 192.168.239.39 
unique id - offset 175 
unique id - smfCount 0 
Allocated address = 192.168.239.39
unique id - ip 192.168.239.40 
unique id - offset 176 
unique id - smfCount 0 
Allocated address = 192.168.239.40
unique id - ip 192.168.239.41 
unique id - offset 177 
unique id - smfCount 0 
Allocated address = 192.168.239.41
unique id - ip 192.168.239.42 
unique id - offset 178 
unique id - smfCount 0 
Allocated address = 192.168.239.42
unique id - ip 192.168.239.43 
unique id - offset 179 
unique id - smfCount 0 
Allocated address = 192.168.239.43
unique id - ip 192.168.239.44 
unique id - offset 180 
unique id - smfCount 0 
Allocated address = 192.168.239.44
unique id - ip 192.168.239.45 
unique id - offset 181 
unique id - smfCount 0 
Allocated address = 192.168.239.45
unique id - ip 192.168.239.46 
unique id - offset 182 
unique id - smfCount 0 
Allocated address = 192.168.239.46
unique id - ip 192.168.239.47 
unique id - offset 183 
unique id - smfCount 0 
Allocated address = 192.168.239.47
unique id - ip 192.168.239.48 
unique id - offset 184 
unique id - smfCount 0 
Allocated address = 192.168.239.48
unique id - ip 192.168.239.49 
unique id - offset 185 
unique id - smfCount 0 
Allocated address = 192.168.239.49
unique id - ip 192.168.239.50 
unique id - offset 186 
unique id - smfCount 0 
Allocated address = 192.168.239.50
unique id - ip 192.168.239.51 
unique id - offset 187 
unique id - smfCount 0 
Allocated address = 192.168.239.51
unique id - ip 192.168.239.52 
unique id - offset 188 
unique id - smfCount 0 
Allocated address = 192.168.239.52
unique id - ip 192.168.239.53 
unique id - offset 189 
unique id - smfCount 0 
Allocated address = 192.168.239.53
unique id - ip 192.168.239.54 
unique id - offset 190 
unique id - smfCount 0 
Allocated address = 192.168.239.54
unique id - ip 192.168.239.55 
unique id - offset 191 
unique id - smfCount 0 
Allocated address = 192.168.239.55
unique id - ip 192.168.239.56 
unique id - offset 192 
unique id - smfCount 0 
Allocated address = 192.168.239.56
unique id - ip 192.168.239.57 
unique id - offset 193 
unique id - smfCount 0 
Allocated address = 192.168.239.57
unique id - ip 192.168.239.58 
unique id - offset 194 
unique id - smfCount 0 
Allocated address = 192.168.239.58
unique id - ip 192.168.239.59 
unique id - offset 195 
unique id - smfCount 0 
Allocated address = 192.168.239.59
unique id - ip 192.168.239.60 
unique id - offset 196 
unique id - smfCount 0 
Allocated address = 192.168.239.60
unique id - ip 192.168.239.61 
unique id - offset 197 
unique id - smfCount 0 
Allocated address = 192.168.239.61
unique id - ip 192.168.239.62 
unique id - offset 198 
unique id - smfCount 0 
Allocated address = 192.168.239.62
unique id - ip 192.168.239.63 
unique id - offset 199 
unique id - smfCount 0 
Allocated address = 192.168.239.63
unique id - ip 192.168.239.64 
unique id - offset 200 
unique id - smfCount 0 
Allocated address = 192.168.239.64
unique id - ip 192.168.239.65 
unique id - offset 201 
unique id - smfCount 0 
Allocated address = 192.168.239.65
unique id - ip 192.168.239.66 
unique id - offset 202 
unique id - smfCount 0 
Allocated address = 192.168.239.66
unique id - ip 192.168.239.67 
unique id - offset 203 
unique id - smfCount 0 
Allocated address = 192.168.239.67
unique id - ip 192.168.239.68 
unique id - offset 204 
unique id - smfCount 0 
Allocated address = 192.168.239.68
unique id - ip 192.168.239.69 
unique id - offset 205 
unique id - smfCount 0 
Allocated address = 192.168.239.69
unique id - ip 192.168.239.70 
unique id - offset 206 
unique id - smfCount 0 
Allocated address = 192.168.239.70
unique id - ip 192.168.239.71 
unique id - offset 207 
unique id - smfCount 0 
Allocated address = 192.168.239.71
unique id - ip 192.168.239.72 
unique id - offset 208 
unique id - smfCount 0 
Allocated address = 192.168.239.72
unique id - ip 192.168.239.73 
unique id - offset 209 
unique id - smfCount 0 
Allocated address = 192.168.239.73
unique id - ip 192.168.239.74 
unique id - offset 210 
unique id - smfCount 0 
Allocated address = 192.168.239.74
unique id - ip 192.168.239.75 
unique id - offset 211 
unique id - smfCount 0 
Allocated address = 192.168.239.75
unique id - ip 192.168.239.76 
unique id - offset 212 
unique id - smfCount 0 
Allocated address = 192.168.239.76
unique id - ip 192.168.239.77 
unique id - offset 213 
unique id - smfCount 0 
Allocated address = 192.168.239.77
unique id - ip 192.168.239.78 
unique id - offset 214 
unique id - smfCount 0 
Allocated address = 192.168.239.78
unique id - ip 192.168.239.79 
unique id - offset 215 
unique id - smfCount 0 
Allocated address = 192.168.239.79
unique id - ip 192.168.239.80 
unique id - offset 216 
unique id - smfCount 0 
Allocated address = 192.168.239.80
unique id - ip 192.168.239.81 
unique id - offset 217 
unique id - smfCount 0 
Allocated address = 192.168.239.81
unique id - ip 192.168.239.82 
unique id - offset 218 
unique id - smfCount 0 
Allocated address = 192.168.239.82
unique id - ip 192.168.239.83 
unique id - offset 219 
unique id - smfCount 0 
Allocated address = 192.168.239.83
unique id - ip 192.168.239.84 
unique id - offset 220 
unique id - smfCount 0 
Allocated address = 192.168.239.84
unique id - ip 192.168.239.85 
unique id - offset 221 
unique id - smfCount 0 
Allocated address = 192.168.239.85
unique id - ip 192.168.239.86 
unique id - offset 222 
unique id - smfCount 0 
Allocated address = 192.168.239.86
unique id - ip 192.168.239.87 
unique id - offset 223 
unique id - smfCount 0 
Allocated address = 192.168.239.87
unique id - ip 192.168.239.88 
unique id - offset 224 
unique id - smfCount 0 
Allocated address = 192.168.239.88
unique id - ip 192.168.239.89 
unique id - offset 225 
unique id - smfCount 0 
Allocated address = 192.168.239.89
unique id - ip 192.168.239.90 
unique id - offset 226 
unique id - smfCount 0 
Allocated address = 192.168.239.90
unique id - ip 192.168.239.91 
unique id - offset 227 
unique id - smfCount 0 
Allocated address = 192.168.239.91
unique id - ip 192.168.239.92 
unique id - offset 228 
unique id - smfCount 0 
Allocated address = 192.168.239.92
unique id - ip 192.168.239.93 
unique id - offset 229 
unique id - smfCount 0 
Allocated address = 192.168.239.93
unique id - ip 192.168.239.94 
unique id - offset 230 
unique id - smfCount 0 
Allocated address = 192.168.239.94
unique id - ip 192.168.239.95 
unique id - offset 231 
unique id - smfCount 0 
Allocated address = 192.168.239.95
unique id - ip 192.168.239.96 
unique id - offset 232 
unique id - smfCount 0 
Allocated address = 192.168.239.96
unique id - ip 192.168.239.97 
unique id - offset 233 
unique id - smfCount 0 
Allocated address = 192.168.239.97
unique id - ip 192.168.239.98 
unique id - offset 234 
unique id - smfCount 0 
Allocated address = 192.168.239.98
unique id - ip 192.168.239.99 
unique id - offset 235 
unique id - smfCount 0 
Allocated address = 192.168.239.99
unique id - ip 192.168.239.100 
unique id - offset 236 
unique id - smfCount 0 
Allocated address = 192.168.239.100
unique id - ip 192.168.239.101 
unique id - offset 237 
unique id - smfCount 0 
Allocated address = 192.168.239.101
unique id - ip 192.168.239.102 
unique id - offset 238 
unique id - smfCount 0 
Allocated address = 192.168.239.102
unique id - ip 192.168.239.103 
unique id - offset 239 
unique id - smfCount 0 
Allocated address = 192.168.239.103
unique id - ip 192.168.239.104 
unique id - offset 240 
unique id - smfCount 0 
Allocated address = 192.168.239.104
unique id - ip 192.168.239.105 
unique id - offset 241 
unique id - smfCount 0 
Allocated address = 192.168.239.105
unique id - ip 192.168.239.106 
unique id - offset 242 
unique id - smfCount 0 
Allocated address = 192.168.239.106
unique id - ip 192.168.239.107 
unique id - offset 243 
unique id - smfCount 0 
Allocated address = 192.168.239.107
unique id - ip 192.168.239.108 
unique id - offset 244 
unique id - smfCount 0 
Allocated address = 192.168.239.108
unique id - ip 192.168.239.109 
unique id - offset 245 
unique id - smfCount 0 
Allocated address = 192.168.239.109
unique id - ip 192.168.239.110 
unique id - offset 246 
unique id - smfCount 0 
Allocated address = 192.168.239.110
unique id - ip 192.168.239.111 
unique id - offset 247 
unique id - smfCount 0 
Allocated address = 192.168.239.111
unique id - ip 192.168.239.112 
unique id - offset 248 
unique id - smfCount 0 
Allocated address = 192.168.239.112
unique id - ip 192.168.239.113 
unique id - offset 249 
unique id - smfCount 0 
Allocated address = 192.168.239.113
unique id - ip 192.168.239.114 
unique id - offset 250 
unique id - smfCount 0 
Allocated address = 192.168.239.114
unique id - ip 192.168.239.115 
unique id - offset 251 
unique id - smfCount 0 
Allocated address = 192.168.239.115
unique id - ip 192.168.239.116 
unique id - offset 252 
unique id - smfCount 0 
Allocated address = 192.168.239.116
unique id - ip 192.168.239.117 
unique id - offset 253 
unique id - smfCount 0 
Allocated address = 192.168.239.117
unique id - ip 192.168.239.118 
unique id - offset 254 
unique id - smfCount 0 
Allocated address = 192.168.239.118
--- PASS: TestIPPoolAlloc (0.01s)
=== RUN   TestIPPoolAllocRelease
unique id - ip 192.168.237.121 
unique id - offset 1 
unique id - smfCount 0 
Allocated address = 192.168.237.121
unique id - ip 192.168.237.122 
unique id - offset 2 
unique id - smfCount 0 
Allocated address = 192.168.237.122
unique id - ip 192.168.237.123 
unique id - offset 3 
unique id - smfCount 0 
Allocated address = 192.168.237.123
unique id - ip 192.168.237.124 
unique id - offset 4 
unique id - smfCount 0 
Allocated address = 192.168.237.124
unique id - ip 192.168.237.125 
unique id - offset 5 
unique id - smfCount 0 
Allocated address = 192.168.237.125
unique id - ip 192.168.237.126 
unique id - offset 6 
unique id - smfCount 0 
Allocated address = 192.168.237.126
unique id - ip 192.168.237.127 
unique id - offset 7 
unique id - smfCount 0 
Allocated address = 192.168.237.127
unique id - ip 192.168.237.128 
unique id - offset 8 
unique id - smfCount 0 
Allocated address = 192.168.237.128
unique id - ip 192.168.237.129 
unique id - offset 9 
unique id - smfCount 0 
Allocated address = 192.168.237.129
unique id - ip 192.168.237.130 
unique id - offset 10 
unique id - smfCount 0 
Allocated address = 192.168.237.130
unique id - ip 192.168.237.131 
unique id - offset 11 
unique id - smfCount 0 
Allocated address = 192.168.237.131
unique id - ip 192.168.237.132 
unique id - offset 12 
unique id - smfCount 0 
Allocated address = 192.168.237.132
unique id - ip 192.168.237.133 
unique id - offset 13 
unique id - smfCount 0 
Allocated address = 192.168.237.133
unique id - ip 192.168.237.134 
unique id - offset 14 
unique id - smfCount 0 
Allocated address = 192.168.237.134
unique id - ip 192.168.237.135 
unique id - offset 15 
unique id - smfCount 0 
Allocated address = 192.168.237.135
unique id - ip 192.168.237.136 
unique id - offset 16 
unique id - smfCount 0 
Allocated address = 192.168.237.136
unique id - ip 192.168.237.137 
unique id - offset 17 
unique id - smfCount 0 
Allocated address = 192.168.237.137
unique id - ip 192.168.237.138 
unique id - offset 18 
unique id - smfCount 0 
Allocated address = 192.168.237.138
unique id - ip 192.168.237.139 
unique id - offset 19 
unique id - smfCount 0 
Allocated address = 192.168.237.139
unique id - ip 192.168.237.140 
unique id - offset 20 
unique id - smfCount 0 
Allocated address = 192.168.237.140
unique id - ip 192.168.237.141 
unique id - offset 21 
unique id - smfCount 0 
Allocated address = 192.168.237.141
unique id - ip 192.168.237.142 
unique id - offset 22 
unique id - smfCount 0 
Allocated address = 192.168.237.142
unique id - ip 192.168.237.143 
unique id - offset 23 
unique id - smfCount 0 
Allocated address = 192.168.237.143
unique id - ip 192.168.237.144 
unique id - offset 24 
unique id - smfCount 0 
Allocated address = 192.168.237.144
unique id - ip 192.168.237.145 
unique id - offset 25 
unique id - smfCount 0 
Allocated address = 192.168.237.145
unique id - ip 192.168.237.146 
unique id - offset 26 
unique id - smfCount 0 
Allocated address = 192.168.237.146
unique id - ip 192.168.237.147 
unique id - offset 27 
unique id - smfCount 0 
Allocated address = 192.168.237.147
unique id - ip 192.168.237.148 
unique id - offset 28 
unique id - smfCount 0 
Allocated address = 192.168.237.148
unique id - ip 192.168.237.149 
unique id - offset 29 
unique id - smfCount 0 
Allocated address = 192.168.237.149
unique id - ip 192.168.237.150 
unique id - offset 30 
unique id - smfCount 0 
Allocated address = 192.168.237.150
unique id - ip 192.168.237.151 
unique id - offset 31 
unique id - smfCount 0 
Allocated address = 192.168.237.151
unique id - ip 192.168.237.152 
unique id - offset 32 
unique id - smfCount 0 
Allocated address = 192.168.237.152
unique id - ip 192.168.237.153 
unique id - offset 33 
unique id - smfCount 0 
Allocated address = 192.168.237.153
unique id - ip 192.168.237.154 
unique id - offset 34 
unique id - smfCount 0 
Allocated address = 192.168.237.154
unique id - ip 192.168.237.155 
unique id - offset 35 
unique id - smfCount 0 
Allocated address = 192.168.237.155
unique id - ip 192.168.237.156 
unique id - offset 36 
unique id - smfCount 0 
Allocated address = 192.168.237.156
unique id - ip 192.168.237.157 
unique id - offset 37 
unique id - smfCount 0 
Allocated address = 192.168.237.157
unique id - ip 192.168.237.158 
unique id - offset 38 
unique id - smfCount 0 
Allocated address = 192.168.237.158
unique id - ip 192.168.237.159 
unique id - offset 39 
unique id - smfCount 0 
Allocated address = 192.168.237.159
unique id - ip 192.168.237.160 
unique id - offset 40 
unique id - smfCount 0 
Allocated address = 192.168.237.160
unique id - ip 192.168.237.161 
unique id - offset 41 
unique id - smfCount 0 
Allocated address = 192.168.237.161
unique id - ip 192.168.237.162 
unique id - offset 42 
unique id - smfCount 0 
Allocated address = 192.168.237.162
unique id - ip 192.168.237.163 
unique id - offset 43 
unique id - smfCount 0 
Allocated address = 192.168.237.163
unique id - ip 192.168.237.164 
unique id - offset 44 
unique id - smfCount 0 
Allocated address = 192.168.237.164
unique id - ip 192.168.237.165 
unique id - offset 45 
unique id - smfCount 0 
Allocated address = 192.168.237.165
unique id - ip 192.168.237.166 
unique id - offset 46 
unique id - smfCount 0 
Allocated address = 192.168.237.166
unique id - ip 192.168.237.167 
unique id - offset 47 
unique id - smfCount 0 
Allocated address = 192.168.237.167
unique id - ip 192.168.237.168 
unique id - offset 48 
unique id - smfCount 0 
Allocated address = 192.168.237.168
unique id - ip 192.168.237.169 
unique id - offset 49 
unique id - smfCount 0 
Allocated address = 192.168.237.169
unique id - ip 192.168.237.170 
unique id - offset 50 
unique id - smfCount 0 
Allocated address = 192.168.237.170
unique id - ip 192.168.237.171 
unique id - offset 51 
unique id - smfCount 0 
Allocated address = 192.168.237.171
unique id - ip 192.168.237.172 
unique id - offset 52 
unique id - smfCount 0 
Allocated address = 192.168.237.172
unique id - ip 192.168.237.173 
unique id - offset 53 
unique id - smfCount 0 
Allocated address = 192.168.237.173
unique id - ip 192.168.237.174 
unique id - offset 54 
unique id - smfCount 0 
Allocated address = 192.168.237.174
unique id - ip 192.168.237.175 
unique id - offset 55 
unique id - smfCount 0 
Allocated address = 192.168.237.175
unique id - ip 192.168.237.176 
unique id - offset 56 
unique id - smfCount 0 
Allocated address = 192.168.237.176
unique id - ip 192.168.237.177 
unique id - offset 57 
unique id - smfCount 0 
Allocated address = 192.168.237.177
unique id - ip 192.168.237.178 
unique id - offset 58 
unique id - smfCount 0 
Allocated address = 192.168.237.178
unique id - ip 192.168.237.179 
unique id - offset 59 
unique id - smfCount 0 
Allocated address = 192.168.237.179
unique id - ip 192.168.237.180 
unique id - offset 60 
unique id - smfCount 0 
Allocated address = 192.168.237.180
unique id - ip 192.168.237.181 
unique id - offset 61 
unique id - smfCount 0 
Allocated address = 192.168.237.181
unique id - ip 192.168.237.182 
unique id - offset 62 
unique id - smfCount 0 
Allocated address = 192.168.237.182
unique id - ip 192.168.237.183 
unique id - offset 63 
unique id - smfCount 0 
Allocated address = 192.168.237.183
unique id - ip 192.168.237.184 
unique id - offset 64 
unique id - smfCount 0 
Allocated address = 192.168.237.184
unique id - ip 192.168.237.185 
unique id - offset 65 
unique id - smfCount 0 
Allocated address = 192.168.237.185
unique id - ip 192.168.237.186 
unique id - offset 66 
unique id - smfCount 0 
Allocated address = 192.168.237.186
unique id - ip 192.168.237.187 
unique id - offset 67 
unique id - smfCount 0 
Allocated address = 192.168.237.187
unique id - ip 192.168.237.188 
unique id - offset 68 
unique id - smfCount 0 
Allocated address = 192.168.237.188
unique id - ip 192.168.237.189 
unique id - offset 69 
unique id - smfCount 0 
Allocated address = 192.168.237.189
unique id - ip 192.168.237.190 
unique id - offset 70 
unique id - smfCount 0 
Allocated address = 192.168.237.190
unique id - ip 192.168.237.191 
unique id - offset 71 
unique id - smfCount 0 
Allocated address = 192.168.237.191
unique id - ip 192.168.237.192 
unique id - offset 72 
unique id - smfCount 0 
Allocated address = 192.168.237.192
unique id - ip 192.168.237.193 
unique id - offset 73 
unique id - smfCount 0 
Allocated address = 192.168.237.193
unique id - ip 192.168.237.194 
unique id - offset 74 
unique id - smfCount 0 
Allocated address = 192.168.237.194
unique id - ip 192.168.237.195 
unique id - offset 75 
unique id - smfCount 0 
Allocated address = 192.168.237.195
unique id - ip 192.168.237.196 
unique id - offset 76 
unique id - smfCount 0 
Allocated address = 192.168.237.196
unique id - ip 192.168.237.197 
unique id - offset 77 
unique id - smfCount 0 
Allocated address = 192.168.237.197
unique id - ip 192.168.237.198 
unique id - offset 78 
unique id - smfCount 0 
Allocated address = 192.168.237.198
unique id - ip 192.168.237.199 
unique id - offset 79 
unique id - smfCount 0 
Allocated address = 192.168.237.199
unique id - ip 192.168.237.200 
unique id - offset 80 
unique id - smfCount 0 
Allocated address = 192.168.237.200
unique id - ip 192.168.237.201 
unique id - offset 81 
unique id - smfCount 0 
Allocated address = 192.168.237.201
unique id - ip 192.168.237.202 
unique id - offset 82 
unique id - smfCount 0 
Allocated address = 192.168.237.202
unique id - ip 192.168.237.203 
unique id - offset 83 
unique id - smfCount 0 
Allocated address = 192.168.237.203
unique id - ip 192.168.237.204 
unique id - offset 84 
unique id - smfCount 0 
Allocated address = 192.168.237.204
unique id - ip 192.168.237.205 
unique id - offset 85 
unique id - smfCount 0 
Allocated address = 192.168.237.205
unique id - ip 192.168.237.206 
unique id - offset 86 
unique id - smfCount 0 
Allocated address = 192.168.237.206
unique id - ip 192.168.237.207 
unique id - offset 87 
unique id - smfCount 0 
Allocated address = 192.168.237.207
unique id - ip 192.168.237.208 
unique id - offset 88 
unique id - smfCount 0 
Allocated address = 192.168.237.208
unique id - ip 192.168.237.209 
unique id - offset 89 
unique id - smfCount 0 
Allocated address = 192.168.237.209
unique id - ip 192.168.237.210 
unique id - offset 90 
unique id - smfCount 0 
Allocated address = 192.168.237.210
unique id - ip 192.168.237.211 
unique id - offset 91 
unique id - smfCount 0 
Allocated address = 192.168.237.211
unique id - ip 192.168.237.212 
unique id - offset 92 
unique id - smfCount 0 
Allocated address = 192.168.237.212
unique id - ip 192.168.237.213 
unique id - offset 93 
unique id - smfCount 0 
Allocated address = 192.168.237.213
unique id - ip 192.168.237.214 
unique id - offset 94 
unique id - smfCount 0 
Allocated address = 192.168.237.214
unique id - ip 192.168.237.215 
unique id - offset 95 
unique id - smfCount 0 
Allocated address = 192.168.237.215
unique id - ip 192.168.237.216 
unique id - offset 96 
unique id - smfCount 0 
Allocated address = 192.168.237.216
unique id - ip 192.168.237.217 
unique id - offset 97 
unique id - smfCount 0 
Allocated address = 192.168.237.217
unique id - ip 192.168.237.218 
unique id - offset 98 
unique id - smfCount 0 
Allocated address = 192.168.237.218
unique id - ip 192.168.237.219 
unique id - offset 99 
unique id - smfCount 0 
Allocated address = 192.168.237.219
unique id - ip 192.168.237.220 
unique id - offset 100 
unique id - smfCount 0 
Allocated address = 192.168.237.220
unique id - ip 192.168.237.221 
unique id - offset 101 
unique id - smfCount 0 
Allocated address = 192.168.237.221
unique id - ip 192.168.237.222 
unique id - offset 102 
unique id - smfCount 0 
Allocated address = 192.168.237.222
unique id - ip 192.168.237.223 
unique id - offset 103 
unique id - smfCount 0 
Allocated address = 192.168.237.223
unique id - ip 192.168.237.224 
unique id - offset 104 
unique id - smfCount 0 
Allocated address = 192.168.237.224
unique id - ip 192.168.237.225 
unique id - offset 105 
unique id - smfCount 0 
Allocated address = 192.168.237.225
unique id - ip 192.168.237.226 
unique id - offset 106 
unique id - smfCount 0 
Allocated address = 192.168.237.226
unique id - ip 192.168.237.227 
unique id - offset 107 
unique id - smfCount 0 
Allocated address = 192.168.237.227
unique id - ip 192.168.237.228 
unique id - offset 108 
unique id - smfCount 0 
Allocated address = 192.168.237.228
unique id - ip 192.168.237.229 
unique id - offset 109 
unique id - smfCount 0 
Allocated address = 192.168.237.229
unique id - ip 192.168.237.230 
unique id - offset 110 
unique id - smfCount 0 
Allocated address = 192.168.237.230
unique id - ip 192.168.237.231 
unique id - offset 111 
unique id - smfCount 0 
Allocated address = 192.168.237.231
unique id - ip 192.168.237.232 
unique id - offset 112 
unique id - smfCount 0 
Allocated address = 192.168.237.232
unique id - ip 192.168.237.233 
unique id - offset 113 
unique id - smfCount 0 
Allocated address = 192.168.237.233
unique id - ip 192.168.237.234 
unique id - offset 114 
unique id - smfCount 0 
Allocated address = 192.168.237.234
unique id - ip 192.168.237.235 
unique id - offset 115 
unique id - smfCount 0 
Allocated address = 192.168.237.235
unique id - ip 192.168.237.236 
unique id - offset 116 
unique id - smfCount 0 
Allocated address = 192.168.237.236
unique id - ip 192.168.237.237 
unique id - offset 117 
unique id - smfCount 0 
Allocated address = 192.168.237.237
unique id - ip 192.168.237.238 
unique id - offset 118 
unique id - smfCount 0 
Allocated address = 192.168.237.238
unique id - ip 192.168.237.239 
unique id - offset 119 
unique id - smfCount 0 
Allocated address = 192.168.237.239
unique id - ip 192.168.237.240 
unique id - offset 120 
unique id - smfCount 0 
Allocated address = 192.168.237.240
unique id - ip 192.168.237.241 
unique id - offset 121 
unique id - smfCount 0 
Allocated address = 192.168.237.241
unique id - ip 192.168.237.242 
unique id - offset 122 
unique id - smfCount 0 
Allocated address = 192.168.237.242
unique id - ip 192.168.237.243 
unique id - offset 123 
unique id - smfCount 0 
Allocated address = 192.168.237.243
unique id - ip 192.168.237.244 
unique id - offset 124 
unique id - smfCount 0 
Allocated address = 192.168.237.244
unique id - ip 192.168.237.245 
unique id - offset 125 
unique id - smfCount 0 
Allocated address = 192.168.237.245
unique id - ip 192.168.237.246 
unique id - offset 126 
unique id - smfCount 0 
Allocated address = 192.168.237.246
unique id - ip 192.168.237.247 
unique id - offset 127 
unique id - smfCount 0 
Allocated address = 192.168.237.247
unique id - ip 192.168.237.248 
unique id - offset 128 
unique id - smfCount 0 
Allocated address = 192.168.237.248
unique id - ip 192.168.237.249 
unique id - offset 129 
unique id - smfCount 0 
Allocated address = 192.168.237.249
unique id - ip 192.168.237.250 
unique id - offset 130 
unique id - smfCount 0 
Allocated address = 192.168.237.250
unique id - ip 192.168.237.251 
unique id - offset 131 
unique id - smfCount 0 
Allocated address = 192.168.237.251
unique id - ip 192.168.237.252 
unique id - offset 132 
unique id - smfCount 0 
Allocated address = 192.168.237.252
unique id - ip 192.168.237.253 
unique id - offset 133 
unique id - smfCount 0 
Allocated address = 192.168.237.253
unique id - ip 192.168.237.254 
unique id - offset 134 
unique id - smfCount 0 
Allocated address = 192.168.237.254
unique id - ip 192.168.237.255 
unique id - offset 135 
unique id - smfCount 0 
Allocated address = 192.168.237.255
unique id - ip 192.168.237.0 
unique id - offset 136 
unique id - smfCount 0 
Allocated address = 192.168.237.0
unique id - ip 192.168.238.1 
unique id - offset 137 
unique id - smfCount 0 
Allocated address = 192.168.238.1
unique id - ip 192.168.238.2 
unique id - offset 138 
unique id - smfCount 0 
Allocated address = 192.168.238.2
unique id - ip 192.168.238.3 
unique id - offset 139 
unique id - smfCount 0 
Allocated address = 192.168.238.3
unique id - ip 192.168.238.4 
unique id - offset 140 
unique id - smfCount 0 
Allocated address = 192.168.238.4
unique id - ip 192.168.238.5 
unique id - offset 141 
unique id - smfCount 0 
Allocated address = 192.168.238.5
unique id - ip 192.168.238.6 
unique id - offset 142 
unique id - smfCount 0 
Allocated address = 192.168.238.6
unique id - ip 192.168.238.7 
unique id - offset 143 
unique id - smfCount 0 
Allocated address = 192.168.238.7
unique id - ip 192.168.238.8 
unique id - offset 144 
unique id - smfCount 0 
Allocated address = 192.168.238.8
unique id - ip 192.168.238.9 
unique id - offset 145 
unique id - smfCount 0 
Allocated address = 192.168.238.9
unique id - ip 192.168.238.10 
unique id - offset 146 
unique id - smfCount 0 
Allocated address = 192.168.238.10
unique id - ip 192.168.238.11 
unique id - offset 147 
unique id - smfCount 0 
Allocated address = 192.168.238.11
unique id - ip 192.168.238.12 
unique id - offset 148 
unique id - smfCount 0 
Allocated address = 192.168.238.12
unique id - ip 192.168.238.13 
unique id - offset 149 
unique id - smfCount 0 
Allocated address = 192.168.238.13
unique id - ip 192.168.238.14 
unique id - offset 150 
unique id - smfCount 0 
Allocated address = 192.168.238.14
unique id - ip 192.168.238.15 
unique id - offset 151 
unique id - smfCount 0 
Allocated address = 192.168.238.15
unique id - ip 192.168.238.16 
unique id - offset 152 
unique id - smfCount 0 
Allocated address = 192.168.238.16
unique id - ip 192.168.238.17 
unique id - offset 153 
unique id - smfCount 0 
Allocated address = 192.168.238.17
unique id - ip 192.168.238.18 
unique id - offset 154 
unique id - smfCount 0 
Allocated address = 192.168.238.18
unique id - ip 192.168.238.19 
unique id - offset 155 
unique id - smfCount 0 
Allocated address = 192.168.238.19
unique id - ip 192.168.238.20 
unique id - offset 156 
unique id - smfCount 0 
Allocated address = 192.168.238.20
unique id - ip 192.168.238.21 
unique id - offset 157 
unique id - smfCount 0 
Allocated address = 192.168.238.21
unique id - ip 192.168.238.22 
unique id - offset 158 
unique id - smfCount 0 
Allocated address = 192.168.238.22
unique id - ip 192.168.238.23 
unique id - offset 159 
unique id - smfCount 0 
Allocated address = 192.168.238.23
unique id - ip 192.168.238.24 
unique id - offset 160 
unique id - smfCount 0 
Allocated address = 192.168.238.24
unique id - ip 192.168.238.25 
unique id - offset 161 
unique id - smfCount 0 
Allocated address = 192.168.238.25
unique id - ip 192.168.238.26 
unique id - offset 162 
unique id - smfCount 0 
Allocated address = 192.168.238.26
unique id - ip 192.168.238.27 
unique id - offset 163 
unique id - smfCount 0 
Allocated address = 192.168.238.27
unique id - ip 192.168.238.28 
unique id - offset 164 
unique id - smfCount 0 
Allocated address = 192.168.238.28
unique id - ip 192.168.238.29 
unique id - offset 165 
unique id - smfCount 0 
Allocated address = 192.168.238.29
unique id - ip 192.168.238.30 
unique id - offset 166 
unique id - smfCount 0 
Allocated address = 192.168.238.30
unique id - ip 192.168.238.31 
unique id - offset 167 
unique id - smfCount 0 
Allocated address = 192.168.238.31
unique id - ip 192.168.238.32 
unique id - offset 168 
unique id - smfCount 0 
Allocated address = 192.168.238.32
unique id - ip 192.168.238.33 
unique id - offset 169 
unique id - smfCount 0 
Allocated address = 192.168.238.33
unique id - ip 192.168.238.34 
unique id - offset 170 
unique id - smfCount 0 
Allocated address = 192.168.238.34
unique id - ip 192.168.238.35 
unique id - offset 171 
unique id - smfCount 0 
Allocated address = 192.168.238.35
unique id - ip 192.168.238.36 
unique id - offset 172 
unique id - smfCount 0 
Allocated address = 192.168.238.36
unique id - ip 192.168.238.37 
unique id - offset 173 
unique id - smfCount 0 
Allocated address = 192.168.238.37
unique id - ip 192.168.238.38 
unique id - offset 174 
unique id - smfCount 0 
Allocated address = 192.168.238.38
unique id - ip 192.168.238.39 
unique id - offset 175 
unique id - smfCount 0 
Allocated address = 192.168.238.39
unique id - ip 192.168.238.40 
unique id - offset 176 
unique id - smfCount 0 
Allocated address = 192.168.238.40
unique id - ip 192.168.238.41 
unique id - offset 177 
unique id - smfCount 0 
Allocated address = 192.168.238.41
unique id - ip 192.168.238.42 
unique id - offset 178 
unique id - smfCount 0 
Allocated address = 192.168.238.42
unique id - ip 192.168.238.43 
unique id - offset 179 
unique id - smfCount 0 
Allocated address = 192.168.238.43
unique id - ip 192.168.238.44 
unique id - offset 180 
unique id - smfCount 0 
Allocated address = 192.168.238.44
unique id - ip 192.168.238.45 
unique id - offset 181 
unique id - smfCount 0 
Allocated address = 192.168.238.45
unique id - ip 192.168.238.46 
unique id - offset 182 
unique id - smfCount 0 
Allocated address = 192.168.238.46
unique id - ip 192.168.238.47 
unique id - offset 183 
unique id - smfCount 0 
Allocated address = 192.168.238.47
unique id - ip 192.168.238.48 
unique id - offset 184 
unique id - smfCount 0 
Allocated address = 192.168.238.48
unique id - ip 192.168.238.49 
unique id - offset 185 
unique id - smfCount 0 
Allocated address = 192.168.238.49
unique id - ip 192.168.238.50 
unique id - offset 186 
unique id - smfCount 0 
Allocated address = 192.168.238.50
unique id - ip 192.168.238.51 
unique id - offset 187 
unique id - smfCount 0 
Allocated address = 192.168.238.51
unique id - ip 192.168.238.52 
unique id - offset 188 
unique id - smfCount 0 
Allocated address = 192.168.238.52
unique id - ip 192.168.238.53 
unique id - offset 189 
unique id - smfCount 0 
Allocated address = 192.168.238.53
unique id - ip 192.168.238.54 
unique id - offset 190 
unique id - smfCount 0 
Allocated address = 192.168.238.54
unique id - ip 192.168.238.55 
unique id - offset 191 
unique id - smfCount 0 
Allocated address = 192.168.238.55
unique id - ip 192.168.238.56 
unique id - offset 192 
unique id - smfCount 0 
Allocated address = 192.168.238.56
unique id - ip 192.168.238.57 
unique id - offset 193 
unique id - smfCount 0 
Allocated address = 192.168.238.57
unique id - ip 192.168.238.58 
unique id - offset 194 
unique id - smfCount 0 
Allocated address = 192.168.238.58
unique id - ip 192.168.238.59 
unique id - offset 195 
unique id - smfCount 0 
Allocated address = 192.168.238.59
unique id - ip 192.168.238.60 
unique id - offset 196 
unique id - smfCount 0 
Allocated address = 192.168.238.60
unique id - ip 192.168.238.61 
unique id - offset 197 
unique id - smfCount 0 
Allocated address = 192.168.238.61
unique id - ip 192.168.238.62 
unique id - offset 198 
unique id - smfCount 0 
Allocated address = 192.168.238.62
unique id - ip 192.168.238.63 
unique id - offset 199 
unique id - smfCount 0 
Allocated address = 192.168.238.63
unique id - ip 192.168.238.64 
unique id - offset 200 
unique id - smfCount 0 
Allocated address = 192.168.238.64
unique id - ip 192.168.238.65 
unique id - offset 201 
unique id - smfCount 0 
Allocated address = 192.168.238.65
unique id - ip 192.168.238.66 
unique id - offset 202 
unique id - smfCount 0 
Allocated address = 192.168.238.66
unique id - ip 192.168.238.67 
unique id - offset 203 
unique id - smfCount 0 
Allocated address = 192.168.238.67
unique id - ip 192.168.238.68 
unique id - offset 204 
unique id - smfCount 0 
Allocated address = 192.168.238.68
unique id - ip 192.168.238.69 
unique id - offset 205 
unique id - smfCount 0 
Allocated address = 192.168.238.69
unique id - ip 192.168.238.70 
unique id - offset 206 
unique id - smfCount 0 
Allocated address = 192.168.238.70
unique id - ip 192.168.238.71 
unique id - offset 207 
unique id - smfCount 0 
Allocated address = 192.168.238.71
unique id - ip 192.168.238.72 
unique id - offset 208 
unique id - smfCount 0 
Allocated address = 192.168.238.72
unique id - ip 192.168.238.73 
unique id - offset 209 
unique id - smfCount 0 
Allocated address = 192.168.238.73
unique id - ip 192.168.238.74 
unique id - offset 210 
unique id - smfCount 0 
Allocated address = 192.168.238.74
unique id - ip 192.168.238.75 
unique id - offset 211 
unique id - smfCount 0 
Allocated address = 192.168.238.75
unique id - ip 192.168.238.76 
unique id - offset 212 
unique id - smfCount 0 
Allocated address = 192.168.238.76
unique id - ip 192.168.238.77 
unique id - offset 213 
unique id - smfCount 0 
Allocated address = 192.168.238.77
unique id - ip 192.168.238.78 
unique id - offset 214 
unique id - smfCount 0 
Allocated address = 192.168.238.78
unique id - ip 192.168.238.79 
unique id - offset 215 
unique id - smfCount 0 
Allocated address = 192.168.238.79
unique id - ip 192.168.238.80 
unique id - offset 216 
unique id - smfCount 0 
Allocated address = 192.168.238.80
unique id - ip 192.168.238.81 
unique id - offset 217 
unique id - smfCount 0 
Allocated address = 192.168.238.81
unique id - ip 192.168.238.82 
unique id - offset 218 
unique id - smfCount 0 
Allocated address = 192.168.238.82
unique id - ip 192.168.238.83 
unique id - offset 219 
unique id - smfCount 0 
Allocated address = 192.168.238.83
unique id - ip 192.168.238.84 
unique id - offset 220 
unique id - smfCount 0 
Allocated address = 192.168.238.84
unique id - ip 192.168.238.85 
unique id - offset 221 
unique id - smfCount 0 
Allocated address = 192.168.238.85
unique id - ip 192.168.238.86 
unique id - offset 222 
unique id - smfCount 0 
Allocated address = 192.168.238.86
unique id - ip 192.168.238.87 
unique id - offset 223 
unique id - smfCount 0 
Allocated address = 192.168.238.87
unique id - ip 192.168.238.88 
unique id - offset 224 
unique id - smfCount 0 
Allocated address = 192.168.238.88
unique id - ip 192.168.238.89 
unique id - offset 225 
unique id - smfCount 0 
Allocated address = 192.168.238.89
unique id - ip 192.168.238.90 
unique id - offset 226 
unique id - smfCount 0 
Allocated address = 192.168.238.90
unique id - ip 192.168.238.91 
unique id - offset 227 
unique id - smfCount 0 
Allocated address = 192.168.238.91
unique id - ip 192.168.238.92 
unique id - offset 228 
unique id - smfCount 0 
Allocated address = 192.168.238.92
unique id - ip 192.168.238.93 
unique id - offset 229 
unique id - smfCount 0 
Allocated address = 192.168.238.93
unique id - ip 192.168.238.94 
unique id - offset 230 
unique id - smfCount 0 
Allocated address = 192.168.238.94
unique id - ip 192.168.238.95 
unique id - offset 231 
unique id - smfCount 0 
Allocated address = 192.168.238.95
unique id - ip 192.168.238.96 
unique id - offset 232 
unique id - smfCount 0 
Allocated address = 192.168.238.96
unique id - ip 192.168.238.97 
unique id - offset 233 
unique id - smfCount 0 
Allocated address = 192.168.238.97
unique id - ip 192.168.238.98 
unique id - offset 234 
unique id - smfCount 0 
Allocated address = 192.168.238.98
unique id - ip 192.168.238.99 
unique id - offset 235 
unique id - smfCount 0 
Allocated address = 192.168.238.99
unique id - ip 192.168.238.100 
unique id - offset 236 
unique id - smfCount 0 
Allocated address = 192.168.238.100
unique id - ip 192.168.238.101 
unique id - offset 237 
unique id - smfCount 0 
Allocated address = 192.168.238.101
unique id - ip 192.168.238.102 
unique id - offset 238 
unique id - smfCount 0 
Allocated address = 192.168.238.102
unique id - ip 192.168.238.103 
unique id - offset 239 
unique id - smfCount 0 
Allocated address = 192.168.238.103
unique id - ip 192.168.238.104 
unique id - offset 240 
unique id - smfCount 0 
Allocated address = 192.168.238.104
unique id - ip 192.168.238.105 
unique id - offset 241 
unique id - smfCount 0 
Allocated address = 192.168.238.105
unique id - ip 192.168.238.106 
unique id - offset 242 
unique id - smfCount 0 
Allocated address = 192.168.238.106
unique id - ip 192.168.238.107 
unique id - offset 243 
unique id - smfCount 0 
Allocated address = 192.168.238.107
unique id - ip 192.168.238.108 
unique id - offset 244 
unique id - smfCount 0 
Allocated address = 192.168.238.108
unique id - ip 192.168.238.109 
unique id - offset 245 
unique id - smfCount 0 
Allocated address = 192.168.238.109
unique id - ip 192.168.238.110 
unique id - offset 246 
unique id - smfCount 0 
Allocated address = 192.168.238.110
unique id - ip 192.168.238.111 
unique id - offset 247 
unique id - smfCount 0 
Allocated address = 192.168.238.111
unique id - ip 192.168.238.112 
unique id - offset 248 
unique id - smfCount 0 
Allocated address = 192.168.238.112
unique id - ip 192.168.238.113 
unique id - offset 249 
unique id - smfCount 0 
Allocated address = 192.168.238.113
unique id - ip 192.168.238.114 
unique id - offset 250 
unique id - smfCount 0 
Allocated address = 192.168.238.114
unique id - ip 192.168.238.115 
unique id - offset 251 
unique id - smfCount 0 
Allocated address = 192.168.238.115
unique id - ip 192.168.238.116 
unique id - offset 252 
unique id - smfCount 0 
Allocated address = 192.168.238.116
unique id - ip 192.168.238.117 
unique id - offset 253 
unique id - smfCount 0 
Allocated address = 192.168.238.117
unique id - ip 192.168.238.118 
unique id - offset 254 
unique id - smfCount 0 
Allocated address = 192.168.238.118
unique id - ip 192.168.238.119 
unique id - offset 255 
unique id - smfCount 0 
Allocated address = 192.168.238.119
--- PASS: TestIPPoolAllocRelease (0.01s)
=== RUN   TestIPPoolAllocLeastRecentlyUsed
unique id - ip 192.168.237.121 
unique id - offset 1 
unique id - smfCount 0 
Allocated address = 192.168.237.121
unique id - ip 192.168.237.122 
unique id - offset 2 
unique id - smfCount 0 
Allocated address = 192.168.237.122
--- PASS: TestIPPoolAllocLeastRecentlyUsed (0.00s)
=== RUN   TestNewUserPlaneInformation
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF3] to insert, content[&{UPF 192.168.179.3 0   [{0xc0002f6b88 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF4] to insert, content[&{UPF 192.168.179.4 0   [{0xc0002f6ba0 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[GNodeB] to insert, content[&{AN 192.168.179.100 0   [] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF1] to insert, content[&{UPF 192.168.179.1 0   [{0xc0002f6b40 [{internet [] []}]} {0xc0002f6b58 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF2] to insert, content[&{UPF 192.168.179.2 0   [{0xc0002f6b70 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{GNodeB UPF1}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{UPF1 UPF2}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{UPF2 UPF3}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{UPF3 UPF4}]
--- PASS: TestNewUserPlaneInformation (0.00s)
=== RUN   TestGenerateDefaultPath
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF2] to insert, content[&{UPF 192.168.179.2 0   [{0xc0002f6b70 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF3] to insert, content[&{UPF 192.168.179.3 0   [{0xc0002f6b88 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF4] to insert, content[&{UPF 192.168.179.4 0   [{0xc0002f6ba0 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[GNodeB] to insert, content[&{AN 192.168.179.100 0   [] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] UPNode[UPF1] to insert, content[&{UPF 192.168.179.1 0   [{0xc0002f6b40 [{internet [] []}]} {0xc0002f6b58 [{internet [] []}]}] []}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{GNodeB UPF1}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{GNodeB UPF2}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{GNodeB UPF3}]
2023-11-07T12:51:47Z [INFO][SMF][UPNode] inserting UP Node link[&{UPF1 UPF4}]
=== RUN   TestGenerateDefaultPath/S-NSSAI_01112232_and_DNN_internet_ok
=== RUN   TestGenerateDefaultPath/S-NSSAI_02112233_and_DNN_internet_ok
=== RUN   TestGenerateDefaultPath/S-NSSAI_03112234_and_DNN_internet_ok
=== RUN   TestGenerateDefaultPath/S-NSSAI_01112235_and_DNN_internet_ok
=== RUN   TestGenerateDefaultPath/S-NSSAI_01010203_and_DNN_internet_fail
2023-11-07T12:51:47Z [ERRO][SMF][CTX] Can't find UPF with DNN[internet] S-NSSAI[sst: 1 sd: 010203] DNAI[]
--- PASS: TestGenerateDefaultPath (0.00s)
    --- PASS: TestGenerateDefaultPath/S-NSSAI_01112232_and_DNN_internet_ok (0.00s)
    --- PASS: TestGenerateDefaultPath/S-NSSAI_02112233_and_DNN_internet_ok (0.00s)
    --- PASS: TestGenerateDefaultPath/S-NSSAI_03112234_and_DNN_internet_ok (0.00s)
    --- PASS: TestGenerateDefaultPath/S-NSSAI_01112235_and_DNN_internet_ok (0.00s)
    --- PASS: TestGenerateDefaultPath/S-NSSAI_01010203_and_DNN_internet_fail (0.00s)
=== RUN   TestGetDefaultUPFTopoByDNN
--- PASS: TestGetDefaultUPFTopoByDNN (0.00s)
=== RUN   TestInsertSmfUserPlaneNode
--- PASS: TestInsertSmfUserPlaneNode (0.00s)
=== RUN   TestUpdateSmfUserPlaneNode
--- PASS: TestUpdateSmfUserPlaneNode (0.00s)
=== RUN   TestDeleteSmfUserPlaneNode
--- PASS: TestDeleteSmfUserPlaneNode (0.00s)
PASS
coverage: 8.4% of statements
ok      github.com/omec-project/smf/context     1.082s  coverage: 8.4% of statements
=== RUN   TestUpdateSliceInfo
2023-11-07T12:51:47Z [INFO][SMF][CFG] Parsed SMF config : &{SmfName: Sbi:<nil> PFCP:<nil> NrfUri: UserPlaneInformation:{UPNodes:map[gnb:{Type:AN NodeID:gnb Port:0 ANIP: Dnn: SNssaiInfos:[] InterfaceUpfInfoList:[]} upf:{Type:UPF NodeID:upf Port:8805 ANIP: Dnn: SNssaiInfos:[{SNssai:0xc000012660 DnnUpfInfoList:[{Dnn:internet DnaiList:[] PduSessionTypes:[]}]}] InterfaceUpfInfoList:[{InterfaceType:N3 Endpoints:[upf] NetworkInstance:internet}]}] Links:[{A:gnb B:upf}]} ServiceNameList:[] SNssaiInfo:[{SNssai:0xc000012660 DnnInfos:[{Dnn:internet DNS:{IPv4Addr:8.8.8.8 IPv6Addr:} UESubnet:60.60.0.0/16 MTU:1400}] PlmnId:{Mcc: Mnc:}}] ULCL:false EnterpriseList:map[1010203:Enterprise-1] EnableDbStore:false EnableUpfAdapter:false SmfDbName: Mongodb:<nil> KafkaInfo:{BrokerUri: BrokerPort:0 Topic: EnableKafka:<nil>} DebugProfilePort:0 EnableNrfCaching:false NrfCacheEvictionInterval:0 StaticIpInfo:[]}
2023-11-07T12:51:47Z [INFO][SMF][CFG] Parsed SMF config : &{SmfName: Sbi:<nil> PFCP:<nil> NrfUri: UserPlaneInformation:{UPNodes:map[gnb:{Type:AN NodeID:gnb Port:0 ANIP: Dnn: SNssaiInfos:[] InterfaceUpfInfoList:[]} upf:{Type:UPF NodeID:upf Port:8805 ANIP: Dnn: SNssaiInfos:[{SNssai:0xc000012780 DnnUpfInfoList:[{Dnn:internet DnaiList:[] PduSessionTypes:[]}]}] InterfaceUpfInfoList:[{InterfaceType:N3 Endpoints:[upf] NetworkInstance:internet}]}] Links:[{A:gnb B:upf}]} ServiceNameList:[] SNssaiInfo:[{SNssai:0xc000012780 DnnInfos:[{Dnn:internet DNS:{IPv4Addr:8.8.8.8 IPv6Addr:} UESubnet:60.60.0.0/16 MTU:1400}] PlmnId:{Mcc: Mnc:}}] ULCL:false EnterpriseList:map[2010203:Enterprise-1] EnableDbStore:false EnableUpfAdapter:false SmfDbName: Mongodb:<nil> KafkaInfo:{BrokerUri: BrokerPort:0 Topic: EnableKafka:<nil>} DebugProfilePort:0 EnableNrfCaching:false NrfCacheEvictionInterval:0 StaticIpInfo:[]}
2023-11-07T12:51:47Z [INFO][SMF][CFG] changes in network slice config
2023-11-07T12:51:47Z [INFO][SMF][CFG] network slices to be deleted : 
 Slice SST[1] SD[010203] 
 DNN name[internet], DNS v4[8.8.8.8], v6[], UE-Pool[60.60.0.0/16]
2023-11-07T12:51:47Z [INFO][SMF][CFG] network slices to be added : 
 Slice SST[2] SD[010203] 
 DNN name[internet], DNS v4[8.8.8.8], v6[], UE-Pool[60.60.0.0/16]
2023-11-07T12:51:47Z [INFO][SMF][CFG] no change in user plane config
2023-11-07T12:51:47Z [INFO][SMF][CFG] Comparing slices of type:  []factory.UPLink
2023-11-07T12:51:47Z [INFO][SMF][CFG] no change in UP nodes links config
--- PASS: TestUpdateSliceInfo (0.00s)
=== RUN   TestCompareSliceConfig
2023-11-07T12:51:47Z [INFO][SMF][CFG] Comparing slices of type:  []factory.SnssaiDnnInfoItem
2023-11-07T12:51:47Z [INFO][SMF][CFG] Comparing slices of type:  []factory.SnssaiDnnInfoItem
The Slices are Equal
--- PASS: TestCompareSliceConfig (0.00s)
=== RUN   TestCompareUPNodesConfigs
UPF config mismatch, to be added [map[u2:{Type:UPF NodeID:u2.abc.def.com Port:0 ANIP: Dnn: SNssaiInfos:[{SNssai:0xc000012ac8 DnnUpfInfoList:[]} {SNssai:0xc000012ae0 DnnUpfInfoList:[]}] InterfaceUpfInfoList:[]}]]
UPF config mismatch, to be modified [map[]]
UPF config mismatch, to be deleted [map[u1:{Type:UPF NodeID:u1.abc.def.com Port:0 ANIP: Dnn: SNssaiInfos:[{SNssai:0xc000012a98 DnnUpfInfoList:[{Dnn:DNN1 DnaiList:[] PduSessionTypes:[]} {Dnn:DNN11 DnaiList:[] PduSessionTypes:[]}]} {SNssai:0xc000012ab0 DnnUpfInfoList:[{Dnn:DNN2 DnaiList:[] PduSessionTypes:[]} {Dnn:DNN21 DnaiList:[] PduSessionTypes:[]}]}] InterfaceUpfInfoList:[]}]]
--- PASS: TestCompareUPNodesConfigs (0.00s)
=== RUN   TestCompareGenericSlices
2023-11-07T12:51:47Z [INFO][SMF][CFG] Comparing slices of type:  []factory.UPLink
Generic, The Links mismatch, add[[{gnb upf3}]] and del[[{gnb upf1}]]
--- PASS: TestCompareGenericSlices (0.00s)
=== RUN   TestKafkaEnabledByDefault
--- PASS: TestKafkaEnabledByDefault (0.00s)
PASS
coverage: 62.8% of statements
ok      github.com/omec-project/smf/factory     1.047s  coverage: 62.8% of statements
=== RUN   TestInitializeKafkaStreamWithKafkaDisabled
--- PASS: TestInitializeKafkaStreamWithKafkaDisabled (0.00s)
=== RUN   TestSendMessageWithKafkaDisabled
--- PASS: TestSendMessageWithKafkaDisabled (0.00s)
=== RUN   TestPublishPduSessEventWithKafkaDisabled
--- PASS: TestPublishPduSessEventWithKafkaDisabled (0.00s)
=== RUN   TestPublishMsgEventWithKafkaDisabled
--- PASS: TestPublishMsgEventWithKafkaDisabled (0.00s)
=== RUN   TestPublishNfStatusWithKafkaDisabled
--- PASS: TestPublishNfStatusWithKafkaDisabled (0.00s)
PASS
coverage: 28.9% of statements
ok      github.com/omec-project/smf/metrics     1.049s  coverage: 28.9% of statements
=== RUN   TestReliablePFCPResponseDelivery
--- PASS: TestReliablePFCPResponseDelivery (0.00s)
PASS
coverage: 0.0% of statements
ok      github.com/omec-project/smf/pfcp        1.056s  coverage: 0.0% of statements
=== RUN   TestHandlePfcpAssociationSetupRequest
--- PASS: TestHandlePfcpAssociationSetupRequest (0.00s)
=== RUN   TestHandlePfcpAssociationReleaseRequest
--- PASS: TestHandlePfcpAssociationReleaseRequest (0.00s)
PASS
coverage: 0.0% of statements
ok      github.com/omec-project/smf/pfcp/handler        1.059s  coverage: 0.0% of statements
=== RUN   TestSendPfcpAssociationSetupRequest
--- PASS: TestSendPfcpAssociationSetupRequest (0.00s)
=== RUN   TestSendPfcpSessionEstablishmentResponse
--- PASS: TestSendPfcpSessionEstablishmentResponse (0.00s)
=== RUN   TestSendPfcpSessionEstablishmentRequest
--- PASS: TestSendPfcpSessionEstablishmentRequest (0.00s)
=== RUN   TestSendHeartbeatResponse
2023-11-07T12:51:48Z [INFO][SMF][PFCP] Listen on 127.0.0.2:8805
2023-11-07T12:51:48Z [INFO][SMF][PFCP] Sent PFCP Heartbeat Response Seq[1] to NodeID[127.0.0.1]
--- PASS: TestSendHeartbeatResponse (0.00s)
PASS
coverage: 1.1% of statements
ok      github.com/omec-project/smf/pfcp/message        1.057s  coverage: 1.1% of statements
=== RUN   TestRun
2023-11-07T12:51:48Z [INFO][SMF][PFCP] Listen on 127.0.0.1:8805
2023-11-07T12:51:48Z [INFO][SMF][PFCP] Handle PFCP Association Setup Request with NodeID[192.168.1.1]
2023-11-07T12:51:48Z [ERRO][SMF][PFCP] can't find UPF[192.168.1.1]
--- PASS: TestRun (0.30s)
PASS
coverage: 52.0% of statements
ok      github.com/omec-project/smf/pfcp/udp    1.357s  coverage: 52.0% of statements
=== RUN   TestBuildAuthorizedQosFlowDescriptions
2023/11/07 12:51:48 Adding Qos Flow Description [QosData2] 
2023/11/07 12:51:48 Adding Qos Flow Description [QosData1] 
Authorized QosFlow: [2 32 69 1 1 3 4 3 6 1 45 5 3 6 1 145 2 3 6 0 31 3 3 6 0 41 1 32 69 1 1 5 4 3 6 0 101 5 3 6 0 201 2 3 6 0 11 3 3 6 0 21]
--- PASS: TestBuildAuthorizedQosFlowDescriptions (0.00s)
=== RUN   TestDecodeFlowDescToIPFilters
Flow: 0 IPFilter content: ProtocolId:[ip], Source:[Ip:[1.1.1.1], Mask:[], Port:[1000] Port-range [-]],Destination [Ip [2.2.2.2], Mask [], Port [2000], Port-range [-]]
Flow: 1 IPFilter content: ProtocolId:[ip], Source:[Ip:[1.1.1.1], Mask:[24], Port:[1000] Port-range [-]],Destination [Ip [2.2.2.2], Mask [24], Port [2000], Port-range [-]]
Flow: 2 IPFilter content: ProtocolId:[ip], Source:[Ip:[any], Mask:[], Port:[1000] Port-range [-]],Destination [Ip [2.2.2.2], Mask [], Port [2000], Port-range [-]]
Flow: 3 IPFilter content: ProtocolId:[ip], Source:[Ip:[any], Mask:[], Port:[1000] Port-range [-]],Destination [Ip [assigned], Mask [], Port [2000], Port-range [-]]
Flow: 4 IPFilter content: ProtocolId:[17], Source:[Ip:[1.1.1.1], Mask:[24], Port:[] Port-range [1000-1200]],Destination [Ip [2.2.2.2], Mask [24], Port [], Port-range [2000-2500]]
--- PASS: TestDecodeFlowDescToIPFilters (0.00s)
=== RUN   TestGetPfContent
Flow: 0
PFComponent content: type:[IPv4RemoteAddress] value:[[1 1 1 1 255 255 255 255]]
PFComponent content: type:[SingleRemotePort] value:[1000]
PFComponent content: type:[IPv4LocalAddress] value:[[2 2 2 2 255 255 255 255]]
PFComponent content: type:[SingleLocalPort] value:[2000]
Flow: 1
PFComponent content: type:[IPv4RemoteAddress] value:[[1 1 1 1 255 255 255 0]]
PFComponent content: type:[SingleRemotePort] value:[1000]
PFComponent content: type:[IPv4LocalAddress] value:[[2 2 2 2 255 255 255 0]]
PFComponent content: type:[SingleLocalPort] value:[2000]
Flow: 2
PFComponent content: type:[SingleRemotePort] value:[1000]
PFComponent content: type:[IPv4LocalAddress] value:[[2 2 2 2 255 255 255 0]]
PFComponent content: type:[SingleLocalPort] value:[2000]
Flow: 3
PFComponent content: type:[MatchAll] value:[[]]
Flow: 4
PFComponent content: type:[ProtocolIdentifierOrNextHeader] value:[[17]]
PFComponent content: type:[IPv4RemoteAddress] value:[[1 1 1 1 255 255 255 0]]
PFComponent content: type:[RemotePortRange] value:[1000-1200]
PFComponent content: type:[IPv4LocalAddress] value:[[2 2 2 2 255 255 255 0]]
PFComponent content: type:[LocalPortRange] value:[2000-2500]
--- PASS: TestGetPfContent (0.00s)
=== RUN   TestBuildQosRules
2023/11/07 12:51:48 Building QoS Rule from PCC rule [PccRule1]
QosRules: [QosRule:[Id:[1], Precedence:[200], OpCode:[CreateNewQoSRule]], DQR:[1], QFI:[1], PacketFilters:[[
PacketFilter:[Id:[1], direction:[Bidirectional], content:[
[PFComponent content: type:[IPv4RemoteAddress] value:[[1 1 1 1 255 255 255 255]]
 PFComponent content: type:[SingleRemotePort] value:[1000]
 PFComponent content: type:[IPv4LocalAddress] value:[[2 2 2 2 255 255 255 255]]
 PFComponent content: type:[SingleLocalPort] value:[2000]
]]] 
PacketFilter:[Id:[2], direction:[Bidirectional], content:[
[PFComponent content: type:[IPv4RemoteAddress] value:[[3 3 3 3 255 255 255 255]]
 PFComponent content: type:[SingleRemotePort] value:[3000]
 PFComponent content: type:[IPv4LocalAddress] value:[[4 4 4 4 255 255 255 255]]
 PFComponent content: type:[SingleLocalPort] value:[4000]
]]]]]]
Encoded Bytes: [1 0 55 50 49 24 16 1 1 1 1 255 255 255 255 80 3 232 17 2 2 2 2 255 255 255 255 64 7 208 50 24 16 3 3 3 3 255 255 255 255 80 11 184 17 4 4 4 4 255 255 255 255 64 15 160 200 1]--- PASS: TestBuildQosRules (0.00s)
PASS
coverage: 53.2% of statements
ok      github.com/omec-project/smf/qos 1.038s  coverage: 53.2% of statements

@gatici
Copy link
Contributor Author

gatici commented Nov 2, 2023

This PR is tested by building new image and deploying sdcore-bundle successfully.
Besides, Docker container is built successfully by running make docker-build.

@gatici
Copy link
Contributor Author

gatici commented Nov 2, 2023

$ make docker-build

make docker-build
for target in builder smf; do \
	DOCKER_BUILDKIT=1 docker build   \
		--target $target \
		--tag 5gc-$target:0.0.1-dev \
		--build-arg org_label_schema_version="0.0.1-dev" \
		--build-arg org_label_schema_vcs_url="https://github.com/gatici/smf.git" \
		--build-arg org_label_schema_vcs_ref="43fd91233fc8667ac46cf1480209afa91d1e6acc" \
		--build-arg org_label_schema_build_date="2023-11-02T10:29:17Z" \
		--build-arg org_opencord_vcs_commit_date="2023-11-02T12:57:13+03:00" \
		. \
		|| exit 1; \
done
[+] Building 70.0s (9/18)                                                                                                                                                              
[+] Building 70.9s (9/18)                                                                                                                                                              
[+] Building 71.6s (9/18)                                                                                                                                                              
[+] Building 75.8s (9/18)                                                                                                                                                              
[+] Building 76.7s (9/18)                                                                                                                                                              
[+] Building 77.2s (9/18)                                                                                                                                                              
[+] Building 81.4s (9/18)                                                                                                                                                              
[+] Building 82.0s (9/18)                                                                                                                                                              
[+] Building 82.6s (9/18)                                                                                                                                                              
[+] Building 89.4s (9/18)                                                                                                                                                              
 => [internal] load build definition from Dockerfile                                                                                                                              0.1s
 => => transferring dockerfile: 1.63kB                                                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/golang:1.16.0-stretch                                                                                                          1.9s
 => [internal] load build context                                                                                                                                                 1.3s
 => => transferring context: 69.68MB                                                                                                                                              1.1s
 => [builder  1/14] FROM docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                         13.9s
 => => resolve docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                                    0.0s
 => => sha256:2cb9ed4a036ac796e80a9e1b5341cb56389abffd0b015ecb7eb2e58e4c98e325 1.80kB / 1.80kB                                                                                    0.0s
 => => sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081bba8e8939267978a 11.27MB / 11.27MB                                                                                  1.0s
 => => sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1e4b6090358dd6782 4.34MB / 4.34MB                                                                                    0.7s
 => => sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4 988B / 988B                                                                                        0.0s
 => => sha256:99a3cb7e3483545d4e825784773d5effa3aac7b2bdbc9d9b2757e9a2698e6033 7.10kB / 7.10kB                                                                                    0.0s
 => => sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe7f4030b84095627f 45.38MB / 45.38MB                                                                                  1.2s
 => => sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc7334ca803d74caea0d4 49.79MB / 49.79MB                                                                                  2.2s
 => => sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36789db0c8d52a97fd 57.82MB / 57.82MB                                                                                  3.4s
 => => sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c062274899fa0db60 129.00MB / 129.00MB                                                                                4.7s
 => => extracting sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe7f4030b84095627f                                                                                         1.5s
 => => sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e6d38f87b7b95d5ee 156B / 156B                                                                                        2.6s
 => => extracting sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081bba8e8939267978a                                                                                         0.4s 
 => => extracting sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1e4b6090358dd6782                                                                                         0.2s 
 => => extracting sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc7334ca803d74caea0d4                                                                                         1.5s 
 => => extracting sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36789db0c8d52a97fd                                                                                         2.2s 
 => => extracting sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c062274899fa0db60                                                                                         5.4s 
 => => extracting sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e6d38f87b7b95d5ee                                                                                         0.0s
 => [builder  2/14] RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list                                                                          4.9s
 => [builder  3/14] RUN apt-get update && apt-get -y install apt-transport-https ca-certificates                                                                                  4.1s
 => [builder  4/14] RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg > pubkey.gpg                                                                                            1.0s
 => [builder  5/14] RUN apt-key add pubkey.gpg                                                                                                                                    2.7s
[+] Building 89.5s (9/18)                                                                                                                                                              
 => [internal] load build definition from Dockerfile                                                                                                                              0.1s
 => => transferring dockerfile: 1.63kB                                                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/golang:1.16.0-stretch                                                                                                          1.9s
 => [internal] load build context                                                                                                                                                 1.3s
 => => transferring context: 69.68MB                                                                                                                                              1.1s
 => [builder  1/14] FROM docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                         13.9s
 => => resolve docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                                    0.0s
 => => sha256:2cb9ed4a036ac796e80a9e1b5341cb56389abffd0b015ecb7eb2e58e4c98e325 1.80kB / 1.80kB                                                                                    0.0s
 => => sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081bba8e8939267978a 11.27MB / 11.27MB                                                                                  1.0s
 => => sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1e4b6090358dd6782 4.34MB / 4.34MB                                                                                    0.7s
 => => sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4 988B / 988B                                                                                        0.0s
 => => sha256:99a3cb7e3483545d4e825784773d5effa3aac7b2bdbc9d9b2757e9a2698e6033 7.10kB / 7.10kB                                                                                    0.0s
 => => sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe7f4030b84095627f 45.38MB / 45.38MB                                                                                  1.2s
 => => sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc7334ca803d74caea0d4 49.79MB / 49.79MB                                                                                  2.2s
 => => sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36789db0c8d52a97fd 57.82MB / 57.82MB                                                                                  3.4s
 => => sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c062274899fa0db60 129.00MB / 129.00MB                                                                                4.7s
 => => extracting sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe7f4030b84095627f                                                                                         1.5s
 => => sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e6d38f87b7b95d5ee 156B / 156B                                                                                        2.6s
 => => extracting sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081bba8e8939267978a                                                                                         0.4s
 => => extracting sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1e4b6090358dd6782                                                                                         0.2s
 => => extracting sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc7334ca803d74caea0d4                                                                                         1.5s
 => => extracting sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36789db0c8d52a97fd                                                                                         2.2s
 => => extracting sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c062274899fa0db60                                                                                         5.4s
 => => extracting sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e6d38f87b7b95d5ee                                                                                         0.0s
 => [builder  2/14] RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list                                                                          4.9s
 => [builder  3/14] RUN apt-get update && apt-get -y install apt-transport-https ca-certificates                                                                                  4.1s
 => [builder  4/14] RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg > pubkey.gpg                                                                                            1.0s
 => [builder  5/14] RUN apt-key add pubkey.gpg                                                                                                                                    2.7s
[+] Building 89.7s (9/18)                                                        => => sha256:bdc8a181608b802d992636cea35111a986ad5ad 129.00MB / 129.00MB  4.7s  => => extracting sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe  1.5s
 => => sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18 156B / 156B  2.6s  => => extracting sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081  0.4s  => => extracting sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1  0.2s
 => => extracting sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc733  1.5s= => => extracting sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36  2.2s  => => extracting sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c  5.4s
 => => extracting sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e  0.0s▓ => [builder  2/14] RUN echo "deb http://archive.debian.org/debian stretc  4.9s  => [builder  3/14] RUN apt-get update && apt-get -y install apt-transpor  4.1s
 => [builder  4/14] RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg  1.0s= => [builder  5/14] RUN apt-key add pubkey.gpg                             2.7s  => [builder  6/14] RUN curl -sL https://deb.nodesource.com/setup_10.x |  60.9s
[+] Building 168.9s (19/19) FINISHED                                                                                                                                                           => [internal] load build definition from Dockerfile                                                                                                                                     0.1s
 => => transferring dockerfile: 1.63kB                                                                                                                                                   0.0s9 => [internal] load .dockerignore                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                          0.0s
 => [internal] load metadata for docker.io/library/golang:1.16.0-stretch                                                                                                                 1.9s
 => [internal] load build context                                                                                                                                                        1.3s
 => => transferring context: 69.68MB                                                                                                                                                     1.1s
 => [builder  1/14] FROM docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                                13.9s
 => => resolve docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                                           0.0s
 => => sha256:2cb9ed4a036ac796e80a9e1b5341cb56389abffd0b015ecb7eb2e58e4c98e325 1.80kB / 1.80kB                                                                                           0.0s
 => => sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081bba8e8939267978a 11.27MB / 11.27MB                                                                                         1.0s
 => => sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1e4b6090358dd6782 4.34MB / 4.34MB                                                                                           0.7s
 => => sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4 988B / 988B                                                                                               0.0s
 => => sha256:99a3cb7e3483545d4e825784773d5effa3aac7b2bdbc9d9b2757e9a2698e6033 7.10kB / 7.10kB                                                                                           0.0s
 => => sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe7f4030b84095627f 45.38MB / 45.38MB                                                                                         1.2s
 => => sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc7334ca803d74caea0d4 49.79MB / 49.79MB                                                                                         2.2s
 => => sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36789db0c8d52a97fd 57.82MB / 57.82MB                                                                                         3.4s
 => => sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c062274899fa0db60 129.00MB / 129.00MB                                                                                       4.7s
 => => extracting sha256:1e987daa2432270bbfaf366f57583c93b48e0ee6c9fe54fe7f4030b84095627f                                                                                                1.5s
 => => sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e6d38f87b7b95d5ee 156B / 156B                                                                                               2.6s
 => => extracting sha256:a0edb687a3dadde6ae013f9b8f08340de1f105266abe3081bba8e8939267978a                                                                                                0.4s
 => => extracting sha256:6891892cc2ec4337be73614b6c3eecd8f1a1ac16eae254d1e4b6090358dd6782                                                                                                0.2s
 => => extracting sha256:684eb726ddc51bc28fc2fad831de6492b911f461a18bc7334ca803d74caea0d4                                                                                                1.5s
 => => extracting sha256:c9a1efa85019774f771cbe2303cc01aeadc38fd9afa60e36789db0c8d52a97fd                                                                                                2.2s
 => => extracting sha256:bdc8a181608b802d992636cea35111a986ad5ad733a3702c062274899fa0db60                                                                                                5.4s
 => => extracting sha256:deb923381f3739d935e230314d8f9ccff9379b135a3ca18e6d38f87b7b95d5ee                                                                                                0.0s
 => [builder  2/14] RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list                                                                                 4.9s
 => [builder  3/14] RUN apt-get update && apt-get -y install apt-transport-https ca-certificates                                                                                         4.1s
 => [builder  4/14] RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg > pubkey.gpg                                                                                                   1.0s
 => [builder  5/14] RUN apt-key add pubkey.gpg                                                                                                                                           2.7s
 => [builder  6/14] RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -                                                                                                         91.3s
 => [builder  7/14] RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" |  tee /etc/apt/sources.list.d/yarn.list                                                                   0.7s
 => [builder  8/14] RUN apt-get update                                                                                                                                                   2.3s 
 => [builder  9/14] RUN apt-get -y install gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev  nodejs yarn                                                                    12.8s 
 => [builder 10/14] RUN apt-get clean                                                                                                                                                    0.6s 
 => [builder 11/14] RUN cd /go/src && mkdir -p smf                                                                                                                                       0.8s 
 => [builder 12/14] COPY . /go/src/smf                                                                                                                                                   0.9s 
 => [builder 13/14] RUN cd /go/src/smf     && make all                                                                                                                                  17.8s 
 => [builder 14/14] RUN cd /go/src/smf/upfadapter && CGO_ENABLED=0 go build                                                                                                             11.3s 
 => exporting to image                                                                                                                                                                   1.6s 
 => => exporting layers                                                                                                                                                                  1.5s 
 => => writing image sha256:fd3e9a9ac01b4b5597c1e1f2dd078ce818287673958fae67108149161bc9e851                                                                                             0.0s 
 => => naming to docker.io/library/5gc-builder:0.0.1-dev                                                                                                                                 0.0s 
[+] Building 8.7s (28/28) FINISHED                                                                                                                                                            
 => [internal] load build definition from Dockerfile                                                                                                                                     0.0s 
 => => transferring dockerfile: 38B                                                                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                          0.0s
 => [internal] load metadata for docker.io/library/alpine:3.16                                                                                                                           1.6s
 => [internal] load metadata for docker.io/library/golang:1.16.0-stretch                                                                                                                 0.5s
 => [internal] load build context                                                                                                                                                        0.2s
 => => transferring context: 399.25kB                                                                                                                                                    0.1s
 => [builder  1/14] FROM docker.io/library/golang:1.16.0-stretch@sha256:e1148e671c9b08000812c77921895031f463e346a0fdc559dcffc60cf860c4c4                                                 0.0s
 => [smf 1/8] FROM docker.io/library/alpine:3.16@sha256:a8cbb8c69ee71561f4b69c066bad07f7e510caaa523da26fbfc606b10bd7934b                                                                 0.6s
 => => resolve docker.io/library/alpine:3.16@sha256:a8cbb8c69ee71561f4b69c066bad07f7e510caaa523da26fbfc606b10bd7934b                                                                     0.0s
 => => sha256:a8cbb8c69ee71561f4b69c066bad07f7e510caaa523da26fbfc606b10bd7934b 1.64kB / 1.64kB                                                                                           0.0s
 => => sha256:b7976818ac23c46dbc69437dd41c5ba32750f0345ad706209d2208b4db84e1e8 528B / 528B                                                                                               0.0s
 => => sha256:187eae39ad949e24d9410fa5c4eab8cafba7edd4892211c1d710bdaf49265c37 1.47kB / 1.47kB                                                                                           0.0s
 => => sha256:659d66d51139e8abad819d17e5d3c45eb82e88b9fc588c4de7711f251309b9d2 2.81MB / 2.81MB                                                                                           0.3s
 => => extracting sha256:659d66d51139e8abad819d17e5d3c45eb82e88b9fc588c4de7711f251309b9d2                                                                                                0.1s
 => CACHED [builder  2/14] RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list                                                                          0.0s
 => CACHED [builder  3/14] RUN apt-get update && apt-get -y install apt-transport-https ca-certificates                                                                                  0.0s
 => CACHED [builder  4/14] RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg > pubkey.gpg                                                                                            0.0s
 => CACHED [builder  5/14] RUN apt-key add pubkey.gpg                                                                                                                                    0.0s
 => CACHED [builder  6/14] RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -                                                                                                   0.0s
 => CACHED [builder  7/14] RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" |  tee /etc/apt/sources.list.d/yarn.list                                                            0.0s
 => CACHED [builder  8/14] RUN apt-get update                                                                                                                                            0.0s
 => CACHED [builder  9/14] RUN apt-get -y install gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev  nodejs yarn                                                              0.0s
 => CACHED [builder 10/14] RUN apt-get clean                                                                                                                                             0.0s
 => CACHED [builder 11/14] RUN cd /go/src && mkdir -p smf                                                                                                                                0.0s
 => CACHED [builder 12/14] COPY . /go/src/smf                                                                                                                                            0.0s
 => CACHED [builder 13/14] RUN cd /go/src/smf     && make all                                                                                                                            0.0s
 => CACHED [builder 14/14] RUN cd /go/src/smf/upfadapter && CGO_ENABLED=0 go build                                                                                                       0.0s
 => [smf 2/8] RUN apk update && apk add -U vim strace net-tools curl netcat-openbsd bind-tools bash tcpdump                                                                              3.5s
 => [smf 3/8] WORKDIR /free5gc                                                                                                                                                           0.1s 
 => [smf 4/8] RUN mkdir -p smf/                                                                                                                                                          0.7s 
 => [smf 5/8] RUN mkdir -p bin/                                                                                                                                                          0.7s 
 => [smf 6/8] COPY --from=builder /go/src/smf/bin/* ./smf                                                                                                                                0.4s 
 => [smf 7/8] COPY --from=builder /go/src/smf/upfadapter/upf-adapter ./bin                                                                                                               0.2s 
 => [smf 8/8] WORKDIR /free5gc/smf                                                                                                                                                       0.1s 
 => exporting to image                                                                                                                                                                   0.7s
 => => exporting layers                                                                                                                                                                  0.7s
 => => writing image sha256:423534dd95fa0a3a8110b57b9d7f20bb5dc120161d471df720dacea1d91abe2e                                                                                             0.0s
 => => naming to docker.io/library/5gc-smf:0.0.1-dev                                                                                                                                     0.0s

context/ip_allocator.go Outdated Show resolved Hide resolved
qos/qos_flow_test.go Outdated Show resolved Hide resolved
pfcp/message/send_test.go Outdated Show resolved Hide resolved
qos/qos_rule_test.go Outdated Show resolved Hide resolved
qos/qos_flow_test.go Outdated Show resolved Hide resolved
@gatici gatici marked this pull request as draft November 5, 2023 21:08
@gatici gatici changed the title fix: Fixing unit tests with current go version 1.16 fix: Fixing unit tests with o version 1.16 Nov 7, 2023
@gatici gatici changed the title fix: Fixing unit tests with o version 1.16 fix: Fixing unit tests with Go version 1.21 Nov 7, 2023
@gatici gatici marked this pull request as ready for review November 7, 2023 13:18
@dafATonf
Copy link

retest this please

@gab-arrobo
Copy link
Contributor

test this please

@gab-arrobo
Copy link
Contributor

gab-arrobo commented Nov 24, 2023

@gatici, are the comments above from @ghislainbourgeois already resolved? or is there still something to be addressed?

@gab-arrobo
Copy link
Contributor

test this please

@gatici
Copy link
Contributor Author

gatici commented Nov 27, 2023

@gatici, are the comments above from @ghislainbourgeois already resolved? or is there still something to be addressed?

Hi @gab-arrobo ,

The comments from @ghislainbourgeois are all resolved.

@gab-arrobo
Copy link
Contributor

@gatici, are the comments above from @ghislainbourgeois already resolved? or is there still something to be addressed?

Hi @gab-arrobo ,

The comments from @ghislainbourgeois are all resolved.

Ok, then I am going to mark them as resolved and try to merge the PR later tonight (after running one manual test(

@gatici
Copy link
Contributor Author

gatici commented Nov 27, 2023

@gatici, are the comments above from @ghislainbourgeois already resolved? or is there still something to be addressed?

Hi @gab-arrobo ,
The comments from @ghislainbourgeois are all resolved.

Ok, then I am going to mark them as resolved and try to merge the PR later tonight (after running one manual test(

Thank you!

context/ip_allocator_test.go Outdated Show resolved Hide resolved
context/ip_allocator_test.go Outdated Show resolved Hide resolved
context/ip_allocator_test.go Outdated Show resolved Hide resolved
context/ip_allocator_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to add \n in the loggings? Is not the logger taking care of adding a newline?

context/db.go Outdated Show resolved Hide resolved
context/db.go Outdated Show resolved Hide resolved
context/db.go Outdated Show resolved Hide resolved
context/db.go Outdated Show resolved Hide resolved
context/db.go Outdated Show resolved Hide resolved
context/db_uptunnel.go Outdated Show resolved Hide resolved
context/ip_allocator_test.go Outdated Show resolved Hide resolved
pfcp/message/send_test.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@gab-arrobo
Copy link
Contributor

ok to test

Copy link
Contributor

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 (Tested changes with AiaB)

@gab-arrobo gab-arrobo merged commit be6fff5 into omec-project:master Dec 11, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants